/* Renas Press — brand: gold (#CA8A04 / #EAB308), warm brown (#977669 / #846358), cream/beige (#FEFDFB / #FAF2E7) */
:root {
  --bg: #FBF7F0;
  --paper: #FFFDF9;
  --surface: #F5ECDD;
  --ink: #2A1F1A;
  --ink-2: #4E3E35;
  --muted: #7A6156;
  --line: #E8DCD3;
  --line-2: #D9C6B9;
  --gold: #CA8A04;
  --gold-hi: #EAB308;
  --gold-ink: #8A5508;
  --gold-soft: #FBF1D3;
  --brown: #977669;
  --brown-deep: #3B2B23;
  --on-gold: #1F1608;
  --red: #B42318;
  --shadow: 0 1px 2px rgba(59, 43, 35, .06), 0 8px 24px -12px rgba(59, 43, 35, .18);
  --radius: 14px;
  --radius-sm: 9px;
  --wrap: 1240px;
  --f-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
.lang-ar { --f-head: "Noto Naskh Arabic", "IBM Plex Sans Arabic", serif; --f-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15110E; --paper: #1D1814; --surface: #251F1A; --ink: #F6EEE4; --ink-2: #DCCDC0; --muted: #AD978A;
    --line: #342B25; --line-2: #463A32; --gold: #EAB308; --gold-hi: #FACC15; --gold-ink: #F2C14E; --gold-soft: #2E2612;
    --brown-deep: #0F0C0A; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -14px rgba(0,0,0,.7); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #15110E; --paper: #1D1814; --surface: #251F1A; --ink: #F6EEE4; --ink-2: #DCCDC0; --muted: #AD978A;
  --line: #342B25; --line-2: #463A32; --gold: #EAB308; --gold-hi: #FACC15; --gold-ink: #F2C14E; --gold-soft: #2E2612;
  --brown-deep: #0F0C0A; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -14px rgba(0,0,0,.7); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.lang-ar body, body.lang-ar { font-size: 17px; line-height: 1.85; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.25; margin: 0; font-weight: 700; letter-spacing: -.01em; }
.lang-ar h1, .lang-ar h2, .lang-ar h3 { letter-spacing: 0; line-height: 1.5; }
p { margin: 0; }
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--gold); color: var(--on-gold); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip:focus { top: 12px; }
.i { flex: none; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 28px; } }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.only-desktop { display: none !important; }
@media (min-width: 960px) { .only-desktop { display: flex !important; } .only-mobile { display: none !important; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 999px; border: 0; font-weight: 600; font-size: .94rem; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--on-gold); box-shadow: 0 6px 18px -8px rgba(202, 138, 4, .7); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-ink { background: var(--brown-deep); color: #FBF1D3; }
.btn-ink:hover { background: #000; }
.btn.block { display: flex; width: 100%; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; color: var(--ink); transition: border-color .15s, color .15s; }
.icon-btn:hover { border-color: var(--gold); color: var(--gold-ink); }
.when-dark { display: none; }
:root[data-theme="dark"] .when-dark { display: inline; } :root[data-theme="dark"] .when-light { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .when-dark { display: inline; } :root:not([data-theme="light"]) .when-light { display: none; } }

/* ---------- top bar & masthead ---------- */
.topbar { background: var(--brown-deep); color: #E9DCCB; font-size: .8rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 12px; }
.today { display: flex; gap: 10px; align-items: center; white-space: nowrap; overflow: hidden; }
.today .sep { opacity: .35; }
.hijri { color: #F2C14E; }
.top-actions { display: flex; align-items: center; gap: 16px; }
.top-link { color: #F2C14E; font-weight: 600; display: none; }
@media (min-width: 640px) { .top-link { display: inline; } }
.social { display: inline-flex; gap: 4px; }
.social a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 999px; opacity: .8; transition: opacity .15s, background .15s; }
.social a:hover { opacity: 1; background: rgba(255,255,255,.1); }

.masthead { background: var(--bg); border-bottom: 1px solid var(--line); }
.mast-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding-block: 10px; }
.mast-side { display: flex; align-items: center; gap: 8px; }
.mast-end { justify-content: flex-end; }
.brand img { height: 58px; width: auto; }
@media (min-width: 960px) { .brand img { height: 78px; } .mast-in { padding-block: 14px; } }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-weight: 600; font-size: .88rem; transition: border-color .15s, color .15s; }
.lang-btn:hover { border-color: var(--gold); color: var(--gold-ink); }
.lang-en .lang-btn span { font-family: "IBM Plex Sans Arabic", "Segoe UI", sans-serif; }
@media (max-width: 420px) { .lang-btn span { display: none; } .lang-btn { width: 40px; padding: 0; justify-content: center; } }

.search-box { display: flex; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding-inline: 14px 4px; height: 42px; width: 100%; max-width: 300px; transition: border-color .15s, box-shadow .15s; }
.search-box:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent); }
.search-box input { flex: 1; min-width: 0; border: 0; background: none; outline: none; height: 100%; }
.search-box input::placeholder { color: var(--muted); }
.search-box button { width: 34px; height: 34px; border-radius: 999px; border: 0; background: var(--gold); color: var(--on-gold); display: grid; place-items: center; cursor: pointer; }
.search-box.big { max-width: 640px; height: 54px; margin-top: 18px; }
.search-box.big button { width: 44px; height: 44px; }

/* ---------- nav ---------- */
.mainnav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; }
.nav-in::-webkit-scrollbar { display: none; }
@media (min-width: 1100px) { .nav-in { justify-content: center; } }
.nav-in a { position: relative; padding: 13px 12px; font-weight: 600; font-size: .93rem; white-space: nowrap; color: var(--ink-2); transition: color .15s; }
.nav-in a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--gold); transform: scaleX(0); transition: transform .2s; }
.nav-in a:hover { color: var(--ink); }
.nav-in a:hover::after, .nav-in a.is-active::after { transform: scaleX(1); }
.nav-in a.is-active { color: var(--ink); }

