@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/cairo-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/cairo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+2020, U+20A0-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/cairo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --brand-primary: #c9151e;
  --brand-secondary: #8e0d14;
  --text-primary: #171717;
  --text-muted: #686868;
  --surface: #fff;
  --surface-soft: #f5f4f2;
  --border: #dedbd6;
  --container-width: 1240px;
  --reading-width: 760px;
  --shadow: 0 12px 34px rgba(21, 21, 21, .08);
  --header-surface: #fff;
  --card-surface: #fff;
  --image-filter: none;
  color-scheme: light;
}
html[data-theme="dark"] {
  --brand-primary: #ef3d46;
  --brand-secondary: #b80f18;
  --text-primary: #f4f1ec;
  --text-muted: #d0ccc6;
  --surface: #0d0f11;
  --surface-soft: #171a1d;
  --border: #3f4449;
  --header-surface: #121517;
  --card-surface: #181b1e;
  --shadow: 0 12px 38px rgba(0, 0, 0, .28);
  --image-filter: brightness(.96) saturate(.96);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; overflow-x: clip; overflow-wrap: break-word; background: var(--surface); color: var(--text-primary); font-family: 'Cairo', Tahoma, Arial, sans-serif; font-size: 16px; font-weight: 400; line-height: 1.7; font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; transition: background-color .2s ease,color .2s ease; }
