/* topic-static.css — layout shell for the STATIC /topics/{slug} pages.
   The component look comes from site.css (.lens / .md-*); this only supplies the
   reading-measure widths the React app set inline, plus a few static-only bits. */

.ts-measure { margin-left: auto; margin-right: auto; }
.ts-read { max-width: 720px; }
.ts-wide { max-width: 920px; }

/* hero art is a background div here (the app uses a JS canvas collage).
   FULL content width + wide-banner height to match the home lead (override site.css's 920/440). */
.shero { position: relative; border-radius: 18px; overflow: hidden; max-width: none; margin: 6px 0 0;
  min-height: 400px; display: flex; align-items: flex-end; }
.shero-art { position: absolute; inset: 0; }
.shero-content { position: relative; padding: 30px 34px; z-index: 2; width: 100%; }
.shero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.62)); z-index: 1; }
/* meta line — lowercase, dot-separated, per the guidelines' Voice rule (not an uppercase eyebrow) */
.shero-kicker { color: rgba(255,255,255,.85); font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: lowercase; margin-bottom: 10px; }
/* short wire-style headline — bold but not overwhelming */
.shero-title { color: #fff; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.06; letter-spacing: -0.05em; margin: 0; max-width: 22ch; text-shadow: 0 2px 24px rgba(0,0,0,.3); }
/* the editorial hook, smaller, under the headline */
.shero-dek { color: rgba(255,255,255,.92); font-size: clamp(15px, 1.7vw, 20px); line-height: 1.34; font-weight: 500; margin: 12px 0 0; max-width: 56ch; text-shadow: 0 2px 18px rgba(0,0,0,.4); }

/* favicon row in framing columns */
.sfavrow { display: inline-flex; align-items: center; gap: 6px; }

/* engagement chip on framing take-rows */
.ltake-eng { color: var(--text-muted); font-size: 11px; margin-left: auto; white-space: nowrap; font-variant-numeric: tabular-nums; }

.ts-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border-subtle); margin-top: 26px; padding: 18px 0 56px; }

/* nav links (the app uses <button>; static uses <a> — match the look) */
.mast nav { display: inline-flex; gap: 18px; margin-left: 22px; }
.mast nav a { color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 500; }
.mast nav a:hover { color: var(--text-primary); }
.mast .left { display: flex; align-items: center; }

/* source favicon row under the standfirst (parity with the app story page) */
.srcrow { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 16px; }
.srcrow .sfav { margin: 0; }

/* topics index */
.wrap > h1 { font-size: 28px; margin: 28px 0 16px; }
.wrap > ul { line-height: 2; }
.wrap > ul a { color: var(--text-primary); }

/* ---- mobile: a lot of share traffic is phones; stack the 3 framing columns ---- */
@media (max-width: 760px) {
  .lenses { grid-template-columns: 1fr; }
  .lenses .lens + .lens { border-left: none; border-top: 1px solid var(--border-hairline); }
  .lenses.bare .lens + .lens { border-left: none; padding-left: 0; }
  .shero { min-height: 320px; }
  .shero-content { padding: 20px; }
  .shero-title { font-size: clamp(26px, 8vw, 38px); }
  .ts-wide, .ts-read { max-width: 100%; }
}
