/* ================================================================
   SIX TOWNS DAILY — Main Stylesheet v2
   Single-column centred system · Flat · Bold where it counts
   ================================================================ */

/* ── Reset + tokens ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:       #d32f23;
  --red-dark:  #b0241a;
  --red-tint:  #fdf3f2;
  --ink:       #111;
  --ink-mid:   #444;
  --ink-muted: #777;
  --rule:      #e8e8e8;
  --rule-light:#f2f2f2;
  --bg:        #fff;
  --bg-off:    #f5f5f7;
  --col:       960px;
  --r:         16px;
  --font:      'Google Sans Flex', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Type scale — one considered ladder instead of ad-hoc sizes.
     Scaled up for a bolder, more confident read (matches the top banner).
     Display headings (article/hero titles) use clamp() separately. */
  --fs-2xs:  0.72rem;    /* micro labels, eyebrows, badges */
  --fs-xs:   0.82rem;    /* captions, meta, hints */
  --fs-sm:   0.92rem;    /* small UI / secondary text */
  --fs-base: 1rem;       /* standard UI text, inputs */
  --fs-md:   1.12rem;    /* body copy */
  --fs-lg:   1.32rem;    /* lead text, small titles */
  --fs-xl:   1.6rem;     /* section & card headings */
  --fs-2xl:  2rem;       /* page titles */
}

html  { font-size: 16px; scroll-behavior: smooth; }
body  { font-family: var(--font); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
a     { color: inherit; text-decoration: none; }
img   { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font-family: inherit; }

/* ── Accessible focus: visible ring for keyboard users only ──
   Mouse/touch users see nothing (no :focus-visible match); people
   navigating by keyboard get a clear brand-red ring on any control. */
:focus { outline: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}
/* Circular controls get a ring that follows their round shape */
.share-btn:focus-visible,
.to-top:focus-visible,
.dock__btn:focus-visible,
.foot__social a:focus-visible,
.author-social:focus-visible,
.topbar__submit:focus-visible,
.dock__toggle:focus-visible {
  outline-offset: 3px;
  border-radius: 999px;
}

/* ── Column ── */
.col {
  width: 100%;
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 24px;
}
/* Keep .c as an alias so existing partials (footer, sponsors) still work */
.c { width: 100%; max-width: var(--col); margin: 0 auto; padding: 0 24px; }

/* ================================================================
   INDEPENDENCE STRIP
   A permanent, warm-yellow line at the very top stating we're locally
   owned and independent. Confident, not shouty. Scrolls away with the page.
   ================================================================ */
/* Full-width yellow bar, centred content, the WHOLE bar is the link.
   Small white pill button sits inline after the text. */
.indie-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  height: 62px;
  padding: 0 20px;
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.indie-strip__text {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.indie-strip__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s, color 0.15s;
}
.indie-strip:hover .indie-strip__btn {
  transform: translateY(-1px);
  background: var(--red);
  color: #fff;
}
/* Desktop only — the bar eats too much of a phone screen */
@media (max-width: 700px) {
  .indie-strip { display: none; }
}

/* ================================================================
   SITE NOTICE BAR
   Slim dismissible strip above the topbar. Flat brand red, scrolls
   away with the page. Hidden instantly once dismissed (JS adds
   .notice-bar--hidden before paint via a head snippet is overkill —
   we simply render it and let the dismiss stick via localStorage).
   ================================================================ */
.notice-bar {
  background: var(--red);
  color: #fff;
}
.notice-bar--hidden { display: none; }
/* Content aligns to the site column, like everything else */
.notice-bar__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: var(--col);
  margin: 0 auto;
  padding: 13px 24px;
}
.notice-bar__icon {
  flex-shrink: 0;
}
.notice-bar__text {
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.005em;
}
.notice-bar__close {
  flex-shrink: 0;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0.9;
  transition: background 0.15s, opacity 0.15s;
}
.notice-bar__close:hover { background: rgba(255,255,255,0.2); opacity: 1; }

/* ================================================================
   TOPBAR
   ================================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 300;
  background: var(--bg);
  box-shadow: 0 1px 0 var(--rule-light);
  transition: transform 0.5s cubic-bezier(0.33, 0, 0.2, 1);
  will-change: transform;
}
/* Hide-on-scroll-down / show-on-scroll-up (JS toggles body.nav-hidden) */
body.nav-hidden .topbar { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) {
  .topbar { transition: none; }
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 24px;
}
.topbar__brand {
  display: flex;
  align-items: center;
  gap: 0;
  color: var(--ink);
  flex-shrink: 0;
}
.topbar__brand svg { 
  flex-shrink: 0;
  width: 35px;
  height: 48px;
  margin-left: -4px;
}
/* Two-line wordmark — light weight, wide tracking, hairline rule.
   Restrained and institutional rather than shouty. Desktop only. */
.topbar__wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 13px;
  padding-left: 15px;
  border-left: 1px solid var(--rule);
  /* Rule sits just inside the 48px logo height (2px inset each side) so it
     reads as a deliberate divider rather than an accidental short line. */
  height: 44px;
}
.topbar__wordmark-line {
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  /* letter-spacing also adds space AFTER the final letter, which leaves a
     phantom gap on the right. Cancel it so the block optically aligns. */
  margin-right: -0.17em;
}
.topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* ── Location picker ── */
.locpick {
  position: relative;
}
.locpick__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 48px;
  padding: 0 16px;
  border: none;
  border-radius: 999px;
  background: var(--bg-off);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.14s;
  white-space: nowrap;
}
.locpick__toggle:hover { background: var(--rule-light); }
.locpick__pin { color: var(--red); flex-shrink: 0; }
.locpick__chev { color: var(--ink-muted); flex-shrink: 0; transition: transform 0.18s; }
.locpick.is-open .locpick__chev { transform: rotate(180deg); }
.locpick__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  padding: 8px;
  background: var(--bg);
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.14);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.16s, transform 0.16s;
  z-index: 320;
}
.locpick.is-open .locpick__menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.locpick__heading {
  display: block;
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 8px 12px 6px;
}
.locpick__opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
  transition: background 0.13s;
}
.locpick__opt:hover { background: var(--bg-off); }
.locpick__opt--on {
  color: var(--red);
  font-weight: 800;
}
.locpick__opt--on::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  margin-left: auto;
}

/* ── Sticky article bar ──
   Sits directly under the topbar on article pages once the headline has
   scrolled out of view. Its own bar, so it never crowds the brand or the
   topbar controls. Includes a thin reading-progress line along the base. */
.artbar {
  position: fixed;
  top: 80px;                 /* flush under the 80px topbar */
  left: 0;
  right: 0;
  z-index: 290;              /* under the topbar (300) */
  background: var(--bg);
  box-shadow: 0 1px 0 var(--rule-light);
  /* --shift lets it rise by the topbar height when the topbar auto-hides,
     without animating `top` (which isn't GPU-accelerated). Everything is
     driven by transform for smooth 60fps on all browsers. */
  --shift: 0px;
  transform: translateY(calc(-101% + var(--shift)));
  opacity: 0;
  visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.33, 0, 0.2, 1), opacity 0.35s ease, visibility 0.5s;
  will-change: transform;
}
.artbar--on {
  transform: translateY(var(--shift));
  opacity: 1;
  visibility: visible;
}
/* Topbar hidden on scroll-down → the compact bar rises 80px to sit at the
   very top, purely via transform, so there's never a gap above it. */
