/* ═══════════════════════════════════════════════════════════════
   Shorterest Public Site — Luxury Tabloid Design System
   ═══════════════════════════════════════════════════════════════ */

/* ── Custom Properties ──
   Mature tabloid palette: cool slate paper, deep ink, wine crimson + muted gold.
   Brand config CSS (brand-css.js) may override --bc-* when DB config is active. */
:root {
  --bc-base: #0c0e14;
  --bc-surface: #eef1f5;
  --bc-accent_slot_a: #b8954a;
  --bc-accent_slot_b: #8b3a4a;
  --bf-heading: 'Playfair Display', Georgia, serif;
  --bf-body: 'Inter', system-ui, sans-serif;
  --accent-gold: #b8954a;
  --accent-bronze: #8b5e3c;
  --accent-wine: #8b3a4a;
  --fg: #12151c;
  --fg-inverse: #eef1f5;
  --border: rgba(18, 21, 28, 0.12);
  --border-strong: rgba(18, 21, 28, 0.25);
  --text-muted: #5c6370;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: clip;
}
body {
  background: var(--bc-surface);
  color: var(--fg);
  font-family: var(--bf-body);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: clip;
  width: 100%;
}
.site-body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Accessibility utility: visually hidden but available to screen readers ── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Tabloid Body (light cream background) ── */
.tabloid-body {
  background: var(--bc-surface);
  min-height: 100vh;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Tabloid Nav ── */
.tabloid-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.tabloid-nav__wordmark {
  font-family: var(--bf-heading);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg);
}
.tabloid-nav__links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.tabloid-nav__link {
  font-family: var(--bf-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.tabloid-nav__link:hover { color: var(--fg); }

/* ── Logo Banner ── */
.logo-banner {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  contain: paint;
}
/* Banner chrome only — splatter markup/filters live in logo-banner.ejs (do not alter there). */
.logo-banner--dark {
  background: var(--bc-base);
}
.logo-banner--light {
  background: var(--bc-surface);
}
.logo-banner__wordmark {
  position: relative;
  z-index: 2;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  mix-blend-mode: difference;
}
.logo-banner--dark .logo-banner__wordmark {
  color: var(--fg-inverse);
}
.logo-banner--light .logo-banner__wordmark {
  color: var(--fg);
}

/* ── Masthead ── */
.masthead {
  text-align: center;
  padding: 4rem 0 3rem;
}
.masthead__rule-top {
  width: 100%;
  height: 2px;
  background: var(--accent-gold);
  margin-bottom: 1.5rem;
}
.masthead__rule-bottom {
  width: 100%;
  height: 2px;
  background: var(--accent-gold);
  margin-top: 1.5rem;
}
.masthead__title {
  font-family: var(--bf-heading);
  font-size: clamp(5rem, 18vw, 12rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.88;
  color: var(--fg);
}
.masthead__tagline {
  font-family: var(--bf-heading);
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 0.75rem;
}

/* ── Disclaimer Banner ── */
.disclaimer-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: color-mix(in srgb, var(--accent-gold) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-gold) 35%, transparent);
  padding: 0.65rem 1.25rem;
  margin-bottom: 1.5rem;
}
.disclaimer-banner__icon { font-size: 1rem; color: var(--accent-gold); flex-shrink: 0; }
.disclaimer-banner__text {
  font-family: var(--bf-body);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--fg);
  line-height: 1.4;
}

