/* OMQ Final Mobile Pass */
@media(max-width:820px){
	/* Header */
	.ap-topbar{height:32px!important}
	.ap-topbar__links,.ap-topbar__social{display:none!important}
	.ap-topbar__inner{justify-content:center!important}
	.ap-topbar__tools{font-size:11px!important}

	.ap-brandbar__inner{
		height:92px!important;
		width:calc(100% - 14px)!important;
		grid-template-columns:42px minmax(0,1fr) auto!important;
		gap:7px!important;
	}
	.ap-search-pill{
		width:40px!important;
		height:38px!important;
		padding:0!important;
		justify-content:center!important;
		border-radius:12px!important;
	}
	.ap-search-pill span{display:none!important}
	.ap-brand{justify-self:center!important;min-width:0!important}
	.ap-brand__logo{width:76px!important;height:70px!important}
	.ap-brandbar__controls{
		gap:2px!important;
		padding:3px!important;
		border-radius:17px!important;
	}
	.ap-lang-switch{width:60px!important;height:32px!important}
	.ap-theme-switch{width:34px!important;height:32px!important;padding:0!important}
	.ap-theme-switch .moon,.ap-theme-switch .sun{display:none!important}

	/* Main navigation stays usable on phones */
	.ap-navline{
		display:block!important;
		position:relative!important;
		overflow:hidden!important;
		background:linear-gradient(180deg,rgba(10,10,11,.98),rgba(5,5,6,.98))!important;
		border-block:1px solid rgba(255,255,255,.07)!important;
	}
	.ap-navline>.ap-shell{
		width:100%!important;
		overflow-x:auto!important;
		scrollbar-width:none!important;
		padding:0 8px!important;
	}
	.ap-navline>.ap-shell::-webkit-scrollbar{display:none!important}
	.ap-nav{
		display:flex!important;
		align-items:center!important;
		gap:4px!important;
		width:max-content!important;
		min-width:100%!important;
		height:48px!important;
	}
	.ap-nav a{
		flex:0 0 auto!important;
		height:36px!important;
		display:flex!important;
		align-items:center!important;
		padding:0 12px!important;
		border-radius:8px!important;
		font-size:14px!important;
		white-space:nowrap!important;
	}

	/* Hero / latest */
	.fc-hero>.ap-shell,
	.ap-first-concept .fc-hero>.ap-shell{
		grid-template-columns:1fr!important;
		gap:10px!important;
		width:100%!important;
	}
	.fc-hero__main,.ap-lead{min-height:520px!important}
	.fc-hero__copy{inset-inline:16px!important;bottom:20px!important}
	.fc-hero__copy h1{font-size:36px!important;line-height:1.4!important}
	.fc-hero__copy p{font-size:16px!important;line-height:1.9!important}
	.omq-latest-panel{
		width:calc(100% - 16px)!important;
		margin:0 auto!important;
	}
	.omq-latest-panel__head h2{font-size:24px!important}
	.omq-latest-item h3{font-size:17px!important;line-height:1.7!important}
	.omq-latest-item__meta{font-size:12px!important}

	/* Cards */
	.fc-featurecards,.ap-featurecards{overflow:hidden!important}
	.fc-featurecard h3{font-size:17px!important;line-height:1.65!important}

	/* Security monitor */
	.omq-monitor>.ap-shell{width:100%!important;border-inline:0!important;border-radius:0!important}
	.omq-monitor__head{display:block!important;padding:18px 14px!important}
	.omq-monitor__identity h2{font-size:29px!important}
	.omq-monitor__identity p{font-size:14px!important;line-height:1.85!important}
	.omq-monitor__feed{margin-top:12px!important;min-width:0!important}
	.omq-monitor__controls{display:block!important;padding:9px!important}
	.omq-control-group,.omq-layer-controls{
		width:100%!important;
		overflow-x:auto!important;
		margin-bottom:7px!important;
	}
	.omq-control-group button,.omq-layer-controls button{
		height:40px!important;
		font-size:13px!important;
		padding-inline:14px!important;
	}
	.omq-monitor__grid{
		display:flex!important;
		flex-direction:column!important;
		padding:8px!important;
		gap:8px!important;
	}
	.omq-monitor__grid>*{width:100%!important;min-height:0!important}
	.omq-index-card{min-height:570px!important}
	.omq-map-shell{height:590px!important;min-height:590px!important;order:1!important}
	.omq-map-canvas{height:590px!important;min-height:590px!important}
	.omq-index-card{order:2!important}
	.omq-risk-ranking{order:3!important}

	.omq-map-topline{top:9px!important;left:9px!important;right:9px!important}
	.omq-map-topline>div{padding:7px 8px!important}
	.omq-map-topline strong{font-size:11px!important}
	.omq-map-topline span,.omq-map-coords b{font-size:10px!important}
	.omq-map-shell .ap-map-info{
		right:10px!important;
		bottom:54px!important;
		width:205px!important;
		min-height:140px!important;
		padding:12px!important;
	}
	.omq-map-shell .ap-map-info p b{font-size:34px!important}
	.omq-map-layer-status{
		left:10px!important;
		bottom:46px!important;
		max-width:185px!important;
		font-size:12px!important;
	}
	.omq-map-shell .ap-map-legend{
		overflow-x:auto!important;
		gap:9px!important;
		padding-inline:10px!important;
	}
	.omq-map-shell .ap-map-legend span{font-size:11px!important;white-space:nowrap!important}
	.omq-map-shell .ap-map-legend small{display:none!important}

	.omq-risk-ranking .ap-country-list__items{
		display:grid!important;
		grid-template-columns:1fr 1fr!important;
		gap:6px!important;
		max-height:none!important;
	}
	.omq-risk-ranking .ap-country-list__items button{
		min-height:48px!important;
		font-size:13px!important;
	}
	.omq-live-feed{grid-template-columns:1fr!important}
	.omq-live-card h4{font-size:14px!important;line-height:1.7!important}
	.omq-live-card p{font-size:12px!important;line-height:1.75!important}

	/* Article reading */
	article p,.entry-content p,.wp-block-post-content p,.ap-article p{
		font-size:17px!important;
		line-height:2!important;
	}
	article h1,.entry-title,.ap-article h1{
		font-size:34px!important;
		line-height:1.45!important;
	}
	article h2,.entry-content h2,.wp-block-post-content h2{
		font-size:26px!important;
		line-height:1.55!important;
	}

	/* Search overlay */
	.bs-search-overlay__inner{width:calc(100% - 28px)!important}
	.bs-search-overlay__inner h2{font-size:30px!important}
	.bs-search-overlay__inner form{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
}

@media(max-width:420px){
	.ap-brandbar__inner{grid-template-columns:38px minmax(0,1fr) auto!important}
	.ap-brand__logo{width:68px!important;height:64px!important}
	.ap-lang-switch{width:54px!important}
	.fc-hero__copy h1{font-size:33px!important}
	.omq-risk-ranking .ap-country-list__items{grid-template-columns:1fr!important}
	.omq-map-layer-status{max-width:160px!important}
	.omq-map-shell .ap-map-info{width:188px!important}
}