body.nav-hidden .artbar { --shift: -80px; }
.artbar__inner {
  width: 100%;
  max-width: var(--col);
  margin: 0 auto;
  padding: 9px 24px 11px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.artbar__kicker {
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
}
.artbar__sep { margin: 0 4px; opacity: 0.4; font-weight: 400; }
.artbar__title {
  font-size: var(--fs-base);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 600px) {
  .artbar { top: 68px; }     /* mobile topbar is 68px */
  .artbar__inner { padding: 8px 16px 10px; }
  body.nav-hidden .artbar { --shift: -68px; }   /* rise by the mobile topbar height */
}
@media (prefers-reduced-motion: reduce) {
  /* Keep the slide (transform), just make it instant, so hidden state
     still works — only remove the eased timing. */
  .artbar { transition: none; }
}
.topbar__submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: 24px;
  background: var(--red);
  color: #fff;
  font-size: var(--fs-base);
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.topbar__submit:hover { 
  background: var(--red-dark); 
  transform: translateY(-2px);
}
.topbar__submit svg { flex-shrink: 0; }



/* Hamburger menu */
/* ================================================================
   FLOATING NAV DOCK
   ================================================================ */
.dock {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 650;
  width: min(560px, calc(100vw - 24px));
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s;
}
/* Hidden state — slides away on scroll-down */
.dock--hidden {
  transform: translateX(-50%) translateY(140%);
  opacity: 0;
  pointer-events: none;
}

/* The always-visible bar */
.dock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: var(--ink);
  border-radius: 999px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.22);
}
.dock__toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 22px 0 18px;
  border: none;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: var(--fs-base);
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s;
}
.dock__toggle:hover { background: var(--red-dark); }
.dock__toggle-ic { position: relative; width: 20px; height: 20px; }
.dock__toggle-ic svg {
  position: absolute; inset: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.dock__ic-close { opacity: 0; transform: rotate(-90deg); }
.dock.is-open .dock__ic-menu { opacity: 0; transform: rotate(90deg); }
.dock.is-open .dock__ic-close { opacity: 1; transform: rotate(0); }
/* Location pill in the dock bar — mobile only
   (desktop uses the topbar location picker instead) */
.dock__loc { display: none; }
@media (max-width: 900px) {
  .dock__loc {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 46px;
    padding: 0 16px;
    border: none;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: var(--fs-sm);
    font-weight: 800;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    transition: background 0.15s;
  }
  .dock__loc:hover { background: rgba(255,255,255,0.2); }
  .dock__loc svg { color: #fff; opacity: 0.85; flex-shrink: 0; }
}

/* Buy-me-a-coffee pill in the dock — desktop only.
   On mobile the coffee button lives in the topbar and the dock
   is just Menu + Location. */
.dock__coffee {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}
.dock__coffee:hover { background: rgba(255,255,255,0.2); }
.dock__coffee svg { flex-shrink: 0; }

@media (max-width: 900px) {
  .dock__coffee { display: none; }
}
@media (max-width: 600px) {
  .dock__loc { padding: 0 14px; font-size: var(--fs-sm); }
}

/* The expanding panel */
.dock__panel {
  width: 100%;
  margin-bottom: 12px;
  padding: 22px;
  background: var(--bg);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transform-origin: bottom center;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  max-height: min(70vh, 560px);
  overflow-y: auto;
}
.dock.is-open .dock__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.dock__search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 14px;
  background: var(--bg-off);
  border-radius: 999px;
  margin-bottom: 20px;
}
.dock__search svg { color: var(--ink-muted); flex-shrink: 0; }
.dock__search-input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: none;
  background: transparent;
  outline: none;
  font-size: var(--fs-base);
  color: var(--ink);
}
.dock__search-go {
  height: 40px;
  padding: 0 20px;
  border: none;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.14s;
}
.dock__search-go:hover { background: var(--red); }
.dock__group-label {
  display: block;
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 10px 2px;
}
.dock__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.dock__chip {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--bg-off);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 700;
  transition: background 0.14s, color 0.14s;
}
.dock__chip:hover { background: var(--rule-light); }
.dock__chip--on { background: var(--red); color: #fff; }
.dock__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dock__link {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--ink);
  transition: background 0.13s, color 0.13s;
}
.dock__link:hover { background: var(--bg-off); color: var(--red); }

/* Backdrop behind the open panel */
.dock__backdrop {
  position: fixed;
  inset: 0;
  z-index: 640;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.dock__backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 600px) {
  .dock { bottom: 14px; width: calc(100vw - 20px); }
  .dock__panel { padding: 18px; border-radius: 22px; }
  .dock__toggle { height: 44px; }
}

/* ================================================================
   LIGHTBOX (images open full-size site-wide)
   ================================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15,15,15,0.92);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.22s ease;
}
/* The [hidden] attribute must fully remove it — otherwise the invisible
   overlay sits over the page and eats every click. */
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: scale(0.97);
  transition: transform 0.22s ease;
}
.lightbox.is-open .lightbox__figure { transform: scale(1); }
.lightbox__img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox__cap {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.75);
  text-align: center;
  max-width: 60ch;
  line-height: 1.5;
}
.lightbox__cap:empty { display: none; }
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.lightbox__close:hover { background: rgba(255,255,255,0.28); }

/* Any image wired up as zoomable gets a subtle affordance */
.is-zoomable { cursor: zoom-in; }

/* ================================================================
   BACK TO TOP
   ================================================================ */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 28px;          /* sits level with the dock, tucked to the right */
  z-index: 620;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.15s;
}
.to-top--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.to-top:hover { background: var(--red); }
@media (max-width: 600px) {
  .to-top { right: 14px; bottom: 22px; width: 44px; height: 44px; }
}

/* ================================================================
   DATE / WEATHER BAR
   ================================================================ */
.datebar {
  background: var(--bg);
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-light);
}
@media (max-width: 600px) {
  .datebar { display: none; }
}
.datebar__inner {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 24px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.datebar__date {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--ink);
}
/* Rotator holds one or two towns stacked in the same spot */
.datebar__weather-rotator {
  position: relative;
  display: flex;
  align-items: center;
  height: 28px;
}
.datebar__weather {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-mid);
}
/* When rotating, stack them and cross-fade */
.datebar__weather-rotator.is-rotating .datebar__weather {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateY(6px);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.datebar__weather-rotator.is-rotating .datebar__weather.is-active {
  opacity: 1;
  transform: translateY(-50%);
  pointer-events: auto;
}
.datebar__weather-icon { font-size: var(--fs-lg); line-height: 1; }
.datebar__weather-temp { font-weight: 700; color: var(--ink); }

/* ================================================================
   SECTION BAND
   ================================================================ */
.band {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding: 36px 0 20px;
}
/* Extra top room when there's no hero above the band (paginated / filtered pages) */
.band--top {
  padding-top: 48px;
}
/* Date-bucket sub-headings on the homepage: a little extra breathing
   room above each so the sections read as distinct. */
.band--sub {
  padding-top: 44px;
}
.band--sub:first-of-type {
  padding-top: 28px;
}
.band__label {
  display: inline-block;
  font-size: var(--fs-lg);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
  flex-shrink: 0;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--red);
}
.band__line { 
  display: none;
}

