/* TruVista Media — shared stylesheet
   Palette and typography locked to the approved design mockups. */

:root {
  --bg: #F3EEE3;
  --surface: #FFFFFF;
  --border: #D9D0BC;
  --divider: #ECE6D8;
  --navy: #0C2340;
  --navy-2: #1B3A63;
  --rust: #993C1D;
  --ink: #2C2C2A;
  --sub: #5F5E5A;
  --muted: #888780;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  font-family: var(--sans);
  color: var(--ink);
  min-height: 100vh;
}

a { color: inherit; }

.topstripe { height: 3px; background: var(--rust); }

/* ---------- Header ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.site-header .inner {
  max-width: 1240px; margin: 0 auto; padding: 18px 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo img { height: 44px; width: auto; object-fit: contain; display: block; }
.main-nav { display: flex; gap: 32px; align-items: center; }
.main-nav a {
  font-size: 14px; color: var(--navy); font-weight: 600; letter-spacing: .2px;
  text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--navy-2); }
.main-nav a.active { border-bottom-color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: 22px; }
.search-toggle { display: flex; align-items: center; cursor: pointer; background: none; border: none; padding: 0; }
.btn-signin {
  font-size: 13px; font-weight: 700; color: #FFFFFF; background: var(--navy);
  padding: 9px 18px; border-radius: 20px; text-decoration: none; white-space: nowrap;
}
.btn-signin:hover { background: var(--navy-2); }
.back-link { font-size: 13px; color: var(--sub); font-weight: 600; text-decoration: none; }

/* ---------- Search panel ---------- */
.search-panel { background: var(--surface); border-bottom: 1px solid var(--border); padding: 14px 0; display: none; }
.search-panel.open { display: block; }
.search-panel .inner { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.search-input {
  width: 100%; max-width: 420px; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 14px; font-family: var(--sans); color: var(--ink); background: var(--bg);
}
.search-results { max-width: 420px; margin-top: 8px; }
.search-results a {
  display: block; padding: 10px 12px; text-decoration: none; border-radius: 8px;
}
.search-results a:hover { background: var(--bg); }
.search-results .r-cat { font-size: 10.5px; font-weight: 700; color: var(--sub); margin-bottom: 3px; }
.search-results .r-head { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.search-results .r-none { font-size: 13px; color: var(--muted); padding: 10px 12px; }

/* ---------- News ticker bar ---------- */
@keyframes tv-ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes tv-promo-in { 0% { transform: translateY(16px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }

.newsbar {
  background: var(--navy); display: flex; align-items: stretch;
  border-bottom: 1px solid var(--navy-2); position: sticky; top: 0; z-index: 150;
}
.ticker-viewport { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; padding: 9px 0; }
.ticker-track { display: inline-flex; animation: tv-ticker 34s linear infinite; }
.tick {
  display: inline-flex; align-items: center; font-size: 12.5px;
  color: rgba(255,255,255,.92); padding: 0 26px; font-weight: 500;
}
.tick .dot { color: rgba(255,255,255,.4); margin-right: 10px; }
.newsbar-inds { flex: none; display: flex; align-items: center; gap: 20px; padding: 0 24px; border-left: 1px solid var(--navy-2); }
.nb-ind { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.nb-ind .lbl { font-size: 11px; color: rgba(255,255,255,.55); font-weight: 600; }
.nb-ind .val { font-size: 12.5px; color: #FFFFFF; font-weight: 700; }
.nb-ind .dlt { font-size: 11px; font-weight: 700; }

/* ---------- Status badges ---------- */
.badge {
  display: inline-flex; align-items: center; padding: 5px 12px;
  border-radius: 20px; font-size: 12px; font-weight: 700;
}
.badge.sm { padding: 3px 10px; font-size: 11px; }
.badge.sq { border-radius: 3px; padding: 4px 10px; }
.st-confirmed { background: #E1F5EE; color: #04342C; }
.st-disputed { background: #FAEEDA; color: #412402; }
.st-developing { background: #E6F1FB; color: #042C53; }
.st-unverified { background: #F1EFE8; color: #444441; }

.info-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--muted);
  color: var(--muted); font-size: 10px; font-style: italic; font-family: Georgia, serif;
  cursor: pointer; flex: none; background: none; padding: 0;
}
.info-dot.sm { width: 14px; height: 14px; font-size: 9px; }

/* ---------- Heat labels (public face of private view tracking) ---------- */
.heat {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700;
  white-space: nowrap;
}
.heat.trending { background: #FDEBD7; color: #8A3B12; }
.heat.popular { background: #E6F1FB; color: #042C53; }

/* ---------- Publish/update timestamps ---------- */
.pub-line { font-size: 12px; color: var(--muted); margin: 2px 0 14px; }
.pub-line b { color: var(--sub); font-weight: 600; }

/* ---------- Ad slots ---------- */
.ad-slot { width: 100%; position: relative; display: block; }
.ad-leaderboard { height: 90px; }
.ad-rectangle { height: 250px; }
.ad-skyscraper { width: 160px; height: 600px; }
.ad-infeed { height: 100%; min-height: 220px; }
.ad-inner {
  width: 100%; height: 100%; border: 1px dashed #C7C2B2;
  background: repeating-linear-gradient(135deg, #EDE7D8, #EDE7D8 10px, #E4DDCB 10px, #E4DDCB 20px);
  border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.ad-label { font-size: 10px; font-weight: 700; letter-spacing: .6px; color: #A39F91; text-transform: uppercase; }
.ad-dims { font-size: 11px; color: #C7C2B2; font-family: 'Courier New', monospace; }

/* ---------- Homepage ---------- */
.page { max-width: 1240px; margin: 0 auto; padding: 44px 48px 0; }
.page-mb { margin-bottom: 36px; }

.eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.eyebrow .pip { width: 7px; height: 7px; background: var(--navy); border-radius: 50%; display: inline-block; }
.eyebrow .txt { font-size: 12px; font-weight: 700; color: var(--navy); letter-spacing: .3px; }

.meta-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.meta-updated { font-size: 12px; color: var(--sub); }
.meta-cat { font-size: 12px; color: var(--muted); }

.info-panel {
  background: var(--surface); border-radius: 10px; padding: 14px 18px;
  font-size: 13px; line-height: 1.6; color: var(--ink); margin-bottom: 16px; max-width: 640px; display: none;
}
.info-panel.open { display: block; }
.info-panel b { color: var(--navy); }

.hero-headline {
  font-family: var(--serif); font-weight: 700; font-size: 42px; line-height: 1.16;
  color: var(--navy); margin: 0 0 28px; max-width: 900px;
}
.hero-figure { margin-bottom: 36px; }
.hero-img { width: 100%; height: 420px; display: block; object-fit: cover; border-radius: 16px; background: var(--divider); }
.hero-caption { display: flex; align-items: center; gap: 8px; padding: 12px 2px 0; cursor: pointer; }
.hero-caption .cap { font-size: 13px; color: var(--sub); line-height: 1.5; }
.hero-caption .tog { font-size: 11px; color: var(--navy); font-weight: 700; white-space: nowrap; }
.hero-brief {
  background: var(--surface); border-radius: 10px; padding: 16px 18px; margin-top: 10px;
  font-size: 14px; line-height: 1.65; color: var(--ink); max-width: 760px; display: none;
}
.hero-brief.open { display: block; }

.hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; padding-bottom: 40px; }

.sect-label { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.facts-list { margin: 0 0 30px; padding-left: 20px; font-family: var(--serif); font-size: 17px; line-height: 1.75; color: var(--ink); }
.facts-list li { margin-bottom: 10px; }
.facts-list .fn { color: var(--muted); font-size: 13px; text-decoration: none; }
.framing-blend { margin: 0 0 30px; font-family: var(--serif); font-size: 17px; line-height: 1.75; color: var(--ink); }

.bs-item { padding: 16px 0; border-top: 1px solid #E4DDCB; }
.bs-cat { font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.bs-head { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.bs-chips { display: flex; gap: 8px; }
.chip {
  cursor: pointer; font-size: 11px; font-weight: 700; padding: 5px 12px;
  border-radius: 20px; color: var(--sub); background: #F6F2E8; border: none; font-family: var(--sans);
}
.chip.open { color: var(--navy); background: #EFE9DA; }
.bs-detail { font-size: 13px; line-height: 1.55; color: var(--ink); padding-top: 12px; margin-top: 12px; display: none; }
.bs-detail.open { display: block; }
.bs-detail b { font-weight: 700; color: var(--navy); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #FFFFFF;
  font-size: 13px; font-weight: 700; padding: 13px 22px; border-radius: 24px;
  text-decoration: none; border: none; cursor: pointer; font-family: var(--sans);
}
.btn-primary:hover { background: var(--navy-2); }

.coverage-card { background: var(--surface); border-radius: 14px; padding: 26px; }
.coverage-card .title { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.coverage-card .sub { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.src-row { padding: 14px 0; border-top: 1px solid var(--divider); }
.src-row.extra { display: none; }
.coverage-card.expanded .src-row.extra { display: block; }
.src-row .outlet { font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.src-row p { margin: 0; font-family: var(--serif); font-size: 14.5px; line-height: 1.6; color: var(--sub); }
.src-toggle { padding-top: 16px; margin-top: 4px; border-top: 1px solid var(--divider); cursor: pointer; }
.src-toggle span { font-size: 12.5px; font-weight: 700; color: var(--navy); }

.econ-panel {
  background: var(--surface); border-radius: 14px; padding: 26px 30px; margin-bottom: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.econ-panel .title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.econ-panel .sub { font-size: 12px; color: var(--muted); }
.econ-inds { display: flex; gap: 36px; flex-wrap: wrap; }
.econ-ind .lbl { font-size: 11px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.econ-ind .row { display: flex; align-items: baseline; gap: 8px; }
.econ-ind .val { font-size: 19px; font-weight: 700; color: var(--navy); }
.econ-ind .dlt { font-size: 12px; font-weight: 700; }
.econ-link { font-size: 13px; font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; }

.more-label { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.stories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 52px; }

.story-card { background: var(--surface); border-radius: 14px; overflow: hidden; }
.story-card > a { text-decoration: none; color: inherit; display: block; }
.story-card .thumb { width: 100%; height: 150px; display: block; object-fit: cover; background: var(--divider); }
.story-card .body { padding: 18px 20px 0; }
.story-card .badges { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.story-card .cat { font-size: 11px; font-weight: 700; color: var(--sub); margin-bottom: 8px; }
.story-card .head { font-family: var(--serif); font-size: 18px; line-height: 1.35; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.story-card .summary {
  font-size: 13.5px; line-height: 1.55; color: var(--sub); margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.story-card .updated { font-size: 11px; color: var(--muted); padding-bottom: 18px; }
.story-card .card-info { background: var(--bg); padding: 12px 20px; font-size: 12px; line-height: 1.55; color: var(--ink); display: none; }
.story-card .card-info.open { display: block; }
.story-card .card-info b { color: var(--navy); }
.ad-card { background: var(--surface); border-radius: 14px; padding: 20px; display: flex; align-items: center; justify-content: center; min-height: 220px; }

/* ---------- Promo popup ---------- */
.promo-pop {
  position: fixed; right: 24px; bottom: 24px; width: 340px; max-width: calc(100vw - 48px);
  background: var(--navy); border-radius: 16px; padding: 22px 22px 20px;
  box-shadow: 0 18px 40px rgba(12,35,64,.35); z-index: 200; animation: tv-promo-in .35s ease-out;
  display: none;
}
.promo-pop.visible { display: block; }
.promo-pop .close { position: absolute; top: 14px; right: 16px; cursor: pointer; color: rgba(255,255,255,.5); font-size: 13px; background: none; border: none; }
.promo-pop .kicker { font-size: 11px; font-weight: 700; color: #F0A868; letter-spacing: .4px; margin-bottom: 8px; }
.promo-pop .head { font-family: var(--serif); font-size: 18px; font-weight: 700; color: #FFFFFF; line-height: 1.3; margin-bottom: 14px; }
.promo-pop input {
  width: 100%; padding: 11px 13px; border: 1px solid rgba(255,255,255,.25); border-radius: 8px;
  font-size: 13px; font-family: var(--sans); color: #FFFFFF; background: rgba(255,255,255,.08); margin-bottom: 10px;
}
.promo-pop input::placeholder { color: rgba(255,255,255,.45); }
.promo-pop .cta {
  display: block; text-align: center; padding: 11px; background: #FFFFFF; color: var(--navy);
  font-size: 13px; font-weight: 700; border-radius: 8px; text-decoration: none;
}

/* ---------- Story page ---------- */
.story-layout { max-width: 760px; margin: 0 auto; }
.story-rail { display: none; }
@media (min-width: 1300px) {
  /* Rail grid only when ad rails are actually filled — otherwise the page
     stays a plain centered column with no reserved gaps. */
  .story-layout:has(.story-rail) {
    max-width: 1360px; padding: 0 24px;
    display: grid; grid-template-columns: 160px minmax(0, 760px) 160px; gap: 28px; justify-content: center;
  }
  .story-layout:has(.story-rail) .story-rail { display: block; position: sticky; top: 130px; height: fit-content; margin-top: 44px; }
}
.story-main { max-width: 760px; margin: 0 auto; padding: 44px 48px 64px; width: 100%; }

.story-info-panel {
  border: 1px solid var(--border); background: var(--surface); padding: 12px 16px;
  font-size: 13px; line-height: 1.6; color: var(--ink); margin-bottom: 16px; display: none;
}
.story-info-panel.open { display: block; }
.story-info-panel b { color: var(--navy); }

.story-headline { font-family: var(--serif); font-weight: 700; font-size: 36px; line-height: 1.22; color: var(--navy); margin: 8px 0 18px; }
.story-dek { font-family: var(--serif); font-size: 20px; line-height: 1.6; color: #3A3935; margin: 0 0 24px; max-width: 700px; }
.story-photo { width: 100%; height: 340px; object-fit: cover; border-radius: 12px; display: block; margin-bottom: 8px; background: var(--divider); }
.photo-credit { font-size: 12px; color: var(--muted); margin-bottom: 28px; }

.rule-heading {
  font-size: 14px; font-weight: 700; color: var(--navy);
  margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.story-body p { margin: 0 0 18px; font-family: var(--serif); font-size: 18px; line-height: 1.8; color: var(--ink); }

.ai-note { border: 1px solid var(--border); background: var(--surface); padding: 18px 20px; margin-bottom: 36px; }
.ai-note p { margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--sub); }
.ai-note a { color: var(--navy); font-weight: 700; text-decoration: none; }

.story-facts { margin: 0; padding-left: 20px; font-family: var(--serif); font-size: 18px; line-height: 1.8; color: var(--ink); }
.story-facts li { margin-bottom: 14px; }
.story-facts .fn { color: var(--muted); font-size: 13px; text-decoration: none; }

/* Paywall gate */
.gate-wrap { position: relative; margin-bottom: 40px; }
.gate-blur { filter: blur(5px); opacity: .5; pointer-events: none; user-select: none; }
.gate-blur p { margin: 0 0 14px; font-family: var(--serif); font-size: 17px; line-height: 1.75; color: var(--ink); }
.gate-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-top: 20px; }
.gate-card {
  background: var(--surface); border-radius: 16px; padding: 30px 32px; max-width: 460px; width: 100%;
  box-shadow: 0 12px 32px rgba(12,35,64,.14); text-align: center;
}
.gate-lock { width: 44px; height: 44px; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.gate-title { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.gate-copy { font-size: 13.5px; line-height: 1.6; color: var(--sub); margin: 0 0 22px; }
.gate-plans { display: flex; gap: 10px; margin-bottom: 16px; }
.gate-plan { flex: 1; border: 1px solid var(--border); border-radius: 10px; padding: 14px 10px; position: relative; }
.gate-plan.featured { border-color: var(--navy); }
.gate-plan .save {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  background: var(--rust); color: #FFF; font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 10px; white-space: nowrap;
}
.gate-plan .plan-lbl { font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.gate-plan .plan-price { font-size: 17px; font-weight: 700; color: var(--navy); }
.gate-plan .plan-per { font-size: 11px; font-weight: 600; color: var(--muted); }
.gate-subscribe {
  cursor: pointer; background: var(--navy); color: #FFFFFF; font-size: 13px; font-weight: 700;
  padding: 13px; border-radius: 24px; margin-bottom: 12px; border: none; width: 100%; font-family: var(--sans);
}
.gate-subscribe:hover { background: var(--navy-2); }
.gate-free { font-size: 12.5px; color: var(--navy); font-weight: 700; text-decoration: none; }

.sub-banner {
  background: #E1F5EE; color: #04342C; border-radius: 10px; padding: 14px 18px;
  font-size: 13px; font-weight: 600; margin-bottom: 24px;
}

.framing-block { margin-bottom: 26px; }
.framing-block:last-child { margin-bottom: 0; }
.framing-block .side-lbl { font-size: 12px; font-weight: 700; color: var(--sub); margin-bottom: 8px; }
.framing-block p { margin: 0; font-family: var(--serif); font-size: 17px; line-height: 1.75; color: var(--ink); }
.framing-block .outlets { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

.sources-list { margin: 0; padding-left: 20px; font-size: 14px; line-height: 2; color: var(--ink); }
.sources-list a { color: var(--navy); text-decoration: none; font-weight: 600; }
.sources-list .desc { color: var(--muted); }

.related-list { display: flex; flex-direction: column; border: 1px solid var(--border); }
.related-list a { display: block; padding: 16px 18px; text-decoration: none; color: inherit; border-bottom: 1px solid var(--border); }
.related-list a:last-child { border-bottom: none; }
.related-list a:hover { background: var(--surface); }
.related-list .r-cat { font-size: 11px; font-weight: 700; color: var(--sub); margin-bottom: 6px; }
.related-list .r-head { font-size: 15px; font-weight: 700; color: var(--navy); }

.report-link { font-size: 13px; font-weight: 700; color: var(--navy); text-decoration: none; }

/* ---------- Category page ---------- */
.cat-title { font-family: var(--serif); font-weight: 700; font-size: 34px; color: var(--navy); margin: 0 0 8px; }
.cat-sub { font-size: 14px; color: var(--sub); margin: 0 0 28px; }

.featured-card {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; text-decoration: none; color: inherit;
  background: var(--surface); border-radius: 16px; overflow: hidden; margin-bottom: 36px;
}
.featured-card img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; background: var(--divider); }
.featured-card .body { padding: 26px 30px 26px 0; display: flex; flex-direction: column; justify-content: center; }
.featured-card .badges { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.featured-card .top-tag { font-size: 11px; font-weight: 700; color: var(--rust); letter-spacing: .3px; }
.featured-card .head { font-family: var(--serif); font-size: 26px; line-height: 1.3; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.featured-card .summary { font-size: 14.5px; line-height: 1.65; color: var(--sub); margin-bottom: 14px; }
.featured-card .updated { font-size: 11px; color: var(--muted); }

.cat-grid-label { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 18px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 20px; }
.cat-card { background: var(--surface); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; display: block; }
.cat-card .thumb { width: 100%; height: 140px; display: block; object-fit: cover; background: var(--divider); }
.cat-card .body { padding: 18px 20px; }
.cat-card .badges { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.cat-card .cat { font-size: 11px; font-weight: 700; color: var(--sub); margin-bottom: 8px; }
.cat-card .head { font-family: var(--serif); font-size: 17px; line-height: 1.35; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.cat-card .summary {
  font-size: 13.5px; line-height: 1.6; color: var(--sub); margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cat-card .updated { font-size: 11px; color: var(--muted); }
.no-results { border: 1px solid var(--border); background: var(--surface); padding: 32px; text-align: center; color: var(--sub); font-size: 14px; }

/* ---------- Methodology ---------- */
.method-main { max-width: 760px; margin: 0 auto; padding: 52px 48px 64px; }
.method-kicker { font-size: 12px; font-weight: 700; color: var(--sub); letter-spacing: .3px; margin-bottom: 12px; }
.method-title { font-family: var(--serif); font-weight: 700; font-size: 36px; line-height: 1.2; color: var(--navy); margin: 0 0 24px; }
.method-lede { font-family: var(--serif); font-size: 18px; line-height: 1.8; color: var(--ink); margin: 0 0 40px; }
.method-section { margin-bottom: 44px; }
.method-section .rule-heading { font-size: 13px; }
.method-section p { font-family: var(--serif); font-size: 17px; line-height: 1.8; color: var(--ink); margin: 0 0 16px; }
.method-section p:last-child { margin-bottom: 0; }
.status-row { display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start; }
.status-row .badge { margin-top: 2px; flex: none; }
.status-row p { margin: 0; font-family: var(--serif); font-size: 16px; line-height: 1.7; color: var(--ink); }

/* ---------- Auth pages ---------- */
.auth-main { max-width: 440px; margin: 0 auto; padding: 72px 48px 90px; }
.auth-main.wide { max-width: 640px; padding: 64px 48px 90px; }
.auth-kicker { font-size: 12px; font-weight: 700; color: var(--rust); letter-spacing: .3px; margin-bottom: 12px; }
.auth-title { font-family: var(--serif); font-weight: 700; font-size: 30px; line-height: 1.2; color: var(--navy); margin: 0 0 28px; }
.auth-main.wide .auth-title { font-size: 34px; margin-bottom: 12px; }
.auth-lede { font-size: 15px; line-height: 1.6; color: var(--sub); margin: 0 0 32px; max-width: 480px; }
.auth-card { background: var(--surface); border-radius: 16px; padding: 30px 32px; }
.field-label { display: block; font-size: 12px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.field-label .opt { color: var(--muted); font-weight: 400; }
.field-input {
  width: 100%; padding: 13px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; font-family: var(--sans); color: var(--ink); background: var(--bg);
}
.field-input.error { border-color: #C0432A; }
.field-error { font-size: 12px; color: var(--rust); margin-top: 6px; display: none; }
.field-error.show { display: block; }
.forgot-row { text-align: right; margin-top: 10px; }
.forgot-row span { font-size: 12px; color: var(--navy); font-weight: 600; cursor: pointer; }
.btn-submit {
  width: 100%; padding: 15px; border: none; border-radius: 10px; font-size: 14px; font-weight: 700;
  font-family: var(--sans); color: #FFFFFF; background: var(--navy); cursor: pointer; margin-top: 22px;
}
.btn-submit:hover { background: var(--navy-2); }
.btn-submit:disabled { background: #B7C1D1; cursor: not-allowed; }
.auth-alt { text-align: center; margin-top: 24px; font-size: 13px; color: var(--sub); }
.auth-alt a { color: var(--navy); font-weight: 700; text-decoration: none; }

.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.topic-chip {
  cursor: pointer; font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 20px;
  color: var(--sub); background: var(--divider); border: none; font-family: var(--sans);
}
.topic-chip.on { color: #FFFFFF; background: var(--navy); }
.field-hint { font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.freq-row { display: flex; gap: 8px; margin-bottom: 28px; }
.freq-opt {
  cursor: pointer; flex: 1; text-align: center; font-size: 13px; font-weight: 700; padding: 12px 0;
  border-radius: 8px; color: var(--navy); background: var(--surface); border: 1px solid var(--border); font-family: var(--sans);
}
.freq-opt.on { color: #FFFFFF; background: var(--navy); border-color: var(--navy); }
.sub-note { font-size: 11px; color: var(--muted); text-align: center; margin-top: 12px; }

.success-block { text-align: center; padding: 20px 0 10px; }
.success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.success-title { font-family: var(--serif); font-weight: 700; font-size: 28px; color: var(--navy); margin: 0 0 12px; }
.success-copy { font-size: 15px; line-height: 1.6; color: var(--sub); margin: 0 0 32px; }
.prefs-card { background: var(--surface); border-radius: 14px; padding: 22px 26px; text-align: left; margin-bottom: 28px; }
.prefs-card .title { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .3px; margin-bottom: 14px; }
.pref-row { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--divider); }
.pref-row .k { font-size: 13px; color: var(--sub); }
.pref-row .v { font-size: 13px; font-weight: 700; color: var(--navy); text-align: right; max-width: 320px; }
.edit-prefs { font-size: 13px; font-weight: 700; color: var(--navy); cursor: pointer; display: inline-block; background: none; border: none; font-family: var(--sans); }
.return-link { font-size: 13px; color: var(--sub); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); }
.site-footer .inner { max-width: 1240px; margin: 0 auto; padding: 36px 48px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-bottom: 28px; }
.footer-col .title { font-size: 12px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.footer-col .links { display: flex; flex-direction: column; gap: 9px; }
.footer-col .links a, .footer-col .links span { font-size: 13px; color: var(--sub); text-decoration: none; }
.footer-col .links a:hover { color: var(--navy); }
.footer-col .links a.active { font-weight: 700; }
.footer-note { border-top: 1px solid var(--border); padding-top: 16px; font-size: 12px; color: var(--muted); }

/* ---------- Responsive fallbacks ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stories-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-card { grid-template-columns: 1fr; }
  .featured-card .body { padding: 24px 26px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .site-header .inner, .page, .search-panel .inner, .site-footer .inner { padding-left: 20px; padding-right: 20px; }
  .story-main, .method-main, .auth-main { padding-left: 20px; padding-right: 20px; }
  .main-nav { display: none; }
  .stories-grid, .cat-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 30px; }
  .hero-img { height: 240px; }
  .newsbar-inds { display: none; }
}
