/* PressNote Neo Editorial — design system */
:root {
  --header: #0B1220;
  --accent: #C62828;
  --bg: #FFFFFF;
  --section: #F5F7FA;
  --text: #1F2937;
  --headline: #111827;
  --link: #2563EB;
  --border: #E5E7EB;
  --surface: #FFFFFF;
  --muted: #6B7280;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1240px;
  --article-width: 760px;
  --font-display: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --font-body: Inter, system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 0px;
  color-scheme: light;
}

html[data-theme="dark"] {
  --header: #0B1220;
  --accent: #EF4444;
  --bg: #111827;
  --section: #1F2937;
  --text: #E5E7EB;
  --headline: #F9FAFB;
  --link: #60A5FA;
  --border: #374151;
  --surface: #1F2937;
  --muted: #9CA3AF;
  --shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: clamp(15px, 0.92rem + 0.25vw, 17px);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4, .story-card__title, .article-title, .hero-split__title, .brand__name {
  font-family: var(--font-display);
  color: var(--headline);
  line-height: 1.2;
  letter-spacing: -.02em;
}
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--accent); color: #fff; padding: .6rem 1rem; border-radius: 999px;
}
.skip-link:focus { top: 1rem; }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.reading-progress {
  position: fixed; inset: 0 auto auto 0; width: 0; height: 3px; z-index: 100;
  background: linear-gradient(90deg, var(--accent), #ef5350);
}

/* Reveal kept inert — opacity tricks caused section stacking bugs */
.reveal, .reveal.is-animating, .reveal.is-visible { opacity: 1; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 80;
  overflow: visible;
  background: color-mix(in srgb, var(--header) 94%, transparent);
  backdrop-filter: blur(14px);
  color: #F9FAFB;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.utility-bar { border-bottom: 1px solid rgba(255,255,255,.06); font-size: .8rem; color: #9CA3AF; }
.utility-bar__inner, .brand-bar__inner, .mega-nav__inner, .breaking-bar__inner {
  display: flex; align-items: center; gap: 1rem;
}
.utility-bar__inner { justify-content: space-between; min-height: 36px; }
.utility-bar__meta, .utility-bar__actions, .header-social { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }
.live-pill {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .2rem .55rem; border-radius: 999px;
  background: rgba(198,40,40,.15); color: #FCA5A5;
  font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(198,40,40,.45); animation: pulse 1.5s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(198,40,40,.45); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.header-social a {
  width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center;
  color: #E5E7EB; background: rgba(255,255,255,.06);
}
.header-social a:hover { background: var(--accent); color: #fff; }

.brand-bar {
  padding: .75rem 0;
  background: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
}
.brand-bar__inner { justify-content: space-between; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: #111827; flex: none; }
.brand:hover { color: #111827; }
.brand__logo {
  display: block;
  height: 78px;
  width: auto;
  max-width: min(280px, 48vw);
  object-fit: contain;
  background: #fff;
}
.brand--footer .brand__logo { height: 64px; max-width: 240px; background: #fff; border-radius: 6px; padding: .25rem .4rem; }
.brand__mark {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--accent), #9f1d1d); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
}
.brand__name { display: block; font-size: clamp(1.35rem, 1.05rem + 1vw, 1.85rem); font-weight: 700; color: #F9FAFB; line-height: 1.05; }
.brand__tag { display: block; margin-top: .15rem; font-size: .68rem; color: #9CA3AF; font-family: var(--font-body); letter-spacing: .02em; max-width: 220px; line-height: 1.3; }
.brand .brand__text { display: flex; flex-direction: column; justify-content: center; }

.header-ad {
  flex: 1 1 0;
  min-width: 0;
  margin-left: 1rem;
  align-self: center;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  line-height: 0;
  border: 1px solid #E5E7EB;
}
.header-ad img {
  display: block;
  width: 100%;
  height: 96px;
  object-fit: cover;
  object-position: center;
}

.search-form {
  position: relative; flex: 1; max-width: 420px; display: flex; align-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px; padding: .12rem .12rem .12rem 1rem;
}
.search-form input { flex: 1; border: 0; background: transparent; color: #F9FAFB; min-width: 0; padding: .55rem 0; }
.search-form input::placeholder { color: #9CA3AF; }
.search-form input:focus { outline: 0; }
.search-form button {
  width: 40px; height: 40px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: #fff; display: grid; place-items: center;
}
.search-suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .5rem; color: var(--text);
}
.search-suggest a { display: block; padding: .65rem .75rem; border-radius: 10px; color: var(--text); }
.search-suggest a:hover { background: var(--section); color: var(--link); }

.icon-btn, .text-btn, .nav-toggle, .mega-trigger { border: 0; background: transparent; color: #E5E7EB; cursor: pointer; }
.icon-btn { width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; }
.icon-btn:hover, .text-btn:hover { background: rgba(255,255,255,.08); }
.text-btn { padding: .35rem .7rem; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.icon-moon { display: none; }
html[data-theme="dark"] .icon-sun { display: none; }
html[data-theme="dark"] .icon-moon { display: block; }
.nav-toggle { display: none; width: 42px; height: 42px; flex-direction: column; justify-content: center; gap: 5px; padding: 0 10px; }
.nav-toggle span { display: block; height: 2px; background: #111827; border-radius: 2px; }

.mega-nav { position: relative; z-index: 20; border-top: 1px solid rgba(255,255,255,.06); overflow: visible; }
.mega-nav__inner { overflow: visible; }
.mega-nav__list {
  list-style: none; margin: 0; padding: .15rem 0; display: flex; gap: .15rem;
  overflow: visible; flex-wrap: nowrap;
}
.mega-nav__list > li { position: relative; flex: none; }
.mega-nav__list a, .mega-trigger {
  position: relative; display: inline-flex; align-items: center; gap: .3rem;
  padding: .75rem .8rem; font-size: .9rem; font-weight: 600; color: #D1D5DB; white-space: nowrap;
}
.mega-nav__list a::after, .mega-trigger::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .35rem; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.mega-nav__list a.is-active, .mega-nav__list a:hover, .mega-trigger:hover,
.has-mega.is-open > .mega-trigger { color: #fff; }
.mega-nav__list a.is-active::after, .mega-nav__list a:hover::after, .mega-trigger:hover::after,
.has-mega.is-open > .mega-trigger::after, .has-mega:hover > .mega-trigger::after { transform: scaleX(1); }
.mega-panel {
  position: absolute; top: 100%; left: 0; min-width: 260px; z-index: 200;
  display: none; gap: .15rem; padding: .65rem;
  background: #111827; border: 1px solid #1F2937; border-radius: var(--radius); box-shadow: var(--shadow);
  /* bridge so hover doesn't drop across the 0-gap between trigger and panel */
  margin-top: 0;
  padding-top: .65rem;
}
.mega-panel::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -8px;
  height: 8px;
}
.has-mega:hover > .mega-panel,
.has-mega.is-open > .mega-panel,
.mega-panel.is-open {
  display: grid;
}
.mega-panel[hidden] { display: none !important; }
.has-mega:hover > .mega-panel[hidden],
.has-mega.is-open > .mega-panel[hidden] {
  display: grid !important;
}
.mega-panel a { display: block; padding: .6rem .75rem; border-radius: 10px; color: #E5E7EB; white-space: normal; }
.mega-panel a:hover { background: #1F2937; color: #fff; }
.mega-panel a::after { display: none; }
.mega-trigger .caret { transition: transform .2s var(--ease); }
.has-mega.is-open > .mega-trigger .caret,
.has-mega:hover > .mega-trigger .caret { transform: rotate(180deg); }

/* Breaking news bar */
.breaking-bar {
  position: relative;
  z-index: 1;
  background: #FEF2F2;
  border-top: 1px solid #FECACA;
  border-bottom: 1px solid #FECACA;
}
.breaking-bar__inner {
  display: flex;
  min-height: 44px;
  gap: .85rem;
  align-items: center;
}
.breaking-bar__label {
  flex: none; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; padding: .4rem .65rem; border-radius: 8px;
  z-index: 2;
}
.breaking-bar__track {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.breaking-bar__marquee {
  display: flex;
  width: max-content;
  animation: ticker 60s linear infinite;
  will-change: transform;
}
.breaking-bar__track:hover .breaking-bar__marquee { animation-play-state: paused; }
.breaking-bar__group {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  padding-right: 2.25rem;
  flex: none;
}
.breaking-bar__group a {
  color: #7F1D1D;
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
  flex: none;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .breaking-bar__marquee { animation: none; }
}

/* Layout */
main#main-content { padding: 1.25rem 0 3rem; background: var(--bg); overflow-x: hidden; }
.section--alt { background: var(--section); margin: 2rem 0; padding: 1.5rem 0; border-block: 1px solid var(--border); }
.section-head { margin-bottom: 1rem; }
.section-head__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-bottom: .55rem; border-bottom: 1px solid var(--border);
}
.section-head h2 {
  margin: 0; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.85rem);
  display: flex; align-items: center; gap: .65rem;
}
.section-head__accent {
  display: inline-block; width: 4px; height: 1.05em; border-radius: 999px;
  background: var(--accent); flex: none;
}
.eyebrow {
  margin: 0 0 .3rem; font-size: .72rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); font-family: var(--font-body);
}
.section-link { font-size: .9rem; font-weight: 700; color: var(--link); white-space: nowrap; }

/* Split hero */
.hero-split {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1.15rem;
  margin-bottom: 1.5rem; align-items: stretch;
}
.hero-split__lead {
  position: relative; min-height: 460px; height: 100%; border-radius: var(--radius); overflow: hidden;
  background: var(--header); color: #fff; box-shadow: var(--shadow);
}
.hero-split__media { position: absolute; inset: 0; }
.hero-split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .45s var(--ease); }
.hero-split__lead:hover .hero-split__media img.is-loaded { transform: scale(1.04); }
.hero-split__media--empty {
  background: linear-gradient(145deg, #0B1220, #1F2937 50%, #C62828);
}
.hero-split__shade {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11,18,32,.92) 0%, rgba(11,18,32,.35) 55%, rgba(11,18,32,.15) 100%);
}
.hero-split__body {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.6rem;
  max-width: 40rem;
}
.hero-split__kicker {
  display: inline-flex; align-self: flex-start; margin-bottom: .7rem;
  padding: .3rem .6rem; border-radius: 999px; background: var(--accent); color: #fff;
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  font-family: var(--font-body);
}
.hero-split__title { margin: 0 0 .55rem; font-size: clamp(1.7rem, 1.25rem + 1.6vw, 2.65rem); color: #F9FAFB; }
.hero-split__title a { color: #F9FAFB; }
.hero-split__title a:hover { color: #FCA5A5; }
.hero-split__deck { margin: 0 0 .75rem; color: #D1D5DB; font-size: 1.02rem; max-width: 38ch; font-family: var(--font-body); }
.hero-split__meta {
  display: flex; flex-wrap: wrap; gap: .8rem; color: #9CA3AF; font-size: .82rem; font-family: var(--font-body);
}
.hero-split__meta a { color: #93C5FD; font-weight: 700; }

.hero-split__minis {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: .85rem;
  min-height: 460px; height: 100%;
}
.mini-story {
  display: flex; flex-direction: column; min-height: 0; height: 100%;
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.mini-story:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mini-story__media { flex: none; aspect-ratio: 16/10; background: var(--section); overflow: hidden; }
.mini-story__media img { width: 100%; height: 100%; object-fit: cover; }
.mini-story__media--empty { background: linear-gradient(135deg, #0B1220, #C62828); }
.mini-story__body {
  flex: 1; display: flex; flex-direction: column; gap: .35rem;
  padding: .75rem .85rem .9rem; min-height: 0;
}
.mini-story__title {
  margin: 0; font-size: .98rem; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.mini-story__title a { color: var(--headline); }
.mini-story__title a:hover { color: var(--accent); }
.mini-story__meta { margin-top: auto; font-size: .72rem; color: var(--muted); font-family: var(--font-body); }

/* Cards — height:auto by default so flex stacks don't overflow into next sections */
.story-card {
  display: flex; flex-direction: column; gap: 0; min-width: 0; height: auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.secondary-leads > .story-card,
.secondary-strip > .story-card,
.editors-grid > .story-card,
.latest-stream.listing-grid > .story-card,
.listing-grid > .story-card,
.swipe-rail > .story-card {
  height: 100%;
}
.story-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.story-card__media { position: relative; flex: none; aspect-ratio: 16/10; overflow: hidden; background: var(--section); }
.story-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease), filter .45s var(--ease); }
.story-card:hover .story-card__media img.is-loaded { transform: scale(1.04); }
.story-card__media--empty, .story-card__media.is-broken {
  background: linear-gradient(145deg, #0B1220, #1F2937 55%, #C62828);
}
.story-card__fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: rgba(255,255,255,.35);
}
.story-card__media:not(.is-broken):not(.story-card__media--empty) .story-card__fallback { opacity: 0; }
.story-card__body {
  flex: 1; display: flex; flex-direction: column; gap: .4rem;
  padding: .9rem 1rem 1rem; min-width: 0;
}
.story-card__title {
  margin: 0; font-size: 1.12rem; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.story-card__title a { color: var(--headline); }
.story-card__title a:hover { color: var(--accent); }
.story-card__excerpt {
  margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.story-card__meta {
  margin-top: auto; display: flex; justify-content: space-between; gap: .5rem; align-items: center;
  color: var(--muted); font-size: .78rem; font-family: var(--font-body); flex-wrap: nowrap;
  white-space: nowrap;
}
.story-card__meta time { overflow: hidden; text-overflow: ellipsis; }
.readers-count { color: var(--accent); font-weight: 700; flex: none; }

.story-card--compact {
  flex-direction: row; align-items: center; gap: .75rem;
  padding: .65rem .75rem;
}
.story-card--compact .story-card__media { aspect-ratio: 1; width: 96px; min-width: 96px; border-radius: 10px; }
.story-card--compact .story-card__body { padding: 0; }
.story-card--compact .story-card__title { font-size: .98rem; -webkit-line-clamp: 3; overflow-wrap: anywhere; }
.story-card--lead {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; flex-direction: unset;
}
.story-card--lead .story-card__media { aspect-ratio: auto; min-height: 280px; height: 100%; }
.story-card--lead .story-card__body { display: flex; flex-direction: column; justify-content: center; padding: 1.25rem; }
.story-card--lead .story-card__title { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); -webkit-line-clamp: 4; }

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .85fr);
  gap: 1.25rem;
  align-items: start;
}
.home-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  align-self: start;
  background: var(--section);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .85rem;
}
.home-side__sticky {
  display: grid;
  gap: .85rem;
  position: sticky;
  top: 6.25rem;
  align-content: start;
}
.home-side .panel { margin: 0; background: var(--surface); }
.home-side .panel--cta {
  background: linear-gradient(160deg, #0B1220 0%, #1F2937 55%, #7f1d1d 140%);
  border-color: transparent;
  color: #E5E7EB;
}
.home-side .panel--cta .eyebrow { color: #FCA5A5; }
.home-side .panel__title {
  margin: 0 0 .35rem;
  font-size: 1.2rem;
  color: #F9FAFB;
}
.home-side .panel__text {
  margin: 0 0 .75rem;
  font-size: .9rem;
  color: #D1D5DB;
  font-family: var(--font-body);
  line-height: 1.45;
}
.home-side .side-newsletter .newsletter__row { display: flex; gap: .4rem; }
.home-side .side-newsletter input {
  flex: 1; min-width: 0; border: 0; border-radius: 999px;
  padding: .55rem .85rem; background: rgba(255,255,255,.1); color: #fff;
}
.home-side .side-newsletter input::placeholder { color: #9CA3AF; }
.home-side .side-newsletter button {
  border: 0; border-radius: 999px; padding: .55rem .9rem;
  background: var(--accent); color: #fff; font-weight: 700; cursor: pointer;
}
.home-side .side-newsletter .newsletter__note { color: #86EFAC; font-size: .82rem; margin: .45rem 0 0; }
.home-side .side-video-list { display: grid; gap: .65rem; }
.home-side .side-links {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: .35rem .55rem;
}
.home-side .side-links a {
  display: block; padding: .4rem .5rem; border-radius: 8px;
  color: var(--headline); font-size: .86rem; font-weight: 650;
  background: var(--section);
}
.home-side .side-links a:hover { color: var(--accent); background: #fff; }
.home-side .rank-list { gap: .7rem; }
.home-side .rank-list__item a {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-side .section-head { margin-bottom: .65rem; }
.home-side .section-head h2 { font-size: 1.15rem; }
.panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.05rem 1.1rem; box-shadow: var(--shadow-sm);
}
.panel h3 {
  margin: 0 0 .85rem; font-size: 1.15rem; padding-bottom: .45rem;
  border-bottom: 2px solid var(--accent); display: inline-block;
}
.latest-stream {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}
.latest-stream.listing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}
.latest-stream--stack {
  grid-template-columns: 1fr;
  gap: .75rem;
}
.latest-stream .story-card__title {
  font-size: 1.05rem;
}
.secondary-leads, .secondary-strip, .editors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}
.editors-grid {
  clear: both;
}
.category-blocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.cat-block {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  min-width: 0;
  overflow: hidden;
  height: 100%;
  align-self: stretch;
}
.cat-block > .story-card,
.cat-block .latest-stream--stack .story-card {
  height: auto;
  flex: none;
}
.cat-block .latest-stream--stack {
  margin-top: auto;
}
.cat-block .story-card { box-shadow: none; }
.section {
  display: flow-root;
  margin: 2.25rem 0;
  padding: 0;
  clear: both;
  position: relative;
  background: var(--bg);
}
.rank-list, .rail-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.rank-list__item, .rail-list li { display: grid; grid-template-columns: 28px 1fr; gap: .6rem; align-items: start; }
.rank-list__num, .rail-list__num {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--accent); line-height: 1;
}
.rank-list__item a, .rail-list a { color: var(--headline); font-weight: 650; line-height: 1.35; display: block; }
.rank-list__item a:hover, .rail-list a:hover { color: var(--accent); }
.rank-list__item time, .rail-list time { display: block; color: var(--muted); font-size: .75rem; margin-top: .2rem; font-family: var(--font-body); }
.load-more {
  display: block; width: 100%; margin-top: 1rem; border: 1px solid var(--border); background: var(--surface);
  color: var(--headline); border-radius: 999px; padding: .75rem 1.2rem; font-weight: 700; cursor: pointer;
}
.load-more:hover { border-color: var(--accent); color: var(--accent); }

.quote-card {
  border-radius: var(--radius); padding: 1.35rem 1.4rem; background: var(--section);
  border-left: 4px solid var(--accent); box-shadow: var(--shadow-sm);
}
.quote-card p {
  margin: 0; font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem);
  color: var(--headline); line-height: 1.4;
}
.quote-card cite { display: block; margin-top: .7rem; color: var(--muted); font-style: normal; font-size: .85rem; font-family: var(--font-body); }

.harbinger-banner__inner {
  border-radius: var(--radius); padding: 1.7rem 1.5rem; color: #fff;
  background: linear-gradient(120deg, #0B1220 0%, #1F2937 55%, #C62828 140%);
  box-shadow: var(--shadow);
}
.harbinger-banner__inner .eyebrow { color: #FCA5A5; }
.harbinger-banner__inner h2 { margin: .2rem 0 .5rem; color: #F9FAFB; font-size: clamp(1.45rem, 1.15rem + 1vw, 2.1rem); }
.harbinger-banner__inner p { margin: 0; color: #D1D5DB; max-width: 56ch; font-family: var(--font-body); }

.video-feature { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, 1fr); gap: 1rem; align-items: start; }
.video-playlist {
  display: flex; flex-direction: column; gap: .7rem;
  max-height: min(70vh, 560px); overflow: auto; min-width: 0;
}
.video-side-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: .7rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.video-side-item:hover .video-side-item__title { color: var(--accent); }
.video-side-item__media {
  width: 112px; height: 70px; border-radius: 10px; overflow: hidden;
  background: var(--section); flex: none;
}
.video-side-item__media img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}
.video-side-item__title {
  margin: 0; font-size: .92rem; line-height: 1.35; font-weight: 650;
  color: var(--headline); overflow-wrap: anywhere; word-break: break-word;
}
.media-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; }
.media-tile {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  background: var(--section); border: 1px solid var(--border);
}
.media-tile img { width: 100%; height: 100%; object-fit: cover; }
.media-tile__caption {
  position: absolute; inset: auto 0 0 0; padding: .75rem;
  background: linear-gradient(transparent, rgba(11,18,32,.88)); color: #fff; font-size: .85rem; font-weight: 650;
}

.ad-slot {
  display: grid; place-items: center; min-height: 90px; margin: 1rem 0;
  border: 1px dashed var(--border); border-radius: var(--radius-sm);
  background: var(--section); color: var(--muted); font-size: .75rem;
  letter-spacing: .08em; text-transform: uppercase;
}
.ad-slot--live {
  border: 0; background: transparent; min-height: 0; padding: 0;
  letter-spacing: normal; text-transform: none;
}
.ad-banner {
  display: block; width: 100%; border-radius: var(--radius-sm); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-sm);
}
.ad-banner img {
  display: block; width: 100%; height: auto; max-height: 110px; object-fit: contain;
  background: #fff;
}
.ad--leaderboard { margin: .85rem 0 1.15rem; }
.ad--sidebar { min-height: 250px; }
.ad--article { min-height: 250px; }

/* Article */
.breadcrumbs ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0;
  color: var(--muted); font-size: .85rem;
}
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .4rem; opacity: .45; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 1.35rem;
  align-items: stretch;
}
.article-main {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(1rem, 2vw, 1.85rem); box-shadow: var(--shadow-sm);
  min-width: 0;
  height: 100%;
}
.article-kicker {
  margin: 0 0 .4rem; color: var(--accent); font-size: .75rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; font-family: var(--font-body);
}
.article-deck { margin: 0 0 1rem; color: var(--muted); font-size: 1.12rem; }
.article-byline {
  display: flex; flex-wrap: wrap; gap: .55rem 1.1rem; color: var(--muted); font-size: .9rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--border); margin-bottom: 1.1rem;
}
.article-byline a { font-weight: 700; color: var(--headline); }
.article-hero { margin: 0 0 1.2rem; border-radius: 14px; overflow: hidden; background: var(--section); }
.article-hero img { width: 100%; max-height: 480px; object-fit: cover; }
.article-hero figcaption { padding: .65rem .85rem; font-size: .85rem; color: var(--muted); background: var(--section); }
.article-body {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.8;
  max-width: var(--article-width);
  color: var(--text);
}
.article-body p { margin: 0 0 1.15rem; }
.article-body img { border-radius: 12px; margin: 1rem 0; }
.article-body--dropcap > p:first-of-type::first-letter {
  float: left; font-family: var(--font-display); font-weight: 700;
  font-size: 4.1rem; line-height: .82; padding: .12rem .55rem .1rem 0;
  color: var(--headline);
}
.article-title {
  margin: 0 0 .5rem;
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 1.4rem + 1.9vw, 3rem);
  line-height: 1.15;
}
.inline-related {
  margin: 1.5rem 0 1.75rem; padding: 1rem 1.1rem;
  border: 1px solid var(--border); border-left: 4px solid var(--accent);
  border-radius: 12px; background: var(--section);
  clear: both;
}
.inline-related__label {
  margin: 0 0 .65rem; font-size: .72rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); font-family: var(--font-body);
}
.inline-related__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: .85rem;
}
.inline-related__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .85rem;
  min-width: 0;
  width: 100%;
}
.inline-related__media {
  flex: 0 0 96px;
  width: 96px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--border);
  align-self: center;
}
.inline-related__media img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}
.inline-related__media--empty {
  background: linear-gradient(145deg, #0B1220, #1F2937 55%, #C62828);
}
.inline-related__title {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--headline);
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.02rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: normal;
}
.inline-related__title:hover { color: var(--accent); }
.article-body .inline-related a { display: block; }
.article-body .inline-related__item > .inline-related__title { display: block; width: auto; }
.lp-blurup {
  filter: blur(10px); transform: scale(1.03);
  transition: filter .45s var(--ease), transform .45s var(--ease);
  background: var(--section);
}
.lp-blurup.is-loaded { filter: none !important; transform: none; }
.swipe-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.article-body blockquote, .pull-quote {
  margin: 1.4rem 0; padding: 1.1rem 1.2rem; border-left: 4px solid var(--accent);
  background: var(--section); border-radius: 0 14px 14px 0;
  font-family: var(--font-display); font-size: 1.25rem; color: var(--headline); line-height: 1.4;
}
.article-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.3rem 0; }
.tag {
  display: inline-flex; padding: .35rem .7rem; border-radius: 999px;
  background: var(--section); border: 1px solid var(--border); color: var(--text); font-size: .8rem; font-weight: 650;
}
.share-bar--icons { display: flex; flex-wrap: wrap; gap: .4rem; margin: .9rem 0; }
.share-bar--icons .share-bar__btn {
  width: 40px; height: 40px; padding: 0; display: grid; place-items: center; cursor: pointer;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text);
}
.share-bar--icons .share-bar__btn:hover { border-color: var(--accent); color: var(--accent); }
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  width: 100%;
  height: 100%;
  align-self: stretch;
}
.article-sidebar .share-rail {
  position: static;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .75rem .85rem;
  box-shadow: var(--shadow-sm);
  flex: none;
}
.article-sidebar .share-bar--float.share-bar--icons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: auto;
  gap: .4rem;
  margin: 0;
}
.article-sidebar .share-bar--float .share-bar__btn {
  width: 40px;
  height: 40px;
}
.article-sidebar__panel {
  position: sticky;
  top: 6.8rem;
  display: grid;
  gap: 1.15rem;
  align-content: start;
  flex: 1 1 auto;
  min-height: 0;
  background: var(--section);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}
.article-sidebar__panel .panel-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .9rem 1rem;
}
.article-sidebar__panel .latest-stream,
.article-sidebar__panel .latest-stream--stack {
  grid-template-columns: 1fr;
  gap: .65rem;
}
.article-sidebar__panel .section-head { margin-bottom: .65rem; }
.article-sidebar__panel .section-head h2 { font-size: 1.15rem; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; margin-top: 1.3rem; }
.article-nav a {
  display: block; padding: 1rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--section);
  color: var(--headline);
}
.article-nav span {
  display: block; margin-bottom: .3rem; font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); font-family: var(--font-body);
}
.comments-placeholder, .webstory-placeholder, .newsletter-cta {
  margin-top: 1.2rem; padding: 1.15rem; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--section); color: var(--muted);
}
.newsletter-cta h3 { margin: 0 0 .35rem; color: var(--headline); }
.newsletter-cta .newsletter__row { display: flex; gap: .4rem; margin-top: .7rem; }
.newsletter-cta input {
  flex: 1; border: 1px solid var(--border); border-radius: 999px; padding: .7rem 1rem;
  background: var(--surface); color: var(--text);
}
.newsletter-cta button {
  border: 0; border-radius: 999px; padding: .7rem 1.1rem; background: var(--accent); color: #fff; font-weight: 700; cursor: pointer;
}