/* ================================================================
   LIVE PILL
   ================================================================ */
/* Small solid badge. The kicker beside it is already red text, so LIVE
   needs a fill to read as a distinct badge rather than more red words.
   Sits on its own with clear spacing — no divider (the kicker has its own). */
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #fff;
  background: var(--red);
  padding: 4px 8px 4px 7px;
  border-radius: 999px;
  vertical-align: middle;
  text-transform: uppercase;
}
.live-pill__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  animation: liveDot 1.4s ease-in-out infinite;
}
@keyframes liveDot { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ================================================================
   FEATURED HERO — full bleed, flush to top, fades into page
   ================================================================ */
.featured {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 0;
  padding: 0;
}

/* Full bleed, no radius, no gap */
.featured__img-link {
  display: block;
  overflow: hidden;
  position: relative;
}
.featured__img {
  width: 100%;
  height: clamp(280px, 42vh, 460px);
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.featured__img-link:hover .featured__img { transform: scale(1.03); }

/* Gradient — transparent at top, solid white at bottom */
.featured__img-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 12%,
    rgba(255,255,255,0.55) 46%,
    var(--bg) 88%
  );
  pointer-events: none;
}

/* Fallback */
.featured__fallback {
  width: 100%;
  height: clamp(280px, 42vh, 460px);
  background: var(--bg-off);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rule);
}

/* Text centred back into the column, pulled up into the gradient */
.featured__text {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 24px 32px;
  margin-top: -128px;   /* pull the text higher onto the faded image */
  position: relative;
  z-index: 1;
}

.featured__tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.featured__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.featured__badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  flex-shrink: 0;
}
.featured__kicker {
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mid);
}
.featured__title {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.featured__title:hover { color: var(--red); }
.featured__excerpt {
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink-mid);
  max-width: 56ch;
  margin-bottom: 12px;
}
.featured__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-muted);
  flex-wrap: wrap;
}
.featured__meta-sep { display: none; }
.featured__rule { display: none; }
@media (max-width: 600px) {
  .featured__img,
  .featured__fallback { height: clamp(200px, 32vh, 300px); }
  .featured__text { padding: 0 16px 26px; margin-top: -92px; }
  .featured__title { font-size: var(--fs-xl); }
}

/* ================================================================
   SUB-LEAD (front-page tier below the hero — image on top, big title)
   ================================================================ */
.subleads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 28px 0 32px;
  margin-bottom: 4px;
}
.sublead { display: flex; flex-direction: column; }
.sublead__img-wrap {
  display: block;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-off);
}
.sublead__img,
.sublead__fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sublead__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
}
.sublead__body { padding-top: 14px; }
.sublead__title {
  display: block;
  font-size: var(--fs-lg);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 6px 0 8px;
  transition: color 0.15s;
}
.sublead__title:hover { color: var(--red); }
.sublead__excerpt {
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--ink-mid);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Stack to one column on smaller screens — stays single-column on mobile */
@media (max-width: 640px) {
  .subleads { grid-template-columns: 1fr; gap: 24px; padding: 22px 0 24px; }
  .sublead__title { font-size: var(--fs-lg); }
}

/* ================================================================
   STORY CARD (image left, text right)
   ================================================================ */
.story {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 22px;
  align-items: start;
  padding: 28px 0;
}
/* When the band label directly precedes the list, the first story keeps
   its top padding for breathing room. Only trim it if a story is the very
   first element in its container (no band above it). */
.story:first-child:not(.band + .story) { padding-top: 0; }
.band + .story { padding-top: 8px; }
.story__img-wrap {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  flex-shrink: 0;
  position: relative;
}
.story__img {
  width: 210px;
  height: 140px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.story__img-wrap:hover .story__img { transform: scale(1.04); }
.story__fallback {
  width: 210px;
  height: 140px;
  background: var(--bg-off);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rule);
}
.story__body { min-width: 0; }
.story__kicker {
  display: inline;
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
}
.story__kicker-sep { margin: 0 4px; opacity: 0.4; font-weight: 400; }
.story__title {
  display: block;
  font-size: var(--fs-lg);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 8px;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.story__title:hover { color: var(--red); }
.story__excerpt {
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink-mid);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.story__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-muted);
}
.story__meta-sep { display: none; }
/* Author chip: small avatar + name */
.story__author {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.story__author-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.story__author-avatar--ph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
}
.story__author-name { color: var(--ink-mid); font-weight: 700; }

/* ================================================================
   MORE HEADLINES (image left, compact)
   ================================================================ */
.more-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  transition: opacity 0.14s;
}
.more-item:first-child { padding-top: 0; }
.more-item:hover { opacity: 0.72; }
.more-item__img-wrap {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}
.more-item__img {
  width: 80px;
  height: 56px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.more-item:hover .more-item__img { transform: scale(1.06); }
.more-item__fallback {
  width: 80px;
  height: 56px;
  background: var(--rule-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rule);
}
.more-item__body { min-width: 0; }
.more-item__kicker {
  display: inline;
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.more-item__kicker-sep { margin: 0 3px; opacity: 0.4; font-weight: 400; }
.more-item__title {
  display: block;
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 4px;
  margin-bottom: 4px;
}
.more-item__time {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-muted);
}

/* ================================================================
   SUBMIT NUDGE
   ================================================================ */
.nudge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 36px 0;
  padding: 22px 24px;
  background: var(--red-tint);
  border-radius: 20px;
}
.nudge__title { font-size: var(--fs-base); font-weight: 800; color: var(--ink); margin-bottom: 3px; }
.nudge__sub { font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-mid); }
.nudge__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 800;
  white-space: nowrap;
  transition: background 0.14s;
}
.nudge__btn:hover { background: var(--red-dark); }
@media (max-width: 500px) {
  .nudge { flex-direction: column; align-items: flex-start; }
}

/* ================================================================
   ARTICLE PAGE
   ================================================================ */