h1,h2,h3,h4,h5,h6 { font-weight: 800; }
body.menu-is-open { overflow: hidden; }
body.menu-is-open::before { position: fixed; z-index: 150; inset: 0; background: rgba(0,0,0,.58); backdrop-filter: blur(2px); content: ''; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .18s ease,background-color .18s ease,border-color .18s ease,opacity .18s ease; }
a:hover { color: var(--brand-primary); }
button, input { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 32px), var(--container-width)); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; inset-block-start: 8px; inset-inline-start: 8px; transform: translateY(-160%); padding: 9px 15px; background: #fff; color: #000; box-shadow: var(--shadow); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid #145da0; outline-offset: 3px; }
.utility-bar { color: #fff; background: #202020; font-size: .78rem; }
.utility-bar__inner { display: flex; min-height: 36px; align-items: center; justify-content: space-between; gap: 16px; }
.utility-links, .primary-menu, .footer-links { display: flex; gap: 18px; padding: 0; margin: 0; list-style: none; }
.brand-header { display: flex; min-height: 128px; align-items: center; justify-content: space-between; gap: 28px; background: var(--header-surface); }
.site-header { background: var(--header-surface); }
.site-brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 14px; }
.custom-logo { width: auto; max-height: 86px; }
.default-logo { width: auto; max-width: min(300px,48vw); max-height: 82px; object-fit: contain; }
.custom-logo-link { display: flex; }
.brand-mark { position: relative; display: inline-flex; align-items: end; padding: 7px 9px 4px; transform: skew(-5deg); background: #fff; border: 3px solid #111; box-shadow: 5px 5px 0 var(--brand-primary); font-style: italic; line-height: 1; }
.brand-mark b { font-size: 2.1rem; letter-spacing: -.12em; }
.brand-mark i { margin-inline-start: 7px; padding: 3px 5px; background: var(--brand-primary); color: #fff; font-size: .75rem; font-weight: 800; }
.brand-arabic { font-size: 1.65rem; font-weight: 900; white-space: nowrap; }
.brand-promise { max-width: 430px; margin: 0; color: var(--text-muted); font-size: .88rem; }
.header-actions { display: flex; order: -1; align-items: center; gap: 8px; }
.icon-button, .menu-toggle { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; border: 1px solid var(--border); background: var(--header-surface); color: var(--text-primary); }
.icon-button, .menu-toggle { transition: color .18s ease,background-color .18s ease,border-color .18s ease,transform .18s ease; }
.icon-button:hover, .menu-toggle:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.icon-button:active, .menu-toggle:active { transform: translateY(1px); }
.icon-button { width: 44px; border-radius: 50%; font-size: 1.6rem; }
.theme-toggle { position: relative; font-size: 1.05rem; }
.theme-toggle img { width: 19px; height: 19px; }
.js-search-open > img, .menu-toggle__icon { width: 19px; height: 19px; }
.theme-toggle__dark { display: none; }
html[data-theme="dark"] .theme-toggle__light { display: none; }
html[data-theme="dark"] .theme-toggle__dark { display: inline; }
html[data-theme="dark"] .theme-toggle__dark img { filter: invert(1); }
html[data-theme="dark"] .js-search-open > img,
html[data-theme="dark"] .menu-toggle__icon { filter: invert(1); }
.menu-toggle { display: none; gap: 8px; padding: 0 14px; }
.menu-toggle > span:first-child, .menu-toggle > span:first-child::before, .menu-toggle > span:first-child::after { display: block; width: 19px; height: 2px; background: currentColor; content: ''; }
.menu-toggle > span:first-child { position: relative; }
.menu-toggle > span:first-child::before { position: absolute; top: -6px; }
.menu-toggle > span:first-child::after { position: absolute; top: 6px; }
.primary-nav { position: relative; z-index: 50; color: #fff; background: var(--brand-primary); border-bottom: 4px solid var(--brand-secondary); }
.primary-nav { transition: box-shadow .2s ease; }
.has-scrolled .primary-nav { box-shadow: 0 8px 22px rgba(0,0,0,.14); }
.primary-menu { align-items: stretch; gap: 0; overflow-x: auto; scrollbar-width: thin; }
.primary-menu > li { flex: 0 0 auto; }
.primary-menu a { display: flex; min-height: 50px; align-items: center; padding: 0 15px; color: #fff; border-inline-start: 1px solid rgba(255,255,255,.13); font-size: .92rem; font-weight: 800; }
.primary-menu a:hover, .primary-menu .current-menu-item > a { color: #fff; background: rgba(0,0,0,.16); }
.search-panel { background: #242424; color: #fff; }
.search-panel__inner { display: flex; padding-block: 18px; gap: 10px; }
.search-form { display: flex; width: 100%; max-width: 720px; gap: 8px; }
.search-field { min-width: 0; flex: 1; min-height: 48px; padding-inline: 15px; border: 1px solid var(--border); background: #fff; }
.search-submit, .search-close, .button { min-height: 46px; padding: 0 20px; border: 0; background: var(--brand-primary); color: #fff; font-weight: 800; }
.search-close { background: transparent; border: 1px solid #777; }
.breaking-bar { border-block-end: 1px solid var(--border); background: var(--header-surface); }
.breaking-bar__inner { display: grid; min-height: 62px; grid-template-columns: auto minmax(0,1fr); align-items: center; }
.breaking-bar strong { align-self: stretch; display: flex; align-items: center; padding-inline: 20px; background: var(--brand-secondary); color: #fff; white-space: nowrap; }
.ticker { overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: ticker 45s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker a { position: relative; max-width: 520px; padding-inline: 30px; font-size: .9rem; font-weight: 700; }
.ticker a::after { position: absolute; inset-inline-end: 0; color: var(--brand-primary); content: '◆'; font-size: .55rem; }
.ticker time { margin-inline-start: 8px; color: var(--text-muted); font-size: .72rem; }
@keyframes ticker { from { transform: translateX(-15%); } to { transform: translateX(45%); } }
.site-main { min-height: 55vh; }
.home-main { padding-block-end: 56px; background: linear-gradient(var(--surface-soft) 0 490px, var(--surface) 490px); }
.hero { display: grid; padding-block: 28px 42px; grid-template-columns: minmax(0,1.62fr) minmax(300px,.85fr); gap: 16px; }
.hero-lead, .hero-mini { position: relative; overflow: hidden; background: #222; }
.hero-lead__media { display: block; height: 100%; min-height: 540px; }
.hero-lead__media img, .hero-mini__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease,filter .2s ease; }
.hero-lead:hover img, .hero-mini:hover img { transform: scale(1.025); }
.story-placeholder { display: flex; width: 100%; min-height: 190px; align-items: center; justify-content: center; background: linear-gradient(135deg,#272727,#4a0c0f); color: rgba(255,255,255,.24); font-size: 3rem; font-weight: 900; }
.demo-story-image { filter: var(--image-filter); }
.hero-lead__content { position: absolute; inset: auto 0 0; padding: 34px 28px 26px; background: linear-gradient(transparent,rgba(0,0,0,.92)); color: #fff; }
.story-category { display: inline-flex; margin-block-end: 8px; color: var(--brand-primary); font-size: .78rem; font-weight: 900; }
.hero .story-category { padding: 3px 9px; background: var(--brand-primary); color: #fff; }
.hero-lead h1 { max-width: 780px; margin: 5px 0 8px; font-size: clamp(1.6rem,3vw,2.6rem); font-weight: 850; line-height: 1.35; }
.story-meta { display: flex; gap: 14px; color: #ddd; font-size: .76rem; }
.hero-support { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-mini { min-height: 260px; }
.hero-mini:first-child { grid-column: 1/-1; }
.hero-mini__media { position: absolute; inset: 0; }
.hero-mini > div { position: absolute; inset: auto 0 0; padding: 46px 15px 15px; background: linear-gradient(transparent,rgba(0,0,0,.92)); color: #fff; }
.hero-mini h2 { display: -webkit-box; margin: 0; overflow: hidden; font-size: clamp(.94rem,1.35vw,1.15rem); line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.hero-mini time { color: #d8d8d8; font-size: .7rem; }
.home-content-grid { display: grid; grid-template-columns: minmax(0,1fr) 330px; align-items: start; gap: 40px; }
.news-section { padding-block: 42px; border-block-end: 1px solid var(--border); }
.section-heading { position: relative; display: flex; margin-block-end: 23px; align-items: center; justify-content: space-between; border-block-end: 2px solid var(--text-primary); }
.section-heading::after { position: absolute; inset: auto 0 -2px auto; width: 105px; height: 5px; background: var(--brand-primary); content: ''; }
.section-heading h2 { margin: 0; padding-block-end: 12px; font-size: 1.48rem; font-weight: 850; line-height: 1.2; }
.section-heading > a { color: var(--text-muted); font-size: .78rem; font-weight: 700; }
.section-heading > a { display: inline-flex; min-height: 44px; align-items: center; }
.section-stories { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(220px,.7fr); gap: 0 24px; }
.section-lead { grid-row: span 4; }
.section-lead__media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--surface-soft); }
.section-lead__media img { width: 100%; height: 100%; object-fit: cover; }
.section-lead h3 { margin: 5px 0; font-size: 1.45rem; line-height: 1.45; }
.section-lead p { margin: 7px 0; color: var(--text-muted); font-size: .9rem; }
.section-lead time, .compact-card time { color: var(--text-muted); font-size: .7rem; }
.compact-card { display: grid; padding-block: 0 14px; margin-block-end: 14px; grid-template-columns: 116px 1fr; gap: 13px; border-block-end: 1px solid var(--border); }
.compact-card__media { aspect-ratio: 4/3; overflow: hidden; background: var(--surface-soft); }
.compact-card__media img, .compact-card__media .story-placeholder { width: 100%; height: 100%; min-height: 0; object-fit: cover; font-size: 1.2rem; }
.compact-card__category .story-category { margin: 0; font-size: .68rem; }
.compact-card h3 { display: -webkit-box; margin: 0; overflow: hidden; font-size: .88rem; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.news-section--split .section-stories { grid-template-columns: repeat(2,minmax(0,1fr)); }
.news-section--split .section-lead { grid-row: auto; }
.home-sidebar { position: sticky; top: 18px; padding-block-start: 38px; }
.news-tabs { overflow: hidden; border: 1px solid var(--border); border-block-start: 5px solid var(--brand-primary); background: var(--card-surface); box-shadow: var(--shadow); }
.tab-buttons { display: grid; grid-template-columns: 1fr 1fr; }
.tab-buttons button { padding: 14px 8px; border: 0; border-block-end: 1px solid var(--border); background: var(--surface-soft); color: var(--text-primary); font-weight: 900; }
.tab-buttons button[aria-selected=true] { background: var(--text-primary); color: #fff; }
.tab-panel { padding: 8px 18px; }
.ranked-story { display: grid; padding-block: 14px; grid-template-columns: 38px 1fr; gap: 10px; border-block-end: 1px solid var(--border); }
.ranked-story > span { color: var(--brand-primary); font-size: 1.3rem; font-weight: 900; }
.ranked-story h3 { display: -webkit-box; margin: 0; overflow: hidden; font-size: .86rem; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.ranked-story time { color: var(--text-muted); font-size: .67rem; }
.media-section { padding-block: 52px; }
.media-section--dark { margin-block-start: 48px; background: #171717; color: #fff; }
.section-heading--light { border-color: #fff; }
.section-heading--light > a { color: #ddd; }
.media-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.media-card__image { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: #333; }
.media-card__image img, .media-card__image .story-placeholder { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.media-card h3 { display: -webkit-box; margin: 10px 0 0; overflow: hidden; font-size: 1rem; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.play-icon, .photo-icon { position: absolute; inset: auto 12px 12px auto; display: grid; width: 42px; height: 42px; place-items: center; background: var(--brand-primary); color: #fff; border-radius: 50%; }
.play-icon img, .photo-icon img { width: 19px; height: 19px; filter: invert(1); }
.play-icon:not(:has(img)) { overflow: hidden; color: transparent; background-image: url('../icons/play.svg'); background-position: center; background-size: 19px; background-repeat: no-repeat; }
.photo-icon:not(:has(img)) { overflow: hidden; color: transparent; background-image: url('../icons/images.svg'); background-position: center; background-size: 19px; background-repeat: no-repeat; }
.breadcrumbs { display: flex; padding-block: 22px; align-items: center; gap: 8px; color: var(--text-muted); font-size: .76rem; }
.breadcrumbs a { color: var(--brand-primary); }
.article-layout { display: grid; grid-template-columns: minmax(0,var(--reading-width)) 320px; justify-content: center; align-items: start; gap: 54px; }
.article-header { padding-block: 18px 24px; }
.article-header h1 { margin: 6px 0 13px; font-size: clamp(2rem,4vw,3.45rem); line-height: 1.32; letter-spacing: -.025em; }
.article-deck { max-width: 700px; margin: 0 0 18px; color: var(--text-muted); font-size: 1.14rem; line-height: 1.75; }
.article-byline { display: flex; flex-wrap: wrap; gap: 7px 18px; color: var(--text-muted); font-size: .76rem; }
.article-byline a { color: var(--text-primary); font-weight: 800; }
.article-hero { margin: 0 0 12px; overflow: hidden; }
.article-hero img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.article-hero figcaption { padding-block-start: 7px; color: var(--text-muted); font-size: .72rem; }
.article-tools { display: flex; padding-block: 18px; align-items: center; flex-wrap: wrap; gap: 8px; border-block-end: 1px solid var(--border); }
.article-tools > span { margin-inline-end: 6px; font-size: .78rem; font-weight: 900; }
.article-tools a, .article-tools button { padding: 6px 11px; border: 1px solid var(--border); background: var(--card-surface); color: var(--text-primary); font-size: .72rem; }
.article-tools a:hover, .article-tools button:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.article-summary { padding: 22px 24px; margin-block: 28px 14px; border: 1px solid var(--border); border-inline-start: 5px solid var(--brand-primary); background: var(--surface-soft); }
.article-summary h2, .article-toc h2 { margin: 0 0 10px; font-size: 1.12rem; }
.article-summary ul { padding-inline-start: 21px; margin: 0; }
.article-summary li { margin-block: 5px; font-size: .94rem; }
.article-toc { padding: 20px 24px; margin-block: 14px 0; border: 1px solid var(--border); background: var(--card-surface); }
.article-toc ol { display: grid; padding-inline-start: 22px; margin: 0; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px 28px; }
.article-toc a { color: var(--text-primary); font-size: .88rem; font-weight: 700; }
.article-toc a:hover { color: var(--brand-primary); }
.article-content { padding-block: 28px; font-size: 1.13rem; font-weight: 400; line-height: 2; }
.article-content p, .article-content li { font-weight: 400; }
.article-content strong, .article-content b { font-weight: 700; }
.article-content > :first-child { margin-block-start: 0; }
.article-content h2 { margin-block: 1.7em .6em; font-size: 1.6rem; line-height: 1.45; }
.article-content h3 { margin-block: 1.5em .5em; font-size: 1.3rem; }
.article-content a { color: var(--brand-primary); text-decoration: underline; text-underline-offset: 3px; }
.article-content blockquote { margin-inline: 0; padding: 18px 24px; border-inline-start: 5px solid var(--brand-primary); background: var(--surface-soft); font-size: 1.18rem; font-weight: 700; }
.article-content .article-lead { font-size: 1.2rem; line-height: 2; }
.article-callout { padding: 26px; margin-block: 34px; border-block: 4px solid var(--brand-primary); background: var(--surface-soft); }
.article-callout h3 { margin: 0 0 18px; font-size: 1.18rem; }
.article-callout__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.article-callout__grid div { display: grid; align-content: start; gap: 5px; }
.article-callout__grid strong { color: var(--brand-primary); font-size: .9rem; }
.article-callout__grid span { color: var(--text-muted); font-size: .82rem; line-height: 1.8; }
.article-content figure { max-width: 100%; }
.article-content iframe { max-width: 100%; }
.article-source, .article-tags { padding: 12px 15px; background: var(--surface-soft); font-size: .82rem; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.article-tags a { padding: 2px 8px; border: 1px solid var(--border); }
.post-navigation { display: grid; padding-block: 25px; grid-template-columns: 1fr 1fr; gap: 20px; border-block: 1px solid var(--border); font-size: .84rem; font-weight: 800; }
.post-navigation div:last-child { text-align: left; }
.article-sidebar { position: sticky; top: 18px; padding-block-start: 88px; }
.sidebar-newsletter { padding: 24px; margin-block-start: 24px; border: 1px solid var(--border); background: var(--surface-soft); }
.sidebar-newsletter > span { color: var(--brand-primary); font-size: .74rem; font-weight: 900; }
.sidebar-newsletter h2 { margin: 5px 0 8px; font-size: 1.18rem; line-height: 1.5; }
.sidebar-newsletter p { margin: 0 0 16px; color: var(--text-muted); font-size: .8rem; }
.sidebar-newsletter input { width: 100%; min-height: 44px; padding-inline: 12px; border: 1px solid var(--border); background: var(--card-surface); color: var(--text-primary); }
.sidebar-newsletter button { width: 100%; min-height: 44px; margin-block-start: 8px; border: 0; background: var(--brand-primary); color: #fff; font-weight: 800; }
.author-box { display: grid; padding: 24px; margin-block-start: 30px; grid-template-columns: 62px minmax(0,1fr); align-items: center; gap: 18px; border: 1px solid var(--border); background: var(--card-surface); }
.author-avatar { display: grid; width: 62px; height: 62px; place-items: center; border-radius: 50%; background: var(--brand-primary); color: #fff; font-weight: 900; }
.author-box span { color: var(--brand-primary); font-size: .7rem; font-weight: 900; }
.author-box h2 { margin: 0; font-size: 1rem; }
.author-box p { margin: 4px 0 0; color: var(--text-muted); font-size: .8rem; line-height: 1.7; }
.related { padding-block: 42px; }
.related-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.story-card { border: 1px solid var(--border); border-block-start: 0; background: var(--card-surface); transition: border-color .2s ease,box-shadow .2s ease,transform .2s ease; }
.story-card:hover { border-color: color-mix(in srgb,var(--brand-primary) 45%,var(--border)); box-shadow: var(--shadow); transform: translateY(-2px); }
.story-card.is-clickable, .hero-mini.is-clickable { cursor: pointer; }
.story-card.is-clickable:focus-visible, .hero-mini.is-clickable:focus-visible { outline: 3px solid var(--brand-primary); outline-offset: 4px; }
.story-card:hover .story-card__title { color: var(--brand-primary); }
.story-card__media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--surface-soft); }
.story-card__media img, .story-card__media .story-placeholder { width: 100%; height: 100%; min-height: 0; object-fit: cover; transition: transform .3s ease,filter .2s ease; }
.story-card:hover .story-card__media img { transform: scale(1.025); }
.story-card__body { padding: 14px 15px 18px; }
.story-card__title { display: -webkit-box; margin: 0; min-height: 3.1em; overflow: hidden; font-size: 1.02rem; font-weight: 800; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.story-card .story-meta { margin-block-start: 8px; color: var(--text-muted); }
.responsive-embed { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; }
.responsive-embed iframe, .responsive-embed video { width: 100%; height: 100%; border: 0; }
.article--media, .article--gallery, .page-article { max-width: var(--reading-width); margin-inline: auto; }
.gallery-content .wp-block-gallery { gap: 10px; }
.gallery-content a { cursor: zoom-in; }
.image-lightbox { width: min(94vw,1200px); padding: 46px 14px 14px; border: 0; background: #111; }
.image-lightbox::backdrop { background: rgba(0,0,0,.9); }
.image-lightbox img { max-height: 82vh; margin-inline: auto; }
.image-lightbox button { position: absolute; inset-block-start: 6px; inset-inline-end: 10px; border: 0; background: transparent; color: #fff; font-size: 2rem; }
.archive-page, .page-main { padding-block-end: 64px; }
.archive-header { max-width: 760px; padding-block: 20px 36px; }
.eyebrow { margin: 0; color: var(--brand-primary); font-size: .75rem; font-weight: 900; text-transform: uppercase; }
.archive-header h1 { margin: 3px 0 8px; font-size: clamp(2rem,4vw,3.5rem); line-height: 1.25; }
.archive-description { color: var(--text-muted); }
.archive-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px 22px; }
.pagination .nav-links { display: flex; padding-block: 38px; justify-content: center; gap: 6px; }
.pagination .page-numbers { display: grid; min-width: 40px; min-height: 40px; place-items: center; border: 1px solid var(--border); }
.pagination .current { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }
.search-results { max-width: 940px; }
.search-result { display: grid; padding-block: 22px; grid-template-columns: 240px 1fr; gap: 22px; border-block-end: 1px solid var(--border); }
.search-result__media { aspect-ratio: 4/3; overflow: hidden; background: var(--surface-soft); }
.search-result__media img, .search-result__media .story-placeholder { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.search-result h2 { margin: 0; font-size: 1.3rem; line-height: 1.45; }
.search-result time { color: var(--text-muted); font-size: .72rem; }
.search-result p { color: var(--text-muted); font-size: .88rem; }
.empty-state, .error-page { padding: 65px 20px; text-align: center; }
.empty-state .search-form, .error-page .search-form { margin: 20px auto; }
.error-code { margin: 0; color: var(--brand-primary); font-size: clamp(5rem,18vw,11rem); font-weight: 900; line-height: 1; }
.site-footer { padding-block-start: 54px; background: #171717; color: #ddd; }
.footer-grid { display: grid; padding-block-end: 45px; grid-template-columns: 1.5fr 1fr 1fr .7fr; gap: 42px; }
.site-footer h2 { margin-block-start: 0; color: #fff; font-size: 1rem; }
.footer-brand p { max-width: 440px; color: #aaa; font-size: .86rem; }
.site-brand--footer { color: #fff; }
.site-brand--footer .default-logo { padding: 5px 8px; background: #fff; }
html[data-theme="dark"] .home-main { background: linear-gradient(var(--surface-soft) 0 490px,var(--surface) 490px); }
html[data-theme="dark"] .section-lead__media,
html[data-theme="dark"] .compact-card__media,
html[data-theme="dark"] .story-card__media,
html[data-theme="dark"] .search-result__media { background: #202326; }
html[data-theme="dark"] .search-field { background: #202326; color: #fff; border-color: #42464a; }
html[data-theme="dark"] .search-panel { background: #0c0d0e; }
html[data-theme="dark"] .site-header .default-logo { padding: 5px 8px; background: #fff; }
html[data-theme="dark"] .section-heading { border-color: #d9d6d1; }
html[data-theme="dark"] .section-heading > a,
html[data-theme="dark"] .story-meta,
html[data-theme="dark"] .compact-card time,
html[data-theme="dark"] .ranked-story time { color: #c9c5bf; }
html[data-theme="dark"] .compact-card,
html[data-theme="dark"] .ranked-story { border-color: #4a4e52; }
html[data-theme="dark"] .tab-buttons button[aria-selected=true] { background: #f2eee8; color: #111315; }
html[data-theme="dark"] .article-content { color: #f1eee9; }
html[data-theme="dark"] .article-content blockquote,
html[data-theme="dark"] .article-source,
html[data-theme="dark"] .article-tags { background: #202428; color: #f4f1ec; }
html[data-theme="dark"] .article-summary,
html[data-theme="dark"] .article-callout,
html[data-theme="dark"] .sidebar-newsletter { background: #181c1f; border-color: #43484d; }
html[data-theme="dark"] .article-toc,
html[data-theme="dark"] .author-box { background: #121517; border-color: #43484d; }
html[data-theme="dark"] .sidebar-newsletter input { background: #202428; border-color: #4a5055; color: #fff; }
html[data-theme="dark"] .breaking-bar { border-color: #373c40; }
html[data-theme="dark"] .ticker a { color: #f2efea; }
html[data-theme="dark"] .story-card,
html[data-theme="dark"] .news-tabs { border-color: #383d42; }
html[data-theme="dark"] .story-card:hover { border-color: #7d3a3f; background: #1c2023; }
html[data-theme="dark"] .icon-button,
html[data-theme="dark"] .menu-toggle { background: #181c1f; border-color: #454b50; }
html[data-theme="dark"] .search-submit,
html[data-theme="dark"] .button { color: #fff; }
.latest-block { padding-block: 12px 46px; }
.latest-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px 18px; }
.latest-grid .story-card { box-shadow: 0 8px 24px rgba(21,21,21,.06); }
html[data-theme="dark"] .latest-grid .story-card { box-shadow: 0 8px 28px rgba(0,0,0,.24); }
.news-section .story-placeholder,
.media-card .story-placeholder { color: transparent; background-position: center; background-size: cover; }
.news-section:nth-of-type(1) .story-placeholder,
.media-card:nth-child(1) .story-placeholder { background-image: url('../images/demo-justice.webp'); }
.news-section:nth-of-type(2) .story-placeholder,
.media-card:nth-child(2) .story-placeholder,
.media-card:nth-child(4) .story-placeholder { background-image: url('../images/demo-community.webp'); }
.media-card:nth-child(3) .story-placeholder { background-image: url('../images/demo-sport.webp'); }
.footer-links { flex-direction: column; gap: 7px; color: #bbb; font-size: .82rem; }
.social-links { display: flex; gap: 8px; }
.social-links { flex-wrap: wrap; }
.social-links a { display: inline-flex; min-height: 38px; align-items: center; padding-inline: 11px; border: 1px solid #4b4b4b; color: #fff; font-size: .72rem; }
.footer-bottom { padding-block: 16px; background: #0d0d0d; color: #8f8f8f; font-size: .74rem; }
@media (max-width: 1024px) {
  .brand-promise { display: none; }
  .hero { grid-template-columns: 1.35fr .85fr; }
  .hero-support { grid-template-columns: 1fr; }
  .hero-mini:first-child { grid-column: auto; }
  .hero-mini { min-height: 260px; }
  .hero-mini:nth-child(n+3) { display: none; }
  .home-content-grid { grid-template-columns: minmax(0,1fr) 280px; gap: 26px; }
  .article-layout { grid-template-columns: minmax(0,1fr) 270px; gap: 36px; }
  .archive-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .container { width: min(calc(100% - 24px), var(--container-width)); }
  .utility-bar__inner { justify-content: center; }
  .utility-bar nav { display: none; }
  .brand-header { min-height: 88px; padding-block: 8px; }
  .brand-header .site-brand { margin-inline-start: auto; }
  .brand-mark b { font-size: 1.65rem; }
  .brand-arabic { font-size: 1.15rem; }
  .menu-toggle { display: inline-flex; }
  .primary-nav { position: fixed; z-index: 200; inset: 0 0 0 auto; width: min(88vw,350px); padding-block: 74px 24px; transform: translateX(105%); overflow-y: auto; overscroll-behavior: contain; transition: transform .25s ease; border: 0; background: #181a1c; }
  .primary-nav.is-open { transform: translateX(0); box-shadow: -12px 0 40px rgba(0,0,0,.35); }
  .primary-menu { flex-direction: column; overflow: visible; }
  .primary-menu a { min-height: 52px; padding-inline: 20px; border-block-end: 1px solid #34383b; font-size: .98rem; }
  .breaking-bar__inner { width: 100%; grid-template-columns: auto minmax(0,1fr); }
  .breaking-bar strong { padding-inline: 12px; font-size: .78rem; }
  .ticker a { max-width: 300px; padding-inline: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .home-main { background: linear-gradient(var(--surface-soft) 0 600px,var(--surface) 600px); }
  .hero { grid-template-columns: 1fr; padding-block: 16px 28px; }
  .hero-lead__media { min-height: 380px; }
  .hero-support { grid-template-columns: repeat(2,1fr); }
  .hero-mini:first-child { grid-column: auto; }
  .hero-mini { min-height: 220px; }
  .hero-mini:nth-child(n+3) { display: none; }
  .home-content-grid, .article-layout { grid-template-columns: 1fr; }
  .home-sidebar { position: static; order: -1; padding-block-start: 20px; }
  .news-tabs { display: none; }
  .article-sidebar { display: none; }
  .article-toc ol { grid-template-columns: 1fr; }
  .article-callout__grid { grid-template-columns: 1fr; gap: 13px; }
  .media-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .latest-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 520px) {
  .container { width: min(calc(100% - 20px), var(--container-width)); }
  .brand-header { gap: 8px; }
  .brand-header .default-logo { max-width: min(190px,45vw); }
  .site-brand { gap: 8px; }
  .brand-mark { padding: 5px 6px 3px; box-shadow: 3px 3px 0 var(--brand-primary); }
  .brand-mark b { font-size: 1.38rem; }
  .brand-mark i { margin-inline-start: 5px; font-size: .56rem; }
  .brand-arabic { font-size: .92rem; }
  .js-search-open { display: none; }
  .theme-toggle { width: 42px; min-height: 42px; }
  .menu-toggle { min-height: 42px; padding-inline: 10px; }
  .breaking-bar__inner { min-height: 52px; }
  .hero-lead__media { min-height: 350px; }
  .hero-lead__content { padding: 60px 16px 17px; }
  .hero-lead h1 { font-size: 1.55rem; }
  .hero-support { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-mini { min-height: 190px; }
  .hero-mini h2 { font-size: .83rem; }
  .hero-mini .story-category, .hero-mini time { display: none; }
  .section-heading h2 { font-size: 1.25rem; }
  .section-stories, .news-section--split .section-stories { grid-template-columns: 1fr; }
  .section-lead { grid-row: auto; margin-block-end: 20px; }
  .section-lead h3 { font-size: 1.22rem; }
  .compact-card { grid-template-columns: 105px 1fr; }
  .media-grid { gap: 12px; }
  .media-card h3 { font-size: .82rem; }
  .article-header h1 { font-size: 2rem; }
  .article-deck { font-size: 1rem; }
  .article-content { font-size: 1.04rem; line-height: 1.95; }
  .article-content .article-lead { font-size: 1.08rem; }
  .article-summary, .article-toc, .article-callout { padding: 18px; }
  .article-hero { margin-inline: -10px; }
  .article-hero figcaption { padding-inline: 10px; }
  .article-tools > span { width: 100%; }
  .author-box { padding: 18px; grid-template-columns: 50px minmax(0,1fr); gap: 13px; }
  .author-avatar { width: 50px; height: 50px; font-size: .82rem; }
  .post-navigation { grid-template-columns: 1fr; }
  .post-navigation div:last-child { text-align: right; }
  .related-grid, .archive-grid { grid-template-columns: 1fr; }
  .latest-grid { grid-template-columns: 1fr; gap: 12px; }
  .latest-grid .story-card { display: grid; min-height: 116px; grid-template-columns: 116px minmax(0,1fr); border-block-start: 1px solid var(--border); box-shadow: none; }
  .latest-grid .story-card__media { height: 100%; aspect-ratio: auto; }
  .latest-grid .story-card__body { padding: 10px 12px; }
  .latest-grid .story-card__title { min-height: 0; font-size: .94rem; -webkit-line-clamp: 3; }
  .latest-grid .story-category { margin-block-end: 3px; }
  .latest-grid .story-meta { margin-block-start: 4px; }
  .search-result { grid-template-columns: 112px 1fr; gap: 13px; }
  .search-result h2 { font-size: 1rem; }
  .search-result p { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