.toolbar { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; margin-bottom: 1rem; }
.view-toggle, .filters {
  display: inline-flex; gap: .3rem; padding: .25rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
}
.view-toggle button, .filters select, .filters button {
  border: 0; background: transparent; padding: .45rem .8rem; border-radius: 999px; cursor: pointer; color: var(--text);
}
.view-toggle button.is-active { background: var(--header); color: #fff; }
.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}
.listing-grid.is-list { grid-template-columns: 1fr; }
.listing-grid.is-list .story-card {
  display: grid; grid-template-columns: 180px minmax(0, 1fr); flex-direction: unset; height: auto;
}
.listing-grid.is-list .story-card__media { height: 100%; aspect-ratio: auto; min-height: 120px; }
.category-layout, .search-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 1.2rem; }
.subcats { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; }
.pagination {
  display: flex; flex-wrap: wrap; gap: .65rem .7rem; justify-content: center; align-items: center;
  margin: 1.6rem 0 1.2rem;
}
.pagination a, .pagination span {
  min-width: 42px; height: 42px; padding: 0 .85rem; display: inline-grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--headline);
  font-weight: 700; line-height: 1; text-decoration: none;
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .is-current { background: var(--accent); color: #fff; border-color: transparent; }
.pagination .is-current:hover { color: #fff; }
.author-hero {
  display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: center;
  padding: 1.2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  margin-bottom: 1.2rem;
}
.author-avatar {
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, #0B1220, #C62828); color: #fff;
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
}

/* Footer */
.site-footer { margin-top: 2rem; background: var(--header); color: #D1D5DB; padding: 2.2rem 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
  align-items: stretch;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  min-width: 0;
  height: 100%;
}
.footer-brand p { margin: 0; color: #9CA3AF; font-size: .9rem; line-height: 1.5; max-width: 36ch; }
.site-footer h3 {
  margin: 0 0 .15rem; color: #F9FAFB; font-size: 1.05rem; font-weight: 700;
  border-bottom: 2px solid var(--accent); padding-bottom: .45rem; display: inline-block;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .42rem; }
.footer-links a { color: #D1D5DB; }
.footer-links a:hover { color: #fff; }
.footer-brand .brand__name { color: #F9FAFB; }
.footer-search__row { display: flex; gap: .4rem; }
.footer-search input {
  flex: 1; min-width: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 999px;
  padding: .6rem .9rem; background: rgba(255,255,255,.08); color: #fff;
}
.footer-search input::placeholder { color: #9CA3AF; }
.footer-search button {
  border: 0; border-radius: 999px; padding: .6rem 1rem;
  background: var(--accent); color: #fff; font-weight: 700; cursor: pointer;
}
.footer-contact { margin-top: auto; font-size: .9rem; }
.footer-contact a { color: #93C5FD; }
.footer-brand .brand__tag { color: #9CA3AF; }
.footer-brand p { color: #9CA3AF; max-width: 34ch; }
.footer-social { display: flex; gap: .35rem; margin-top: .85rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff;
}
.footer-social a:hover { background: var(--accent); }
.newsletter { margin-top: 1rem; }
.newsletter label { display: block; color: #F9FAFB; font-weight: 700; margin-bottom: .4rem; }
.newsletter__row { display: flex; gap: .4rem; }
.newsletter input {
  flex: 1; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06);
  color: #fff; border-radius: 999px; padding: .7rem 1rem;
}
.newsletter button {
  border: 0; border-radius: 999px; padding: .7rem 1rem; background: var(--accent); color: #fff; font-weight: 700; cursor: pointer;
}
.newsletter__note { color: #86EFAC; font-size: .85rem; }
.footer-bottom {
  margin-top: 1.4rem; padding: .9rem 0; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .84rem; color: #9CA3AF;
}
.footer-bottom__inner p { margin: 0; }

.mobile-bottom-nav {
  position: fixed; inset: auto 0 0 0; z-index: 70; display: none;
  grid-template-columns: repeat(5, 1fr);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(14px); border-top: 1px solid var(--border);
  padding: .3rem .35rem calc(.3rem + env(safe-area-inset-bottom));
}
.mobile-bottom-nav a, .mobile-bottom-nav button {
  display: grid; place-items: center; gap: .12rem; padding: .4rem;
  color: var(--muted); font-size: .62rem; font-weight: 700; border: 0; background: transparent; cursor: pointer;
}
.mobile-bottom-nav a.is-active { color: var(--accent); }
.sticky-share-mobile {
  position: fixed; right: 1rem; bottom: 4.8rem; z-index: 65;
  width: 48px; height: 48px; border: 0; border-radius: 999px;
  background: var(--accent); color: #fff; box-shadow: var(--shadow);
  display: none; place-items: center; font-weight: 800; cursor: pointer;
}
.lightbox {
  position: fixed; inset: 0; background: rgba(11,18,32,.9); z-index: 120;
  display: grid; place-items: center; padding: 1rem;
}
.lightbox[hidden] { display: none !important; }
.lightbox img { max-height: 85vh; max-width: min(960px, 100%); border-radius: 12px; }
.lightbox__close, .lightbox__nav {
  position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff;
  width: 44px; height: 44px; border-radius: 999px; cursor: pointer;
}
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav--prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1rem; top: 50%; transform: translateY(-50%); }

.skeleton { background: linear-gradient(90deg, var(--section), var(--surface), var(--section)); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 10px; }
.skeleton--media { aspect-ratio: 16/10; }
.skeleton--line { height: 14px; margin-top: .65rem; }
.skeleton--line.short { width: 60%; }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (max-width: 980px) {
  .hero-split, .home-grid, .article-layout, .category-layout, .search-layout, .video-feature, .footer-grid {
    grid-template-columns: 1fr;
  }
  .latest-stream,
  .latest-stream.listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-split__minis, .secondary-leads, .secondary-strip, .category-blocks, .listing-grid, .media-grid {
    grid-template-columns: 1fr 1fr;
  }
  .swipe-rail[data-swipe],
  .secondary-leads.swipe-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(78%, 320px);
    grid-template-columns: unset;
    gap: .85rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    padding-bottom: .35rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .swipe-rail[data-swipe]::-webkit-scrollbar,
  .secondary-leads.swipe-rail::-webkit-scrollbar { display: none; }
  .swipe-rail[data-swipe] > *,
  .secondary-leads.swipe-rail > * { scroll-snap-align: start; }
  .hero-split__lead { min-height: 360px; }
  .share-rail { position: static; }
  .share-bar--float.share-bar--icons { display: flex; width: auto; margin-bottom: .75rem; }
  .article-sidebar__panel { position: static; }
  .home-side {
    background: transparent;
    border: 0;
    padding: 0;
  }
  .home-side__sticky { position: static; }
  .editors-grid { grid-template-columns: 1fr 1fr; }
  .mobile-bottom-nav { display: grid; }
  .sticky-share-mobile { display: grid; }
  body { padding-bottom: 74px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .brand-bar__inner { flex-wrap: wrap; }
  .header-ad { order: 3; flex: 1 1 100%; max-width: none; margin-left: 0; }
  .header-ad img { height: 72px; }
  .brand__logo { height: 64px; }
  .mega-nav { display: none; overflow: visible; }
  .mega-nav.is-open { display: block; }
  .mega-nav__list {
    flex-direction: column; padding: .7rem 0 1rem; overflow: visible;
  }
  .mega-panel {
    position: static; min-width: 0; box-shadow: none; margin: .25rem 0 .4rem;
  }
  .has-mega:hover > .mega-panel[hidden] { display: none !important; }
  .has-mega.is-open > .mega-panel[hidden] { display: grid !important; }
  .hero-split__minis, .secondary-leads, .secondary-strip, .category-blocks, .listing-grid, .media-grid, .article-nav, .footer-grid {
    grid-template-columns: 1fr;
  }
  .latest-stream,
  .latest-stream.listing-grid {
    grid-template-columns: 1fr;
  }
  .listing-grid.is-list .story-card {
    display: grid; grid-template-columns: 88px minmax(0, 1fr);
  }
  .story-card--compact {
    display: flex; flex-direction: row;
  }
  .story-card--lead {
    display: grid; grid-template-columns: 88px minmax(0, 1fr);
  }
  .utility-bar__meta .weather-placeholder { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