.article {
  position: relative;
  padding: 32px 0 48px;
}
/* Leave room for the fixed bottom share bar on smaller screens */
@media (max-width: 1180px) {
  .article { padding-bottom: 80px; }
}
/* ── Article page, mobile tuning (the most-viewed page) ── */
@media (max-width: 600px) {
  /* keep the 80px bottom clearance for the fixed share bar */
  .article { padding: 20px 0 80px; }

  .article__kicker { font-size: var(--fs-2xs); gap: 6px; margin-bottom: 12px; }
  .article__title { line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 12px; }
  .article__standfirst { font-size: var(--fs-md); margin-bottom: 16px; }

  /* Byline: keep it simple — just author, date and read time.
     Views + comment count are hidden on mobile.
     Scoped to .article__stats so it outranks the base .article__stat rule. */
  .article__byline { gap: 10px; padding-bottom: 16px; margin-bottom: 18px; }
  .article__stats .article__stat--hide-mobile { display: none !important; }
  .article__stats { gap: 14px; }

  /* Hero sits flush and a touch tighter */
  .article__hero-wrap { margin-top: 18px; border-radius: 14px; }
  .article__hero-credit { right: 8px; bottom: 8px; padding: 5px 10px; font-size: var(--fs-2xs); }

  .article__body { padding-top: 22px; font-size: var(--fs-md); line-height: 1.7; }
  .article__body h2 { font-size: var(--fs-lg); margin: 1.5em 0 0.5em; }

  /* Live updates timeline — a touch tighter on mobile */
  .live-updates { margin: 22px 0; }
  .live-updates__list { padding: 6px 16px 16px; }

  /* Comments: let the header wrap cleanly, sort chips onto their own row */
  .comments { padding: 28px 0; }
  .comments__header { flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
  .comments__sort { margin-left: 0; flex-basis: 100%; }

  /* Support nudge button spans the row once stacked */
  .article__support { padding: 20px; }
  .article__support-btn { width: 100%; justify-content: center; }

  .article__tags { padding: 20px 0; margin-top: 24px; }
  .related { padding-top: 28px; }
}
.article__kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.article__kicker-sep { color: var(--rule); font-weight: 400; }
.article__kicker a { transition: opacity 0.13s; }
.article__kicker a:hover { opacity: 0.7; }
.article__title {
  font-size: clamp(2.05rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 16px;
}
.article__standfirst {
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--ink-mid);
  font-weight: 400;
  margin-bottom: 18px;
  max-width: 64ch;
}
.article__byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--rule-light);
  flex-wrap: wrap;
}
.article__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.article__avatar--ph {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.article__byline-info { min-width: 0; }
.article__author {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
}
.article__author-link { color: var(--red); }
.article__meta {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-muted);
}
.article__stats {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
/* Stat chips — small rounded pills, social-media style. Bold, quiet fill. */
.article__stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg-off);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--ink-mid);
  line-height: 1;
  white-space: nowrap;
}
.article__stat svg { flex-shrink: 0; opacity: 0.75; }
/* Comment chip is a link — give it clear interactive feedback */
.article__stat--link { transition: background 0.15s, color 0.15s; }
.article__stat--link:hover {
  background: var(--red-tint);
  color: var(--red);
}
.article__stat--link:hover svg { opacity: 1; }

/* Share row — below byline */
/* ── Share rail (desktop): flat, fixed in the left gutter ──
   Bare floating buttons in the whitespace beside the column — no pill,
   no shadow. Quietly dimmed while reading, full-strength on hover.
   Vertically centred; only shows where there's gutter room. */
.share-rail {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  left: calc(50% - (var(--col) / 2) - 70px);   /* just left of the column */
  z-index: 40;
  opacity: 0.55;
  transition: opacity 0.25s, visibility 0.25s;
}
/* Hidden once the reader scrolls past the article into comments/footer,
   so it never floats over the footer or the end of the page. */
.share-rail--gone {
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none;
}
.share-rail:hover { opacity: 1; }
.share-rail__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.share-rail__label {
  display: block;
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: center;
  margin-bottom: 4px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-off);
  color: var(--ink-mid);
  transition: background 0.15s, color 0.15s, transform 0.15s;
  flex-shrink: 0;
  border: none;
  cursor: pointer;
}
.share-btn:hover { background: var(--ink); color: #fff; transform: scale(1.1); }
.share-btn--copy.is-copied { background: #22c55e; color: #fff; }

/* Below ~1180px there's no room beside the column — pin to bottom as a bar */
/* ── Mobile native share button (hidden on desktop) ── */
/* Compact share button in the byline — mobile only.
   Desktop uses the floating share rail instead. */
.article__byline-share {
  display: none;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border: none;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 800;
  cursor: pointer;
  transition: background 0.14s;
}
.article__byline-share svg { flex-shrink: 0; }
.article__byline-share:active { background: var(--red); }
.article__byline-share.is-copied { background: #22c55e; }

/* Below ~1180px: hide the desktop floating rail; the byline share shows */
@media (max-width: 1180px) {
  .share-rail { display: none; }
  .article__byline-share { display: inline-flex; }
}

/* Hero image */
.article__hero-wrap {
  position: relative;
  margin: 24px 0 0;
  border-radius: var(--r);
  overflow: hidden;
}
.article__hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
/* Credit overlaid on the image, bottom-right, frosted pill */
.article__hero-credit {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 24px);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1;
}
.article__hero-credit svg { flex-shrink: 0; opacity: 0.85; }
.article__hero-credit span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Lead video player ──
   Flat, rounded, on-brand. Shows the poster + a big red play button;
   once playing, native controls take over (accessible + reliable). */
.video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
}
.video-player__el {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
/* Play button — frosted white disc, brand-red triangle. Sits over the
   poster with a soft scrim so it reads on any image. Hidden once playing. */
/* Play button — big, clean, brand red. Pulses outward on click. */
.video-player__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border: none;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.15s, opacity 0.25s;
}
.video-player__play svg {
  width: 50px;
  height: 50px;
  margin-left: 5px; /* optically centre the triangle */
}
.video-player__play:hover { transform: translate(-50%, -50%) scale(1.07); }
.video-player__play:active { transform: translate(-50%, -50%) scale(0.95); }

/* Expanding ring that fires on click */
.video-player__play::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--red);
  opacity: 0;
  pointer-events: none;
}
.video-player__play--pulse::after { animation: playPulse 0.6s ease-out forwards; }
@keyframes playPulse {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0;   transform: scale(2.1); }
}

.video-player--playing .video-player__play {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.8);
}
@media (max-width: 600px) {
  .video-player__play { width: 70px; height: 70px; }
  .video-player__play svg { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .video-player__play--pulse::after { animation: none; }
}

/* ── Branded intro sting ──
   A short logo bumper over the player before the clip starts. Added by
   JS (.video-intro--on) on first play, then removed as it fades out. */
.video-intro {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--red);
  pointer-events: none;
}
.video-intro--on { display: flex; }
.video-intro--out { animation: videoIntroOut 0.45s ease forwards; }
@keyframes videoIntroOut { to { opacity: 0; } }