/* ── Hero Section (single-card layout) ── */
.hero-section {
  border-top: 3px solid var(--fg);
  padding: 2rem 0 2.5rem;
  margin-bottom: 2rem;
}
.hero-section__label {
  font-family: var(--bf-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
}
.hero-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--fg);
  max-width: 680px;
}
.hero-card { display: block; background: var(--bc-surface); overflow: hidden; transition: opacity 0.2s ease; }
.hero-card:hover { opacity: 0.88; }
.hero-card__image { width: 100%; aspect-ratio: 16/7; overflow: hidden; }
.hero-card__image img { width: 100%; height: 100%; object-fit: cover; }
.hero-card__image--placeholder { background: linear-gradient(135deg, #12151c 0%, #2a1f28 55%, #3d2e1a 100%); }
.hero-card__content { padding: 1.75rem 2rem; }
.hero-card__headline {
  font-family: var(--bf-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.hero-card__topic {
  font-family: var(--bf-heading);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
}

/* ── Above-fold two-column layout ── */
.homepage-above-fold {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 900px) {
  .homepage-above-fold {
    grid-template-columns: 2fr 1fr;
    align-items: start;
    gap: 2.5rem;
  }
}

/* ── Right-lane article feed ── */
.article-feed {
  border-top: 3px solid var(--fg);
  padding-top: 2rem;
}
.article-feed__label {
  font-family: var(--bf-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
}
.article-feed__list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--fg);
  border: 1px solid var(--fg);
}

/* ── Feed card (compact, right lane) ── */
.feed-card {
  display: flex;
  gap: 0.75rem;
  background: var(--bc-surface);
  padding: 1rem 1.25rem;
  transition: background 0.2s ease;
}
.feed-card:hover { background: color-mix(in srgb, var(--bc-surface) 88%, var(--fg)); }
.feed-card__image {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  overflow: hidden;
}
.feed-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feed-card__image--placeholder {
  background: linear-gradient(135deg, #12151c 0%, #2a1f28 55%, #3d2e1a 100%);
}
.feed-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}
.feed-card__headline {
  font-family: var(--bf-heading);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--fg);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.feed-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--bf-body);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: auto;
}

.hero-headline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
  transition: opacity 0.2s ease;
}
.hero-headline__side { display: flex; flex-direction: column; gap: 0.5rem; }
.hero-headline__side--a { text-align: right; }
.hero-headline__side--b { text-align: left; }
.hero-headline__perspective {
  font-family: var(--bf-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.25rem;
}
.hero-headline__text {
  font-family: var(--bf-heading);
  font-size: clamp(1.4rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--fg);
  display: block;
}
.hero-headline__vs {
  font-family: var(--bf-heading);
  font-size: 1.2rem;
  font-weight: 700;
  font-style: italic;
  color: var(--accent-gold);
  align-self: center;
  padding-top: 1.5rem;
  flex-shrink: 0;
}
.hero-story__topic-title {
  font-family: var(--bf-heading);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-style: italic;
  color: var(--text-muted);
  margin-top: 1.5rem;
  text-align: center;
  letter-spacing: 0.01em;
}
.hero-story__meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
  font-family: var(--bf-body);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-story__heat {
  font-family: var(--bf-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold);
}

/* ── Section Divider ── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-strong);
}
.section-divider__label {
  font-family: var(--bf-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Story Grid ── */
.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--fg);
  border: 1px solid var(--fg);
  margin-bottom: 4rem;
}
.story-card {
  background: var(--bc-surface);
  padding: 1.75rem 2rem;
  transition: background 0.2s ease;
}
.story-card:hover { background: color-mix(in srgb, var(--bc-surface) 88%, var(--fg)); }
.story-card__link { display: block; }
.story-card__headline-single {
  margin-bottom: 1.25rem;
}
.story-card__side { display: flex; flex-direction: column; gap: 0.3rem; }
.story-card__side--a { text-align: right; }
.story-card__side--b { text-align: left; }
.story-card__side-label {
  font-family: var(--bf-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.story-card__side--a .story-card__side-label { text-align: right; }
.story-card__side--b .story-card__side-label { text-align: left; }
.story-card__headline-text {
  font-family: var(--bf-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.story-card__vs {
  font-family: var(--bf-heading);
  font-size: 0.7rem;
  font-style: italic;
  color: color-mix(in srgb, var(--fg) 30%, transparent);
  align-self: center;
  padding-top: 0.5rem;
}
.story-card__footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.story-card__topic {
  font-family: var(--bf-heading);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.3;
}
.story-card__score {
  font-family: var(--bf-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold);
  flex-shrink: 0;
}

/* ── Story Card — rich preview additions ── */
.story-card__image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.story-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.story-card:hover .story-card__image img { transform: scale(1.03); }

.story-card__excerpt {
  font-family: var(--bf-body);
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.75rem;
}
.story-card__read-time {
  font-family: var(--bf-body);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.story-card__author {
  font-family: var(--bf-heading);
  font-size: 0.75rem;
  font-style: italic;
  color: var(--text-muted);
  margin-left: auto;
}

/* ── Hero Card — excerpt + meta ── */
.hero-card__excerpt {
  font-family: var(--bf-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}
.hero-card__read-time {
  font-family: var(--bf-body);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-card__author {
  font-family: var(--bf-heading);
  font-size: 0.8rem;
  font-style: italic;
  color: var(--text-muted);
  margin-left: auto;
}

/* ── Tabloid Main ── */
.tabloid-main {
  padding: 0 0 2rem;
}

/* ── Site Footer (inherit existing) ── */
.site-footer {
  background: var(--bc-base);
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(245, 243, 238, 0.1);
}
.site-footer__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.site-footer__wordmark {
  font-family: var(--bf-heading);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-inverse);
}
.site-footer__copy {
  font-size: 0.7rem;
  color: rgba(245, 243, 238, 0.35);
  margin-left: auto;
}

/* ── Ad slots: empty by default (no dashed ghost boxes) ── */
.ad-slot {
  display: none;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}
.ad-slot:not(.ad-slot--empty) {
  display: block;
  background: transparent;
  border: none;
}
.ad-slot--empty {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* Skip link (a11y) */
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100px;
  z-index: 10000;
  padding: 0.65rem 1rem;
  background: #0A0A0A;
  color: #C9A84C;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 0.75rem;
  outline: 2px solid #C9A84C;
  outline-offset: 2px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid #C9A84C;
  outline-offset: 2px;
}
.ad-slot--728x90  { width: min(100%, 728px); height: 90px; max-width: 100%; margin-inline: auto; }
.ad-slot--300x250 { width: min(100%, 300px); height: 250px; max-width: 100%; margin-inline: auto; }
.ad-slot--300x600 { width: min(100%, 300px); height: 600px; max-width: 100%; margin-inline: auto; }

/* ── Leaderboard slot (above fold) ── */
.ad-slot--leaderboard {
  width: min(100%, 728px);
  height: 90px;
  max-width: 100%;
  margin: 1.5rem auto;
}

/* ── Skyscraper slot (sidebar) ── */
.ad-slot--skyscraper {
  width: min(100%, 300px);
  height: 600px;
  max-width: 100%;
}

/* ── In-grid homepage slot ── */
.ad-slot--in-grid {
  width: min(100%, 300px);
  height: 250px;
  max-width: 100%;
  margin: 0 auto;
}

/* ── Article layout: mobile-first single column; sidebar only on desktop ── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}
.article-layout__main {
  min-width: 0; /* prevent grid blowout */
  width: 100%;
  max-width: 100%;
}
.article-layout__sidebar {
  display: none; /* phones/tablets: no fixed 300px rail */
  min-width: 0;
}
@media (min-width: 960px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 3rem;
  }
  .article-layout__sidebar {
    display: block;
    position: sticky;
    top: 2rem;
    align-self: start;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Topic Split-View Page Styles
   ═══════════════════════════════════════════════════════════════ */

/* ── Topic Header ── */
.topic-header {
  background: var(--bc-base);
  padding: var(--space-lg) 0 var(--space-md);
}
.topic-header__inner { max-width: 1100px; margin: 0 auto; }
.topic-header__back {
  display: inline-block;
  font-family: var(--bf-body);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, 0.4);
  margin-bottom: var(--space-md);
  transition: color 0.2s ease;
}
.topic-header__back:hover { color: var(--fg-inverse); }
.topic-header__title {
  font-family: var(--bf-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--fg-inverse);
  margin-bottom: var(--space-md);
}
.topic-header__rule { width: 100%; height: 1px; background: rgba(245, 243, 238, 0.15); }

/* ── Split View ── */
.split-view {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}
.split-side {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: relative;
}
.split-side--a {
  background: var(--bc-surface);
  border-right: 1px solid var(--border);
}
.split-side--b {
  background: var(--bc-base);
}

/* Illustration */
.split-side__illustration { width: 100%; aspect-ratio: 4/3; overflow: hidden; }
.split-side__img { width: 100%; height: 100%; object-fit: cover; }
.split-side__illustration--placeholder {
  background: linear-gradient(135deg, #12151c 0%, #2a1f28 55%, #3d2e1a 100%);
}
.split-side--a .split-side__illustration--placeholder {
  background: linear-gradient(135deg, #e8ebf0 0%, #dce1e9 100%);
}

/* Headline */
.split-side__label {
  font-family: var(--bf-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  display: block;
  margin-bottom: 0.75rem;
}
.split-side__headline {
  font-family: var(--bf-heading);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.split-side--b .split-side__headline { color: var(--fg-inverse); }

/* Body */
.split-side__body {
  font-family: var(--bf-body);
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
  flex: 1;
}
.split-side--b .split-side__body { color: rgba(245, 243, 238, 0.7); }
.split-side__body p { margin-bottom: 1.2em; }
.split-side__body p:last-child { margin-bottom: 0; }

/* CTA */
.split-side__cta {
  font-family: var(--bf-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--accent-gold);
  display: inline-block;
  align-self: flex-start;
  transition: background 0.2s ease, color 0.2s ease;
  color: var(--fg);
}
.split-side--a .split-side__cta {
  border-color: var(--accent-gold);
  color: var(--fg);
}
.split-side--a .split-side__cta:hover { background: var(--accent-gold); color: var(--bc-base); }
.split-side--b .split-side__cta {
  border-color: rgba(245, 243, 238, 0.3);
  color: var(--fg-inverse);
}
.split-side--b .split-side__cta:hover { background: rgba(245, 243, 238, 0.1); border-color: var(--fg-inverse); }

/* ── Article Page ── */
.article {
  max-width: min(740px, 100%);
  width: 100%;
  margin: 0 auto;
  padding: 1.25rem 0 3rem;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.article__illustration {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: var(--space-lg);
  border-radius: 0;
}
.article__img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}
.article__illustration--placeholder {
  background: linear-gradient(135deg, #12151c 0%, #2a1f28 55%, #3d2e1a 100%);
  aspect-ratio: 16/9;
}
.article__sub-illustration {
  width: 100%;
  margin: 2rem 0;
}
.article__sub-img {
  width: 100%;
  height: auto;
  display: block;
}
.article__sub-rule {
  height: 2px;
  background: var(--accent-slot-a, var(--accent-gold));
  margin-top: 0.5rem;
}
.article__header { margin-bottom: var(--space-lg); }

/* ── Byline (name only at top — headshot lives in author-card) ── */
.article__byline {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.85rem;
  margin-bottom: 0.25rem;
}
.article__byline--name-only {
  padding-bottom: 0;
  border-bottom: none;
}
.byline__label {
  font-family: var(--bf-body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 0.35rem;
}
.byline__photo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.byline__text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.4rem;
}
.byline__name {
  font-family: var(--bf-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fg);
}
.byline__bio-snippet {
  font-family: var(--bf-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  width: 100%;
}

/* ── Author card (end of article — stable bio + small headshot) ── */
.author-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 2.5rem 0 1.5rem;
  padding: 1.15rem 1.25rem;
  background: var(--bc-surface, #F5F3EE);
  border: 1px solid color-mix(in srgb, var(--accent-gold, #C9A84C) 55%, var(--border, #e0ddd5));
  border-left: 3px solid var(--accent-gold, #C9A84C);
  max-width: 100%;
  box-sizing: border-box;
}
.author-card__photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border, #e0ddd5);
}
.author-card__body { min-width: 0; flex: 1; }
.author-card__name {
  font-family: var(--bf-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-gold, #C9A84C);
  margin-bottom: 0.4rem;
}
.author-card__bio {
  font-family: var(--bf-body);
  font-size: 0.82rem;
  color: var(--text-muted, #4a4540);
  line-height: 1.55;
}
.article__topic-link {
  display: inline-block;
  font-family: var(--bf-body);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  transition: color 0.2s ease;
}
.article__topic-link:hover { color: var(--fg); }
.article__disclaimer {
  font-family: var(--bf-body);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  border-left: 3px solid var(--accent-gold);
  padding-left: 1rem;
  margin: 1.5rem 0 2rem;
  font-style: italic;
}

/* ── Opinion Label ── */
.opinion-badge {
  display: inline-block;
  font-family: var(--bf-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  padding: 0.25rem 0.6rem;
  margin-bottom: 0.75rem;
}

.article__headline {
  font-family: var(--bf-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.article__body {
  font-family: var(--bf-body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--fg);
  margin-bottom: var(--space-xl);
}
.article__body p { margin-bottom: 1.5em; }
.article__body p:last-child { margin-bottom: 0; }
.article__footer {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}
.article__back {
  display: inline-block;
  font-family: var(--bf-body);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s ease;
  margin-bottom: var(--space-md);
}
.article__back:hover { color: var(--fg); }

/* ── Share bar ── */
.share-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-md);
  max-width: 100%;
}
.share-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--bf-body, 'Inter', sans-serif);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
  max-width: 100%;
  flex: 1 1 auto;
  min-width: min(100%, 9rem);
  box-sizing: border-box;
}
.share-bar__btn:hover {
  color: var(--fg);
  border-color: var(--fg);
}
.share-bar__btn--copied {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

/* ── 18+ Age Overlay ── */
.age-overlay {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--bc-base) 94%, transparent);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}
.age-overlay__card {
  background: var(--bc-surface);
  border: 1px solid var(--border-strong);
  padding: 3rem 2.5rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
}
.age-overlay__icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}
.age-overlay__title {
  font-family: var(--bf-heading);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1rem;
}
.age-overlay__body {
  font-family: var(--bf-body);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}
.age-overlay__btn {
  display: block;
  width: 100%;
  padding: 0.9rem;
  font-family: var(--bf-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--bc-base);
  color: var(--fg-inverse);
  border: 1px solid var(--fg);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  margin-bottom: 0.75rem;
}
.age-overlay__btn:hover { background: var(--accent-gold); border-color: var(--accent-gold); color: var(--bc-base); }
.age-overlay__btn--secondary {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.age-overlay__btn--secondary:hover { background: transparent; border-color: var(--border-strong); color: var(--fg); }

/* ── Shared responsive helpers ── */
.tabloid-body,
.topic-header__inner,
.article {
  overflow-x: hidden;
}

/* ── Tablet (768px–1023px) ── */
@media (max-width: 1023px) {
  .masthead__title { font-size: clamp(4rem, 14vw, 8rem); }
  .tabloid-body { padding: 0 1.5rem; }
}

/* ── Mobile (≤768px) — primary breakpoint ── */
@media (max-width: 768px) {
  .tabloid-body { padding: 0 1rem; }

  /* Nav */
  .tabloid-nav { padding: 1rem 0; }
  .tabloid-nav__links { gap: 1rem; }

  /* Logo Banner */
  .logo-banner { height: 100px; }
  .logo-banner__wordmark { font-size: clamp(1.8rem, 10vw, 2.5rem); }
  .tabloid-nav__wordmark { font-size: 0.9rem; }
  .tabloid-nav__link { font-size: 0.75rem; }

  /* Masthead */
  .masthead { padding: 2rem 0 1.5rem; }
  .masthead__title {
    font-size: clamp(2.8rem, 20vw, 5rem);
    letter-spacing: -0.03em;
  }
  .masthead__tagline { font-size: 0.8rem; }
  .masthead__rule-top,
  .masthead__rule-bottom { height: 1px; }

  /* Hero cards */
  .hero-cards { grid-template-columns: 1fr; max-width: 100%; }
  .hero-card__content { padding: 1rem 1.25rem; }
  .hero-card__headline { font-size: 1.15rem; }

  /* Section divider */
  .section-divider { margin-bottom: 1rem; }

  /* Story grid */
  .story-grid { grid-template-columns: 1fr; }
  .story-card { padding: 1.25rem 1.5rem; }
  .story-card__headline-single { margin-bottom: 1rem; }
  .story-card__headline-text { font-size: 0.9rem; }
  .story-card__topic { font-size: 0.8rem; }

  /* Split view topic page */
  .split-view { grid-template-columns: 1fr; }
  .split-side { padding: 2rem 1.5rem; }
  .split-side--a { border-right: none; border-bottom: 1px solid var(--border); }
  .split-side__headline { font-size: clamp(1.2rem, 5vw, 2rem); }
  .split-side__label { font-size: 0.75rem; }
  .split-side__body { font-size: 0.875rem; }
  .split-side__cta { font-size: 0.7rem; padding: 0.7rem 1.25rem; }

  /* Topic header */
  .topic-header__back { font-size: 0.75rem; margin-bottom: 1.5rem; }
  .topic-header__title { font-size: clamp(2rem, 8vw, 4rem); margin-bottom: 1.5rem; }

  /* Article page */
  .article { padding: 1rem 0 3rem; max-width: 100%; }
  .article__illustration { margin-bottom: 1.25rem; }
  .article__headline { font-size: clamp(1.5rem, 7vw, 2.25rem); }
  .article__body { font-size: 1rem; line-height: 1.7; max-width: 100%; }
  .article__disclaimer { font-size: 0.7rem; margin: 1rem 0 1.5rem; }
  .article__footer { display: flex; flex-direction: column; gap: 1rem; align-items: stretch; }
  .author-card { flex-direction: column; max-width: 100%; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
  .site-footer__copy { margin-left: 0; }

  /* Ad slots on mobile — collapse gracefully */
  .ad-slot--leaderboard { display: none; }
  .ad-slot--skyscraper { display: none; }
  .ad-slot--in-grid { width: 100%; max-width: 100%; height: auto; min-height: 0; }
  .ad-slot--300x250 { width: 100%; max-width: 100%; height: auto; min-height: 0; }

  /* Feedback widget — ensure 44px touch target */
  .feedback-widget {
    margin: 2rem 0 1.5rem;
    padding: 1.25rem;
  }
  .feedback-stars { gap: 0.5rem; }
  .star-btn {
    font-size: 1.75rem;
    padding: 8px; /* 16px total touch area per star */
    margin: -8px;
    display: block;
    min-width: 44px;
    min-height: 44px;
    box-sizing: border-box;
    line-height: 1;
  }

  /* Age overlay */
  .age-overlay__card { padding: 2rem 1.5rem; }
  .age-overlay__btn { padding: 0.85rem; font-size: 0.7rem; }
  .age-overlay__icon { font-size: 2.5rem; }
  .age-overlay__title { font-size: 1.5rem; }
}

/* ── Small mobile (≤375px) — fine-tune for iPhone SE ── */
@media (max-width: 375px) {
  .masthead__title { font-size: clamp(2.2rem, 22vw, 3.5rem); }
  .masthead { padding: 1.5rem 0 1.25rem; }
  .hero-card__headline { font-size: 1rem; }
  .story-card { padding: 1rem 1.25rem; }
  .split-side { padding: 1.5rem 1.25rem; }
  .tabloid-nav__links { gap: 0.75rem; }
}

/* ── Desktop max-width containers (1024px+) ── */
@media (min-width: 1024px) {
  .tabloid-body {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  .tabloid-main { max-width: 100%; }
}

/* ── Wide desktop (1440px+) ── */
@media (min-width: 1440px) {
  .tabloid-body { padding: 0 4rem; }
  /* Reading width cap for article body */
  .article__body {
    max-width: 720px;
  }
}

/* ── Footer nav links ── */
.site-footer__links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin: 0.5rem 0;
}
.site-footer__link {
  font-family: var(--bf-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.site-footer__link:hover { color: var(--fg); }

/* ── Policy pages ── */
.policy-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}
.policy-page h1 {
  font-family: var(--bf-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 2.5rem;
}
.policy-page h2 {
  font-family: var(--bf-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fg);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.policy-page p, .policy-page li {
  font-family: var(--bf-body);
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--fg);
  margin-bottom: 1rem;
}
.policy-page ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.policy-page a { color: var(--accent-gold); text-decoration: underline; }

/* ── Contact form ── */
.contact-form { margin-top: 2rem; }
.form-field { margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.4rem; }
.form-label {
  font-family: var(--bf-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-input, .form-textarea {
  font-family: var(--bf-body);
  font-size: 0.95rem;
  color: var(--fg);
  background: #fff;
  border: 1px solid var(--border-strong);
  padding: 0.65rem 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
}
.form-input:focus, .form-textarea:focus { border-color: var(--accent-gold); }
.form-textarea { min-height: 140px; resize: vertical; }
.form-submit {
  font-family: var(--bf-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--fg);
  color: var(--fg-inverse);
  padding: 0.85rem 2rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
  border: none;
}
.form-submit:hover { opacity: 0.8; }
.form-error {
  font-family: var(--bf-body);
  font-size: 0.85rem;
  color: #b94a3a;
  margin-bottom: 1rem;
}
.form-success {
  font-family: var(--bf-heading);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--fg);
  padding: 2rem 0;
}
.contact-email-fallback {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-family: var(--bf-body);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Subscribe Banner ── */
.subscribe-banner {
  background: var(--bc-base);
  padding: var(--space-lg) 2rem;
  border-top: 2px solid var(--accent-gold);
}
.subscribe-banner__inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.subscribe-banner__heading {
  font-family: var(--bf-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--fg-inverse);
}
.subscribe-banner__sub {
  font-family: var(--bf-body);
  font-size: 0.85rem;
  color: rgba(245,243,238,0.55);
  margin-top: 0.25rem;
}
.subscribe-form__email-row {
  display: flex;
  gap: 0;
}
.subscribe-form__input {
  flex: 1;
  padding: 0.75rem 1rem;
  font-family: var(--bf-body);
  font-size: 0.9rem;
  border: 1px solid rgba(245,243,238,0.2);
  background: rgba(245,243,238,0.08);
  color: var(--fg-inverse);
  outline: none;
}
.subscribe-form__input::placeholder { color: rgba(245,243,238,0.3); }
.subscribe-form__input:focus { border-color: var(--accent-gold); }
.subscribe-form__btn {
  padding: 0.75rem 1.5rem;
  background: var(--accent-gold);
  color: #fff;
  font-family: var(--bf-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.subscribe-form__btn:hover { opacity: 0.85; }
.subscribe-form__prefs {
  margin-top: 0.75rem;
}
.subscribe-form__prefs-toggle {
  font-family: var(--bf-body);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(245,243,238,0.45);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.subscribe-form__prefs-toggle::-webkit-details-marker { display: none; }
.subscribe-form__checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 0.75rem;
}
.subscribe-form__checkboxes label {
  font-family: var(--bf-body);
  font-size: 0.8rem;
  color: rgba(245,243,238,0.6);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}
.subscribe-error {
  font-family: var(--bf-body);
  font-size: 0.9rem;
  color: #b94a3a;
  margin-bottom: 1rem;
}
.subscribe-success {
  font-family: var(--bf-heading);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--fg);
  padding: 2rem 0;
}
.subscribe-back-link {
  font-family: var(--bf-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: underline;
}
/* =========================================================
   MOBILE SAFETY BASELINE — do not remove.
   Standards-based (WHATWG/W3C/WCAG/HIG) global backstops so every
   element (including ones added later) stays usable at phone widths
   (360–430px). See CLAUDE.md "Mobile compliance".
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; width: 100%; }
img, svg, video, canvas, iframe { max-width: 100%; height: auto; }
table, pre, code { max-width: 100%; }
table { display: block; overflow-x: auto; }
p, li, h1, h2, h3, h4, blockquote, figcaption, .headline, .dek, .kicker,
.article__headline, .article__body, .byline__bio-snippet, .author-card__bio {
  overflow-wrap: anywhere;
  word-break: break-word;
}
/* Decorative absolute images must not expand layout */
.logo-banner { overflow: hidden; max-width: 100%; width: 100%; }
.logo-banner__splat { max-width: none; /* positioned; parent clips */ }
/* Form controls: >=16px kills iOS focus-zoom; comfortable height */
input, select, textarea, button { font-size: max(1rem, 16px); }
input, select, textarea { min-height: 44px; max-width: 100%; width: 100%; box-sizing: border-box; }
/* Tap targets >=44px (WCAG 2.5.5 / HIG) — not forced full-width for icon links */
button, .btn, a.button, [role="button"], input[type="submit"] {
  min-height: 44px;
}
/* Collapse always-on multi-column layouts on phones */
@media (max-width: 640px) {
  .hero-headline { grid-template-columns: 1fr; gap: 1rem; }
  .homepage-above-fold { display: block; }
  .tabloid-body { padding-left: 0.75rem; padding-right: 0.75rem; max-width: 100%; }
  .subscribe-form__email-row { flex-direction: column; }
  .subscribe-form__btn { width: 100%; }
}
@media (max-width: 560px) {
  .story-grid { grid-template-columns: 1fr; }
}
