:root {
  color-scheme: light;
  --page: #f4f2ee;
  --panel: #fffdf9;
  --line: #e3ded4;
  --ink: #182125;
  --muted: #656762;
  --deep: #151c20;
  --deep-soft: #202a2d;
  --gold: #eea748;
  --gold-deep: #9a5816;
  --nav-ink: #ede7dd;
  --accent-red: #c4473b;
  --heading: 'Cairo', 'Geeza Pro', sans-serif;
  --body: 'Tajawal', 'Geeza Pro', sans-serif;
  --radius: 14px;
  --gutter: clamp(16px, 4.5vw, 64px);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #192124;
  --panel: #222b2e;
  --line: #3a4445;
  --ink: #f2eade;
  --muted: #c0bbb0;
  --gold-deep: #f6b75d;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-block-start: 24px; }
body { margin: 0; color: var(--ink); background: var(--page); font: 500 1.04rem/1.55 var(--body); }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, p, figure { margin: 0; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
[hidden] { display: none !important; }
::selection { color: #182125; background: #ffc36d; }
.wrapper { width: min(100% - 2 * var(--gutter), 1284px); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link:focus { position: fixed; inset: 12px 12px auto auto; z-index: 4; background: var(--panel); padding: 8px 14px; border-radius: 6px; }

.masthead { background: var(--deep); color: var(--nav-ink); }
.masthead-inner { position: relative; display: flex; align-items: center; min-height: 76px; gap: clamp(24px, 4vw, 62px); }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; color: #fff9ec; }
.brand-mark { display: grid; place-items: center; position: relative; width: 45px; height: 45px; color: var(--gold); border: 1px solid #ed9f474a; border-radius: 50%; }
.brand-mark::before { content: ""; position: absolute; width: 26px; height: 17px; border: 1.5px solid currentColor; border-radius: 72% 8% 72% 8%; transform: rotate(27deg); }
.brand-mark i { width: 8px; height: 8px; border: 1.5px solid currentColor; border-radius: 50%; }
.brand-name { display: grid; gap: 4px; line-height: 1; }
.brand-name strong { font: 800 1.37rem/1.15 var(--heading); white-space: nowrap; }
.brand-name small { color: var(--gold); font: 700 .65rem/1 var(--body); letter-spacing: .22em; }
.site-nav { display: flex; align-items: stretch; gap: clamp(18px, 2.3vw, 38px); align-self: stretch; white-space: nowrap; }
.site-nav a { display: grid; align-items: center; position: relative; font-size: .98rem; font-weight: 700; color: #d8d4cb; }
.site-nav a:hover, .site-nav a[aria-current] { color: #ffc471; }
.site-nav a[aria-current]::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--gold); }
.header-tools { margin-inline-start: auto; display: flex; align-items: center; gap: 9px; }
.tool-button, .live-button { display: grid; place-items: center; border: 0; color: var(--nav-ink); }
.tool-button { width: 39px; height: 39px; border-radius: 50%; background: transparent; }
.tool-button:hover, .tool-button:focus-visible { background: #fff1; }
.live-button { display: flex; align-items: center; gap: 8px; background: #92392f2b; border: 1px solid #e2726359; color: #ffb2a8; white-space: nowrap; border-radius: 8px; padding: 6px 12px 4px; min-height: 36px; font-weight: 700; font-size: .94rem; }
.live-button:hover { background: #ac453d67; }
.live-dot, .ticker-dot { display: inline-block; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: #ec685a; }
.live-dot { box-shadow: 0 0 0 3px #e95c4c26; }
.icon { display: inline-block; position: relative; width: 20px; height: 20px; }
.icon-search::before { content: ""; position: absolute; inset: 1px auto auto 1px; width: 13px; height: 13px; border: 1.7px solid currentColor; border-radius: 50%; }
.icon-search::after { content: ""; position: absolute; width: 7px; height: 1.7px; background: currentColor; border-radius: 2px; top: 14px; left: 12px; transform: rotate(46deg); }
.icon-moon { width: 16px; height: 16px; border-radius: 50%; box-shadow: -5px 3px 0 0 currentColor; transform: translate(3px,-1px); }
[data-theme="dark"] .icon-moon { width: 14px; height: 14px; border: 2px solid currentColor; box-shadow: 0 0 0 3px #f6b75d39; transform: none; color: #f6b75d; }
.menu-toggle { display: none; }
.icon-menu { width: 18px; height: 12px; border-block: 1.6px solid currentColor; }
.icon-menu::after { content: ""; position: absolute; inset: 4px 0 auto; height: 1.6px; background: currentColor; }

.file-preview-notice { background: var(--panel); border-block-end: 1px solid var(--line); }
.file-preview-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding-block: 9px; }
.file-preview-inner p { color: var(--muted); font-size: .95rem; }
.file-preview-inner strong { color: var(--ink); }
.local-preview-link { display: inline-block; justify-self: start; padding: 6px 12px; border-radius: 6px; background: var(--gold); color: #211b13; font-weight: 800; }
.local-preview-link:hover { background: #ffc374; }
.ticker { background: var(--panel); border-block-end: 1px solid var(--line); }
.ticker-inner { display: flex; align-items: center; gap: 16px; min-height: 49px; }
.ticker-label { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 9px; padding-inline-end: 14px; border-inline-end: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: .95rem; }
.ticker-dot { background: var(--accent-red); width: 6px; height: 6px; }
.ticker-window { flex: 1; min-width: 0; overflow: hidden; }
.ticker-track, .ticker-headline-group { display: flex; align-items: center; width: max-content; }
.ticker-headline-group { flex: none; justify-content: space-around; min-inline-size: var(--ticker-window-width, 0px); }
.ticker-headline { display: inline-flex; align-items: center; gap: 17px; padding: 7px 9px; white-space: nowrap; font-size: .94rem; color: var(--ink); }
.ticker-headline::after { content: ""; flex: 0 0 4px; width: 4px; height: 4px; margin-inline-start: 4px; border-radius: 50%; background: var(--gold); }
.ticker-headline:focus-visible { outline-offset: -2px; }
.ticker a:hover { color: var(--gold-deep); }
#news-ticker.is-running .ticker-track { animation: ticker-scroll var(--ticker-duration, 36s) linear infinite; }
#news-ticker.is-paused .ticker-track { animation-play-state: paused; }
#news-ticker.is-inspecting .ticker-track { animation: none; }
#news-ticker:is(.is-inspecting, :not(.is-running)) .ticker-window { overflow-x: auto; scrollbar-width: none; }
#news-ticker:is(.is-inspecting, :not(.is-running)) [data-ticker-copy] { display: none; }
.ticker-toggle { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); }
.ticker-toggle:hover { color: var(--gold-deep); }
.preview-label { color: var(--muted); font-size: .82rem; white-space: nowrap; }

@keyframes ticker-scroll {
  to { transform: translateX(50%); }
}

.page-layout { display: grid; grid-template-columns: minmax(248px, 290px) minmax(0, 1fr); gap: 22px; padding-block: 26px 54px; align-items: start; }
.main-content { grid-column: 2; grid-row: 1; min-width: 0; display: grid; gap: 18px; }
.sidebar { grid-column: 1; grid-row: 1; display: grid; gap: 16px; min-width: 0; }

.lead { isolation: isolate; position: relative; min-width: 0; }
.hero { isolation: isolate; position: relative; height: clamp(326px, 33vw, 424px); overflow: hidden; color: #fffaf0; background: #3e322a; border-radius: var(--radius); }
.field-slide.is-entering { animation: slide-enter .48s ease-out both; }
@keyframes slide-enter {
  from { opacity: .35; }
  to { opacity: 1; }
}
.hero-img, .lens-panel > img, .image-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-img { object-position: 48% 52%; }
.hero-shade, .lens-shade { position: absolute; inset: 0; }
.hero-shade { background: linear-gradient(0deg, #121615ee 0%, #111817ad 24%, #11181713 63%), linear-gradient(270deg, #17191852, transparent 60%); }
.hero-kicker { position: absolute; inset: 22px 24px auto auto; display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px 4px; background: #171a17aa; color: #f8dec0; border: 1px solid #fff4; border-radius: 6px; font-size: .87rem; font-weight: 700; }
.signal { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero-copy { position: absolute; inset: auto 28px 24px min(25%, 120px); }
.hero-title { font: 900 clamp(2.25rem, 4.05vw, 4.05rem)/1.2 var(--heading); letter-spacing: -.045em; }
.hero-title span { color: #ffbe65; }
.hero-copy p { margin-block-start: 11px; color: #f1eadd; font-size: clamp(.95rem, 1.6vw, 1.14rem); }
.hero-source { display: inline-block; white-space: nowrap; }
.hero-action, .lens-action { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; color: inherit; }
.hero-action:focus-visible, .lens-action:focus-visible, .short-card:focus-visible, .image-tile:focus-visible { outline-offset: -4px; }
.hero-play { display: grid; place-items: center; position: absolute; inset: auto auto 47px 27px; width: 62px; height: 62px; border: 1px solid #fff6; border-radius: 50%; background: #f5ad56; color: #202320; transition: transform .2s, background .2s; }
.hero-action:hover .hero-play { transform: scale(1.07); background: #ffd08b; }
.play-triangle { display: block; width: 0; height: 0; margin-inline-end: 0; margin-left: 3px; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 13px solid currentColor; }
.video-time { position: absolute; inset: auto auto 22px 36px; width: 44px; text-align: center; color: #fff8ec; font: 700 .87rem/1.4 var(--body); letter-spacing: .045em; }

.carousel-controls { position: absolute; inset: 22px auto auto 24px; display: flex; align-items: center; gap: 2px; padding: 2px 4px; color: #fff8ec; background: #141817cc; border: 1px solid #fff4; border-radius: 9px; }
.carousel-pagination { display: flex; align-items: center; }
.carousel-button, .carousel-dot { display: grid; place-items: center; width: 31px; height: 30px; padding: 0; border: 0; border-radius: 6px; color: inherit; background: transparent; }
.carousel-button:hover, .carousel-dot:hover { background: #fff2; }
.carousel-pause { border-inline-start: 1px solid #fff3; border-radius: 0; margin-inline-start: 2px; }
.carousel-dot { width: 17px; }
.carousel-dot::before { content: ""; width: 6px; height: 6px; border-radius: 5px; background: #fff9; }
.carousel-dot[aria-current="true"]::before { width: 12px; background: var(--gold); }
.motion-icon { display: block; width: 8px; height: 10px; border-inline: 2px solid currentColor; }
button[aria-pressed="true"] .motion-icon { width: 0; height: 0; border: 0; border-block: 5px solid transparent; border-left: 8px solid currentColor; }

.feature-band { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.16fr); gap: 16px; }
.shorts-panel { grid-column: 2; grid-row: 1; position: relative; min-width: 0; overflow: hidden; border-radius: var(--radius); padding: 14px; color: #fffaf0; background: radial-gradient(ellipse at 90% -45%, #926b43 0, #302925 58%, #1e2425 90%); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 9px; min-width: 0; }
.section-heading h2 { display: flex; gap: 8px; align-items: center; min-width: 0; font: 800 clamp(1.03rem, 1.5vw, 1.37rem)/1.45 var(--heading); white-space: nowrap; }
.section-mark { display: inline-block; flex: 0 0 3px; width: 3px; height: 16px; border-radius: 2px; background: var(--gold); }
.section-en { color: var(--muted); font: 700 .7rem/1.3 var(--body); letter-spacing: .12em; align-self: center; white-space: nowrap; }
.on-dark .section-en { color: #f2ddc2bd; }
.shorts-panel .section-heading { margin-block-end: 12px; }
.shorts-list { display: grid; grid-auto-flow: column; grid-auto-columns: max(86px, calc((100% - 26px) / 3.65)); gap: 7px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; scroll-snap-type: x mandatory; }
.shorts-list::-webkit-scrollbar { display: none; }
.short-card { position: relative; isolation: isolate; min-width: 0; aspect-ratio: .68; max-height: 170px; padding: 0; overflow: hidden; border: 1px solid #fff4; border-radius: 8px; background: #424c4c; color: #fff7e8; text-align: start; scroll-snap-align: start; }
.short-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.short-card:nth-child(2) img { object-position: 48% center; }
.short-card:hover img, .image-tile:hover img { transform: scale(1.06); }
.short-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, #121a1aee, transparent 68%), linear-gradient(180deg, #18201d55, transparent 35%); }
.mini-play { display: grid; place-items: center; position: absolute; inset: 7px 7px auto auto; z-index: 1; width: 23px; height: 23px; background: #24272199; border: 1px solid #fff8; border-radius: 50%; }
.mini-play .play-triangle { border-block-width: 4px; border-left-width: 6px; margin-left: 1px; }
.short-caption { position: absolute; z-index: 1; inset: auto 7px 8px; display: grid; align-items: start; gap: 4px; }
.short-caption strong { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font: 800 .87rem/1.25 var(--heading); }
.short-caption small { justify-self: start; color: #f5d6ac; font: 700 .75rem/1 var(--body); }
.shorts-navigation { display: flex; gap: 7px; justify-content: flex-end; margin-block-start: 8px; }
.rail-button, .round-link { display: grid; place-items: center; width: 32px; height: 30px; background: #181c1d5e; border: 1px solid #fff4; border-radius: 50%; color: #fff8e9; }
.rail-button:disabled { opacity: .42; cursor: default; }
.rail-button:not(:disabled):hover { background: #eea74862; }
.chevron { display: inline-block; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; }
.chevron-left { transform: rotate(-135deg); margin-left: 2px; }
.chevron-right { transform: rotate(45deg); margin-right: 2px; }

.lens-panel { position: relative; grid-column: 1; grid-row: 1; isolation: isolate; padding: 14px; min-height: 236px; border-radius: var(--radius); overflow: hidden; color: #fff7e8; background: #303231; }
.lens-panel > img { object-position: 50% 40%; }
.lens-shade { background: linear-gradient(180deg, #151818de, transparent 40%), linear-gradient(0deg, #101415ee, transparent 68%); }
.lens-panel .section-heading { position: relative; }
.lens-action { display: flex; align-items: end; justify-content: space-between; text-align: start; padding: 16px; }
.lens-action small { display: block; color: #f1c994; font-size: .84rem; font-weight: 700; }
.lens-action strong { display: block; font: 900 clamp(1.44rem, 2.55vw, 2.15rem)/1.35 var(--heading); }
.lens-action:hover .round-link { background: #eea74880; }
.round-link { width: 38px; height: 38px; flex: 0 0 auto; }

.feature-sections { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.image-tile { display: grid; isolation: isolate; position: relative; overflow: hidden; align-items: end; padding: 15px; min-width: 0; min-height: 153px; background: #343333; color: #fff7e9; border: 0; border-radius: 11px; text-align: start; }
.image-tile > img { transition: transform .25s ease; }
.image-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #0d1718ed, #151c2018 85%); }
.image-tile.youth > img { object-position: 50% 30%; }
.image-tile.audio > img { object-position: 50% 42%; }
.tile-title { z-index: 1; display: grid; justify-items: start; gap: 2px; }
.tile-title strong { font: 800 clamp(1rem, 1.63vw, 1.45rem)/1.45 var(--heading); }
.tile-title small { font: 700 .73rem/1.2 var(--body); color: #f7c486; letter-spacing: .1em; }

.side-panel { padding: 15px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.side-heading { padding-block-end: 11px; border-block-end: 1px solid var(--line); }
.side-heading h2 { font-size: 1.05rem; }
.latest-list, .trending-list, .developments-list { padding: 0; margin: 0; list-style: none; }
.latest-list li + li, .trending-list li + li, .developments-list li + li { border-block-start: 1px solid var(--line); }
.latest-list a { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 11px; padding-block: 11px; }
.latest-list a:hover, .trending-list a:hover, .developments-list a:hover { color: var(--gold-deep); }
.latest-list li:last-child a { padding-block-end: 0; }
.latest-list time { color: var(--gold-deep); font-size: .83rem; font-weight: 700; }
.latest-list a > span { font-size: .98rem; font-weight: 700; line-height: 1.42; }
.map-panel .side-heading { margin-block-end: 12px; }
.trending-scope { padding-block-start: 7px; color: var(--muted); font-size: .8rem; }
.trending-list a { display: flex; align-items: center; gap: 10px; padding-block: 9px; font-weight: 700; }
.trending-list li:last-child a { padding-block-end: 0; }
.trending-list img { flex: 0 0 52px; width: 52px; height: 43px; object-fit: cover; border-radius: 6px; }
.developments-list a { display: grid; gap: 2px; padding-block: 10px; }
.developments-list li:last-child a { padding-block-end: 0; }
.developments-list small { color: var(--gold-deep); font-size: .8rem; }
.developments-list strong { font-size: .98rem; }

.fact-section { padding: 15px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.fact-section .section-heading { margin-block-end: 14px; }
.fact-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.fact-card { display: grid; gap: 7px; justify-items: start; align-content: start; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--page); color: var(--ink); text-align: start; }
.fact-card:hover { border-color: var(--gold); }
.fact-status { border-radius: 5px; padding: 3px 7px 1px; font-size: .88rem; font-weight: 700; color: #664413; background: #f5dfb3; }
.fact-status.confirmed { color: #174c39; background: #d8eadb; }
.fact-status.incorrect { color: #7d2928; background: #f6d8d4; }
.fact-card strong { font: 800 .98rem/1.45 var(--heading); }
.fact-card small { color: var(--muted); font-size: .88rem; }

.footer { background: var(--deep); color: #dfd9ce; padding-block: 30px 14px; }
.footer-content { display: grid; grid-template-columns: 1fr minmax(220px, 370px); gap: 30px; }
.footer-content > div:first-child p { margin-block-start: 9px; }
.footer .brand-mark { width: 37px; height: 37px; }
.footer .brand-name strong { font-size: 1.08rem; }
.newsletter h2 { color: #fff9ed; font: 800 1.04rem/1.4 var(--heading); margin-block-end: 9px; }
.newsletter form, .search-form { display: flex; gap: 8px; }
.newsletter input, .search-form input { flex: 1; min-width: 0; border-radius: 7px; border: 1px solid var(--line); padding: 7px 10px; }
.newsletter input { border-color: #a69c8259; background: #252e30; color: #fff8ec; }
.newsletter form button, .search-form button { padding: 7px 13px; border: 0; border-radius: 7px; background: var(--gold); color: #211b13; font-weight: 700; }
#newsletter-status { font-size: .91rem; color: #ffdb9f; min-height: 1.4em; margin-block-start: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; border-block-start: 1px solid #f0e3cb22; margin-block-start: 22px; padding-block-start: 12px; font-size: .85rem; color: #bcb8ae; }

.site-dialog { color: var(--ink); width: min(90vw, 580px); max-height: min(85vh, 720px); padding: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 80px #0b101070; }
.site-dialog::backdrop { background: #111719c7; }
.dialog-inner { padding: 19px; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-end: 14px; }
.dialog-heading h2, .story-dialog h2 { font: 800 clamp(1.25rem, 3vw, 1.75rem)/1.45 var(--heading); }
.dialog-close { flex: 0 0 37px; width: 37px; height: 37px; border: 1px solid var(--line); border-radius: 50%; background: var(--page); color: var(--ink); font: 500 1.4rem/1 system-ui, sans-serif; }
.search-results { display: grid; gap: 5px; margin-block-start: 12px; }
.search-result { display: grid; padding: 8px; border-block-end: 1px solid var(--line); }
.search-result:hover { background: var(--page); }
.search-result-title { font-weight: 700; }
.search-result-text, .story-note { font-size: .94rem; color: var(--muted); }
.story-dialog-tag { color: var(--gold-deep); font-weight: 700; }
#story-poster { width: 100%; max-height: 320px; object-fit: contain; border-radius: 8px; margin-block-end: 12px; background: #1d2425; }
#story-summary { margin-block-start: 5px; }
.story-note { margin-block-start: 12px; padding-block-start: 9px; border-block-start: 1px solid var(--line); }

.sponsor-dialog { width: min(92vw, 690px); border-color: #eea74867; background: #151c20; color: #fff7e9; }
.sponsor-dialog::backdrop { background: #0a0f11d9; }
.sponsor-card { position: relative; isolation: isolate; display: grid; grid-template-rows: auto 1fr; min-height: clamp(245px, 48vw, 360px); padding: 18px; overflow: hidden; background: #283033; }
.sponsor-image, .sponsor-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.sponsor-image { object-fit: cover; object-position: center 48%; }
.sponsor-shade { background: linear-gradient(90deg, #11191bf0, #11191b92 43%, transparent 77%), linear-gradient(0deg, #151c205e, transparent 64%); }
.sponsor-header, .sponsor-copy { position: relative; }
.sponsor-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sponsor-label { padding: 4px 10px; border: 1px solid #ffddad79; border-radius: 6px; background: #171b1ddb; color: #ffdfb0; font-weight: 700; font-size: .92rem; }
.sponsor-header .dialog-close { border-color: #fff4; background: #171b1deb; color: #fff7e9; }
.sponsor-copy { align-self: end; justify-self: end; width: min(54%, 345px); padding-block: 18px 9px; text-align: start; }
.sponsor-brand { display: inline-flex; align-items: center; gap: 8px; color: #ffd89f; font-weight: 700; font-size: .93rem; }
.sponsor-copy h2 { font: 900 clamp(2.1rem, 6vw, 4.15rem)/1.18 var(--heading); }
.sponsor-copy p { margin-block-start: 6px; color: #eee2cf; }
.sponsor-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 18px; border-block-start: 1px solid #ebad614a; }
.sponsor-footer p { flex: 0 0 auto; font-weight: 700; }
.sponsor-loading { position: relative; flex: 1; min-width: 40px; max-width: 210px; height: 5px; overflow: hidden; border-radius: 5px; background: #eee5d22c; }
.sponsor-loading::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 42%; border-radius: inherit; background: var(--gold); animation: sponsor-loading 1.5s ease-in-out infinite; }
@keyframes sponsor-loading {
  from { transform: translateX(-105%); }
  to { transform: translateX(245%); }
}

.video-dialog { width: min(94vw, 1000px); max-height: 94dvh; border: 1px solid #f1ac554b; background: #151c20; color: #fff7e9; }
.video-dialog:has(.live-form:not([hidden])) { width: min(94vw, 620px); }
.video-dialog::backdrop { background: #0a0f11d9; }
.video-shell { display: grid; gap: 13px; padding: 14px; background: #151c20; color: #fff7e9; }
.video-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.video-heading { min-width: 0; }
.video-heading p { display: flex; align-items: center; gap: 7px; color: var(--gold); font-size: .86rem; font-weight: 700; }
.video-category { color: #d4c8b8; }
.video-category:not(:empty)::before { content: "·"; margin-inline-end: 7px; }
.video-heading h2 { color: #fff7e9; font: 800 clamp(1.02rem, 2.5vw, 1.58rem)/1.45 var(--heading); }
.video-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 7px; }
.video-actions .dialog-close { display: grid; place-items: center; border-color: #fff3; color: #fff7e9; background: #222b2e; padding: 0; }
.video-actions .dialog-close:hover { color: var(--gold); border-color: #f1ac556b; }
.fullscreen-icon { display: block; width: 16px; height: 16px; background:
  linear-gradient(currentColor, currentColor) top left / 6px 2px,
  linear-gradient(currentColor, currentColor) top left / 2px 6px,
  linear-gradient(currentColor, currentColor) top right / 6px 2px,
  linear-gradient(currentColor, currentColor) top right / 2px 6px,
  linear-gradient(currentColor, currentColor) bottom left / 6px 2px,
  linear-gradient(currentColor, currentColor) bottom left / 2px 6px,
  linear-gradient(currentColor, currentColor) bottom right / 6px 2px,
  linear-gradient(currentColor, currentColor) bottom right / 2px 6px;
  background-repeat: no-repeat;
}
.video-fullscreen[aria-pressed="true"] .fullscreen-icon { transform: scale(.75); }
.video-stage { display: grid; place-items: center; width: 100%; height: clamp(200px, 52vw, min(547px, 74dvh)); aspect-ratio: 16 / 9; overflow: hidden; border-radius: 9px; background: #000; }
.video-stage iframe { width: 100%; height: 100%; border: 0; }
.video-message { padding: 12px; border: 1px solid #f1ac554b; border-radius: 8px; color: #f4dcbc; }
.live-form { display: grid; gap: 10px; padding: 13px; border: 1px solid #fff3; border-radius: 9px; background: #222b2e; }
.live-form label { color: #fff7e9; font-weight: 700; }
.live-fields { display: flex; gap: 8px; }
.live-fields input { flex: 1; min-width: 0; padding: 8px 9px; border: 1px solid #fff4; border-radius: 6px; background: #151c20; color: #fff7e9; }
.live-fields input[aria-invalid="true"] { border-color: #e97266; }
.live-fields button { flex: 0 0 auto; padding: 8px 12px; border: 0; border-radius: 6px; background: var(--gold); color: #211b13; font-weight: 800; }
.live-error { color: #ffc0b7; font-size: .93rem; }
.live-error:empty { display: none; }
.live-example { justify-self: start; padding: 3px 0; border: 0; background: transparent; color: #ffc374; text-decoration: underline; }
.video-dialog.is-expanded { box-sizing: border-box; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; border: 0; border-radius: 0; }
.video-shell:fullscreen, .video-dialog.is-expanded .video-shell { height: 100%; grid-template-rows: auto minmax(200px, 1fr); background: #0b0f10; }
.video-shell:fullscreen .video-stage, .video-dialog.is-expanded .video-stage { height: 100%; aspect-ratio: auto; align-self: center; border-radius: 0; }

@media (max-width: 1060px) {
  .masthead-inner { gap: 27px; }
  .site-nav { gap: 17px; }
  .page-layout { grid-template-columns: minmax(215px, 26%) minmax(0,1fr); gap: 15px; }
  .side-panel { padding: 12px; }
  .section-en { font-size: .64rem; letter-spacing: .08em; }
  .feature-band, .feature-sections { gap: 10px; }
}
@media (max-width: 790px) {
  .masthead-inner { min-height: 65px; gap: 5px; }
  .header-tools { gap: 4px; }
  .menu-toggle { display: grid; order: -1; width: 35px; margin-inline-start: -7px; }
  .brand-mark { width: 37px; height: 37px; }
  .brand-mark::before { transform: rotate(27deg) scale(.88); }
  .brand-name strong { font-size: 1.16rem; }
  .brand-name small { font-size: .59rem; }
  .site-nav { display: none; position: absolute; z-index: 3; inset: calc(100% - 1px) 0 auto; background: var(--deep); border: 1px solid #f6b75d43; border-radius: 0 0 9px 9px; padding: 3px 12px 8px; }
  .site-nav.is-open { display: grid; gap: 0; }
  .site-nav a { min-height: 41px; justify-content: start; border-block-end: 1px solid #e3dece23; }
  .site-nav a:last-child { border: 0; }
  .site-nav a[aria-current]::after { display: none; }
  .page-layout { display: block; padding-block: 18px 32px; }
  .sidebar { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-block-start: 16px; align-items: start; gap: 12px; }
  .latest-panel, .trending-panel { grid-column: 1 / -1; }
  .hero { height: clamp(330px, 57vw, 421px); }
}
@media (max-width: 520px) {
  .tool-button { width: 33px; }
  .live-button { min-height: 32px; padding-inline: 8px; }
  .ticker-inner { min-height: 43px; gap: 9px; }
  .ticker-label { padding-inline-end: 8px; font-size: .9rem; gap: 5px; }
  .preview-label { display: none; }
  .main-content { gap: 12px; }
  .hero { height: clamp(300px, 90vw, 370px); }
  .hero-img { object-position: 49% 50%; }
  .hero-kicker { inset: 14px 14px auto auto; }
  .carousel-controls { inset: 14px auto auto 13px; }
  .carousel-button { width: 27px; }
  .carousel-dot { width: 15px; }
  .hero-copy { inset: auto 15px 16px 68px; }
  .hero-title { font-size: clamp(1.8rem, 7.7vw, 2.35rem); }
  .hero-copy p { line-height: 1.35; margin-block-start: 7px; }
  .hero-play { inset: auto auto 38px 13px; width: 45px; height: 45px; }
  .hero-play .play-triangle { border-block-width: 6px; border-left-width: 10px; }
  .video-time { inset: auto auto 15px 13px; }
  .feature-band { grid-template-columns: 1fr; }
  .shorts-panel, .lens-panel { grid-column: auto; grid-row: auto; }
  .lens-panel { min-height: 220px; }
  .image-tile { min-height: 120px; padding: 8px; }
  .tile-title small { display: none; }
  .feature-sections { gap: 7px; }
  .fact-grid { grid-template-columns: 1fr; gap: 7px; }
  .fact-card { gap: 3px; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; gap: 20px; }
  .sponsor-card { padding: 12px; }
  .sponsor-copy { width: 66%; }
  .sponsor-footer { padding-inline: 12px; gap: 10px; }
  .video-shell { padding: 9px; gap: 9px; }
  .video-header { gap: 8px; }
  .video-actions { gap: 4px; }
  .video-actions .dialog-close { flex-basis: 33px; width: 33px; height: 33px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .field-slide.is-entering { animation: none; }
  .sponsor-loading::before { animation: none; transform: translateX(69%); }
}
.se-map {
  position: relative;
  min-height: 9rem;
  aspect-ratio: 1.72;
  margin: 0;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #e6decf;
  border-radius: .75rem;
  color: #4a493d;
  background-color: #e3ece7;
  background-image: radial-gradient(#667f73 0.45px, transparent 0.6px);
  background-size: 7px 7px;
}

.se-map__shape {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.se-map__shape--land {
  background-color: #f4eddd;
  background-image: radial-gradient(#c5b69b 0.48px, transparent 0.64px);
  background-size: 7px 7px;
  clip-path: polygon(0 0, 66% 0, 70% 8%, 73% 10%, 75% 19%, 77% 25%, 78% 32%, 81% 37%, 83% 46%, 85% 48%, 88% 58%, 89% 66%, 94% 74%, 100% 81%, 100% 100%, 0 100%);
}

.se-map__shape--outline,
.se-map__shape--sudan {
  clip-path: polygon(21% 19%, 57% 19%, 58% 23%, 74% 22%, 77% 28%, 78% 33%, 82% 40%, 80% 48%, 76% 52%, 74% 62%, 69% 67%, 66% 74%, 59% 77%, 56% 73%, 50% 74%, 47% 70%, 41% 73%, 36% 68%, 30% 68%, 28% 64%, 24% 65%, 24% 58%, 19% 54%, 18% 48%, 20% 43%, 18% 37%, 21% 33%);
}

.se-map__shape--outline {
  transform: scale(1.022);
  background-color: #c3af8c;
}

.se-map__shape--sudan {
  background-color: #e7d9ba;
  background-image:
    radial-gradient(circle at 64% 44%, #f5e9ca 0, transparent 48%),
    radial-gradient(#c0af93 0.42px, transparent 0.56px);
  background-size: auto, 7px 7px;
}

.se-map__shape--nile {
  background: #8cafad;
  opacity: .88;
  clip-path: polygon(53% 0, 54% 7%, 57% 13%, 58% 19%, 57% 27%, 63% 34%, 63% 37%, 57% 45%, 58% 52%, 55% 62%, 54% 71%, 55% 83%, 54.2% 84%, 53% 71%, 54.2% 62%, 57% 52%, 56% 45%, 62% 37%, 62.2% 34%, 56.2% 27%, 57.2% 19%, 56.2% 13%, 53.1% 7%, 52.2% 0);
}

.se-map__country,
.se-map__water,
.se-map__place,
.se-map__caption {
  position: absolute;
  z-index: 1;
  white-space: nowrap;
  line-height: 1.35;
}

.se-map__country {
  top: 29%;
  left: 29%;
  color: #574d3b;
  font-size: .81rem;
  font-weight: 800;
}

.se-map__water {
  top: 15%;
  right: 5%;
  color: #4a6c63;
  font-size: .62rem;
  font-weight: 700;
}

.se-map__place {
  top: var(--place-y);
  left: var(--place-x);
  display: flex;
  align-items: center;
  gap: .24rem;
  direction: ltr;
  color: #352f26;
  font-size: .65rem;
  font-weight: 700;
  text-shadow: 0 0 .45rem #fff7df, 0 0 .45rem #fff7df;
}

.se-map__place::before {
  width: .32rem;
  height: .32rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #794a21;
  box-shadow: 0 0 0 .12rem #fcf4e3;
  content: "";
}

.se-map__place--khartoum { --place-x: 56%; --place-y: 46%; }
.se-map__place--portsudan { --place-x: 73%; --place-y: 35%; }
.se-map__place--elfasher { --place-x: 30%; --place-y: 54%; }

.se-map__caption {
  right: .46rem;
  bottom: .45rem;
  padding: .22rem .42rem;
  border: 1px solid #dbd4c6;
  border-radius: .26rem;
  background: #fbf8ef;
  color: #50483d;
  font-size: .65rem;
  font-weight: 700;
}

.more-sections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.more-sections button { display: grid; gap: 3px; min-width: 0; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); color: var(--ink); text-align: start; }
.more-sections button:hover { border-color: var(--gold); }
.more-sections strong { font: 800 .98rem/1.45 var(--heading); }
.more-sections small { font-size: .88rem; color: var(--muted); }

@media (min-width: 791px) {
  .hero { height: clamp(318px, 30vw, 379px); }
  .hero-img { object-position: 48% 44%; }
  .hero-title { font-size: clamp(2.25rem, 3.85vw, 3.8rem); }
  .latest-list a { padding-block: 9px; }
}
@media (max-width: 370px) {
  .masthead-inner { gap: 3px; }
  .masthead .brand { gap: 6px; }
  .masthead .brand-mark { width: 30px; height: 30px; }
  .masthead .brand-name strong { font-size: 1rem; }
  .masthead .tool-button { width: 29px; }
  .header-tools { gap: 2px; }
  .live-button { padding-inline: 6px; }
  .more-sections button { padding-inline: 8px; }
}