.video-intro__logo circle {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: videoIntroDot 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.video-intro__logo circle:nth-child(1) { animation-delay: 0.05s; }
.video-intro__logo circle:nth-child(2) { animation-delay: 0.13s; }
.video-intro__logo circle:nth-child(3) { animation-delay: 0.21s; }
.video-intro__logo circle:nth-child(4) { animation-delay: 0.29s; }
.video-intro__logo circle:nth-child(5) { animation-delay: 0.37s; }
.video-intro__logo circle:nth-child(6) { animation-delay: 0.45s; }
@keyframes videoIntroDot {
  0%   { opacity: 0; transform: scale(0); }
  100% { opacity: 1; transform: scale(1); }
}

.video-intro__word {
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  animation: videoIntroWord 0.5s ease forwards;
  animation-delay: 0.6s;
}
@keyframes videoIntroWord {
  to { opacity: 1; transform: translateY(0); }
}

/* Respect reduced motion — skip the sting entirely */
@media (prefers-reduced-motion: reduce) {
  .video-intro { display: none !important; }
}

/* ── Lead audio player ──
   Poster image with a flat brand audio bar beneath it. */
.article__hero-wrap--audio { background: none; }
.audio-player {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 14px 16px;
  background: var(--bg-off);
  border-radius: var(--r);
}
.audio-player__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.audio-player__el {
  flex: 1;
  min-width: 0;
  height: 40px;
}
.article__hero-credit--audio {
  position: static;
  margin-top: 10px;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: var(--ink-muted);
  padding: 0;
}
.article__hero-credit--audio svg { opacity: 0.6; }
@media (max-width: 560px) {
  .audio-player { flex-direction: column; align-items: stretch; gap: 8px; }
}

/* Key points — author-written TL;DR box above the story */
.keypoints {
  /* Flat + structural: no card, no fill. A single red rule marks it as
     the summary, in keeping with the site's to-the-point style. */
  margin: 24px 0 4px;
  padding: 2px 0 4px 20px;
  border-left: 3px solid var(--red);
}
.keypoints__label {
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
/* Icon adds nothing to the flat treatment — the rule already signals it */
.keypoints__label svg { display: none; }
.keypoints__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 0;
}
.keypoints__list li {
  font-size: var(--fs-md);
  line-height: 1.5;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Article body */
.article__body {
  padding: 28px 0 0;
  font-size: var(--fs-md);
  line-height: 1.75;
  color: var(--ink-mid);
  /* Keep prose at a comfortable reading measure even though the page
     column is wider — long lines are hard to track. Images and embeds
     inside the body override this below. */
  max-width: 68ch;
}
/* Let media inside the body span the full column width */
.article__body .art-inline-img,
.article__body figure,
.article__body img {
  max-width: 100%;
}
.article__body p { margin-bottom: 1.4em; }
.article__body h2 {
  font-size: var(--fs-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 1.8em 0 0.6em;
}
.article__body strong { color: var(--ink); font-weight: 700; }
.article__body a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.article__body a:hover { opacity: 0.8; }

/* Inline gallery */
.art-inline-img {
  margin: 24px 0;
  border-radius: var(--r);
  overflow: hidden;
}
.art-inline-img img { width: 100%; border-radius: var(--r); }
.art-inline-img figcaption {
  font-size: var(--fs-xs);
  color: var(--ink-muted);
  padding: 8px 0 0;
  font-style: italic;
}

/* Article tags */
.article__tags {
  padding: 24px 0;
  margin-top: 32px;
  border-top: 1px solid var(--rule-light);
}
.article__tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
/* Topic chips: clean light outline, fills brand red on hover */
.article__tag {
  display: inline-flex;
  align-items: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--ink-mid);
  padding: 5px 14px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 999px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.article__tag:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* Support nudge inside article */
.article__support {
  margin: 32px 0;
  padding: 24px;
  background: var(--ink);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  gap: 20px;
}
.article__support-copy { flex: 1; min-width: 0; }
.article__support-label {
  display: block;
  font-size: var(--fs-2xs);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
}
.article__support-title {
  font-size: var(--fs-md);
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.article__support-sub {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.article__support-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 800;
  white-space: nowrap;
  transition: background 0.14s;
}
.article__support-btn:hover { background: var(--red-tint); }
@media (max-width: 600px) {
  .article__support { flex-direction: column; align-items: flex-start; }
}

/* Comments prompt — brand-red card that drives readers to comment */
.article__comments-cta {
  margin: 32px 0;
  padding: 24px;
  background: var(--red);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: background 0.15s, transform 0.15s;
}
.article__comments-cta:hover { background: var(--red-dark); transform: translateY(-2px); }
.article__comments-cta-copy { flex: 1; min-width: 0; }
.article__comments-cta-label {
  display: block;
  font-size: var(--fs-2xs);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}
.article__comments-cta-title {
  font-size: var(--fs-md);
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.article__comments-cta-sub {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
.article__comments-cta-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  font-size: var(--fs-sm);
  font-weight: 800;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .article__comments-cta { flex-direction: column; align-items: flex-start; }
  .article__comments-cta-btn { width: 100%; justify-content: center; }
}

/* Live updates */
.live-updates {
  margin: 28px 0;
  background: var(--bg-off);
  border-radius: 20px;
  overflow: hidden;
}
/* Header */
.live-updates__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--red);
  color: #fff;
}
.live-updates__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-2xs);
  font-weight: 900;
  letter-spacing: 0.12em;
  background: #fff;
  color: var(--red);
  padding: 4px 11px;
  border-radius: 999px;
}
/* Pulsing dot before the LIVE text */
.live-updates__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: liveDot 1.2s ease-in-out infinite;
}
.live-updates__badge--ended { background: rgba(255,255,255,0.2); color: #fff; }
.live-updates__badge--ended::before { display: none; }
.live-updates__label { font-size: var(--fs-sm); font-weight: 700; }

/* Timeline list */
.live-updates__list {
  list-style: none;
  padding: 8px 20px 20px;
  margin: 0;
}
.live-updates__item {
  position: relative;
  padding: 14px 0 14px 26px;
}
/* The vertical connecting line */
.live-updates__item::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 20px;
  bottom: -14px;
  width: 2px;
  background: var(--rule);
}
.live-updates__item:last-child::before { display: none; }
/* The node dot */
.live-updates__item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rule);
  box-shadow: 0 0 0 4px var(--bg-off);
}
/* Newest update (first in list) gets a live red pulsing node */
.live-updates.is-open .live-updates__item:first-child::after {
  background: var(--red);
  animation: liveNode 1.6s ease-in-out infinite;
}
@keyframes liveNode {
  0%, 100% { box-shadow: 0 0 0 4px var(--bg-off), 0 0 0 4px rgba(211,47,35,0.4); }
  50%      { box-shadow: 0 0 0 4px var(--bg-off), 0 0 0 9px rgba(211,47,35,0); }
}
.live-updates__time {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}
.live-updates__title { font-size: var(--fs-base); font-weight: 800; color: var(--ink); margin-bottom: 4px; line-height: 1.3; }
.live-updates__text { font-size: var(--fs-sm); line-height: 1.6; color: var(--ink-mid); }
.live-updates__text a { color: var(--red); }
.live-updates__img { max-width: 100%; border-radius: 12px; margin-top: 10px; display: block; }

/* Ended state: calm, dark header, muted node */
.live-updates--ended .live-updates__header { background: var(--ink); }
.live-updates--ended .live-updates__time { color: var(--ink-muted); }

.live-updates__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 18px;
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--ink-muted);
  background: none;
  border: none;
  border-top: 1px solid var(--rule);
  cursor: pointer;
  width: 100%;
  transition: color 0.13s;
}
.live-updates__toggle:hover { color: var(--ink); }
.live-updates__toggle svg { transition: transform 0.2s; }
.live-updates:not(.is-open) .live-updates__body { display: none; }
.live-updates.is-open .live-updates__toggle svg { transform: rotate(180deg); }