/* ---------- ticker ---------- */
.ticker { background: var(--gold-soft); border-bottom: 1px solid var(--line); }
.ticker-in { display: flex; align-items: center; gap: 14px; height: 44px; overflow: hidden; }
.ticker-label { display: inline-flex; align-items: center; gap: 6px; flex: none; background: var(--red); color: #fff; font-weight: 700; font-size: .8rem; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.lang-ar .ticker-label { letter-spacing: 0; font-size: .85rem; }
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-move { display: inline-flex; gap: 48px; white-space: nowrap; animation: tick 40s linear infinite; padding-inline-start: 8px; }
.ticker-move a { font-weight: 600; font-size: .93rem; position: relative; }
.ticker-move a::before { content: "◆"; color: var(--gold); font-size: .6em; margin-inline-end: 12px; vertical-align: middle; }
.ticker-move a:hover { color: var(--gold-ink); }
.ticker:hover .ticker-move, .ticker:focus-within .ticker-move { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
[dir="rtl"] .ticker-move { animation-name: tick-rtl; }
@keyframes tick-rtl { to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-move { animation: none; } .ticker-track { overflow-x: auto; } }

.demo-note { background: var(--surface); color: var(--muted); font-size: .8rem; text-align: center; padding: 6px 0; border-bottom: 1px solid var(--line); }

/* ---------- story primitives ---------- */
.kicker { display: inline-block; color: var(--gold-ink); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.lang-ar .kicker { font-size: .82rem; letter-spacing: 0; }
.kicker:hover { text-decoration: underline; text-underline-offset: 3px; }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: .8rem; }
.meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.story .title a { background-image: linear-gradient(var(--gold), var(--gold)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s; }
[dir="rtl"] .story .title a { background-position: 100% 100%; }
.story .title a:hover { background-size: 100% 2px; }
.story .media { display: block; overflow: hidden; border-radius: var(--radius-sm); background: var(--surface); }
.story .media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.story:hover .media img { transform: scale(1.04); }
.story .excerpt { color: var(--ink-2); font-size: .95rem; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.story .meta { margin-top: 10px; }

.story.card .body { padding-top: 14px; }
.story.card .title { font-size: 1.18rem; }
.lang-ar .story.card .title { font-size: 1.2rem; }

.story.row { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: start; }
@media (min-width: 560px) { .story.row { grid-template-columns: 168px 1fr; } }
.story.row .title { font-size: 1.02rem; }
.story.row .kicker { margin-bottom: 2px; }
.story.row .meta { margin-top: 6px; }
.story.row .excerpt { -webkit-line-clamp: 2; font-size: .9rem; margin-top: 4px; }

.story.overlay { position: relative; border-radius: var(--radius); overflow: hidden; isolation: isolate; color: #FFF8EC; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; background: #1a130e; }
.story.overlay .media { position: absolute; inset: 0; border-radius: 0; z-index: -1; background: #2a1f18; }
.story.overlay .media img { height: 100%; aspect-ratio: auto; }
.story.overlay::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,13,8,0) 20%, rgba(20,13,8,.55) 55%, rgba(20,13,8,.92) 100%); pointer-events: none; }
.story.overlay .body { padding: 22px; }
@media (min-width: 720px) { .story.overlay .body { padding: 32px; } }
.story.overlay .kicker { color: var(--on-gold); background: var(--gold-hi); padding: 3px 10px; border-radius: 999px; }
.story.overlay .title { font-size: clamp(1.5rem, 3.2vw, 2.35rem); color: #FFF8EC; }
.story.overlay .excerpt { color: #EADBC8; font-size: 1rem; max-width: 60ch; }
.story.overlay .meta { color: #D8C4AE; }

.story.mini .title { font-size: 1rem; }

/* ---------- layout blocks ---------- */
.block { margin-top: 44px; }
@media (min-width: 960px) { .block { margin-top: 56px; } }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 3px solid var(--ink); padding-top: 12px; margin-bottom: 22px; position: relative; }
.sec-head::before { content: ""; position: absolute; top: -3px; inset-inline-start: 0; width: 64px; height: 3px; background: var(--gold); }
.sec-head h2 { font-size: 1.5rem; }
.lang-ar .sec-head h2 { font-size: 1.55rem; }
.sec-head h2 a:hover { color: var(--gold-ink); }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--gold-ink); white-space: nowrap; }
.more:hover { gap: 10px; }
[dir="rtl"] .more .i, [dir="rtl"] .pager .i { transform: scaleX(-1); }

.hero { display: grid; gap: 24px; margin-top: 24px; }
@media (min-width: 760px) { .hero { grid-template-columns: 1fr 1fr; } .hero-lead { grid-column: 1 / -1; } }
@media (min-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr) minmax(0, 1fr); }
  .hero-lead { grid-column: auto; }
  .hero-lead .story.overlay { min-height: 100%; }
}
.hero-lead .story.overlay { min-height: 440px; }
.hero-second { display: grid; gap: 22px; align-content: start; }
@media (min-width: 560px) and (max-width: 759px) { .hero-second { grid-template-columns: 1fr 1fr; } }
.hero-second .story.card .title { font-size: 1.08rem; }

.hero-latest { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 6px; align-self: start; }
.rail-title { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(180,35,24,.5); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(180,35,24,0); } 100% { box-shadow: 0 0 0 0 rgba(180,35,24,0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
.latest-list { list-style: none; margin: 0; padding: 0; }
.latest-list li { display: grid; grid-template-columns: 46px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); }
.latest-list li:last-child { border-bottom: 0; }
.latest-list time { font-size: .78rem; color: var(--gold-ink); font-weight: 700; font-variant-numeric: tabular-nums; padding-top: 3px; }
.latest-list .kicker { font-size: .68rem; margin-bottom: 0; }
.lang-ar .latest-list .kicker { font-size: .76rem; }
.latest-list .t, .ranked .t { display: block; font-weight: 600; font-size: .93rem; line-height: 1.45; }
.lang-ar .latest-list .t, .lang-ar .ranked .t { line-height: 1.65; }
.latest-list .t:hover, .ranked .t:hover { color: var(--gold-ink); }

.grid-3, .grid-4 { display: grid; gap: 26px; }
@media (min-width: 640px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.grid-4 .story.card .title { font-size: 1.05rem; }

.with-rail { display: grid; gap: 0 40px; }
@media (min-width: 1100px) { .with-rail { grid-template-columns: minmax(0, 1fr) 320px; } }
.feature-split { display: grid; gap: 24px; }
@media (min-width: 760px) { .feature-split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.feature-split > .story.card .title { font-size: 1.4rem; }
.stack { display: grid; gap: 18px; align-content: start; }
.stack > .story.row:not(:last-child) { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.minis { margin-top: 20px; }

.rail { margin-top: 44px; }
@media (min-width: 1100px) { .rail { margin-top: 56px; } }
.rail-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.sticky { position: sticky; top: 64px; }
.ranked { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.ranked li { display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ranked li:last-child { border-bottom: 0; padding-bottom: 2px; }
.ranked .num { font-family: "Playfair Display", Georgia, serif; font-size: 2rem; line-height: 1; color: var(--gold); font-weight: 800; }
.ranked .kicker { font-size: .68rem; margin-bottom: 2px; }
.lang-ar .ranked .kicker { font-size: .76rem; }

.band { margin-top: 64px; padding: 8px 0 56px; }
.band-dark { background: var(--brown-deep); color: #F6EEE4; --ink: #F6EEE4; --ink-2: #D9C8B8; --muted: #B8A08F; --line: #3d2f27; --gold-ink: #F2C14E; }
.band-dark .sec-head { border-top-color: #F6EEE4; margin-top: 40px; }
.grid-sport { display: grid; gap: 26px; }
@media (min-width: 900px) { .grid-sport { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.grid-sport .story.overlay { min-height: 380px; }
.two-col { display: grid; gap: 0 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* ---------- category / pages ---------- */
.page-head { padding: 36px 0 8px; }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.page-head .muted { margin-top: 6px; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-ink); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.lang-ar .eyebrow { letter-spacing: 0; font-size: .88rem; }
.cat-lead { margin-top: 20px; }
.cat-lead .story.overlay { min-height: 460px; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pager a { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-weight: 600; }
.pager a[aria-current] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.results { margin-top: 24px; }
.results .story.row .title { font-size: 1.2rem; }
.empty { padding: 40px 0; color: var(--muted); font-size: 1.1rem; }
.standfirst { font-size: 1.2rem; color: var(--ink-2); line-height: 1.6; margin-top: 14px; }
.lang-ar .standfirst { line-height: 1.85; }
.page .prose { margin-top: 24px; }
.values { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius-sm); padding: 18px; }
.value h2 { font-size: 1.2rem; margin-bottom: 6px; }
.value p { color: var(--ink-2); font-size: .95rem; }
.contact-form { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 640px) { .contact-form { grid-template-columns: 1fr 1fr; } .contact-form .full, .contact-form .form-msg { grid-column: 1 / -1; } .contact-form .btn { justify-self: start; } }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line-2); background: var(--paper); border-radius: var(--radius-sm); padding: 12px 14px; font-weight: 400; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent); }
.form-msg { font-size: .9rem; color: var(--gold-ink); font-weight: 600; min-height: 1.2em; }
.soon { margin-top: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.soon .btn { margin-top: 22px; }
.badge { display: inline-block; background: var(--gold-soft); color: var(--gold-ink); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); padding: 3px 12px; border-radius: 999px; font-weight: 700; font-size: .82rem; }
.notfound { text-align: center; padding: 56px 16px 24px; }
.notfound .btn { margin-top: 24px; }
.big-404 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(5rem, 18vw, 9rem); font-weight: 800; line-height: 1; color: var(--gold); }

/* ---------- article ---------- */
.article { padding-top: 22px; }
.crumbs { display: flex; gap: 8px; font-size: .85rem; color: var(--muted); }
.crumbs a:hover { color: var(--gold-ink); }
.art-head { max-width: 860px; margin-top: 18px; }
.art-head h1 { font-size: clamp(1.85rem, 4.4vw, 3rem); line-height: 1.18; }
.lang-ar .art-head h1 { line-height: 1.45; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.byline img { width: 40px; height: 40px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); object-fit: contain; padding: 3px; }
.byline strong { font-size: .92rem; }
.byline .meta { margin-top: 2px; }
.art-figure { margin: 26px 0 0; }
.art-figure img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--radius); }
.art-figure figcaption { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.art-grid { display: grid; gap: 28px; margin-top: 30px; }
@media (min-width: 1100px) { .art-grid { grid-template-columns: 64px minmax(0, 720px) 1fr; gap: 40px; } .art-grid .rail { margin-top: 0; } }
.share { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
@media (min-width: 1100px) { .share { flex-direction: column; position: sticky; top: 72px; align-self: start; } }
.share-label { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-inline-end: 4px; }
.share a, .share button { width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--paper); cursor: pointer; transition: all .15s; }
.share a:hover, .share button:hover { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.share button.done { background: var(--gold); color: var(--on-gold); }
.prose p { font-size: 1.12rem; line-height: 1.8; margin-bottom: 1.2em; color: var(--ink); }
.lang-ar .prose p { font-size: 1.18rem; line-height: 2; }
.prose p.first::first-letter { font-family: "Playfair Display", Georgia, serif; float: left; font-size: 3.6em; line-height: .9; padding: 6px 10px 0 0; color: var(--gold); font-weight: 800; }
.lang-ar .prose p.first::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; font-family: inherit; font-weight: inherit; }
.source-box { margin-top: 30px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--gold-soft); border-inline-start: 4px solid var(--gold); }
.source-box .src-label { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-ink); }
.lang-ar .source-box .src-label { font-size: .85rem; letter-spacing: 0; }
.source-box p { font-size: .95rem !important; margin: 4px 0 8px !important; line-height: 1.6 !important; color: var(--ink-2) !important; }
.source-box a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--gold-ink); font-size: .92rem; }
.source-box a:hover { text-decoration: underline; text-underline-offset: 3px; }
.progress { position: fixed; top: 0; inset-inline-start: 0; height: 3px; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); z-index: 60; }
[dir="rtl"] .progress { transform-origin: right; }

/* ---------- newsletter & footer ---------- */
.newsletter { margin-top: 72px; background: linear-gradient(120deg, #CA8A04, #EAB308 55%, #F5CF5B); color: var(--on-gold); }
.nl-in { display: grid; gap: 22px; padding-block: 40px; align-items: center; }
@media (min-width: 900px) { .nl-in { grid-template-columns: 1.1fr 1fr; padding-block: 52px; } }
.newsletter .eyebrow { color: #4A300A; }
.newsletter h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); color: #1F1608; }
.nl-form { display: flex; flex-wrap: wrap; gap: 10px; }
.nl-form input { flex: 1 1 220px; height: 50px; border-radius: 999px; border: 0; padding: 0 20px; background: #FFFBF0; color: #2A1F1A; box-shadow: inset 0 0 0 1px rgba(74,48,10,.15); }
.nl-form input:focus { outline: 3px solid #2A1F1A; outline-offset: 1px; }
.nl-form .btn { height: 50px; padding: 0 26px; }
.nl-form .form-msg { flex-basis: 100%; color: #2A1F1A; }
.footer { background: var(--brown-deep); color: #D9C8B8; padding-top: 52px; }
.foot-grid { display: grid; gap: 34px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr .8fr; } }
.foot-brand img { height: 76px; width: auto; }
.foot-brand p { margin-top: 14px; max-width: 46ch; font-size: .93rem; color: #CDB9A7; }
.social.big { margin-top: 18px; gap: 8px; }
.social.big a { width: 40px; height: 40px; border: 1px solid #4a3a30; opacity: 1; }
.social.big a:hover { background: var(--gold); border-color: var(--gold); color: #1F1608; }
.footer h3 { font-size: 1.05rem; color: #FFF3DD; margin-bottom: 14px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .93rem; }
.foot-links.two { grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.foot-links a:hover { color: #F2C14E; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid #3a2c24; margin-top: 40px; padding-block: 18px; font-size: .82rem; color: #A9927F; }
.to-top { display: inline-flex; align-items: center; gap: 6px; }
.to-top:hover { color: #F2C14E; }

/* ---------- drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(15, 10, 6, .55); }
.drawer-panel { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(86vw, 360px); background: var(--bg); padding: 16px; overflow-y: auto; display: grid; gap: 16px; align-content: start; animation: slidein .25s ease-out; }
@keyframes slidein { from { transform: translateX(-100%); } }
[dir="rtl"] .drawer-panel { animation-name: slidein-rtl; }
@keyframes slidein-rtl { from { transform: translateX(100%); } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-head img { height: 52px; width: auto; }
.drawer .search-box { max-width: none; }
.drawer-nav { display: grid; }
.drawer-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); font-weight: 600; }
.drawer-nav a:hover { color: var(--gold-ink); }
@media (max-width: 420px) { .topbar .social { display: none; } }
