/* OMQ Typography + Header — balanced premium lockup */
body.bs-body,button,input,textarea,select{
	font-family:"Noto Sans Arabic",sans-serif!important;
}
h1,h2,h3,h4,h5,h6,
.ap-nav a,
.ap-brand__type strong,
.omq-latest-panel__head h2,
.omq-latest-item h3,
.fc-featurecard h3,
.ap-security__title h2,
.ap-panel-title h3,
.fc-box-title h3,
.ap-country-list__title h3{
	font-family:"Cairo",sans-serif!important;
}
.ap-brand__type b,
.ap-gauge strong,
.ap-meter-list b,
.ap-map-info p b,
.fc-hero__pager,
.ap-security__title>span{
	font-family:"IBM Plex Mono",monospace!important;
}

/* Top service strip: visually secondary */
.ap-topbar{
	height:36px!important;
	background:rgba(5,5,6,.98)!important;
	border-bottom:1px solid rgba(152,23,35,.16)!important;
}
.ap-topbar__links{
	gap:12px!important;
	font-size:8px!important;
	font-weight:500!important;
	color:#8f8a84!important;
}
.ap-topbar__links i{
	height:11px!important;
	background:rgba(208,166,95,.20)!important;
}
.ap-topbar__links a:hover{color:#d0a65f!important}
.ap-topbar__social{font-size:8px!important;color:#8d8983!important}
.ap-topbar__tools{font-size:8px!important}

/* Main masthead */
.ap-brandbar{
	position:relative!important;
	background:
		radial-gradient(circle at 50% -40%,rgba(110,15,24,.18),transparent 40%),
		linear-gradient(180deg,#110709 0%,#090405 100%)!important;
	border-bottom:1px solid rgba(152,23,35,.22)!important;
	box-shadow:inset 0 1px 0 rgba(255,255,255,.018),0 12px 28px rgba(0,0,0,.14)!important;
}
.ap-brandbar::after{
	content:""!important;
	position:absolute!important;
	left:10%!important;
	right:10%!important;
	bottom:-1px!important;
	height:1px!important;
	background:linear-gradient(90deg,transparent,rgba(152,23,35,.20),rgba(208,166,95,.18),rgba(152,23,35,.20),transparent)!important;
	pointer-events:none!important;
}
.ap-brandbar__inner{
	height:118px!important;
	width:min(1530px,calc(100% - 44px))!important;
	margin-inline:auto!important;
	display:grid!important;
	grid-template-columns:minmax(250px,1fr) auto minmax(250px,1fr)!important;
	align-items:center!important;
	gap:28px!important;
}

/* Search */
.ap-search-pill{
	justify-self:start!important;
	width:290px!important;
	height:44px!important;
	padding:0 16px!important;
	border:1px solid rgba(208,166,95,.20)!important;
	border-radius:22px!important;
	background:linear-gradient(180deg,rgba(16,9,10,.90),rgba(7,5,6,.94))!important;
	color:#8f8982!important;
	box-shadow:inset 0 1px 0 rgba(255,255,255,.02),0 8px 22px rgba(0,0,0,.14)!important;
}
.ap-search-pill:hover{border-color:rgba(208,166,95,.40)!important}
.ap-search-pill svg{width:16px!important;height:16px!important;stroke:#d0a65f!important}
.ap-search-pill span{font-size:10px!important;color:#8f8982!important}

/* Center identity */
.ap-brand{
	justify-self:center!important;
	display:grid!important;
	grid-template-columns:auto auto auto!important;
	grid-template-areas:"en logo ar" "tag tag tag"!important;
	align-items:center!important;
	justify-content:center!important;
	column-gap:16px!important;
	row-gap:0!important;
	min-width:360px!important;
	padding:2px 18px 0!important;
	direction:ltr!important;
}
.ap-brand__type{display:contents!important}
.ap-brand__logo{
	grid-area:logo!important;
	width:98px!important;
	height:92px!important;
	display:grid!important;
	place-items:center!important;
	filter:drop-shadow(0 0 9px rgba(208,166,95,.16)) drop-shadow(0 7px 16px rgba(0,0,0,.30))!important;
	transform:none!important;
}
.ap-brand__logo-img{width:100%!important;height:100%!important;object-fit:contain!important;filter:none!important}

.ap-brand__type strong{
	grid-area:ar!important;
	font-family:"Cairo",sans-serif!important;
	font-size:31px!important;
	font-weight:900!important;
	letter-spacing:-.025em!important;
	color:#d0a65f!important;
	line-height:1!important;
	direction:rtl!important;
	text-shadow:0 0 12px rgba(208,166,95,.08)!important;
}
.ap-brand__type b{
	grid-area:en!important;
	margin:0!important;
	font-family:"IBM Plex Mono",monospace!important;
	font-size:24px!important;
	font-weight:600!important;
	letter-spacing:.055em!important;
	color:#d0a65f!important;
	line-height:1!important;
	text-shadow:0 0 12px rgba(208,166,95,.08)!important;
}
.ap-brand__type small{
	grid-area:tag!important;
	display:block!important;
	margin-top:-2px!important;
	font-family:"Cairo",sans-serif!important;
	font-size:10px!important;
	font-weight:600!important;
	color:#aaa39a!important;
	text-align:center!important;
	direction:rtl!important;
	line-height:1.25!important;
	transform:translateY(-2px)!important;
}

/* Controls */
.ap-brandbar__controls{
	justify-self:end!important;
	display:flex!important;
	align-items:center!important;
	gap:5px!important;
	padding:4px!important;
	border:1px solid rgba(208,166,95,.18)!important;
	border-radius:22px!important;
	background:linear-gradient(180deg,rgba(15,9,10,.86),rgba(7,5,6,.92))!important;
}
.ap-lang-switch{width:88px!important;height:36px!important;border:0!important;background:rgba(5,5,6,.72)!important}
.ap-lang-switch i{background:linear-gradient(180deg,#86131e,#590b12)!important}
.ap-lang-switch a{font-size:8px!important;color:#96918b!important}
.ap-lang-switch a.is-active{color:#fff!important}
.ap-theme-switch{width:76px!important;height:36px!important;border:0!important;background:rgba(5,5,6,.72)!important}
.ap-theme-switch>span{background:#111214!important}
.ap-theme-switch>span i{background:#d0a65f!important;box-shadow:0 0 9px rgba(208,166,95,.24)!important}

/* NIGHT MODE = black secondary */
html[data-omq-theme="dark"] body.bs-body{
	background:linear-gradient(180deg,#050506 0%,#080405 45%,#030304 100%)!important;
}
html[data-omq-theme="dark"] .ap-header,
html[data-omq-theme="dark"] .ap-topbar{background:#050506!important}
html[data-omq-theme="dark"] .ap-brandbar{
	background:radial-gradient(circle at 50% -40%,rgba(110,15,24,.10),transparent 40%),linear-gradient(180deg,#070708,#030304)!important;
}
html[data-omq-theme="dark"] .ap-navline{
	background:linear-gradient(180deg,#090a0b,#050506)!important;
}
html[data-omq-theme="dark"] .ap-headlines,
html[data-omq-theme="dark"] .ap-security>.ap-shell,
html[data-omq-theme="dark"] .ap-iraq-index,
html[data-omq-theme="dark"] .ap-country-list,
html[data-omq-theme="dark"] .ap-worldmap,
html[data-omq-theme="dark"] .fc-bottom__grid>section{
	background:linear-gradient(180deg,#0b0c0d,#060607)!important;
}

/* DAY MODE = current dark-red identity */
html[data-omq-theme="light"]{
	color-scheme:dark!important;
	--bg:#18070B!important;
	--bg2:#0B0305!important;
	--panel:#120609!important;
	--panel2:#090607!important;
	--text:#f0ede6!important;
	--muted:#8a8b87!important;
	--faint:#555955!important;
	--line:rgba(143,14,23,.30)!important;
	--line2:rgba(255,255,255,.08)!important;
}
html[data-omq-theme="light"] body.bs-body{
	background:radial-gradient(circle at 50% -10%,rgba(152,23,35,.28),transparent 36rem),linear-gradient(180deg,#18070B 0%,#120609 34%,#0B0305 68%,#050607 100%)!important;
	color:#f0ede6!important;
}
html[data-omq-theme="light"] .ap-header{background:#120609!important}
html[data-omq-theme="light"] .ap-topbar{background:rgba(7,3,4,.96)!important}
html[data-omq-theme="light"] .ap-brandbar{
	background:radial-gradient(circle at 50% -35%,rgba(152,23,35,.22),transparent 42%),linear-gradient(180deg,#18070B,#0B0305)!important;
}
html[data-omq-theme="light"] .ap-navline{
	background:linear-gradient(180deg,rgba(110,15,24,.34),rgba(8,4,5,.98))!important;
}
html[data-omq-theme="light"] .ap-headlines,
html[data-omq-theme="light"] .ap-security>.ap-shell,
html[data-omq-theme="light"] .ap-iraq-index,
html[data-omq-theme="light"] .ap-country-list,
html[data-omq-theme="light"] .ap-worldmap,
html[data-omq-theme="light"] .fc-bottom__grid>section{
	background:linear-gradient(180deg,#15070A,#070405)!important;
	color:#f0ede6!important;
}
html[data-omq-theme="light"] .ap-nav a,
html[data-omq-theme="light"] .ap-topbar__links,
html[data-omq-theme="light"] .ap-topbar__social,
html[data-omq-theme="light"] .ap-topbar__tools{
	color:#d7d2ca!important;
}

/* newsroom scale */
.ap-nav a{font-size:13px!important;font-weight:700!important}
.fc-hero__copy h1{
	font-family:"Cairo",sans-serif!important;
	font-size:clamp(40px,3.6vw,58px)!important;
	line-height:1.32!important;
	font-weight:900!important;
}
.fc-hero__copy p{font-size:16px!important;line-height:1.95!important;font-weight:500!important}
.omq-latest-panel__head h2{font-size:25px!important;font-weight:900!important}
.omq-latest-item__meta{font-size:10px!important}
.omq-latest-item h3{
	font-family:"Cairo",sans-serif!important;
	font-size:17px!important;
	line-height:1.58!important;
	font-weight:800!important;
}
.fc-featurecard h3{
	font-family:"Cairo",sans-serif!important;
	font-size:15px!important;
	line-height:1.55!important;
	font-weight:800!important;
}

@media(max-width:720px){
	.ap-topbar{height:30px!important}
	.ap-brandbar__inner{height:90px!important;width:calc(100% - 16px)!important;grid-template-columns:auto 1fr auto!important;gap:5px!important}
	.ap-search-pill{width:38px!important;height:36px!important;padding:0!important;justify-content:center!important}
	.ap-search-pill span{display:none!important}
	.ap-brand{min-width:0!important;padding:0 6px!important;column-gap:6px!important;row-gap:0!important}
	.ap-brand__logo{width:66px!important;height:62px!important}
	.ap-brand__type strong{font-size:22px!important}
	.ap-brand__type b{font-size:15px!important;letter-spacing:.035em!important}
	.ap-brand__type small{font-size:8px!important;transform:translateY(-1px)!important}
	.ap-brandbar__controls{padding:3px!important;gap:2px!important;border-radius:17px!important}
	.ap-lang-switch{width:60px!important;height:30px!important}
	.ap-theme-switch{width:34px!important;height:30px!important;padding:0!important}
	.ap-theme-switch .moon,.ap-theme-switch .sun{display:none!important}
	.fc-hero__copy h1{font-size:35px!important;line-height:1.38!important}
	.fc-hero__copy p{font-size:15px!important}
	.omq-latest-panel__head h2{font-size:22px!important}
	.omq-latest-item h3{font-size:16px!important}
}