/* Comments */
.comments { padding: 32px 0; }
.comments__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.comments__label { font-size: var(--fs-lg); font-weight: 900; letter-spacing: -0.02em; }
.comments__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  background: var(--rule-light);
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--ink-muted);
}
.comments__sort {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.comments__sort-btn {
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 700;
  background: var(--bg-off);
  border: none;
  color: var(--ink-muted);
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.comments__sort-btn:hover,
.comments__sort-btn--on { background: var(--ink); color: #fff; }
.comment {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-light);
}
.comment__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--rule-light);
  color: var(--ink-muted);
  font-size: var(--fs-sm);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.comment__bubble { flex: 1; min-width: 0; }
.comment__meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.comment__name { font-size: var(--fs-sm); font-weight: 800; color: var(--ink); }
.comment__time { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-muted); }
.comment__body { font-size: var(--fs-base); line-height: 1.6; color: var(--ink-mid); }
.comment__like {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--ink-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.13s;
}
.comment__like:hover, .comment__like--on { color: var(--red); }
.comment__like svg { width: 14px; height: 14px; }
.comments__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 36px 0;
  color: var(--ink-muted);
  text-align: center;
}
.comments__empty p { font-size: var(--fs-base); }
.comments__success {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #f0fdf4;
  color: #16a34a;
  border-radius: var(--r);
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 16px;
}
.comments__errors {
  padding: 10px 14px;
  background: var(--red-tint);
  color: var(--red);
  border-radius: var(--r);
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: 14px;
}
.comments__form { padding-top: 24px; }
.comments__form-title { font-size: var(--fs-base); font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.comments__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.comments__fields input,
.comments__form textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: var(--fs-sm);
  border: none;
  border-radius: 999px;
  background: var(--bg-off);
  color: var(--ink);
  outline: none;
  transition: background 0.13s, box-shadow 0.13s;
}
.comments__fields input:focus,
.comments__form textarea:focus { background: var(--bg); box-shadow: 0 0 0 2px var(--ink) inset; }
.comments__form textarea { resize: vertical; min-height: 90px; margin-bottom: 10px; display: block; border-radius: 18px; }
.comments__submit {
  height: 40px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: background 0.14s;
}
.comments__submit:hover { background: var(--red-dark); }
.comments__submit:disabled { opacity: 0.6; cursor: default; }
@media (max-width: 500px) {
  .comments__fields { grid-template-columns: 1fr; }
}

/* Related */
.related { padding: 32px 0 0; border-top: 1px solid var(--rule-light); }
.related__title {
  font-size: var(--fs-md);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 20px;
}

/* ================================================================
   GENERIC PAGES (about, submit, search, author, 404)
   ================================================================ */
.page-head {
  padding: 36px 0 28px;
  border-bottom: 1px solid var(--rule-light);
  margin-bottom: 32px;
}
.page-head__label {
  font-size: var(--fs-2xs);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.page-head__title {
  font-size: clamp(2.05rem, 4.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: var(--ink);
  margin-bottom: 12px;
}
.page-head__text {
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--ink-mid);
  max-width: 56ch;
}

/* Search form */
.search-form {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-off);
  border-radius: 999px;
  padding: 6px 6px 6px 8px;
  margin-bottom: 32px;
}
.search-form svg { margin: 0 6px 0 10px; color: var(--ink-muted); flex-shrink: 0; }
.search-form__input {
  flex: 1;
  height: 44px;
  border: none;
  outline: none;
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--ink);
  background: transparent;
}
.search-form__btn {
  height: 44px;
  padding: 0 24px;
  background: var(--ink);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 800;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.14s;
  flex-shrink: 0;
}
.search-form__btn:hover { background: var(--red); }

/* About tabs */
.about-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}
.about-tabs::-webkit-scrollbar { display: none; }
.about-tabs__link {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink-muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.13s, border-color 0.13s;
}
.about-tabs__link:hover { color: var(--ink); }
.about-tabs__link--active { color: var(--red); border-bottom-color: var(--red); }
.about-section { margin-bottom: 32px; }
.about-section__title {
  font-size: var(--fs-lg);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}
.about-section p { font-size: var(--fs-base); line-height: 1.72; color: var(--ink-mid); margin-bottom: 10px; }
.about-section a { color: var(--red); }
.about-section ul { padding-left: 1.2em; margin-bottom: 10px; }
.about-section li { font-size: var(--fs-base); line-height: 1.7; color: var(--ink-mid); margin-bottom: 4px; }
.about-section strong { color: var(--ink); font-weight: 700; }
.about-section__subtitle {
  font-size: var(--fs-md);
  font-weight: 800;
  color: var(--ink);
  margin: 22px 0 8px;
}

.about-body { margin-top: 8px; }
.about-list { padding-left: 1.2em; margin-bottom: 10px; }
.about-list li { font-size: var(--fs-base); line-height: 1.7; color: var(--ink-mid); margin-bottom: 8px; }
.about-list strong { color: var(--ink); font-weight: 700; }
.about-effective {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
  background: var(--bg-off);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* Funding transparency block */
.about-funding {
  border: 1px solid var(--rule-light);
  border-radius: var(--r);
  padding: 26px 24px;
  margin: 22px 0;
  background: var(--bg);
}
.about-funding__title {
  font-size: var(--fs-md);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}
.about-funding__subtitle {
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.about-funding__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.about-funding__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 20px 12px;
  border: 1px solid var(--rule-light);
  border-radius: 12px;
  background: var(--bg-off);
}
.about-funding__card--total {
  background: var(--red-tint);
  border-color: #f3d3d0;
}
.about-funding__amount {
  font-size: var(--fs-xl);
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.about-funding__label {
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.about-funding__note {
  font-size: var(--fs-xs);
  color: var(--ink-muted);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 520px) {
  .about-funding__grid { grid-template-columns: 1fr; }
}

/* Support / buy-me-a-coffee block */
.about-support {
  border: 1px solid var(--rule-light);
  border-radius: var(--r);
  padding: 24px;
  margin-top: 22px;
  background: var(--bg-off);
}
.about-support__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.about-support__title {
  font-size: var(--fs-md);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}
.about-support__desc {
  font-size: var(--fs-sm);
  color: var(--ink-mid);
  line-height: 1.6;
  margin: 0;
  max-width: 420px;
}
.about-section .about-support__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--red);
  color: var(--bg);
  font-size: var(--fs-base);
  font-weight: 700;
  transition: background 0.2s, transform 0.15s ease;
}
.about-section .about-support__btn:hover { background: var(--red-dark); color: var(--bg); }
.about-section .about-support__btn:active { transform: translateY(1px); }
.about-support__how {
  font-size: var(--fs-xs);
  color: var(--ink-muted);
  line-height: 1.6;
  margin: 16px 0 0;
}
.about-support__how strong { color: var(--ink); }

/* Contact / action buttons */
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.about-section .about-actions__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--red);
  color: var(--bg);
  font-size: var(--fs-base);
  font-weight: 700;
  border: 1px solid var(--red);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s ease;
}
.about-section .about-actions__btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--bg); }
.about-section .about-actions__btn:active { transform: translateY(1px); }
.about-section .about-actions__btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.about-section .about-actions__btn--outline:hover { background: transparent; color: var(--ink); border-color: var(--ink); }

