/* 120Hertz. Layout idea: navy masthead, rainbow rule, color coded sections, river of cards. */
:root {
  --navy: #0C203B;
  --blue: #0072CE;
  --coral: #FF5A36;
  --lime: #74D12A;
  --sky: #5BB0F5;
  --ground: #F8FAFC;
  --card: #FFFFFF;
  --ink: #0C203B;
  --ink-2: #2B3648;
  --muted: #4A5668;
  --line: #D5DEEA;
  --rainbow: linear-gradient(90deg, #0072CE 0%, #FF5A36 50%, #74D12A 100%);
  --display: Archivo, "Arial Black", system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.wrap { max-width: 1360px; margin: 0 auto; padding-inline: 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--coral); color: var(--navy); padding: 12px 16px; font-weight: 600; z-index: 10; }
.skip:focus { left: 0; }
.rainbow { height: 6px; background: var(--rainbow); }

/* Masthead */
.top { background: var(--navy); color: var(--ground); }
.top-row { display: flex; flex-wrap: wrap; gap: 12px 16px; justify-content: space-between; align-items: center; padding-block: 12px; max-width: none; padding-inline: 24px; }
.sections-row, .subnav-row, .mega-grid { max-width: none; padding-inline: 24px; }
.logo { display: block; line-height: 0; }
.logo img { height: 64px; width: auto; }
.top-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.langs { display: flex; gap: 4px; background: #1B3355; padding: 4px; border-radius: 999px; }
.langs a { min-width: 52px; min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 0 10px; border-radius: 999px; opacity: .65; transition: opacity .32s var(--ease), transform .32s var(--ease); }
.langs a:hover { opacity: 1; transform: translateY(-1px); }
.langs a.on { background: var(--ground); opacity: 1; }
.flag { display: block; width: 30px; height: 20px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(12, 32, 59, .25); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; font: 600 15px var(--body); cursor: pointer; transition: transform .32s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-coral { background: var(--coral); color: var(--navy); }
.btn-lime { background: var(--lime); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--ground); }

/* Ticker */
.ticker { background: var(--coral); color: var(--navy); display: flex; align-items: stretch; overflow: hidden; }
.ticker-label { flex: none; display: flex; align-items: center; background: var(--navy); color: var(--ground); font: 900 13px var(--display); text-transform: uppercase; letter-spacing: 1px; padding: 0 16px; }
.ticker-window { flex: 1 1 0; min-width: 0; overflow: hidden; }
.ticker-track { will-change: transform; backface-visibility: hidden; -webkit-font-smoothing: antialiased; display: flex; gap: 48px; width: max-content; padding: 12px 24px; font-size: 14px; font-weight: 600; white-space: nowrap; animation: tick 48s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-track a:hover { text-decoration: underline; }
@keyframes tick { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* Section tabs */
.sections { background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.sections-row { display: flex; gap: 6px; padding-block: 12px; overflow-x: auto; scrollbar-width: thin; }
.tab { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px; border-radius: 999px; border: 2px solid transparent; background: #EEF2F7; font: 700 14px var(--display); white-space: nowrap; transition: transform .32s var(--ease), background .32s var(--ease), box-shadow .32s var(--ease); }
.tab:hover, .tab.on, .tab.open { background: var(--c); color: var(--i); box-shadow: 0 6px 16px rgba(12, 32, 59, .2); }
.tab:hover { transform: translateY(-2px); }

/* Mega menu: subsections of the hovered tab */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--card); border-top: 4px solid var(--c); box-shadow: 0 18px 36px rgba(12, 32, 59, .18); max-height: 70vh; overflow-y: auto; }
.mega[hidden] { display: none; }
.mega-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px 24px; padding-block: 20px 24px; }
.mega-col { display: flex; flex-direction: column; min-width: 0; }
.mega-head { font: 700 16px var(--display); padding: 8px 0; }
.mega-link { font-size: 14px; color: var(--ink-2); padding: 6px 0; }
.mega-head:hover, .mega-link:hover { color: #0062B3; text-decoration: underline; }

/* Subsection chips on section pages */
.subnav { background: var(--card); border-bottom: 1px solid var(--line); }
.subnav-row { display: flex; gap: 8px; padding-block: 10px; overflow-x: auto; scrollbar-width: thin; }
.subnav-row2 { padding-top: 0; }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--line); font-weight: 600; font-size: 14px; transition: background .32s var(--ease), border-color .32s var(--ease); }
.chip:hover, .chip.on { background: var(--c); color: var(--i); border-color: var(--c); }
.chip-sm { min-height: 36px; font-size: 13px; }

/* Layout */
.layout { display: flex; flex-wrap: wrap; gap: 32px; padding-block: 28px 48px; }
.main-col { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

/* Cards */
.card { background: var(--card); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(12, 32, 59, .18); }
.cover { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cover-art { background: var(--c); color: var(--i); display: flex; align-items: flex-start; padding: 16px; font: 900 28px/1 var(--display); letter-spacing: -.5px; background-image: radial-gradient(circle at 85% 80%, rgba(255, 255, 255, .28) 0 22%, transparent 23%), radial-gradient(circle at 85% 80%, transparent 0 30%, rgba(255, 255, 255, .16) 31% 38%, transparent 39%); }
.card-lead .cover { aspect-ratio: 16 / 8; }
/* Stories without an official photo: a slim color band instead of a full cover, so the headline leads. */
.card-mini .cover { aspect-ratio: auto; height: 56px; object-position: 50% 42%; }
.card-lead-art .cover { aspect-ratio: auto; height: 96px; object-position: 50% 42%; }
.story .fig-art .cover { aspect-ratio: 5 / 1; object-position: 78% 50%; }
.card-lead .cover-art { font-size: 52px; padding: 24px; }
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; align-items: flex-start; }
.card-lead .card-body { padding: 24px; gap: 14px; }
.pill { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--c); color: var(--i); font-size: 13px; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-topic { background: #EEF2F7; color: var(--navy); }
.pill:hover { filter: brightness(.94); }
.rail-title a:hover { text-decoration: underline; }
.lead-title { margin: 0; font: 800 clamp(21px, 2.8vw, 30px)/1.16 var(--display); letter-spacing: -.2px; text-wrap: balance; }
.card-title { margin: 0; font: 700 17px/1.28 var(--display); text-wrap: balance; }
.lead-title a:hover, .card-title a:hover { color: var(--blue); }
.dek { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 65ch; }
.byline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; margin-top: auto; }
.byline time { color: var(--muted); }
.face { width: 44px; height: 44px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.face-sm { width: 28px; height: 28px; font-size: 11px; }
img.face { aspect-ratio: 1 / 1; object-fit: cover; background: #FCFAF8; box-shadow: 0 0 0 2px var(--ring, var(--navy)); }
img.face-lg { box-shadow: 0 0 0 3px var(--ring, var(--navy)); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.rule { display: flex; align-items: center; gap: 12px; }
.rule span { font: 900 15px var(--display); text-transform: uppercase; letter-spacing: 1px; }
.rule i { flex: 1 1 0; height: 4px; border-radius: 2px; background: var(--rainbow); }
.empty { background: var(--card); border-radius: 16px; padding: 32px; font-size: 17px; color: var(--ink-2); margin: 0; }
.section-title { margin: 0; align-self: flex-start; background: var(--c); color: var(--i); padding: 8px 20px; border-radius: 999px; font: 900 28px/1.2 var(--display); }

/* Story page */
.story { background: var(--card); border-radius: 16px; padding: clamp(20px, 4vw, 40px); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.story h1 { margin: 0; font: 800 clamp(24px, 3.4vw, 36px)/1.16 var(--display); letter-spacing: -.3px; text-wrap: balance; }
.byline-lg { font-size: 14px; gap: 12px; margin-top: 0; }
.story figure { margin: 0; width: 100%; }
.story figure .cover { border-radius: 12px; }
.story figcaption { font-size: 13px; color: var(--muted); padding-top: 6px; }
.story figcaption a, .prose a, .sources a { color: #0062B3; text-decoration: underline; }
.prose li { margin-bottom: .5em; }
.embed { width: 100%; max-width: 560px; }
.embed-youtube { max-width: 100%; }
.embed-youtube iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }
.embed blockquote { margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; }
.embed blockquote a { color: #0062B3; text-decoration: underline; }
.prose { font-size: 17px; line-height: 1.65; color: var(--ink-2); max-width: 68ch; }
.prose h2 { font: 700 20px/1.25 var(--display); color: var(--ink); margin: 1.4em 0 .4em; }
.prose p { margin: 0 0 1em; }
.prose ul { padding-left: 1.2em; }
.sources { margin: 0; font-size: 15px; }
.note { margin: 0; font-size: 13px; color: var(--muted); }

/* Sidebar */
.box { background: var(--card); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.box-navy { background: var(--navy); color: var(--ground); }
.box-blue { background: var(--blue); color: #FFFFFF; }
.box p { margin: 0; font-size: 14px; }
.eyebrow { margin: 0; font: 900 15px var(--display); text-transform: uppercase; letter-spacing: 1px; }
.news-title { margin: 0; font: 900 22px/1.15 var(--display); }
.video { aspect-ratio: 16 / 9; border-radius: 12px; background: #0A1A33; border: 1px solid rgba(255,255,255,.18); display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; text-decoration: none; }
.video .yt { transition: transform .36s var(--ease); }
.video:hover .yt { transform: scale(1.06); }
.video .soon { color: #F8FAFC; font: 700 16px/1.2 Archivo, Inter, sans-serif; text-align: center; padding: 0 12px; }
.play { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; transition: transform .36s var(--ease); }
.video:hover .play { transform: scale(1.1); }
.crew { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px 18px; }
.crew li { display: flex; gap: 10px; align-items: center; min-width: 0; font-size: 14px; line-height: 1.3; }
.crew small { color: var(--muted); font-size: 13px; }
.crew .face { transition: transform .36s var(--ease); }
.crew li:hover .face { transform: scale(1.08); }
.box form { display: flex; flex-direction: column; gap: 10px; }
.box label { font-size: 13px; font-weight: 600; }
.box input[type="email"] { height: 44px; padding: 0 14px; border: 0; border-radius: 999px; font: 15px var(--body); }
.hp { position: absolute; left: -9999px; }

/* Newsroom page */
.by-name:hover, .crew a:hover strong, .eyebrow a:hover { text-decoration: underline; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.profile { background: var(--card); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 90px; }
.profile:target { box-shadow: 0 0 0 3px var(--coral); }
.profile-head { display: flex; align-items: center; gap: 14px; }
.face-lg { width: 96px; height: 96px; font-size: 26px; }
.profile h2 { margin: 0; font: 900 24px/1.1 var(--display); }
.profile-role { margin: 2px 0 0; font-weight: 600; color: #0062B3; }
.profile p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.profile .profile-short { font-weight: 600; color: var(--ink); }
.profile dl { margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.profile dt { font: 900 12px var(--display); text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-top: 6px; }
.profile dd { margin: 0; color: var(--ink-2); line-height: 1.5; }
.note a { color: #0062B3; text-decoration: underline; }

/* Ad spaces */
.ad-row { padding-top: 20px; }
.ad { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ad-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.house-ad { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 18px 20px; border-radius: 16px; background: var(--navy); color: var(--ground); background-image: linear-gradient(120deg, rgba(0, 114, 206, .55), rgba(255, 90, 54, .35) 60%, rgba(116, 209, 42, .35)); transition: transform .36s var(--ease); }
.house-ad:hover { transform: translateY(-2px); }
.house-ad strong { font: 900 20px/1.2 var(--display); }
.house-ad span { font-size: 14px; }
.ad-top .house-ad { min-height: 90px; }
.ad-side .house-ad { min-height: 250px; }
.ad-feed .house-ad, .ad-article .house-ad { min-height: 120px; }
.ad-article { width: 100%; }

/* Cookie notice */
.cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; max-width: 760px; margin: 0 auto; background: var(--navy); color: var(--ground); border-radius: 16px; padding: 16px 20px; box-shadow: 0 18px 40px rgba(12, 32, 59, .35); display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: 14px; line-height: 1.5; flex: 1 1 320px; }
.cookie a { text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-ghost { background: transparent; color: var(--ground); box-shadow: inset 0 0 0 2px #8A96A8; }

/* Newsletter popup */
.pop { position: fixed; inset: 0; z-index: 40; background: rgba(12, 32, 59, .6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.pop[hidden] { display: none; }
.pop-card { position: relative; width: 100%; max-width: 440px; background: var(--card); border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(12, 32, 59, .4); }
.pop-body { padding: 28px 24px 20px; display: flex; flex-direction: column; gap: 12px; }
.pop-body h2 { margin: 0; font: 900 28px/1.1 var(--display); text-wrap: balance; padding-right: 36px; }
.pop-body p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.pop-body form { display: flex; flex-direction: column; gap: 10px; }
.pop-body label { font-size: 13px; font-weight: 600; }
.pop-body input[type="email"] { height: 48px; padding: 0 16px; border: 2px solid var(--line); border-radius: 999px; font: 16px var(--body); }
.pop-x { position: absolute; top: 14px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #EEF2F7; color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pop-no { align-self: center; min-height: 44px; padding: 0 16px; border: 0; background: none; font: 600 14px var(--body); color: var(--muted); cursor: pointer; text-decoration: underline; }
.pop-fine { text-align: center; font-size: 12px !important; }
.pop-fine a { color: #0062B3; text-decoration: underline; }

/* Footer */
.foot { background: var(--navy); color: #C9D3E0; font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; padding-block: 28px; }
.foot img { height: 52px; width: auto; }
.foot p { margin: 8px 0 0; }
.foot-tag { color: var(--ground); font-weight: 600; }
.foot-about { max-width: 520px; line-height: 1.5; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot nav a { color: var(--ground); padding: 12px 0; }
.foot nav a:hover { text-decoration: underline; }

/* Featured carousel */
.carousel { position: relative; }
.car-track { display: flex; overflow-x: auto; transition: opacity .35s var(--ease); scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 20px; }
.car-track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; min-width: 0; scroll-snap-align: start; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; background-color: var(--c); color: var(--i); background-image: radial-gradient(circle at 88% 22%, rgba(255, 255, 255, .30) 0 16%, transparent 17%), radial-gradient(circle at 88% 22%, transparent 0 22%, rgba(255, 255, 255, .16) 23% 29%, transparent 30%), radial-gradient(circle at 70% 110%, rgba(12, 32, 59, .18) 0 30%, transparent 31%); }
.slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 7s linear; will-change: transform; }
.slide.live > img { transform: scale(1.07); }
.motion .slide .slide-body { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease) .15s, transform .7s var(--ease) .15s; }
.motion .slide.live .slide-body { opacity: 1; transform: none; }
.car-track.fading { opacity: 0; }
.slide img.face { position: static; inset: auto; width: 28px; height: 28px; max-width: 28px; flex: none; }
.slide > img[src*="/assets/covers/"] { opacity: .45; }
.slide:has(> img[src*="/assets/covers/"]) { background: #0A1A33; }
.slide.has-img { color: #FFFFFF; }
.slide.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 32, 59, .1) 0%, rgba(12, 32, 59, .9) 78%); }
.slide-body { position: relative; z-index: 1; padding: clamp(20px, 4vw, 40px); padding-bottom: 76px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; max-width: 760px; }
.pill-navy { background: var(--navy); color: #FFFFFF; }
.slide-title { margin: 0; font: 800 clamp(21px, 3vw, 34px)/1.16 var(--display); letter-spacing: -.3px; text-wrap: balance; }
.slide-title a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.slide-dek { margin: 0; font-size: 15px; line-height: 1.5; max-width: 60ch; }
.slide .byline time { color: inherit; opacity: .85; }
.car-ui { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding-inline: clamp(20px, 4vw, 40px); pointer-events: none; }
.car-btn { pointer-events: auto; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--navy); color: #FFFFFF; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .32s var(--ease); }
.car-btn:hover { transform: scale(1.1); }
.car-dots { display: flex; gap: 8px; }
.car-dots i { width: 10px; height: 10px; border-radius: 999px; background: rgba(12, 32, 59, .35); transition: width .45s var(--ease), background .45s var(--ease); }
.car-dots i.on { width: 32px; background: var(--navy); }
.slide.has-img ~ .car-ui .car-dots i { background: rgba(255, 255, 255, .5); }

/* Section rails */
.rail-wrap { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rail-title { margin: 0; background: var(--c); color: var(--i); padding: 6px 16px; border-radius: 999px; font: 800 16px/1.3 var(--display); }
.rail-all { font-weight: 600; font-size: 14px; color: #0062B3; padding: 12px 0; }
.rail-all:hover { text-decoration: underline; }
.rail { scroll-behavior: smooth; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding: 6px 2px 14px; scrollbar-width: thin; }
.rail .card { flex: 0 0 min(280px, 78vw); scroll-snap-align: start; }

@media (max-width: 480px) {
  .top-row, .sections-row, .subnav-row, .mega-grid { padding-inline: 16px; }
  .slide { min-height: 460px; }
  .logo img { height: 48px; }
  .crew { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .card, .btn, .tab, .play, .crew .face, .car-btn, .car-dots i { transition: none; }
}

/* River: stories as rows, not boxes. Photo on the left, headline and opening lines on the right. */
.river { display: flex; flex-direction: column; }
.post { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.post:first-child { padding-top: 4px; }
.post.no-img { grid-template-columns: minmax(0, 1fr); }
.post-img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: #E8EDF3; }
.post-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; align-items: flex-start; }
.post-title { margin: 0; font: 800 clamp(19px, 2.1vw, 24px)/1.2 var(--display); letter-spacing: -.2px; text-wrap: balance; }
.post-title a:hover, .brief-title a:hover { color: var(--blue); }
.post .byline { margin-top: 0; }
.post-dek { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.post-dek strong { color: var(--ink); font-weight: 600; }
.post-more { font-weight: 700; font-size: 14px; color: #0062B3; padding: 4px 0; }
.post-more:hover { text-decoration: underline; }
.post-lead { grid-template-columns: minmax(0, 52%) minmax(0, 1fr); }
.post-lead .post-title { font-size: clamp(22px, 2.8vw, 32px); line-height: 1.14; }
.post-lead.no-img { grid-template-columns: minmax(0, 1fr); }
.post .pill-topic:nth-of-type(n+3) { display: none; }
/* Section lists: headline on the left, small photo on the right. */
.briefs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); column-gap: 36px; }
.brief { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 14px 0 14px 14px; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; }
.brief:hover { border-left-color: var(--blue); }
.brief-body { min-width: 0; }
.brief-title { margin: 0 0 6px; font: 700 16px/1.3 var(--display); text-wrap: balance; }
.brief-meta { margin: 0; font-size: 13px; color: var(--muted); }
.brief-meta strong { color: var(--ink); }
.brief-img { flex: 0 0 116px; }
.brief-img img { display: block; width: 116px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; background: #E8EDF3; }
@media (max-width: 640px) {
  .post, .post-lead { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px 0; }
  .brief-img, .brief-img img { flex-basis: 96px; width: 96px; }
}

/* Home: full width sections, like a newspaper front page. */
.home { display: flex; flex-direction: column; gap: 36px; padding-block: 24px 56px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: 28px; align-items: stretch; }
.hero .carousel { min-width: 0; }
.tops { display: flex; flex-direction: column; min-width: 0; }
.tops-title { margin: 0 0 4px; font: 900 22px/1.2 var(--display); color: var(--blue); }
.tops-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; flex: 1 1 auto; }
.top-item { display: grid; grid-template-columns: 28px minmax(0, 1fr) 96px; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); flex: 1 1 0; }
.top-item:last-child { border-bottom: 0; }
.top-n { width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #FFFFFF; font: 800 13px/26px var(--display); text-align: center; align-self: start; margin-top: 2px; }
.top-kicker { font-size: 12px; font-weight: 700; color: #0062B3; text-transform: uppercase; letter-spacing: .5px; }
.top-title { margin: 2px 0 4px; font: 700 16px/1.28 var(--display); text-wrap: balance; }
.top-title a:hover, .tile-title a:hover, .sec-title a:hover { color: var(--blue); }
.top-img img { display: block; width: 96px; height: 96px; object-fit: cover; border-radius: 10px; background: #E8EDF3; }
.band { border-block: 1px solid var(--line); padding-block: 18px; }
.home-sec { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.sec-head { display: flex; align-items: center; gap: 16px; }
.sec-title { margin: 0; font: 900 clamp(24px, 3vw, 34px)/1.1 var(--display); letter-spacing: -.5px; }
.sec-head i { flex: 1 1 0; height: 4px; border-radius: 2px; background: var(--rainbow); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: 40px; align-items: start; }
.split .side { flex: none; }
.expand { align-self: center; margin-top: 22px; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; background: none; border: 0; cursor: pointer; font: 800 13px var(--display); text-transform: uppercase; letter-spacing: 1px; color: var(--ink); padding: 8px 20px; }
.expand-plus { font: 300 44px/1 var(--body); color: var(--blue); transition: transform .36s var(--ease); }
.expand:hover .expand-plus { transform: scale(1.15); }
.river-item[hidden] { display: none; }
.river-item:first-child .post { padding-top: 4px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 28px; }
.tile { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tile-img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; background: #E8EDF3; }
.tile-title { margin: 0; font: 700 17px/1.28 var(--display); text-wrap: balance; }
.sec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); gap: 28px 40px; }
.sec-col { display: flex; flex-direction: column; min-width: 0; }
.sec-col .rail-title { align-self: flex-start; margin-bottom: 4px; }
.sec-col .brief { padding-left: 0; border-left: 0; }
.video-band { background: var(--navy); color: var(--ground); border-radius: 20px; padding: 28px clamp(20px, 4vw, 40px); }
.video-band-in { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.video-band-in > div { flex: 1 1 240px; }
.video-band-title { margin: 0; font: 900 28px/1.1 var(--display); }
.video-band p { margin: 4px 0 0; font-size: 16px; opacity: .9; }
@media (max-width: 900px) {
  .hero, .split { grid-template-columns: minmax(0, 1fr); }
}
.hero .carousel { display: flex; flex-direction: column; }
.hero .car-track { flex: 1 1 auto; }
.hero .slide { min-height: 460px; }

/* Tech Finance */
.fin { margin: 0 0 28px; }
.fin-lede { font-size: 17px; color: var(--ink-2); margin: 0 0 14px; max-width: 70ch; }
.fin-h { font-family: var(--display); font-weight: 800; font-size: 24px; margin: 32px 0 12px; padding-bottom: 8px; border-bottom: 3px solid var(--navy); }
.fin-tv { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.fin-split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.fin-calc { background: var(--navy); color: #fff; border-radius: 14px; padding: 20px; display: grid; gap: 12px; }
.fin-calc h3 { font-family: var(--display); font-weight: 800; font-size: 20px; margin: 0; }
.fin-calc label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: #B9C7DA; }
.fin-calc input, .fin-calc select { font: inherit; font-size: 18px; font-weight: 700; color: var(--navy); background: #fff; border: 0; border-radius: 10px; padding: 10px 12px; width: 100%; }
.fin-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: end; }
.fin-swap { font-size: 20px; line-height: 1; background: var(--coral); color: var(--navy); border: 0; border-radius: 999px; width: 44px; height: 44px; cursor: pointer; }
.fin-out { font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1.15; color: var(--lime); overflow-wrap: anywhere; }
.fin-rate, .fin-note { margin: 0; font-size: 13px; color: #B9C7DA; }
.fin-legal { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
@media (max-width: 860px) { .fin-split { grid-template-columns: 1fr; } }
.tab-ico { margin-right: 6px; flex: none; }
.fin-home .fin-tv { margin-bottom: 14px; }
.fin-minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { .fin-minis { grid-template-columns: 1fr; } }
.fin-topic { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.fin-topic-news { grid-template-columns: minmax(0, 1fr); }
.fin-topic-side { position: sticky; top: 76px; display: grid; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.fin-side-h { font-family: var(--display); font-weight: 800; font-size: 18px; margin: 0; }
.fin-topic-side .fin-tv { border: 0; border-radius: 10px; }
.fin-topic-side .fin-legal { margin: 0; }
.fin-topic-side .fin-legal a { color: var(--blue); font-weight: 700; }
.fin-topic-main .fin-h:first-child { margin-top: 0; }
@media (max-width: 980px) { .fin-topic { grid-template-columns: 1fr; } .fin-topic-side { position: static; order: -1; } }

/* Newsletter exit survey */
.survey { max-width: 680px; margin-inline: auto; padding: 0; overflow: hidden; align-items: stretch; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.survey-head { background: #FFFFFF; padding: 26px 24px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.survey .survey-head img { display: block; width: 260px; max-width: 72%; height: auto; margin: 0 auto; border-radius: 0; }
.survey .survey-kicker { margin: 10px auto 0; max-width: none; width: 100%; text-align: center; color: var(--navy); font: 800 20px var(--display); }
.survey-body { padding: 24px; }
.survey-body h1 { font: 900 28px/1.15 var(--display); margin: 0 0 8px; }
.survey-lede { color: var(--ink-2); margin: 0 0 20px; }
.survey fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.survey legend { font: 800 17px var(--display); margin-bottom: 8px; padding: 0; }
.survey-opt { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 12px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.survey-opt:has(input:checked) { border-color: var(--blue); background: #EAF4FD; }
.survey-opt input { width: 20px; height: 20px; accent-color: var(--blue); flex: none; }
.survey-field { display: grid; gap: 6px; font-weight: 700; margin-bottom: 18px; }
.survey-field textarea, .survey-field input { font: inherit; font-weight: 400; padding: 12px; border: 1px solid var(--line); border-radius: 12px; width: 100%; }
.survey-note { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.survey-note a { color: var(--blue); font-weight: 700; }

/* Fluid motion: one soft easing for everything, gentle reveals on scroll, smooth page changes. */
:root { --ease: cubic-bezier(.22, .8, .24, 1); }
html { scroll-behavior: smooth; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; animation-timing-function: cubic-bezier(.22, .8, .24, 1); }
.reveal-on .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.reveal-on .rv.in { opacity: 1; transform: none; }
.mega-panel:not([hidden]), [data-panel]:not([hidden]) { animation: soft-in .28s var(--ease); }
.pop:not([hidden]) .pop-card, .pop.open .pop-card { animation: soft-up .45s var(--ease); }
@keyframes soft-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes soft-up { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-on .rv, .motion .slide .slide-body { opacity: 1; transform: none; transition: none; }
  .slide > img { transition: none; transform: none; }
  [data-panel]:not([hidden]), .pop .pop-card { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* Section icons next to each section name. The image is used as a mask so the icon takes the right color on every background. */
.sec-ico { flex: none; display: inline-block; width: 22px; height: 22px; margin-right: 7px; vertical-align: -5px; background-color: #1E3FAE; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; transition: background-color .32s var(--ease); }
.tab:hover .sec-ico, .tab.on .sec-ico, .tab.open .sec-ico, .rail-title .sec-ico { background-color: currentColor; }
.rail-title .sec-ico { width: 20px; height: 20px; vertical-align: -4px; }
.sec-ico.solo { width: 32px; height: 16px; margin-right: 7px; vertical-align: -2px; }

/* Newsletter language picker */
.nl-lang { border: 0; margin: 0 0 2px; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.nl-lang legend { font-size: 13px; font-weight: 700; margin-bottom: 6px; padding: 0; }
.nl-lang label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 2px solid currentColor; border-radius: 999px; font-size: 14px; font-weight: 700; cursor: pointer; opacity: .75; }
.nl-lang label:has(input:checked) { opacity: 1; background: rgba(255,255,255,.18); }
.nl-lang input { accent-color: #FF5A36; margin: 0; }
/* Subscription confirmation page */
.thanks-card { max-width: 620px; margin: 40px auto; text-align: center; }
.thanks-logo { width: 260px; max-width: 70%; height: auto; margin: 0 auto 22px; display: block; }
.thanks-check { width: 64px; height: 64px; border-radius: 50%; background: #16873A; color: #fff; display: grid; place-items: center; margin: 0 auto 16px; animation: thanks-pop .5s var(--ease, ease) both; }
@keyframes thanks-pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.thanks-card .prose { margin: 0 auto 22px; }
