@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');
:root { --h24-preview-red:#9e2929; --h24-preview-ink:#171817; --h24-preview-paper:#f4f1e9; }
html { scroll-behavior:smooth; scroll-padding-top:92px; }
body { color:var(--h24-preview-ink); animation:preview-page-enter .32s ease both; }
@keyframes preview-page-enter { from { opacity:0; transform:translateY(7px); } to { opacity:1; transform:none; } }
html.dark-mode { --red:#9e2929!important; --red-dark:#762020!important; --accent:#9e2929!important; --crimson:#9e2929!important; color-scheme:dark; }
html:not(.dark-mode) { color-scheme:light; }
.dark-mode h1 em,.dark-mode h2 em,.dark-mode h3 em,.dark-mode .draft-title em,.dark-mode .hero-copy h1 em,.dark-mode .lead-copy h1 em,.dark-mode #story-title em { color:#9e2929!important; }
body > .topline,body > .masthead,body > .section-nav,body > .site-search-band,body > .draft-masthead,body > .draft-nav,body > .preview-ribbon { display:none!important; }
.preview-newsroom { position:sticky; top:0; z-index:1000; background:var(--paper,#f4f1e9); color:var(--ink,#171817); border-bottom:1px solid var(--rule,#c9c3b8); box-shadow:0 2px 10px rgba(0,0,0,.035); transition:box-shadow .25s ease; }
.preview-newsroom.is-scrolled { box-shadow:0 8px 22px rgba(15,15,13,.12); }
.preview-utility { height:25px; padding:0 clamp(18px,5vw,70px); display:flex; align-items:center; justify-content:space-between; gap:14px; overflow:hidden; background:#171817; color:#f4f1e9; font:8px/1 var(--mono,'DM Mono',monospace); letter-spacing:.09em; text-transform:uppercase; transition:height .23s ease,opacity .18s ease; }
.preview-header-row { min-height:84px; padding:12px clamp(18px,5vw,70px); display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:20px; transition:min-height .25s ease,padding .25s ease; }
.preview-newsroom.is-scrolled .preview-utility { height:0; opacity:0; }
.preview-newsroom.is-scrolled .preview-header-row { min-height:64px; padding-block:7px; }
.preview-brand { justify-self:center; display:flex; flex-direction:column; align-items:center; gap:2px; color:var(--ink,#171817); text-decoration:none; }
.preview-brand-note { color:var(--muted,#77776f); font:8px var(--mono,'DM Mono',monospace); letter-spacing:.12em; text-transform:uppercase; }
.preview-brand-word { font:700 clamp(27px,3vw,38px)/.9 'Playfair Display',Georgia,serif; letter-spacing:-.065em; text-transform:lowercase; }
.preview-brand-word span { color:var(--red,#9e2929); }
.preview-actions { display:flex; align-items:center; gap:7px; justify-self:start; }
.preview-icon-button { width:33px; height:33px; display:grid; place-items:center; border:1px solid var(--rule,#c9c3b8); border-radius:50%; background:transparent; color:var(--ink,#171817); cursor:pointer; transition:color .18s ease,border-color .18s ease,background .18s ease,transform .18s ease; }
.preview-icon-button:hover { color:var(--red,#9e2929); border-color:var(--red,#9e2929); transform:translateY(-1px); }
.preview-icon-button svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.preview-reader { min-height:32px; padding:0 11px; display:inline-flex; align-items:center; justify-self:end; border:1px solid var(--red,#9e2929); border-radius:999px; color:var(--ink,#171817); font:600 9px var(--sans,'DM Sans',sans-serif); text-decoration:none; transition:background .18s ease,color .18s ease,transform .18s ease; }
.preview-reader:hover { background:var(--red,#9e2929); color:#fff; transform:translateY(-1px); }
.preview-nav { min-height:35px; padding:0 clamp(18px,5vw,70px); display:flex; justify-content:center; align-items:center; gap:clamp(22px,4vw,54px); border-top:1px solid var(--rule,#c9c3b8); transition:min-height .23s ease,opacity .18s ease; }
.preview-newsroom.is-scrolled .preview-nav { min-height:0; height:0; overflow:hidden; opacity:0; border:0; }
.preview-nav a { min-height:35px; display:inline-flex; align-items:center; color:var(--red,#9e2929); font:700 9px var(--mono,'DM Mono',monospace); letter-spacing:.08em; text-transform:uppercase; text-decoration:none; }
.preview-nav a:hover { text-decoration:underline; text-underline-offset:5px; }
.preview-search-popover { position:absolute; left:clamp(18px,5vw,70px); top:calc(100% + 7px); width:min(360px,calc(100vw - 36px)); padding:8px; border:1px solid var(--rule,#c9c3b8); border-radius:7px; background:var(--surface-strong,#fffdf8); box-shadow:0 14px 36px rgba(0,0,0,.15); }
.preview-search-popover[hidden] { display:none!important; }
.preview-search-form { display:flex; align-items:center; gap:7px; }
.preview-search-form input { width:100%; height:34px; padding:0 10px; border:1px solid var(--rule,#c9c3b8); border-radius:4px; background:transparent; color:var(--ink,#171817); font:11px var(--sans,'DM Sans',sans-serif); }
.preview-search-form button[type=submit] { height:34px; padding:0 10px; border:0; border-radius:4px; background:var(--red,#9e2929); color:white; font:600 9px var(--mono,'DM Mono',monospace); cursor:pointer; }
/* Give the three reader actions their own row; never overlay the contents heading. */
.reader-tools { position:static!important; inset:auto!important; width:max-content; min-width:0!important; margin:15px 0 0!important; padding:10px 0 0!important; display:flex!important; align-items:center!important; justify-content:flex-start!important; gap:7px!important; border-top:1px solid var(--rule,#c9c3b8); background:transparent!important; }
.reader-tools button { position:static!important; inset:auto!important; flex:0 0 34px!important; width:34px!important; min-width:34px!important; height:34px!important; min-height:34px!important; margin:0!important; padding:0!important; display:grid!important; place-items:center!important; border:1px solid var(--rule,#c9c3b8)!important; border-radius:50%!important; background:var(--surface,#faf8f3)!important; color:var(--ink,#171817)!important; font:600 11px/1 var(--sans,'DM Sans',sans-serif)!important; white-space:nowrap!important; box-shadow:none!important; }
.reader-tools button:hover { color:var(--red,#9e2929)!important; border-color:var(--red,#9e2929)!important; }
.contents-heading { padding-right:0!important; }
.contents-panel { overflow:visible!important; }
.article-section h2,.chapter-heading h2,.draft-title,.hero-copy h1,#story-title { font-family:'Playfair Display',Georgia,'Times New Roman',serif!important; }
.article-section h2 em,.chapter-heading h2 em,.draft-title em,.hero-copy h1 em,#story-title em { color:var(--red,#9e2929)!important; font-style:normal!important; }
.article-section h2,.draft-title,.hero-copy h1,#story-title { text-wrap:pretty; }
.article-page .article-body p,.article-page .article-section p { line-height:1.78; }
.preview-reading-progress { position:fixed; z-index:1100; inset:0 0 auto; height:3px; pointer-events:none; }
.preview-reading-progress span { display:block; width:0; height:100%; background:#9e2929; transition:width .1s linear; }
.preview-social-footer { padding:34px clamp(18px,5vw,70px) 20px; border-top:1px solid var(--ink,#171817); background:var(--paper,#f4f1e9); color:var(--ink,#171817); }
.preview-social-row { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:18px; }
.preview-social-title { margin:0; font:700 22px/1.1 'Playfair Display',Georgia,serif; }
.preview-social-links { display:flex; flex-wrap:wrap; gap:7px; }
.preview-social-links a { min-height:32px; padding:0 10px; display:inline-flex; align-items:center; gap:7px; border:1px solid var(--rule,#c9c3b8); border-radius:999px; color:var(--ink,#171817); font:9px var(--sans,'DM Sans',sans-serif); text-decoration:none; transition:color .18s ease,border-color .18s ease,transform .18s ease; }
.preview-social-links a:hover { color:var(--red,#9e2929); border-color:var(--red,#9e2929); transform:translateY(-1px); }
.preview-social-links b { width:20px; height:20px; display:grid; place-items:center; border-radius:50%; background:rgba(158,41,41,.1); color:var(--red,#9e2929); font:700 9px var(--sans,'DM Sans',sans-serif); }
.preview-social-links b svg { width:11px; height:11px; display:block; fill:currentColor; }
.preview-social-links a[href*="instagram"] b svg { fill:none; stroke:currentColor; stroke-width:1.6; }
.preview-social-links a[href*="instagram"] b svg circle:last-child { fill:currentColor; stroke:none; }
.preview-footer-bottom { margin-top:22px; padding-top:12px; display:flex; justify-content:space-between; gap:16px; border-top:1px solid var(--rule,#c9c3b8); color:var(--muted,#77776f); font:8px var(--mono,'DM Mono',monospace); letter-spacing:.05em; text-transform:uppercase; }
.preview-h24-end { width:40px; height:40px; margin:20px auto 0; display:grid; place-items:center; }
.preview-h24-end img { width:38px; height:38px; object-fit:contain; }
/* Keep every headline’s crimson phrase exactly crimson in both color schemes. */
.article-page em,.draft-page em,.hero-copy em,.article-hero em { color:#9e2929!important; }
.dark-mode .article-page em,.dark-mode .draft-page em,.dark-mode .hero-copy em,.dark-mode .article-hero em { color:#9e2929!important; }
[data-locale="ar"],[data-locale="ar"][hidden],.locale-ar { display:none!important; }
.reveal-target { opacity:0; transform:translateY(18px); transition:opacity .65s ease,transform .65s cubic-bezier(.2,.75,.25,1); }
.reveal-target.is-visible { opacity:1; transform:none; }
figure img,.lead-image img,.hero-image img { clip-path:inset(0 0 0 0); transition:transform .8s cubic-bezier(.2,.75,.25,1),clip-path .8s ease; }
figure:hover img,.lead-image:hover img,.hero-image:hover img { transform:scale(1.025) translateY(var(--parallax-y,0)); }
@media(max-width:900px) { .preview-header-row { min-height:76px; } .preview-utility { font-size:7px; } }
@media(max-width:700px) {
 .preview-utility { height:21px; padding-inline:14px; font-size:6px; }
 .preview-header-row { min-height:67px; padding:9px 14px; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:8px; }
 .preview-brand-note { display:none; }
 .preview-brand-word { font-size:27px; }
 .preview-actions { gap:5px; }
 .preview-icon-button { width:30px; height:30px; }
 .preview-reader { min-height:29px; padding-inline:8px; font-size:8px; }
 .preview-nav { min-height:32px; padding-inline:14px; gap:23px; }
 .preview-nav a { min-height:32px; font-size:8px; }
 .reader-tools { margin-top:12px!important; }
 .preview-social-footer { padding:25px 18px 16px; }
 .preview-social-row { align-items:flex-start; flex-direction:column; }
 .preview-footer-bottom { font-size:7px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } body { animation:none; } .reveal-target,.preview-newsroom,.preview-header-row,.preview-utility,.preview-nav,.preview-icon-button,.preview-reader { transition:none!important; } }

/* Compact sticky masthead keeps the mark centered while search, theme and sign-in scroll away. */
.preview-newsroom.is-scrolled .preview-actions,.preview-newsroom.is-scrolled .preview-reader{display:none!important}
.preview-newsroom.is-scrolled .preview-header-row{grid-template-columns:1fr}
.preview-newsroom.is-scrolled .preview-brand{grid-column:1}

/* Retain section navigation while search, theme and reader controls collapse. */
.preview-newsroom.is-scrolled .preview-nav { min-height:28px; height:28px; overflow:hidden; opacity:1; border:0; border-top:1px solid var(--rule,#c9c3b8); }
.preview-newsroom.is-scrolled .preview-nav a { min-height:28px; font-size:8px; }
/* A short, capped stagger reinforces the editorial reading rhythm. */
.reveal-target { transition-delay:calc(var(--reveal-index,0) * 30ms); }

/* v21 fixes: remove the upper strapline, lower the sole wordmark, and preserve contrast in dark mode. */
.preview-brand { padding-top:6px; }
.preview-brand-note { display:none!important; }
:root { --surface:#faf8f3; --surface-strong:#fffdf8; }
html.dark-mode { --paper:#191a18!important; --paper-deep:#22231f!important; --surface:#20211e!important; --surface-strong:#252622!important; --ink:#f1eee6!important; --ink-soft:#cbc8bf!important; --muted:#b7b4ac!important; --rule:#454640!important; --red:#9e2929!important; --red-dark:#762020!important; --red-soft:#9e2929!important; color-scheme:dark; }
html.dark-mode .reader-tools button { color:#f1eee6!important; background:#20211e!important; border-color:#77766c!important; opacity:1!important; filter:none!important; }
html.dark-mode .reader-tools button:hover { color:#fff!important; background:#292a26!important; border-color:#9e2929!important; }

/* v24: keep the article's non-highlighted headline text legible in dark mode. */
html.dark-mode #story-title,html.dark-mode #story-title span[data-locale="en"],html.dark-mode .draft-title,html.dark-mode .hero-copy h1,html.dark-mode .lead-copy h1 { color:#f1eee6!important; }
html.dark-mode #story-title em,html.dark-mode .draft-title em,html.dark-mode .hero-copy h1 em,html.dark-mode .lead-copy h1 em { color:#9e2929!important; }

/* v25: unified editorial typography and persistent active navigation state. */
.preview-nav a { position:relative; color:var(--ink-soft,#454742); font:600 12px/1 'Playfair Display',Georgia,serif; letter-spacing:0; text-transform:none; }
.preview-nav a:hover { color:var(--red,#9e2929); text-decoration:none; }
.preview-nav a.is-active,.preview-nav a[aria-current="page"] { color:var(--red,#9e2929); }
.preview-nav a.is-active::after,.preview-nav a[aria-current="page"]::after { content:""; position:absolute; right:0; bottom:0; left:0; height:2px; background:#9e2929; }
.preview-newsroom.is-scrolled .preview-nav a { min-height:28px; font:600 11px/1 'Playfair Display',Georgia,serif; }
@media(max-width:700px) { .preview-nav { gap:clamp(16px,5.8vw,23px); } .preview-nav a { font-size:10px; } .preview-newsroom.is-scrolled .preview-nav a { font-size:10px; } }