/* Author hero */
.author-hero {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 32px 0 28px;
  border-bottom: 1px solid var(--rule-light);
  margin-bottom: 32px;
}
.author-hero__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-hero__avatar--ph {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: var(--fs-2xl);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.author-hero__info { min-width: 0; }
.author-hero__label {
  font-size: var(--fs-2xs);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
  display: block;
}
.author-hero__name {
  font-size: var(--fs-2xl);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 8px;
}
.author-hero__bio { font-size: var(--fs-base); line-height: 1.65; color: var(--ink-mid); margin-bottom: 12px; }
.author-hero__social { display: flex; gap: 8px; flex-wrap: wrap; }
.author-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-off);
  color: var(--ink);
  transition: background 0.13s, color 0.13s;
}
.author-social:hover { background: var(--ink); color: #fff; }

/* Submit form */
/* Info cards above the form */
.submit-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.submit-info__card {
  padding: 22px;
  background: var(--bg-off);
  border-radius: 18px;
}
.submit-info__icon { color: var(--red); margin-bottom: 12px; }
.submit-info__title { font-size: var(--fs-base); font-weight: 800; color: var(--ink); margin-bottom: 5px; }
.submit-info__text { font-size: var(--fs-sm); line-height: 1.55; color: var(--ink-mid); }

/* The form */
.submit-form { display: flex; flex-direction: column; gap: 28px; }
.submit-form__section {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.submit-form__legend {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0 0 4px;
}
.form__field { display: flex; flex-direction: column; gap: 7px; }
.form__label {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
}
.form__req { color: var(--red); margin-left: 2px; }
.form__opt { color: var(--ink-muted); font-weight: 400; }
.form__input {
  width: 100%;
  padding: 13px 18px;
  font-size: var(--fs-base);
  border: none;
  border-radius: 999px;
  background: var(--bg-off);
  color: var(--ink);
  outline: none;
  transition: background 0.13s, box-shadow 0.13s;
}
.form__input:focus {
  background: var(--bg);
  box-shadow: 0 0 0 2px var(--ink) inset;
}
textarea.form__input {
  resize: vertical;
  min-height: 140px;
  border-radius: 20px;
  line-height: 1.6;
}
select.form__input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 42px;
}
.form__hint { font-size: var(--fs-xs); color: var(--ink-muted); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Upload drop zone */
.submit-form__upload {
  position: relative;
  border-radius: 18px;
  background: var(--bg-off);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: background 0.14s, box-shadow 0.14s;
}
.submit-form__upload:hover,
.submit-form__upload--drag { box-shadow: 0 0 0 2px var(--red) inset; background: var(--red-tint); }
.submit-form__upload:hover .submit-form__upload-icon,
.submit-form__upload--drag .submit-form__upload-icon { background: var(--red); color: #fff; transform: translateY(-2px); }
.submit-form__upload-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.submit-form__upload-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.submit-form__upload-prompt[hidden] { display: none; }
/* Circular icon badge is the focal point, not the text */
.submit-form__upload-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--red);
  margin-bottom: 10px;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.submit-form__upload-text { font-size: var(--fs-base); font-weight: 800; color: var(--ink); }
.submit-form__upload-hint { font-size: var(--fs-xs); color: var(--ink-muted); letter-spacing: 0.01em; }
.submit-form__preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.submit-form__preview[hidden] { display: none; }
.submit-form__preview-img { max-height: 160px; border-radius: 12px; }
.submit-form__preview-info { display: flex; align-items: center; gap: 12px; }
.submit-form__preview-name { font-size: var(--fs-sm); color: var(--ink-mid); }
.submit-form__preview-remove {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--red);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.submit-form__preview-remove:hover { text-decoration: underline; }

/* Footer of the form */
.submit-form__footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.submit-form__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: var(--fs-base);
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: background 0.14s, transform 0.12s;
}
.submit-form__btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.submit-form__note { font-size: var(--fs-xs); color: var(--ink-muted); line-height: 1.5; }

/* Alert (form errors) */
.alert {
  padding: 14px 18px;
  border-radius: 16px;
  margin-bottom: 24px;
  font-size: var(--fs-sm);
  font-weight: 600;
}
.alert--err { background: var(--red-tint); color: var(--red); }
.alert ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }

/* Success state */
.submit-success {
  text-align: center;
  padding: 48px 24px;
  background: var(--bg-off);
  border-radius: 24px;
}
.submit-success__icon { color: #22c55e; margin: 0 auto 14px; }
.submit-success__title { font-size: var(--fs-xl); font-weight: 900; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 8px; }
.submit-success__text { font-size: var(--fs-base); color: var(--ink-mid); line-height: 1.6; margin-bottom: 20px; }
.submit-success__btn {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 800;
  transition: background 0.14s;
}
.submit-success__btn:hover { background: var(--red); }
@media (max-width: 600px) {
  .submit-info { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
}

/* 404 empty state */
.empty-state {
  text-align: center;
  padding: 64px 0;
}
.empty-state__dots { color: var(--red); margin: 0 auto 20px; }
.empty-state__label {
  font-size: var(--fs-2xs);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.empty-state__title { font-size: var(--fs-2xl); font-weight: 900; letter-spacing: -0.04em; color: var(--ink); margin-bottom: 12px; }
.empty-state__text { font-size: var(--fs-base); line-height: 1.6; color: var(--ink-mid); max-width: 44ch; margin: 0 auto 24px; }
.empty-state__btn {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 800;
  transition: background 0.14s;
}
.empty-state__btn:hover { background: var(--red); }

/* Pagination */
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 48px;
}
.pager__info { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-muted); }
.pager__btns { display: flex; gap: 8px; }
.pager__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--bg-off);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 700;
  transition: background 0.13s, color 0.13s;
}
.pager__btn:hover { background: var(--ink); color: #fff; }

/* Floating side page arrows — desktop only */
.page-fab {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.page-fab:hover {
  background: var(--ink);
  color: #fff;
}
.page-fab--prev {
  left: calc(50% - (var(--col) / 2) - 76px);
}
.page-fab--next {
  right: calc(50% - (var(--col) / 2) - 76px);
}
.page-fab--prev:hover { transform: translateY(-50%) translateX(-3px); }
.page-fab--next:hover { transform: translateY(-50%) translateX(3px); }

/* No room beside the column below ~1180px — hide the side arrows,
   the inline pager takes over */
@media (max-width: 1180px) {
  .page-fab { display: none; }
}

/* Notice */
.notice {
  font-size: var(--fs-base);
  color: var(--ink-muted);
  padding: 24px 0;
  text-align: center;
}

/* ================================================================
   SPONSOR — native ad card (disguised, sits in editorial flow)
   ================================================================ */
.sponsor-ad {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  margin: 28px 0;
  background: var(--bg-off);
  border-radius: 20px;
  transition: transform 0.16s, box-shadow 0.16s;
}
a.sponsor-ad:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}
/* Disclosure tag — subtle, top-right */
.sponsor-ad__tag {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  opacity: 0.6;
}
/* Media */
.sponsor-ad__media {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--bg);
  overflow: hidden;
}
.sponsor-ad__logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.sponsor-ad__media--mono {
  background: var(--red);
  color: #fff;
  font-size: var(--fs-xl);
  font-weight: 900;
}
/* Body */
.sponsor-ad__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sponsor-ad__eyebrow {
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.sponsor-ad__name {
  font-size: var(--fs-md);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
}
.sponsor-ad__tagline {
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--ink-mid);
}
/* CTA */
.sponsor-ad__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 800;
  white-space: nowrap;
  transition: background 0.14s;
}
a.sponsor-ad:hover .sponsor-ad__cta { background: var(--red); }
@media (max-width: 560px) {
  /* Drop the logo tile and stack text over a full-width CTA
     so the copy never gets squashed by the button. */
  .sponsor-ad {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 18px;
  }
  .sponsor-ad__media { display: none; }
  .sponsor-ad__cta { width: 100%; justify-content: center; }
}

/* ================================================================
   SPONSOR — "sponsor this section" CTA
   ================================================================ */
.sponsor-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  margin: 24px 0;
  background: var(--red-tint);
  border-radius: 20px;
  transition: transform 0.15s;
}
.sponsor-cta:hover { transform: translateY(-2px); }
.sponsor-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  flex-shrink: 0;
}
.sponsor-cta__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sponsor-cta__badge {
  align-self: flex-start;
  font-size: var(--fs-2xs);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  background: #fff;
  padding: 3px 10px;
  border-radius: 999px;
}
.sponsor-cta__text {
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--ink-mid);
}
.sponsor-cta__text strong { color: var(--ink); font-weight: 800; }
.sponsor-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--red);
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 560px) {
  .sponsor-cta { flex-wrap: wrap; }
  .sponsor-cta__btn { width: 100%; }
}

/* ================================================================
   FOOTER
   ================================================================ */
.foot {
  padding: 44px 0 56px;
  margin-top: 56px;
  border-top: 1px solid var(--rule-light);
}
.foot__inner {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.foot__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-md);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.foot__brand svg { flex-shrink: 0; }
.foot__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-mid);
}
.foot__nav a { transition: color 0.13s; }
.foot__nav a:hover { color: var(--red); }
.foot__social {
  display: flex;
  gap: 10px;
}
.foot__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-off);
  color: var(--ink);
  transition: background 0.14s, color 0.14s, transform 0.14s;
}
.foot__social a:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.foot__copy {
  font-size: var(--fs-xs);
  color: var(--ink-muted);
  line-height: 1.7;
}
.foot__copy a { color: var(--red); }

/* Footer sponsor */
.foot-sponsor {
  width: 100%;
  max-width: var(--col);
  margin: 0 auto;
  padding: 20px 24px;
}

/* ================================================================
   PWA BANNER
   ================================================================ */
.pwa-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg);
  border-top: 1px solid var(--rule-light);
  padding: 16px 20px;
  z-index: 700;
  display: none;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}
.pwa-banner--visible { display: block; }
.pwa-banner__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pwa-banner__app { display: flex; align-items: center; gap: 10px; }
.pwa-banner__icon { border-radius: 10px; }
.pwa-banner__name { display: block; font-size: var(--fs-sm); font-weight: 800; color: var(--ink); }
.pwa-banner__url { display: block; font-size: var(--fs-xs); color: var(--ink-muted); }
.pwa-banner__close { background: none; border: none; color: var(--ink-muted); cursor: pointer; }
.pwa-banner__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 46px;
  background: var(--ink); color: #fff; border: none; border-radius: 999px;
  font-size: var(--fs-base); font-weight: 800; cursor: pointer;
}

/* ================================================================
   SECTION BAND (homepage)
   ================================================================ */
.section-band {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 44px auto 24px;
}
.section-band::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.section-band__text {
  font-size: var(--fs-base);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-left: 15px;
}
.section-band__text::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 17px;
  border-radius: 2px;
  background: var(--red);
}

/* ================================================================
   IMAGE FADE-IN
   ================================================================ */
.img-fade { opacity: 0; transition: opacity 0.4s; }
.img-fade--in { opacity: 1; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 600px) {
  :root { --col: 100%; }
  .col, .c { padding: 0 16px; }
  .topbar__inner { padding: 0 16px; height: 68px; }
  .topbar__brand svg { width: 32px; height: 44px; }
  .topbar__wordmark { display: none; }   /* dots only on mobile */
  .notice-bar__inner { padding: 12px 16px; }
  .topbar__submit {
    width: 44px;
    height: 44px;
    padding: 0;
    gap: 0;
    border-radius: 50%;
    justify-content: center;
  }
  .datebar__inner { padding: 0 16px; }

  /* Stack story cards on mobile — image on top, text below */
  .story {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 0;
  }
  .story__img-wrap { width: 100%; }
  .story__img, .story__fallback {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .story__title { font-size: var(--fs-lg); }
  .story__excerpt { -webkit-line-clamp: 3; }

  .more-item__img, .more-item__fallback { width: 68px; height: 48px; }
  .more-item__img-wrap { width: 68px; }
  .more-item { grid-template-columns: 68px 1fr; }
  .featured__title { font-size: var(--fs-2xl); }
  .article__title { font-size: var(--fs-2xl); }
  .page-head__title { font-size: var(--fs-2xl); }
  .topbar__submit span { display: none; }
  .mobile-menu { top: 68px; }

}

/* Location picker is desktop-only — the dock handles area switching
   on smaller screens. The submit button stays visible in the topbar. */
@media (max-width: 900px) {
  .locpick--desktop { display: none; }
}

/* ================================================================
   SUPPORT BANNER — homepage (below the stream) + article foot.
   Vivid brand red, flat, rounded. Matches the site design system.
   ================================================================ */
.home-support {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 40px 0 8px;
  padding: 32px 34px;
  background: var(--red);
  color: #fff;
  border-radius: var(--r);
}
/* On article pages it sits between the story and comments */
.home-support--article { margin: 36px 0; }

/* Faint logo-dot watermark, bleeding off the right edge */
.home-support__dots {
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(8deg);
  color: #fff;
  opacity: 0.12;
  pointer-events: none;
}
.home-support__body {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.home-support__label {
  font-size: var(--fs-2xs);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 8px;
}
.home-support__title {
  font-size: var(--fs-xl);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 8px;
}
.home-support__text {
  font-size: var(--fs-base);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-width: 54ch;
  margin: 0;
}
.home-support__actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.home-support__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  font-size: var(--fs-base);
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s;
}
.home-support__btn:hover { transform: translateY(-2px); background: #fff; }
.home-support__link {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.home-support__link:hover { color: #fff; }

@media (max-width: 700px) {
  .home-support {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 26px 22px;
  }
  .home-support__title { font-size: var(--fs-lg); }
  .home-support__actions { flex-direction: row; align-items: center; width: 100%; }
  .home-support__btn { flex: 1; justify-content: center; }
  .home-support__dots { display: none; }
}
