:root {
  color-scheme: light;

  /* UI Standard — Brand */
  --brand-red: #DA2128;
  --brand-red-dark: #A8161C;
  --brand-red-soft: #FDEEEE;

  /* UI Standard — Ink */
  --ink-900: #0E1014;
  --ink-800: #22262C;
  --ink-700: #3A4048;
  --ink-500: #6B717A;
  --ink-400: #9A9AA3;
  --ink-300: #C9CCD1;

  /* UI Standard — Surface & Line */
  --surface-page: #FFFFFF;
  --surface-muted: #F6F6F4;
  --surface-dark: #0E1014;
  --line-default: #E3E4E7;
  --line-strong: #D8D8D4;

  /* UI Standard — Categories */
  --category-world: #1B5FE0;
  --category-people: #7A3FD1;
  --category-practical: #0E8A5F;
  --category-entertainment: #E07A1B;
  --category-archive: #5A6472;

  /* UI Standard — Font Families */
  --font-sans: 'Golos Text', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Backwards compatibility aliases */
  --red: var(--brand-red);
  --red-dark: var(--brand-red-dark);
  --red-soft: var(--brand-red-soft);
  --ink: var(--ink-900);
  --muted: var(--ink-500);
  --line: var(--line-default);
  --paper: var(--surface-page);
  --soft: var(--surface-muted);

  font-family: var(--font-sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 21px;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

.edition-bar {
  display: flex;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 16px;
  background: var(--surface-dark);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.editorial-header { justify-content: center; height: 82px; border-bottom: 1px solid var(--line-default); }
.editorial-header .primary-nav { justify-content: center; gap: clamp(24px, 4vw, 48px); }
.editorial-header .nav-link { color: var(--ink-700); font-size: 14px; font-weight: 600; line-height: 18px; }
.editorial-header .nav-link:hover, .editorial-header .nav-link.is-active { color: var(--ink-900); }
.editorial-header .nav-link.is-active::after { display: none; }
.editorial-header .nav-link.is-active::before { display: inline-block; width: 8px; height: 8px; margin: 0 10px 2px 0; background: var(--brand-red); content: ""; border-radius: 50%; }
.editorial-header .header-actions { position: absolute; right: clamp(18px, 4vw, 48px); display: flex; margin-left: 0; }
.editorial-header .search-toggle { color: var(--ink-700); }
.account-button { min-height: 36px; margin-left: 9px; padding: 0 14px; border: 1px solid var(--line-default); border-radius: 4px; background: white; cursor: pointer; font-size: 13px; font-weight: 600; line-height: 16px; white-space: nowrap; color: var(--ink-900); }
.account-button:hover { border-color: var(--ink-900); background: var(--surface-muted); }

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  height: 76px;
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  padding: 0 clamp(22px, 5.2vw, 100px);
  border-bottom: 1px solid var(--line-default);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(14px);
}

.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 9px; }
.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-red);
  color: white;
  font-size: 20px;
  font-weight: 800;
}
.brand-name { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink-900); }
.brand-name span { color: var(--brand-red); }

.primary-nav { display: flex; height: 100%; align-items: center; gap: clamp(16px, 2vw, 34px); }
.nav-link {
  position: relative;
  height: 100%;
  padding: 0 1px;
  border: 0;
  background: transparent;
  color: var(--ink-700);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.is-active { color: var(--brand-red); }
.nav-link.is-active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--brand-red);
  content: "";
}
.header-actions { display: flex; align-items: center; gap: 15px; margin-left: auto; }
.icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.icon-button:hover { background: var(--surface-muted); }
.icon-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.member-button, .button-primary {
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 4px;
  background: var(--brand-red);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
}
.member-button:hover, .button-primary:hover { background: var(--brand-red-dark); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  display: flex;
  min-height: clamp(410px, 48vw, 620px);
  align-items: center;
  overflow: hidden;
  background: var(--surface-dark);
  color: white;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(14 16 20 / 88%) 0%, rgb(14 16 20 / 65%) 39%, rgb(14 16 20 / 5%) 100%),
    linear-gradient(0deg, rgb(14 16 20 / 35%), transparent 55%);
  content: "";
}
.hero-content { position: relative; z-index: 1; width: min(680px, 65%); padding: 70px 0 76px clamp(28px, 10vw, 190px); }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #fff; font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-red); }
.hero h1 { margin: 22px 0 14px; font-size: clamp(34px, 5vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; }
.hero-summary { max-width: 520px; margin: 0; color: rgb(255 255 255 / 85%); font-size: 16px; line-height: 24px; font-weight: 400; }
.hero-meta { display: flex; align-items: center; gap: 16px; margin-top: 22px; color: rgb(255 255 255 / 80%); font-size: 12px; line-height: 16px; font-weight: 500; }
.rating { padding: 4px 7px; border: 1px solid rgb(255 255 255 / 55%); border-radius: 3px; font-family: var(--font-mono); font-size: 11px; font-weight: 700; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; }
.hero-play { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 24px; border: 0; border-radius: 4px; background: var(--brand-red); color: white; cursor: pointer; font-size: 15px; font-weight: 700; line-height: 20px; }
.hero-play:hover { background: var(--brand-red-dark); }
.hero-play svg { width: 17px; fill: currentColor; }
.hero-more { min-height: 44px; padding: 0 22px; border: 1px solid rgb(255 255 255 / 48%); border-radius: 4px; background: rgb(255 255 255 / 8%); color: white; cursor: pointer; font-size: 14px; font-weight: 600; line-height: 18px; }

.content-wrap { width: min(1512px, calc(100% - 2 * clamp(22px, 5.2vw, 100px))); margin: 0 auto; }
.section { padding: 32px 0 14px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-title { margin: 0; font-size: clamp(21px, 2vw, 26px); font-weight: 700; letter-spacing: -0.008em; line-height: 32px; color: var(--ink-900); }
.section-subtitle { margin: 7px 0 0; color: var(--ink-500); font-size: 13px; line-height: 18px; font-weight: 500; }
.text-link { flex: 0 0 auto; padding: 7px 0; border: 0; background: transparent; color: var(--brand-red); cursor: pointer; font-size: 13px; font-weight: 600; line-height: 16px; }
.text-link:hover { color: var(--brand-red-dark); }
.rail {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 17px;
  overflow-x: auto;
  padding: 2px 1px 17px;
  scrollbar-width: thin;
}
.card { min-width: 0; cursor: pointer; }
.poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 2.78;
  border-radius: 4px;
  background: var(--surface-muted);
}
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.card:hover .poster img { transform: scale(1.04); }
.poster::after { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgb(14 16 20 / 45%)); content: ""; opacity: 0; transition: opacity .2s ease; }
.card:hover .poster::after { opacity: 1; }
.play-chip { position: absolute; z-index: 1; right: 11px; bottom: 11px; display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: var(--brand-red); color: white; opacity: 0; transform: translateY(4px); transition: .2s; }
.card:hover .play-chip { opacity: 1; transform: none; }
.play-chip svg { width: 14px; fill: currentColor; }
.card-title { margin: 10px 0 5px; overflow: hidden; font-size: 15px; font-weight: 600; line-height: 20px; color: var(--ink-900); text-overflow: ellipsis; white-space: nowrap; }
.card-meta { color: var(--ink-500); font-size: 12px; line-height: 16px; font-weight: 500; }
.article-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.article-card .poster { aspect-ratio: 1.65 / 1; }
.article-card .card-title { overflow: visible; display: -webkit-box; white-space: normal; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 22px; font-size: 16px; }
.story-rail { grid-auto-columns: minmax(230px, 1fr); }
.story-card .poster { aspect-ratio: 1.4 / 1; }
.audio-rail { grid-auto-columns: minmax(190px, 1fr); }
.audio-card .poster { aspect-ratio: 1 / 1; }
.audio-mark { position: absolute; right: 12px; bottom: 12px; display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgb(255 255 255 / 64%); border-radius: 50%; background: rgb(255 255 255 / 94%); color: var(--brand-red); font-size: 17px; }
.premium-chip { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 3px; background: var(--surface-dark); color: white; font-family: var(--font-mono); font-size: 11px; font-weight: 800; letter-spacing: 0.04em; }
.premium-chip svg, .paywall-label svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }

.editorial-feature {
  display: grid;
  width: min(1440px, calc(100% - 44px));
  grid-template-columns: minmax(250px, 1fr) minmax(0, 1.8fr);
  margin: clamp(78px, 10vw, 134px) auto 30px;
}
.feature-copy { grid-column: 2; }
.feature-category { display: flex; align-items: center; gap: 10px; color: var(--brand-red); font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.feature-category span { width: 8px; height: 8px; background: var(--brand-red); border-radius: 50%; }
.feature-category .feature-premium { width: auto; height: auto; margin-left: 4px; padding: 4px 7px; background: var(--surface-dark); color: #fff; font-family: var(--font-mono); font-size: 11px; font-weight: 800; letter-spacing: 0.04em; }
.feature-copy h1 { max-width: 780px; margin: 26px 0 22px; font-size: clamp(34px, 4.5vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink-900); }
.feature-summary { max-width: 740px; margin: 0; color: var(--ink-700); font-size: 20px; line-height: 30px; font-weight: 400; }
.feature-more { display: inline-flex; min-height: 44px; align-items: center; gap: 15px; margin-top: 32px; padding: 0 22px; border: 1px solid var(--ink-900); background: white; cursor: pointer; font-size: 14px; font-weight: 600; line-height: 18px; color: var(--ink-900); }
.feature-more:hover { background: var(--surface-muted); }
.feature-more span { font-size: 20px; line-height: 1; }
.feature-meta { display: flex; min-height: 112px; align-items: center; justify-content: flex-end; gap: 24px; margin-top: 17px; }
.feature-desk { max-width: 145px; color: var(--brand-red); font-size: 11px; font-weight: 600; line-height: 14px; letter-spacing: 0.05em; text-transform: uppercase; text-align: right; }
.feature-desk small, .feature-author small { display: block; margin-top: 6px; color: var(--ink-500); font-size: 12px; font-weight: 500; line-height: 16px; text-transform: none; }
.feature-divider { width: 2px; height: 73px; background: var(--brand-red); }
.feature-author { display: flex; min-width: 250px; align-items: center; gap: 13px; }
.feature-author img, .author-avatar { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 4px; background: var(--surface-muted); object-fit: cover; }
.feature-author strong { font-size: 14px; font-weight: 600; color: var(--ink-900); }
.feature-date { align-self: flex-end; padding-bottom: 17px; color: var(--ink-500); font-size: 12px; font-weight: 500; }
.feature-ticker { display: flex; height: 76px; grid-column: 2; align-items: center; justify-content: center; gap: 45px; background: var(--surface-dark); color: var(--brand-red); font-family: var(--font-mono); font-size: 12px; font-weight: 700; }
.feature-ticker span { color: #fff; }

.page-heading { padding: 45px 0 14px; }
.page-heading h1 { margin: 0; font-size: clamp(30px, 4vw, 48px); font-weight: 700; letter-spacing: -0.024em; line-height: 52px; color: var(--ink-900); }
.page-heading p { margin: 10px 0 0; color: var(--ink-500); font-size: 16px; line-height: 24px; font-weight: 400; }
.search-panel { margin: 24px 0 4px; }
.search-input-wrap { display: flex; height: 54px; align-items: center; gap: 13px; padding: 0 18px; border: 1px solid var(--line-default); border-radius: 4px; }
.search-input-wrap:focus-within { border-color: var(--brand-red); box-shadow: 0 0 0 3px var(--brand-red-soft); }
.search-input-wrap svg { width: 20px; color: var(--ink-400); fill: none; stroke: currentColor; stroke-width: 1.8; }
.search-input { width: 100%; border: 0; outline: 0; background: transparent; font-family: var(--font-sans); font-size: 15px; color: var(--ink-900); }
.search-layout { display: grid; grid-template-columns: 220px 1fr; gap: 35px; padding: 26px 0 60px; }
.filter-label { margin: 4px 0 15px; color: var(--ink-500); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.filter-buttons { display: grid; gap: 5px; }
.filter-button { display: flex; justify-content: space-between; padding: 11px 12px; border: 0; border-radius: 4px; background: transparent; cursor: pointer; text-align: left; font-size: 13px; font-weight: 600; color: var(--ink-700); }
.filter-button:hover, .filter-button.is-active { background: var(--brand-red-soft); color: var(--brand-red); }
.search-results { display: grid; gap: 13px; }
.result-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; padding: 0 0 13px; border-bottom: 1px solid var(--line-default); cursor: pointer; }
.result-image { width: 100%; aspect-ratio: 1.7 / 1; border-radius: 4px; background: var(--surface-muted); object-fit: cover; }
.result-kind { color: var(--brand-red); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.result-premium { margin-left: 9px; padding: 4px 6px; background: var(--surface-dark); color: white; font-family: var(--font-mono); font-size: 11px; font-weight: 800; letter-spacing: 0.04em; }
.result-title { margin: 8px 0 6px; font-size: 17px; line-height: 22px; font-weight: 700; letter-spacing: -0.003em; color: var(--ink-900); }
.result-summary { margin: 0; color: var(--ink-500); font-size: 13px; line-height: 18px; font-weight: 500; }
.empty-state { padding: 50px 16px; color: var(--ink-500); text-align: center; }
.membership-grid { display: grid; grid-template-columns: repeat(2, minmax(230px, 360px)); gap: 20px; padding: 24px 0 80px; }
.plan-card { padding: 24px; border: 1px solid var(--line-default); border-radius: 4px; }
.plan-card.is-featured { border: 2px solid var(--brand-red); }
.plan-card h2 { margin: 0 0 8px; font-size: 21px; line-height: 27px; font-weight: 700; letter-spacing: -0.005em; color: var(--ink-900); }
.plan-price { margin: 19px 0; font-family: var(--font-mono); font-size: 28px; font-weight: 800; color: var(--ink-900); }
.plan-price small { color: var(--ink-500); font-family: var(--font-sans); font-size: 12px; font-weight: 500; }
.plan-card ul { display: grid; gap: 11px; margin: 0 0 22px; padding: 0; color: var(--ink-700); font-size: 13px; line-height: 20px; list-style: none; }
.plan-card li::before { margin-right: 9px; color: var(--brand-red); content: "✓"; font-weight: 700; }

.loading-state, .error-state { padding: 80px 20px; color: var(--ink-500); text-align: center; }
.site-footer { display: flex; min-height: 118px; align-items: center; gap: 24px; padding: 22px clamp(22px, 5.2vw, 100px); border-top: 1px solid var(--line-default); color: var(--ink-500); font-size: 13px; line-height: 18px; font-weight: 500; }
.site-footer p { margin: 0; }
.site-footer small { margin-left: auto; }
.brand-footer .brand-name { color: var(--ink-900); }
.player-dialog { position: relative; width: min(920px, calc(100% - 32px)); max-width: none; padding: 0; overflow: visible; border: 0; border-radius: 8px; background: var(--surface-dark); color: white; box-shadow: 0 20px 80px rgb(0 0 0 / 35%); }
.player-dialog::backdrop { background: rgb(14 16 20 / 78%); backdrop-filter: blur(4px); }
.player-dialog video { display: block; width: 100%; max-height: 70vh; border-radius: 8px 8px 0 0; background: #000; }
.player-dialog:not(.has-video) video { display: none; }
.dialog-close { position: absolute; z-index: 1; top: -48px; right: 0; color: white; }
.dialog-close:hover { background: rgb(255 255 255 / 18%); }
.player-copy { padding: 17px 21px 21px; }
.player-copy h2 { margin: 0 0 7px; font-size: 21px; font-weight: 700; line-height: 27px; letter-spacing: -0.005em; }
.player-copy p { margin: 0; color: var(--ink-300); font-size: 14px; line-height: 21px; }
.player-dialog.is-paywall { width: min(520px, calc(100% - 32px)); padding-top: 18px; background: #fff; color: var(--ink-900); }
.player-dialog.is-paywall .player-copy p { color: var(--ink-700); }
.player-dialog.is-paywall .dialog-close { color: white; }
.player-dialog.is-paywall .paywall-label { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px; color: var(--brand-red); font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.paywall-divider { height: 1px; margin: 20px 0 15px; background: var(--line-default); }
.player-dialog.is-paywall .paywall-message { margin-bottom: 20px; }

@media (min-width: 1500px) {
  .rail { grid-auto-columns: calc((100% - 68px) / 5); }
  .audio-rail { grid-auto-columns: calc((100% - 68px) / 5); }
  .story-rail { grid-auto-columns: calc((100% - 51px) / 4); }
}

@media (max-width: 980px) {
  .site-header { height: 66px; gap: 24px; }
  .primary-nav { gap: 15px; }
  .nav-link { font-size: 12px; }
  .member-button { padding: 0 13px; }
  .hero-content { width: 75%; }
  .editorial-feature { grid-template-columns: minmax(170px, .65fr) minmax(0, 1.35fr); }
  .feature-copy h1 { font-size: clamp(38px, 5.5vw, 56px); }
  .feature-meta { gap: 13px; }
  .feature-author { min-width: 205px; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 22px; }
  .result-card { grid-template-columns: 145px minmax(0, 1fr); }
}

@media (max-width: 700px) {
  .site-header { height: 62px; padding: 0 17px; gap: 12px; }
  .editorial-header { justify-content: flex-end; }
  .editorial-header .header-actions { display: flex; }
  .editorial-header .header-actions { right: 17px; }
  .editorial-header .menu-toggle { display: grid; width: 36px; height: 36px; }
  .editorial-header .primary-nav { top: 61px; right: 0; left: 0; z-index: 5; }
  .brand-mark { width: 31px; height: 31px; font-size: 18px; }
  .brand-name { font-size: 16px; }
  .primary-nav { position: absolute; top: 61px; right: 0; left: 0; display: none; height: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 17px 14px; border-bottom: 1px solid var(--line); background: white; box-shadow: 0 12px 20px rgb(0 0 0 / 5%); }
  .primary-nav.is-open { display: flex; }
  .nav-link { height: 43px; text-align: left; }
  .nav-link.is-active::after { right: auto; width: 25px; }
  .header-actions { gap: 5px; }
  .search-toggle { width: 36px; height: 36px; }
  .member-button { min-height: 35px; padding: 0 12px; font-size: 12px; }
  .menu-toggle { display: grid; width: 36px; height: 36px; }
  .hero { min-height: 470px; align-items: end; }
  .hero::after { background: linear-gradient(0deg, rgb(12 13 17 / 91%) 0%, rgb(12 13 17 / 65%) 52%, rgb(12 13 17 / 5%) 100%); }
  .hero-image { object-position: center; }
  .hero-content { width: 100%; padding: 35px 22px 37px; }
  .hero h1 { margin: 16px 0 10px; font-size: 38px; letter-spacing: -1.2px; }
  .hero-summary { font-size: 14px; }
  .hero-meta { gap: 10px; margin-top: 16px; font-size: 12px; }
  .hero-actions { margin-top: 20px; }
  .hero-play, .hero-more { min-height: 42px; }
  .content-wrap { width: calc(100% - 34px); }
  .editorial-feature { display: block; width: calc(100% - 36px); margin-top: 61px; }
  .feature-copy h1 { margin: 19px 0 15px; font-size: clamp(37px, 10.5vw, 48px); letter-spacing: -1.7px; line-height: 1.03; }
  .feature-summary { font-size: 14px; }
  .feature-more { min-height: 45px; margin-top: 23px; }
  .feature-meta { justify-content: flex-start; gap: 12px; margin-top: 13px; }
  .feature-desk { max-width: 90px; font-size: 10px; }
  .feature-desk small, .feature-author small { font-size: 10px; }
  .feature-divider { height: 57px; }
  .feature-author { min-width: 0; gap: 8px; }
  .feature-author strong { font-size: 11px; }
  .feature-author img, .author-avatar { width: 32px; height: 32px; }
  .feature-date { display: none; }
  .feature-ticker { height: 58px; gap: 20px; margin-top: 10px; font-size: 11px; }
  .section { padding-top: 25px; }
  .section-title { font-size: 20px; }
  .rail { grid-auto-columns: 42%; gap: 12px; }
  .audio-rail { grid-auto-columns: 34%; }
  .story-rail { grid-auto-columns: 68%; }
  .card-title { font-size: 13px; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 11px; }
  .search-layout { display: block; padding-top: 14px; }
  .filters { display: flex; gap: 7px; overflow-x: auto; margin-bottom: 20px; }
  .filter-label { display: none; }
  .filter-buttons { display: flex; gap: 7px; }
  .filter-button { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--line); }
  .result-card { grid-template-columns: 114px minmax(0, 1fr); gap: 12px; }
  .result-title { margin-top: 5px; font-size: 14px; }
  .result-summary { display: -webkit-box; overflow: hidden; font-size: 12px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .membership-grid { grid-template-columns: 1fr; }
  .site-footer { flex-wrap: wrap; gap: 10px 17px; padding: 21px 17px; }
  .site-footer p { font-size: 12px; }
  .site-footer small { flex-basis: 100%; margin-left: 0; }
}

/* Long-form homepage layout from Design/Section 1686560726.pdf. */
.edition-bar { display: flex; height: 38px; align-items: center; justify-content: space-between; padding: 0 max(22px, calc((100% - 1320px) / 2)); background: var(--surface-dark); color: #fff; font-family: var(--font-mono); font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: 0.04em; }
.edition-markets { display: flex; align-items: center; gap: 8px; color: var(--ink-300); font-family: var(--font-mono); font-size: 11px; font-weight: 500; }
.edition-chip { display: inline-block; padding: 1px 6px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); color: #fff; font-weight: 700; font-size: 10px; letter-spacing: 0.06em; margin-right: 4px; }
.market-btn { display: inline-flex; align-items: center; gap: 5px; background: transparent; border: 1px solid transparent; padding: 3px 7px; border-radius: 4px; color: var(--ink-200); font-family: var(--font-mono); font-size: 11px; font-weight: 500; cursor: pointer; text-decoration: none; transition: all 0.15s ease; }
.market-btn:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.25); color: #fff; transform: translateY(-1px); }
.market-btn span { color: #fff; font-weight: 700; }
.market-weather-icon { font-size: 13px; line-height: 1; }
.editorial-header { height: 64px; justify-content: initial; gap: 0; padding: 0 max(22px, calc((100% - 1320px) / 2)); border-bottom: 1px solid var(--line-default); }
.editorial-header .primary-nav { width: 39%; justify-content: flex-start; gap: 24px; }
.editorial-header .nav-link { height: 100%; font-size: 14px; font-weight: 600; line-height: 18px; color: var(--ink-700); }
.editorial-header .nav-link.is-active::before { width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--brand-red); }
.editorial-brand { position: absolute; left: 50%; gap: 7px; transform: translateX(-50%); }
.editorial-brand .brand-mark { width: 21px; height: 24px; border-radius: 0; background: var(--brand-red); font-size: 0; clip-path: polygon(0 0, 61% 0, 100% 40%, 100% 100%, 0 100%); }
.editorial-brand .brand-name { color: var(--ink-900); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.editorial-brand .brand-name span { color: var(--ink-900); }
.editorial-header .header-actions { position: static; width: 39%; justify-content: flex-end; gap: 12px; margin-left: auto; }
.search-field { display: flex; width: 170px; height: 36px; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line-default); border-radius: 4px; background: var(--surface-muted); color: var(--ink-500); cursor: pointer; font-size: 13px; font-weight: 500; text-align: left; }
.search-field svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; color: var(--ink-400); }
.editorial-header .member-button { min-height: 36px; border-radius: 4px; font-size: 13px; font-weight: 600; background: var(--brand-red); color: #fff; }
.editorial-header .menu-toggle { display: grid; width: 36px; height: 36px; border-radius: 4px; background: var(--surface-dark); color: #fff; }
.editorial-header .menu-toggle:hover { background: var(--ink-700); }
.editorial-header .menu-toggle svg { width: 18px; height: 18px; }

@media (min-width: 701px) and (max-width: 1200px) {
  .editorial-header .primary-nav { width: 42%; gap: 10px; }
  .editorial-header .header-actions { width: 39%; gap: 7px; }
  .editorial-header .nav-link { font-size: 12px; }
  .search-field { width: 120px; }
}

.lead-section { width: min(1320px, calc(100% - 44px)); margin-top: 14px; }
.lead-main { display: grid; min-height: 482px; grid-template-columns: .92fr 1.55fr; }
.lead-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 50px 38px 24px 0; }
.lead-kicker { color: var(--brand-red); font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.lead-copy h1 { margin: 14px 0 16px; font-size: clamp(30px, 3.05vw, 48px); font-weight: 700; letter-spacing: -0.024em; line-height: 1.08; color: var(--ink-900); }
.lead-copy > p { margin: 0; color: var(--ink-700); font-size: 16px; line-height: 24px; font-weight: 400; }
.outline-button { display: inline-flex; min-height: 34px; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--ink-900); border-radius: 4px; background: #fff; cursor: pointer; font-size: 13px; font-weight: 600; line-height: 16px; white-space: nowrap; color: var(--ink-900); }
.outline-button:hover, .aside-action:hover { background: var(--surface-muted); }
.lead-copy > .outline-button { margin-top: 20px; }
.lead-byline { display: flex; width: 100%; align-items: center; gap: 10px; margin-top: auto; color: var(--ink-700); font-size: 12px; line-height: 16px; font-weight: 500; }
.lead-byline > i { width: 2px; height: 48px; margin: 0 4px; background: var(--brand-red); }
.lead-byline > img, .lead-byline > .author-avatar { width: 32px; height: 32px; flex: 0 0 auto; object-fit: cover; border-radius: 4px; }
.lead-byline > span:last-child { min-width: 0; }
.lead-byline strong, .lead-byline small { display: block; }
.lead-byline strong { color: var(--ink-900); font-size: 13px; font-weight: 600; }
.lead-byline small { margin-top: 4px; color: var(--ink-500); font-size: 11px; font-weight: 400; }
.lead-desk { width: 90px; color: var(--brand-red); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; text-align: right; }
.lead-desk small { color: var(--ink-500); font-size: 10px; letter-spacing: normal; text-transform: none; }
.lead-image, .news-feature-image, .poster-art, .air-feature { position: relative; display: block; min-width: 0; padding: 0; overflow: hidden; border: 0; background: var(--surface-muted); cursor: pointer; text-align: left; }
.lead-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lead-ticker { display: grid; min-height: 80px; grid-template-columns: 1fr repeat(3, 2.25fr); align-items: center; background: var(--surface-dark); color: #fff; }
.lead-ticker > strong { padding: 0 25px; color: var(--brand-red); font-family: var(--font-mono); font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-align: center; }
.lead-ticker > button { min-height: 49px; padding: 7px 19px; border: 0; border-left: 1px solid var(--ink-700); background: transparent; color: #fff; cursor: pointer; font-size: 12px; font-weight: 600; line-height: 16px; text-align: left; }
.lead-ticker > button small { display: block; margin-bottom: 5px; color: var(--brand-red); font-family: var(--font-mono); font-size: 10px; font-weight: 700; }

.section-aside { position: relative; display: flex; min-width: 0; flex-direction: column; align-items: flex-end; padding: 15px 22px 0 0; border-right: 2px solid var(--line-default); text-align: right; }
.section-aside::after { position: absolute; z-index: -1; bottom: 0; right: 30%; color: var(--surface-muted); content: "Bolor"; font-size: 80px; font-weight: 900; line-height: .8; }
.section-number { color: var(--brand-red); font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; }
.section-aside h2 { margin: 9px 0 8px; font-size: 26px; font-weight: 700; letter-spacing: -0.008em; line-height: 32px; color: var(--ink-900); }
.section-aside p { max-width: 170px; margin: 0; color: var(--ink-500); font-size: 13px; line-height: 18px; font-weight: 500; }
.aside-action { display: inline-flex; min-height: 32px; align-items: center; gap: 9px; margin-top: 12px; padding: 0 12px; border: 1px solid var(--ink-900); border-radius: 4px; background: white; color: var(--ink-900); cursor: pointer; font-size: 13px; font-weight: 600; line-height: 16px; white-space: nowrap; }
.ranked-section { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; padding-top: 32px; padding-bottom: 32px; }
.ranked-section .section-aside { min-height: 340px; }
.ranked-list { align-self: stretch; }
.ranked-item { display: grid; width: 100%; min-height: 80px; grid-template-columns: 150px minmax(0, 1fr) 54px 20px; align-items: center; gap: 15px; padding: 6px 10px 6px 0; border: 0; border-bottom: 1px solid var(--line-default); background: #fff; cursor: pointer; text-align: left; }
.ranked-item img { width: 100%; height: 66px; object-fit: cover; }
.ranked-item strong, .ranked-item small { display: block; }
.ranked-item strong { font-size: 15px; font-weight: 600; line-height: 20px; color: var(--ink-900); }
.ranked-item small { margin-top: 6px; color: var(--ink-500); font-size: 12px; font-weight: 500; line-height: 16px; }
.ranked-item time, .ranked-item b { color: var(--ink-500); font-family: var(--font-mono); font-size: 12px; font-weight: 600; text-align: right; }
.ranked-item:first-child time, .ranked-item:first-child b { color: var(--brand-red); }

.story-showcase { overflow: hidden; background: var(--surface-dark); color: white; }
.story-inner { display: grid; min-height: 300px; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; padding-top: 26px; padding-bottom: 28px; }
.story-showcase .section-aside { min-height: 250px; border-color: var(--brand-red); }
.story-showcase .section-aside h2 { font-size: 26px; font-weight: 700; }
.story-showcase .section-aside p { color: var(--ink-400); font-size: 13px; line-height: 18px; }
.story-showcase .aside-action { border-color: var(--ink-700); background: transparent; color: white; }
.story-showcase .aside-action:hover { border-color: white; }
.story-cards { display: grid; grid-auto-columns: minmax(130px, 1fr); grid-auto-flow: column; gap: 12px; overflow-x: auto; padding: 7px 1px; }
.story-tile { position: relative; min-width: 0; height: 240px; padding: 0; overflow: hidden; border: 0; border-radius: 4px; background: var(--ink-800); color: white; cursor: pointer; text-align: left; }
.story-tile::after { position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgb(14 16 20 / 85%)); content: ""; }
.story-tile img { width: 100%; height: 100%; object-fit: cover; }
.story-duration { position: absolute; z-index: 1; top: 8px; right: 8px; padding: 3px 5px; border-radius: 2px; background: rgb(14 16 20 / 64%); font-family: var(--font-mono); font-size: 11px; font-weight: 600; }
.story-play { position: absolute; z-index: 1; bottom: 41px; left: 11px; display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: white; color: var(--ink-900); font-size: 11px; }
.story-tile strong { position: absolute; z-index: 1; right: 10px; bottom: 10px; left: 10px; font-size: 13px; font-weight: 600; line-height: 17px; }

.story-inner.content-wrap, .story-page-heading.content-wrap, .story-today-band .content-wrap, .story-topic-groups.content-wrap { width: min(1320px, calc(100% - 44px)); }
.story-inner { display: block; padding-top: 28px; padding-bottom: 36px; }
.home-story-heading { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; align-items: center; gap: 30px; margin-bottom: 28px; }
.home-story-heading > div { padding-right: 22px; border-right: 2px solid var(--brand-red); text-align: right; }
.home-story-heading h2 { margin: 8px 0 0; font-size: clamp(26px, 2.5vw, 34px); font-weight: 700; line-height: 1.15; }
.home-story-heading p { margin: 0; color: var(--ink-400); font-size: 13px; line-height: 18px; }
.home-story-heading .aside-action { margin: 0; }
.story-inner .story-cards { width: calc(100% + max(22px, (100vw - 1320px) / 2) - 250px); grid-auto-columns: 182px; gap: 14px; margin-left: 250px; padding: 0 0 4px; }
[data-carousel] { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
[data-carousel]::-webkit-scrollbar { display: none; }
[data-carousel]:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 4px; }
.vertical-video-card { min-width: 0; }
.vertical-video-media { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; overflow: hidden; border: 0; border-radius: 7px; background: var(--ink-800); color: white; cursor: pointer; text-align: left; }
.vertical-video-media::after { position: absolute; inset: 65% 0 0; background: linear-gradient(transparent, rgb(0 0 0 / 70%)); content: ""; pointer-events: none; }
.vertical-video-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vertical-video-placeholder { display: grid; height: 100%; place-items: center; font-size: 20px; font-weight: 800; }
.vertical-video-duration { position: absolute; z-index: 1; top: 10px; left: 10px; padding: 4px 6px; border-radius: 3px; background: rgb(14 16 20 / 72%); font-family: var(--font-mono); font-size: 11px; line-height: 14px; font-weight: 600; }
.vertical-video-views { position: absolute; z-index: 1; bottom: 12px; left: 10px; display: flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 11px; line-height: 14px; font-weight: 700; }
.vertical-video-views svg, .vertical-video-play svg { width: 12px; height: 12px; fill: currentColor; }
.vertical-video-premium { position: absolute; z-index: 1; top: 10px; right: 10px; }
.vertical-video-premium svg { width: 14px; height: 14px; fill: none; stroke: currentColor; }
.vertical-video-card > small { display: block; margin-top: 10px; color: var(--brand-red); font-size: 11px; font-weight: 600; line-height: 14px; letter-spacing: 0.05em; text-transform: uppercase; }
.vertical-video-title { display: block; width: 100%; margin-top: 8px; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 15px; font-weight: 600; line-height: 20px; text-align: left; }
.is-home-story .vertical-video-duration { right: 9px; left: auto; top: 9px; font-size: 10px; }
.is-home-story .vertical-video-premium { top: 10px; right: auto; left: 10px; }
.is-home-story .vertical-video-media::after { inset: 40% 0 0; }
.vertical-video-overlay-title { position: absolute; z-index: 1; right: 12px; bottom: 32px; left: 12px; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-size: 12px; line-height: 1.25; }
.vertical-video-play { position: absolute; z-index: 1; top: 53%; left: 12px; display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: white; color: var(--ink-900); }
.story-page-heading { padding-top: 34px; padding-bottom: 28px; }
.story-page-heading > header { display: flex; justify-content: space-between; align-items: end; padding-bottom: 18px; border-bottom: 1px solid var(--line-default); }
.story-page-heading h1 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 48px); font-weight: 700; letter-spacing: -0.024em; line-height: 52px; color: var(--ink-900); }
.story-page-heading p { margin: 0; color: var(--ink-700); font-size: 16px; line-height: 24px; font-weight: 400; }
.story-program-filters { display: flex; gap: 10px; margin: 18px 0; overflow-x: auto; }
.story-program-filters button { flex: 0 0 auto; padding: 8px 16px; border: 1px solid var(--line-default); border-radius: 24px; background: white; cursor: pointer; font-size: 13px; font-weight: 600; line-height: 16px; color: var(--ink-700); }
.story-program-filters .is-story-brand, .story-program-filters button.is-active:not(:first-child) { border-color: var(--brand-red); background: var(--brand-red); color: white; }
.story-topic-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.story-topic-filters > span { margin-right: 12px; color: var(--ink-500); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.story-topic-filters button { padding: 6px 12px; border: 0; border-radius: 4px; background: var(--surface-muted); color: var(--ink-700); cursor: pointer; font-size: 13px; font-weight: 600; line-height: 16px; }
.story-topic-filters button.is-active { background: var(--surface-dark); color: white; }
.story-topic-filters > small { margin-left: auto; color: var(--ink-500); font-size: 12px; }
.story-today-band { overflow: hidden; padding: 46px 0 52px; background: var(--surface-dark); color: white; }
.story-today-band header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.story-today-band header span { color: var(--brand-red); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.story-today-band h2 { margin: 8px 0 0; font-size: 34px; font-weight: 600; letter-spacing: -0.015em; line-height: 36px; }
.story-carousel-controls { display: flex; gap: 9px; }
.story-carousel-controls button { display: grid; width: 37px; height: 33px; place-items: center; padding: 0; border: 1px solid currentColor; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; font-size: 20px; }
.story-carousel-controls button:disabled { opacity: .35; cursor: default; }
.story-today-rail { display: grid; width: calc(100% + max(22px, (100vw - 1320px) / 2)); grid-auto-columns: 200px; grid-auto-flow: column; gap: 20px; }
.story-today-band .vertical-video-card > small { color: var(--ink-400); }
.story-topic-groups { padding-top: 52px; padding-bottom: 44px; }
.story-topic-section { margin-bottom: 54px; }
.story-topic-section > header { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 20px; padding-bottom: 13px; border-bottom: 2px solid var(--ink-900); }
.story-topic-section h2 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -0.008em; line-height: 32px; color: var(--ink-900); }
.story-topic-section h2 small { display: inline-block; margin-left: 10px; color: var(--ink-500); font-size: 12px; font-weight: 500; letter-spacing: normal; }
.story-topic-section > header > div { display: flex; gap: 14px; align-items: center; }
.story-see-all { padding: 0; border: 0; background: transparent; color: var(--brand-red); cursor: pointer; font-size: 13px; font-weight: 600; line-height: 16px; }
.story-see-all:hover { color: var(--brand-red-dark); }
.story-topic-rail { display: grid; grid-auto-columns: 170px; grid-auto-flow: column; gap: 16px; }
.story-filtered-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 24px 16px; }
.facebook-video-player { width: 100%; max-width: 960px; aspect-ratio: 16 / 9; margin: auto; }
.facebook-video-player.is-portrait { max-width: 400px; aspect-ratio: 9 / 16; }
.facebook-video-player iframe { display: block; width: 100%; height: 100%; border: 0; background: #111; }
.facebook-video-help { padding: 12px; color: var(--ink-500); font-size: 12px; }
.facebook-video-help a { color: inherit; text-decoration: underline; }

@media (max-width: 1000px) {
  .home-story-heading { grid-template-columns: 145px minmax(0, 1fr) auto; gap: 18px; }
  .story-inner .story-cards { width: calc(100% + 22px - 163px); margin-left: 163px; }
}
@media (max-width: 700px) {
  .story-page-heading.content-wrap, .story-today-band .content-wrap, .story-topic-groups.content-wrap { width: calc(100% - 24px); }
  .story-inner.content-wrap { width: 100%; }
  .story-inner .story-cards { width: calc(100% + 12px); grid-auto-columns: 156px; margin-left: 0; }
  .home-story-heading { grid-template-columns: 1fr auto; gap: 12px; margin-bottom: 20px; }
  .home-story-heading > div { padding: 0; border: 0; text-align: left; }
  .home-story-heading h2 { font-size: 26px; }
  .home-story-heading p { grid-column: 1; grid-row: 2; font-size: 11px; }
  .home-story-heading > button { grid-column: 2; grid-row: 1 / 3; }
  .story-page-heading { padding-top: 22px; }
  .story-page-heading > header { align-items: start; gap: 12px; }
  .story-page-heading h1 { font-size: 30px; line-height: 36px; }
  .story-page-heading p { font-size: 12px; line-height: 1.5; }
  .story-page-heading .browse-sort { flex-shrink: 0; }
  .story-page-heading .browse-sort button { padding: 7px 10px; font-size: 10px; }
  .story-today-band { padding: 30px 0 34px; }
  .story-today-band h2 { font-size: 24px; line-height: 30px; }
  .story-today-rail { width: calc(100% + 22px); grid-auto-columns: 160px; gap: 14px; }
  .story-topic-rail { grid-auto-columns: 148px; gap: 12px; }
  .story-topic-groups { padding-top: 32px; }
  .story-topic-section { margin-bottom: 34px; }
  .story-topic-section h2 { font-size: 21px; line-height: 27px; }
  .story-topic-section h2 small { margin-left: 5px; font-size: 9px; }
  .story-topic-section > header > div { gap: 8px; }
  .story-carousel-controls { gap: 6px; }
  .story-carousel-controls button { width: 30px; height: 28px; }
  .story-filtered-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.news-desk { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; padding-top: 42px; padding-bottom: 44px; }
.news-desk > .section-aside { grid-row: 1 / span 2; min-height: 340px; border-color: var(--brand-red); }
.news-feature { display: grid; grid-template-columns: minmax(220px, .78fr) minmax(0, 1.25fr); gap: 18px; }
.news-feature-image { min-height: 270px; }
.news-feature-image img { width: 100%; height: 100%; object-fit: cover; }
.news-feature-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 5px 0; }
.news-feature-copy h2 { margin: 12px 0 10px; font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: -0.015em; line-height: 36px; color: var(--ink-900); }
.news-feature-copy > p { margin: 0; color: var(--ink-700); font-size: 14px; line-height: 21px; font-weight: 400; }
.news-author { display: flex; width: 100%; align-items: center; gap: 9px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-default); font-size: 12px; line-height: 16px; }
.news-author img { width: 28px; height: 28px; object-fit: cover; }
.news-author strong, .news-author small { display: block; }
.news-author strong { color: var(--ink-900); font-size: 13px; font-weight: 600; }
.news-author small { margin-top: 3px; color: var(--ink-500); font-size: 11px; }
.news-author .outline-button { margin-left: auto; }
.news-list { display: grid; grid-column: 2; }
.news-row { display: grid; grid-template-columns: 115px minmax(0, 1fr); gap: 14px; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line-default); background: white; cursor: pointer; text-align: left; }
.news-row img { width: 115px; height: 78px; object-fit: cover; }
.news-row small, .news-row strong, .news-row p, .news-row b { display: block; }
.news-row small { color: var(--brand-red); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.news-row strong { margin: 5px 0; font-size: 15px; font-weight: 600; line-height: 20px; color: var(--ink-900); }
.news-row p { margin: 0 0 6px; color: var(--ink-700); font-size: 13px; line-height: 18px; }
.news-row b { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--ink-500); }
.load-more { grid-column: 2; min-height: 36px; margin-top: 14px; border: 1px solid var(--line-default); background: white; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink-700); }

.stats-section { overflow: hidden; border-top: 1px solid var(--line-default); border-bottom: 1px solid var(--line-default); }
.stats-inner { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; padding-top: 30px; padding-bottom: 34px; }
.stats-inner .section-aside { min-height: 276px; border-color: var(--brand-red); }
.stat-cards { display: grid; grid-auto-columns: minmax(190px, 1fr); grid-auto-flow: column; gap: 12px; overflow-x: auto; }
.stat-card { position: relative; display: flex; min-height: 265px; flex-direction: column; padding: 20px 18px 16px; overflow: hidden; border: 1px solid var(--line-default); background: var(--surface-page); }
.stat-card > small { font-family: var(--font-mono); color: var(--brand-red); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; }
.stat-card > strong { margin-top: 10px; font-family: var(--font-mono); font-size: clamp(38px, 4vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--ink-900); white-space: nowrap; }
.stat-card > b { margin-top: 4px; font-size: 14px; font-weight: 600; line-height: 18px; color: var(--ink-900); }
.stat-card p { margin: 12px 0 8px; font-size: 13px; line-height: 18px; color: var(--ink-700); }
.stat-card > span { margin-top: auto; color: var(--ink-500); font-size: 12px; }
.stat-card > button { align-self: flex-start; margin-top: 10px; padding: 0; border: 0; background: none; cursor: pointer; font-size: 12px; font-weight: 600; color: var(--ink-900); }
.stat-card > img { position: absolute; right: -12px; bottom: -15px; width: 115px; height: 70px; object-fit: cover; opacity: .58; }
.stat-card.is-red { border-color: var(--brand-red); background: var(--brand-red); color: white; }
.stat-card.is-red > small { color: #fff; }
.stat-card.is-red > strong { color: #fff; }
.stat-card.is-red > b { color: #fff; }
.stat-card.is-red p { color: rgb(255 255 255 / 92%); }
.stat-card.is-red > span { color: rgb(255 255 255 / 75%); }
.stat-card.is-red > button { color: white; }

.poster-section { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; padding-top: 40px; padding-bottom: 38px; }
.poster-section .section-aside { min-height: 280px; border-color: var(--brand-red); }
.poster-cards { display: grid; grid-auto-columns: calc((100% - 28px) / 3); grid-auto-flow: column; gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.poster-card { min-width: 0; }
.poster-art { width: 100%; aspect-ratio: .84 / 1; }
.poster-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.poster-art:hover img { transform: scale(1.04); }
.poster-art > span { position: absolute; top: 10px; left: 10px; padding: 4px 8px; border-radius: 20px; background: white; color: var(--ink-900); font-family: var(--font-mono); font-size: 11px; font-weight: 700; }
.poster-art > b { position: absolute; top: 10px; right: 10px; display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: white; font-size: 14px; color: var(--ink-900); }
.poster-card h3 { margin: 8px 0 5px; font-size: 14px; font-weight: 700; line-height: 20px; color: var(--ink-900); }
.poster-card > small, .poster-card > div { color: var(--ink-500); font-size: 12px; line-height: 16px; }
.poster-card > div { margin-top: 7px; }

.air-section { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; padding-top: 8px; padding-bottom: 50px; }
.air-section > .section-aside { min-height: 480px; border-color: var(--brand-red); }
.air-content { min-width: 0; }
.air-feature { width: 100%; height: clamp(270px, 34vw, 440px); color: white; }
.air-feature::after { position: absolute; inset: 48% 0 0; background: linear-gradient(transparent, rgb(14 16 20 / 88%)); content: ""; }
.air-feature img { width: 100%; height: 100%; object-fit: cover; }
.air-feature > span, .air-feature > strong, .air-feature > small { position: absolute; z-index: 1; left: 18px; }
.air-feature > span { bottom: 69px; padding: 5px 8px; background: var(--brand-red); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.air-feature > strong { right: 20px; bottom: 39px; font-size: 21px; font-weight: 700; line-height: 27px; letter-spacing: -0.005em; }
.air-feature > small { right: 20px; bottom: 17px; overflow: hidden; color: var(--ink-300); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.air-list > button { display: grid; width: 100%; min-height: 65px; grid-template-columns: 1fr 74px; align-items: center; gap: 15px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--line-default); background: white; cursor: pointer; text-align: left; }
.air-list small, .air-list strong { display: block; }
.air-list small { margin-bottom: 5px; color: var(--brand-red); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.air-list strong { font-size: 14px; font-weight: 600; color: var(--ink-900); }
.air-list img { width: 74px; height: 54px; object-fit: cover; }
.air-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-top: 17px; }
.air-grid button { padding: 0 0 12px; border: 0; background: white; cursor: pointer; text-align: left; }
.air-grid img { width: 100%; aspect-ratio: 1.6 / 1; object-fit: cover; }
.air-grid small, .air-grid strong { display: block; margin-top: 8px; }
.air-grid small { color: var(--brand-red); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.air-grid strong { font-size: 15px; font-weight: 600; line-height: 20px; color: var(--ink-900); }
.air-grid p { color: var(--ink-700); font-size: 13px; line-height: 18px; }

.audio-section { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; padding-top: 34px; padding-bottom: 38px; border-top: 1px solid var(--line-default); }
.audio-section .section-aside { min-height: 230px; }
.audio-row { display: grid; width: 100%; min-height: 68px; grid-template-columns: 42px minmax(0, 1fr) 125px 44px; align-items: center; gap: 14px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--line-default); background: white; cursor: pointer; text-align: left; }
.audio-play { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 11px; }
.audio-row:first-child .audio-play { border-color: var(--brand-red); background: var(--brand-red); color: white; }
.audio-copy small, .audio-copy strong { display: block; }
.audio-copy small { margin-bottom: 5px; color: var(--brand-red); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.audio-copy strong { font-size: 15px; font-weight: 600; line-height: 20px; color: var(--ink-900); }
.waveform { display: flex; height: 38px; align-items: center; justify-content: center; gap: 3px; overflow: hidden; }
.waveform i { width: 2px; height: var(--wave); border-radius: 2px; background: var(--line-strong); }
.audio-row:first-child .waveform i:nth-child(-n+8) { background: var(--ink-900); }
.audio-row time { color: var(--ink-500); font-family: var(--font-mono); font-size: 12px; font-weight: 600; }

.poll-section { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; padding-top: 40px; padding-bottom: 54px; border-top: 1px solid var(--line-default); }
.poll-section .section-aside { min-height: 335px; }
.poll-content > h2 { margin: 0 0 20px; font-size: 26px; font-weight: 700; line-height: 32px; letter-spacing: -0.008em; color: var(--ink-900); }
.poll-options { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); gap: 12px; }
.poll-options article > div:first-child { display: grid; min-height: 124px; grid-template-columns: 110px minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 2px 10px; align-items: center; }
.poll-avatar { display: grid; width: 110px; height: 110px; grid-row: 1 / span 2; place-items: center; background: var(--surface-muted); font-size: 60px; font-weight: 800; }
.poll-avatar.green { background: #d8e8dd; }
.poll-options article > div:first-child > strong { align-self: end; font-size: 15px; font-weight: 600; color: var(--ink-900); }
.poll-options article > div:first-child > small { align-self: start; color: var(--ink-500); font-size: 12px; }
.poll-options article > div:first-child > b { justify-self: start; padding: 6px 9px; background: var(--brand-red); color: white; font-family: var(--font-mono); font-size: 11px; font-weight: 700; }
.poll-options article > div:first-child > .green-tag { background: #69a65b; }
.poll-options article > p { min-height: 112px; margin: 15px 0; padding-top: 13px; border-top: 1px solid var(--line-default); font-size: 13px; line-height: 18px; color: var(--ink-700); }
.poll-vs { display: grid; width: 42px; height: 42px; align-self: start; justify-self: center; place-items: center; margin-top: 40px; background: var(--surface-dark); color: #fff; font-family: var(--font-mono); font-size: 13px; font-weight: 800; }
.poll-result { display: flex; min-height: 32px; align-items: center; gap: 12px; border-top: 1px solid var(--line-default); font-family: var(--font-mono); font-size: 12px; font-weight: 600; }
.poll-result i { width: 62%; height: 12px; background: #69a65b; }
.poll-result.yes i { background: var(--brand-red); }
.poll-options article > button { min-width: 72px; min-height: 34px; margin-top: 10px; border: 1px solid var(--brand-red); background: white; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--brand-red); }
.poll-options article > button:hover { background: var(--brand-red-soft); }
.newsletter { display: grid; min-height: 84px; grid-template-columns: 200px minmax(0, 1fr); align-items: center; gap: 28px; margin-bottom: 22px; border: 1px solid var(--line-default); }
.newsletter > div { padding: 0 20px; border-right: 1px solid var(--line-default); }
.newsletter h2 { margin: 0 0 4px; font-size: 21px; font-weight: 700; line-height: 27px; letter-spacing: -0.005em; color: var(--ink-900); }
.newsletter small { color: var(--ink-500); font-size: 12px; }
.newsletter form { display: flex; min-height: 40px; margin: 0 22px; overflow: hidden; border: 1px solid var(--line-default); border-radius: 24px; }
.newsletter input { min-width: 0; flex: 1; padding: 0 15px; border: 0; outline: none; font-family: var(--font-sans); font-size: 13px; color: var(--ink-900); }
.newsletter form button { margin: 3px; padding: 0 17px; border: 0; border-radius: 20px; background: var(--ink-900); color: white; cursor: pointer; font-size: 13px; font-weight: 600; white-space: nowrap; }
.home-membership { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; padding-top: 0; padding-bottom: 40px; }
.home-membership > .section-aside { min-height: 250px; border-color: var(--brand-red); }
.home-plan-grid { display: grid; grid-template-columns: .8fr 1.35fr 1fr; gap: 12px; }
.home-plan { display: flex; min-height: 240px; flex-direction: column; padding: 18px; border: 1px solid var(--line-default); background: white; }
.home-plan > small { color: var(--ink-500); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.home-plan h3 { margin: 10px 0 12px; font-size: 26px; font-weight: 700; line-height: 32px; letter-spacing: -0.008em; color: var(--ink-900); }
.home-plan h3 small { font-size: 12px; font-weight: 500; color: var(--ink-500); }
.home-plan ul { display: grid; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; color: var(--ink-700); font-size: 13px; line-height: 20px; }
.home-plan li { font-size: 13px; }
.home-plan li::before { margin-right: 8px; color: var(--brand-red); content: "✓"; font-weight: 700; }
.home-plan > button { min-height: 36px; margin-top: auto; border: 0; border-radius: 4px; background: var(--surface-dark); color: white; cursor: pointer; font-size: 13px; font-weight: 600; line-height: 16px; }
.home-plan.is-red { border-color: var(--brand-red); background: var(--brand-red); color: white; }
.home-plan.is-red > small, .home-plan.is-red li::before { color: white; }
.home-plan.is-red > button { background: white; color: var(--ink-900); }
.home-plan.is-dark { border-color: var(--surface-dark); background: var(--surface-dark); color: white; }
.home-plan.is-dark > button { border: 1px solid var(--ink-500); background: transparent; }
.home-plan.is-dark > small, .home-plan.is-dark li::before { color: var(--brand-red); }
.demo-notice { position: fixed; z-index: 20; right: 20px; bottom: 20px; max-width: min(420px, calc(100% - 40px)); padding: 14px 18px; border-radius: 4px; background: var(--surface-dark); color: white; font-size: 13px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .2s ease; }
.demo-notice.is-visible { opacity: 1; transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }

@media (max-width: 900px) {
  .editorial-header .primary-nav { width: 42%; gap: 13px; }
  .editorial-header .nav-link { font-size: 10px; }
  .editorial-header .header-actions { width: 42%; gap: 5px; }
  .search-field { width: 95px; }
  .editorial-brand .brand-name { font-size: 20px; }
  .ranked-section, .story-inner, .news-desk, .stats-inner, .poster-section, .air-section, .audio-section, .poll-section, .newsletter, .home-membership { grid-template-columns: 145px minmax(0, 1fr); gap: 18px; }
  .section-aside { padding-right: 14px; }
  .section-aside h2 { font-size: 22px; }
  .lead-main { min-height: 390px; }
  .lead-copy { padding-top: 35px; }
  .lead-byline { gap: 7px; font-size: 9px; }
  .lead-desk { width: 73px; }
  .ranked-item { grid-template-columns: 105px minmax(0, 1fr) 42px 16px; gap: 10px; }
  .ranked-item strong { font-size: 11px; }
  .news-feature { grid-template-columns: minmax(150px, .75fr) minmax(0, 1.25fr); gap: 13px; }
  .news-feature-image { min-height: 220px; }
  .news-feature-copy h2 { font-size: 25px; }
  .news-author .outline-button { padding: 0 7px; font-size: 8px; }
  .poll-options { grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr); gap: 7px; }
  .poll-options article > div:first-child { grid-template-columns: 76px minmax(0, 1fr); }
  .poll-avatar { width: 76px; height: 84px; font-size: 44px; }
  .home-plan { padding: 12px; }
}

@media (max-width: 620px) {
  .edition-bar { height: 28px; padding: 0 12px; font-size: 8px; }
  .edition-markets { font-size: 7px; }
  .editorial-header { position: sticky; top: 0; height: 54px; padding: 0 12px; }
  .editorial-header .editorial-brand { position: static; order: 0; margin-right: auto; transform: none; }
  .editorial-brand .brand-mark { width: 18px; height: 20px; }
  .editorial-brand .brand-name { font-size: 19px; }
  .editorial-header .primary-nav { position: absolute; top: 53px; right: 0; left: 0; z-index: 5; display: none; width: 100%; height: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 14px 12px; border-bottom: 1px solid var(--line); background: white; box-shadow: 0 12px 20px rgb(0 0 0 / 6%); }
  .editorial-header .primary-nav.is-open { display: flex; }
  .editorial-header .nav-link { height: 40px; font-size: 13px; text-align: left; }
  .editorial-header .nav-link.is-active::before { width: 6px; height: 6px; }
  .editorial-header .header-actions { width: auto; gap: 5px; }
  .search-field { width: 33px; height: 33px; justify-content: center; padding: 0; overflow: hidden; color: transparent; font-size: 0; }
  .search-field svg { flex: 0 0 auto; color: #414146; }
  .editorial-header .member-button { display: none; }
  .editorial-header .menu-toggle { display: grid; width: 33px; height: 33px; }
  .content-wrap, .lead-section { width: calc(100% - 24px); }
  .lead-section { margin-top: 8px; }
  .lead-main { display: flex; flex-direction: column-reverse; }
  .lead-image { width: 100%; height: 230px; }
  .lead-copy { padding: 17px 0 14px; }
  .lead-copy h1 { margin: 9px 0; font-size: 28px; }
  .lead-copy > p { font-size: 11px; }
  .lead-copy > .outline-button { margin-top: 12px; }
  .lead-byline { min-height: 53px; margin-top: 12px; }
  .lead-byline > i { height: 38px; }
  .lead-ticker { min-height: 60px; grid-template-columns: 62px repeat(3, minmax(115px, 1fr)); overflow-x: auto; }
  .lead-ticker > strong { padding: 0 8px; font-size: 8px; }
  .lead-ticker > button { min-height: 45px; padding: 5px 9px; font-size: 8px; }
  .ranked-section, .story-inner, .news-desk, .stats-inner, .poster-section, .air-section, .audio-section, .poll-section, .newsletter, .home-membership { display: block; padding-top: 23px; padding-bottom: 25px; }
  .section-aside, .ranked-section .section-aside, .story-showcase .section-aside, .news-desk > .section-aside, .stats-inner .section-aside, .poster-section .section-aside, .air-section > .section-aside, .audio-section .section-aside, .poll-section .section-aside, .home-membership > .section-aside { min-height: 0; align-items: flex-start; padding: 0 0 13px; border: 0; text-align: left; }
  .section-aside::after { display: none; }
  .section-aside h2 { margin: 5px 0; font-size: 22px; }
  .section-aside p { max-width: none; }
  .section-aside .aside-action { position: absolute; top: 14px; right: 0; margin: 0; }
  .ranked-item { min-height: 73px; grid-template-columns: 84px minmax(0, 1fr) 38px 13px; gap: 8px; }
  .ranked-item img { height: 55px; }
  .ranked-item strong { font-size: 10px; line-height: 1.35; }
  .ranked-item small { font-size: 7px; }
  .story-inner { width: 100%; padding-right: 12px; padding-left: 12px; }
  .story-showcase .section-aside { padding-right: 0; }
  .story-cards { grid-auto-columns: 42%; gap: 9px; padding-top: 0; }
  .story-tile { height: 210px; }
  .news-feature { grid-template-columns: 1fr; gap: 10px; }
  .news-feature-image { height: 210px; min-height: 0; }
  .news-feature-copy h2 { margin: 8px 0; font-size: 25px; }
  .news-author { margin-top: 12px; }
  .news-row { grid-template-columns: 88px minmax(0, 1fr); gap: 10px; padding: 10px 0; }
  .news-row img { width: 88px; height: 70px; }
  .news-row strong { font-size: 10px; line-height: 1.4; }
  .news-row p { display: none; }
  .stats-inner { width: 100%; padding-right: 12px; padding-left: 12px; }
  .stats-inner .section-aside { padding-right: 0; }
  .stat-cards { grid-auto-columns: 72%; gap: 9px; }
  .stat-card { min-height: 250px; }
  .poster-cards { grid-auto-columns: 68%; gap: 10px; }
  .poster-art { aspect-ratio: .9 / 1; }
  .air-feature { height: 235px; }
  .air-feature > strong { bottom: 39px; font-size: 14px; }
  .air-feature > small { overflow: hidden; }
  .air-grid { gap: 10px; }
  .air-grid strong { font-size: 11px; line-height: 1.35; }
  .air-grid p { font-size: 9px; }
  .audio-row { min-height: 66px; grid-template-columns: 36px minmax(0, 1fr) 42px; gap: 8px; }
  .audio-play { width: 32px; height: 32px; }
  .audio-copy small { font-size: 7px; }
  .audio-copy strong { font-size: 10px; }
  .waveform { display: none; }
  .poll-content > h2 { font-size: 18px; }
  .poll-options { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .poll-vs { width: 32px; height: 32px; margin: -5px auto; }
  .poll-options article > div:first-child { grid-template-columns: 85px minmax(0, 1fr); min-height: 95px; }
  .poll-avatar { width: 85px; height: 94px; font-size: 45px; }
  .poll-options article > p { min-height: 0; margin: 10px 0; }
  .newsletter { display: block; padding: 13px; }
  .newsletter > div { padding: 0 0 12px; border: 0; }
  .newsletter form { margin: 0; }
  .home-plan-grid { grid-template-columns: 1fr; }
  .home-plan { min-height: 200px; padding: 17px; }
  .site-footer { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 18px; }
  .site-footer .brand { grid-column: 1 / -1; }
  .site-footer p { grid-column: 1 / -1; }
}

.site-footer { display: grid; min-height: 0; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 28px; padding: 42px max(22px, calc((100% - 1320px) / 2)) 0; border-top: 0; background: var(--surface-dark); color: var(--ink-300); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-end; padding-right: 24px; border-right: 2px solid var(--ink-700); text-align: right; }
.footer-brand .brand { margin-bottom: 10px; }
.footer-brand .brand-mark { width: 21px; height: 24px; border-radius: 0; font-size: 0; clip-path: polygon(0 0, 61% 0, 100% 40%, 100% 100%, 0 100%); }
.footer-brand .brand-name { color: white; font-family: var(--font-sans); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.footer-brand .brand-name span { color: var(--brand-red); }
.footer-brand > strong { margin-bottom: 12px; color: var(--brand-red); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-brand > small { margin: 0; font-size: 12px; line-height: 1.6; color: var(--ink-400); }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding-top: 4px; }
.footer-column > b { margin-bottom: 2px; color: var(--brand-red); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-column a { color: var(--ink-300); font-size: 13px; }
.footer-column a:hover { color: white; }
.footer-bottom { display: flex; min-height: 45px; grid-column: 1 / -1; align-items: center; justify-content: space-between; margin: 0 calc(-1 * max(22px, calc((100% - 1320px) / 2))); padding: 0 max(22px, calc((100% - 1320px) / 2)); border-top: 1px solid var(--ink-800); background: #08090b; color: var(--ink-500); font-family: var(--font-mono); font-size: 11px; }

@media (max-width: 620px) {
  .site-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; padding: 27px 14px 0; }
  .footer-brand { grid-column: 1 / -1; align-items: flex-start; padding: 0 0 16px; border: 0; border-bottom: 1px solid var(--ink-800); text-align: left; }
  .footer-column { gap: 8px; }
  .footer-bottom { min-height: 54px; grid-column: 1 / -1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; margin: 0 -14px; padding: 0 14px; }
}

.archive-page { width: min(1320px, calc(100% - 44px)); padding-top: 30px; padding-bottom: 70px; }
.archive-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 17px; border-bottom: 1px solid var(--line-default); }
.archive-heading h1 { margin: 0; font-size: clamp(28px, 3vw, 34px); font-weight: 600; letter-spacing: -0.015em; line-height: 36px; color: var(--ink-900); }
.archive-heading p { margin: 8px 0 0; color: var(--ink-500); font-size: 13px; line-height: 18px; }
.archive-sort { display: flex; flex: 0 0 auto; gap: 6px; }
.archive-sort button { min-height: 32px; padding: 0 14px; border: 0; border-radius: 20px; background: var(--surface-muted); color: var(--ink-700); cursor: pointer; font-size: 13px; font-weight: 600; }
.archive-sort button.is-active { background: var(--surface-dark); color: white; }
.main-category-filters { display: flex; gap: 8px; overflow-x: auto; padding: 15px 0 14px; scrollbar-width: thin; }
.main-category-filters button { min-height: 34px; flex: 0 0 auto; padding: 0 16px; border: 1px solid var(--line-default); border-radius: 20px; background: #fff; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink-700); white-space: nowrap; }
.main-category-filters button.is-active { border-color: var(--brand-red); background: var(--brand-red); color: #fff; }
.sub-category-filters { display: flex; align-items: center; gap: 7px; overflow-x: auto; padding: 1px 0 14px; scrollbar-width: thin; }
.sub-category-filters > span { flex: 0 0 auto; margin-right: 3px; color: var(--ink-500); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.sub-category-filters button { min-height: 28px; flex: 0 0 auto; padding: 0 12px; border: 0; border-radius: 4px; background: var(--surface-muted); color: var(--ink-700); cursor: pointer; font-size: 12px; font-weight: 600; white-space: nowrap; }
.sub-category-filters button.is-active { background: var(--surface-dark); color: #fff; }
.archive-count-row { display: flex; min-height: 39px; align-items: center; justify-content: flex-end; gap: 12px; color: var(--ink-500); font-size: 12px; }
.archive-count-row > div { display: flex; gap: 3px; }
.archive-count-row button { width: 29px; height: 26px; border: 0; border-radius: 4px; background: var(--surface-muted); color: var(--ink-700); cursor: pointer; font-size: 14px; }
.archive-count-row button.is-active { background: var(--surface-dark); color: white; }
.archive-layout { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(255px, .95fr); gap: 46px; }
.archive-results { min-width: 0; }
.archive-article { display: grid; min-height: 150px; grid-template-columns: minmax(190px, 29%) minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-default); cursor: pointer; }
.archive-article-image { display: block; width: 100%; height: 132px; border-radius: 4px; background: var(--surface-muted); object-fit: cover; }
.archive-article-copy { min-width: 0; align-self: center; }
.archive-taxonomy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.archive-taxonomy > span:first-child { color: var(--brand-red); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.archive-taxonomy > span:nth-child(2) { padding: 3px 6px; border-radius: 2px; background: var(--surface-muted); color: var(--ink-700); font-size: 11px; font-weight: 600; }
.archive-taxonomy > .archive-premium { padding: 3px 6px; border-radius: 2px; background: var(--surface-dark); color: white; font-size: 10px; font-weight: 700; }
.archive-article h2 { margin: 0 0 8px; font-size: clamp(17px, 1.3vw, 21px); font-weight: 700; line-height: 24px; color: var(--ink-900); }
.archive-article p { margin: 0 0 8px; color: var(--ink-700); font-size: 14px; line-height: 21px; }
.archive-article-copy > small { color: var(--ink-500); font-size: 12px; }
.archive-article:hover h2 { color: var(--brand-red-dark); }
.popular-sidebar { padding-top: 19px; }
.popular-sidebar > h2 { margin: 0 0 7px; color: var(--brand-red); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.popular-sidebar > h2 span { color: var(--ink-400); font-size: 11px; font-weight: 500; }
.popular-article { display: grid; width: 100%; min-height: 80px; grid-template-columns: 29px 86px minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 0; border: 0; border-bottom: 1px solid var(--line-default); background: white; cursor: pointer; text-align: left; }
.popular-article > strong { color: var(--brand-red); font-family: var(--font-mono); font-size: 18px; font-weight: 700; }
.popular-image { position: relative; display: block; height: 60px; overflow: hidden; border-radius: 4px; background: var(--surface-muted); }
.popular-image img { width: 100%; height: 100%; object-fit: cover; }
.popular-image small { position: absolute; right: 4px; bottom: 4px; padding: 2px 4px; border-radius: 2px; background: rgb(14 16 20 / 75%); color: white; font-size: 10px; font-family: var(--font-mono); }
.popular-copy { min-width: 0; }
.popular-copy b { display: -webkit-box; overflow: hidden; font-size: 13px; font-weight: 600; line-height: 18px; color: var(--ink-900); -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.popular-copy small { display: block; margin-top: 5px; color: var(--ink-500); font-size: 12px; }
.archive-pagination { display: flex; align-items: center; gap: 5px; margin-top: 28px; }
.archive-pagination button { min-width: 29px; height: 29px; padding: 0 8px; border: 1px solid var(--line-default); border-radius: 4px; background: white; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink-700); }
.archive-pagination button.is-active { border-color: var(--surface-dark); background: var(--surface-dark); color: white; }
.archive-pagination .pagination-next { padding: 0 13px; }
.pagination-gap { padding: 0 5px; color: var(--ink-400); }
.archive-layout.is-grid { grid-template-columns: 1fr; }
.archive-layout.is-grid .archive-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 12px; }
.archive-layout.is-grid .archive-article { display: block; padding: 0 0 14px; border: 1px solid var(--line-default); border-radius: 4px; overflow: hidden; }
.archive-layout.is-grid .archive-article-image { height: auto; aspect-ratio: 1.65 / 1; border-radius: 0; }
.archive-layout.is-grid .archive-article-copy { padding: 12px; }
.archive-layout.is-grid .archive-pagination { grid-column: 1 / -1; }

.browse-page { width: min(1320px, calc(100% - 44px)); padding-top: 32px; padding-bottom: 80px; }
.browse-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line-default); }
.browse-eyebrow { display: block; color: var(--brand-red); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.browse-heading h1 { margin: 8px 0 5px; font-size: clamp(30px, 3vw, 42px); font-weight: 700; letter-spacing: -0.02em; line-height: 48px; color: var(--ink-900); }
.browse-heading p { margin: 0; color: var(--ink-500); font-size: 13px; line-height: 18px; }
.browse-sort { display: flex; gap: 7px; flex: 0 0 auto; }
.browse-sort button, .browse-format-filters button { min-height: 32px; padding: 0 14px; border: 1px solid var(--line-default); border-radius: 18px; background: white; cursor: pointer; font-size: 13px; font-weight: 600; line-height: 16px; color: var(--ink-700); }
.browse-sort button.is-active, .browse-format-filters button.is-active { border-color: var(--surface-dark); background: var(--surface-dark); color: white; }
.browse-format-filters { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 3px; scrollbar-width: thin; }
.browse-category-filters { display: flex; align-items: center; gap: 7px; overflow-x: auto; padding: 13px 0 11px; border-bottom: 1px solid var(--line-default); scrollbar-width: thin; }
.browse-category-filters > span { flex: 0 0 auto; padding-right: 4px; color: var(--ink-500); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.browse-category-filters button { min-height: 28px; flex: 0 0 auto; padding: 0 12px; border: 0; border-radius: 4px; background: var(--surface-muted); color: var(--ink-700); cursor: pointer; font-size: 12px; font-weight: 600; white-space: nowrap; }
.browse-category-filters button.is-active { background: var(--surface-dark); color: white; }
.browse-count-row { display: flex; min-height: 43px; align-items: center; justify-content: flex-end; gap: 12px; color: var(--ink-500); font-size: 12px; }
.browse-count-row > div { display: flex; gap: 4px; }
.browse-count-row button { width: 31px; height: 27px; border: 0; border-radius: 4px; background: var(--surface-muted); color: var(--ink-700); cursor: pointer; font-size: 14px; }
.browse-count-row button.is-active { background: var(--surface-dark); color: white; }
.browse-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, .9fr); gap: 40px; }
.browse-results { min-width: 0; }
.browse-results.is-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-content: start; gap: 18px; }
.browse-results .card { min-width: 0; }
.browse-results.is-list .card { display: grid; grid-template-columns: minmax(190px, 32%) minmax(0, 1fr); gap: 0 18px; padding: 15px 0; border-bottom: 1px solid var(--line-default); }
.browse-results.is-list .card .poster { grid-row: span 2; aspect-ratio: 1.75 / 1; }
.browse-results.is-list .card .card-title { align-self: end; }
.browse-results.is-list .card .card-meta { align-self: start; }
.browse-results.is-list .browse-pagination { grid-column: 1 / -1; }
.browse-popular { padding-top: 13px; }
.browse-popular > h2 { margin: 0 0 8px; color: var(--brand-red); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.browse-popular > h2 span { color: var(--ink-400); font-weight: 500; }
.browse-popular-item { display: grid; width: 100%; min-height: 75px; grid-template-columns: 25px 84px minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--line-default); background: white; cursor: pointer; text-align: left; }
.browse-popular-item > strong { color: var(--brand-red); font-family: var(--font-mono); font-size: 18px; font-weight: 700; }
.browse-popular-item > img { width: 84px; height: 56px; border-radius: 4px; object-fit: cover; }
.browse-popular-item span { min-width: 0; }
.browse-popular-item b { display: -webkit-box; overflow: hidden; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink-900); -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.browse-popular-item small { display: block; margin-top: 5px; color: var(--ink-500); font-size: 12px; }
.browse-pagination { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; }
.browse-pagination button { min-height: 34px; padding: 0 14px; border: 1px solid var(--line-default); border-radius: 4px; background: white; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink-700); }
.browse-pagination button:disabled { cursor: default; opacity: .45; }
.browse-pagination span { color: var(--ink-500); font-size: 12px; }
.audio-list-card { position: relative; display: grid; grid-template-columns: minmax(170px, 215px) minmax(0, 1fr) 48px; gap: 16px; align-items: center; padding: 16px 0 34px; border-bottom: 1px solid var(--line-default); cursor: pointer; }
.audio-list-card > img { width: 100%; aspect-ratio: 1.6 / 1; border-radius: 4px; object-fit: cover; }
.audio-list-card h2 { margin: 5px 0; font-size: 17px; font-weight: 700; line-height: 22px; color: var(--ink-900); }
.audio-list-card p { margin: 0 0 7px; color: var(--ink-700); font-size: 14px; line-height: 21px; }
.audio-list-card small { color: var(--ink-500); font-size: 12px; }
.audio-list-meta { color: var(--brand-red); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.audio-play-button { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--ink-900); border-radius: 50%; background: white; color: var(--ink-900); cursor: pointer; }
.audio-play-button svg { width: 17px; height: 17px; fill: currentColor; }
.audio-queue-button { position: absolute; right: 0; bottom: 8px; padding: 3px 0; border: 0; background: transparent; color: var(--ink-500); cursor: pointer; font-size: 12px; font-weight: 600; }
.story-today { margin: 24px 0 26px; padding: 24px; background: var(--surface-dark); color: white; }
.story-today > div:first-child { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.story-today h2 { margin: 0; font-size: 26px; font-weight: 700; line-height: 32px; letter-spacing: -0.008em; }
.story-today-grid { display: grid; grid-auto-columns: minmax(130px, 1fr); grid-auto-flow: column; gap: 12px; overflow-x: auto; padding-bottom: 5px; }
.story-today-card { position: relative; min-width: 0; padding: 0; border: 0; background: transparent; color: white; cursor: pointer; text-align: left; }
.story-today-card img { width: 100%; aspect-ratio: .67; border-radius: 4px; object-fit: cover; }
.story-today-card > span { position: absolute; top: 8px; left: 8px; padding: 3px 5px; border-radius: 2px; background: rgb(14 16 20 / 75%); font-family: var(--font-mono); font-size: 11px; font-weight: 600; }
.story-today-card b { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; line-height: 18px; }
.data-story-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.data-story-card { position: relative; display: flex; min-height: 222px; flex-direction: column; align-items: flex-start; padding: 16px; border: 1px solid var(--line-default); background: white; cursor: pointer; text-align: left; }
.data-story-card.is-featured { grid-column: span 2; grid-row: span 1; min-height: 222px; padding: 20px; background: var(--brand-red); color: white; }
.data-eyebrow { margin-bottom: 11px; color: var(--ink-500); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.data-story-card.is-featured .data-eyebrow { color: white; }
.data-story-card > strong { font-family: var(--font-mono); font-size: clamp(30px, 3.1vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.data-story-card > b { margin: 5px 0; font-size: 14px; font-weight: 600; color: var(--ink-900); }
.data-story-card h2 { margin: 7px 0; font-size: 15px; font-weight: 600; line-height: 20px; color: var(--ink-900); }
.data-story-card p { margin: 0 0 9px; color: var(--ink-700); font-size: 13px; line-height: 18px; }
.data-story-card.is-featured p, .data-story-card.is-featured small { color: white; }
.data-story-card small { margin-top: auto; color: var(--ink-500); font-size: 12px; }
.data-story-open { color: inherit; text-decoration: none; }
.data-story-open::after { position: absolute; inset: 0; content: ""; }
.data-story-open:focus-visible::after { outline: 3px solid currentColor; outline-offset: 3px; }
.data-story-share { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.data-story-share a, .data-story-share button { padding: 7px 9px; border: 1px solid currentColor; border-radius: 4px; background: transparent; color: inherit; font: inherit; font-size: 12px; text-decoration: none; cursor: pointer; }
.data-story-share a:hover, .data-story-share button:hover { text-decoration: underline; }
.data-story-grid.is-list .data-story-share { grid-column: 1 / -1; }
.data-story-card em { position: absolute; top: 17px; right: 15px; color: var(--brand-red); font-family: var(--font-mono); font-size: 11px; font-style: normal; font-weight: 700; }
.data-story-grid.is-list { display: flex; flex-direction: column; }
.data-story-grid.is-list .data-story-card { display: grid; min-height: 105px; grid-template-columns: 120px minmax(0, 1fr) 180px; align-items: center; gap: 4px 16px; }
.data-story-grid.is-list .data-story-card.is-featured { grid-column: auto; }
.data-story-grid.is-list .data-story-card > strong { grid-row: span 3; }
.data-story-grid.is-list .data-story-card > .data-eyebrow, .data-story-grid.is-list .data-story-card h2, .data-story-grid.is-list .data-story-card p { grid-column: 2; }
.data-story-grid.is-list .data-story-card small { grid-column: 3; grid-row: 1 / span 3; }
.data-dialog-value { display: block; margin: 15px 0; color: var(--brand-red); font-family: var(--font-mono); font-size: 28px; font-weight: 700; }
.contributors-page { width: min(1200px, calc(100% - 44px)); padding-top: 35px; padding-bottom: 80px; }
.contributors-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.contributor-card { display: flex; min-height: 265px; flex-direction: column; align-items: flex-start; padding: 18px; border: 1px solid var(--line-default); background: white; cursor: pointer; text-align: left; }
.contributor-card img, .contributor-placeholder { width: 90px; height: 90px; border-radius: 50%; background: var(--surface-muted); object-fit: cover; }
.contributor-placeholder { display: grid; place-items: center; color: var(--brand-red); font-family: var(--font-primary); font-size: 30px; font-weight: 700; }
.contributor-card small { margin-top: 15px; color: var(--brand-red); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.contributor-card h2 { margin: 5px 0; font-size: 17px; font-weight: 700; line-height: 22px; color: var(--ink-900); }
.contributor-card > span:last-child { margin-top: auto; color: var(--ink-500); font-size: 12px; }
.contributor-profile { background: var(--surface-muted); }
.contributor-profile-inner { display: grid; min-height: 250px; grid-template-columns: 148px minmax(0, 1fr) auto; align-items: center; gap: 26px; padding-top: 25px; padding-bottom: 25px; }
.contributor-profile-inner > img, .contributor-profile-inner > .contributor-placeholder { width: 148px; height: 148px; border-radius: 50%; object-fit: cover; }
.contributor-profile h1 { margin: 7px 0 8px; font-size: clamp(28px, 3.5vw, 36px); font-weight: 700; line-height: 1.15; color: var(--ink-900); }
.contributor-profile p { max-width: 700px; margin: 0; color: var(--ink-700); font-size: 14px; line-height: 21px; }
.contributor-stats { display: flex; gap: 28px; margin-top: 16px; }
.contributor-stats b { font-size: 20px; font-weight: 700; color: var(--ink-900); }
.contributor-stats small { display: block; color: var(--ink-500); font-size: 11px; font-weight: 600; text-transform: uppercase; }
.follow-button { min-width: 105px; min-height: 38px; padding: 0 15px; border: 0; border-radius: 22px; background: var(--surface-dark); color: white; cursor: pointer; font-size: 14px; font-weight: 600; }
.follow-button.is-following { background: var(--line-default); color: var(--ink-900); }
.contributor-tabs { display: flex; gap: 23px; border-bottom: 1px solid var(--line-default); }
.contributor-tabs button { min-height: 48px; padding: 0 2px; border: 0; border-bottom: 2px solid transparent; background: white; color: var(--ink-500); cursor: pointer; font-size: 14px; font-weight: 600; }
.contributor-tabs button.is-active { border-bottom-color: var(--brand-red); color: var(--ink-900); }
.contributor-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: 18px; padding-bottom: 70px; }
.membership-hero { background: var(--surface-dark); color: white; }
.membership-hero-inner { display: grid; width: min(1200px, calc(100% - 44px)); min-height: 430px; grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr); align-items: center; gap: 60px; padding-top: 35px; padding-bottom: 35px; }
.membership-copy h1 { max-width: 540px; margin: 15px 0; font-size: clamp(48px, 6vw, 74px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.membership-copy > p { max-width: 525px; color: var(--ink-300); font-size: 16px; line-height: 24px; }
.membership-perks { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; color: white; font-size: 13px; }
.membership-checkout { padding: 22px; border-radius: 4px; background: white; color: var(--ink-900); }
.membership-checkout > small { display: block; margin: 0 0 10px; color: var(--ink-500); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.membership-plan-options { display: grid; gap: 7px; margin-bottom: 17px; }
.membership-plan-options button { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 11px; border: 1px solid var(--line-default); border-radius: 4px; background: white; cursor: pointer; text-align: left; }
.membership-plan-options button.is-active { border: 2px solid var(--surface-dark); }
.membership-plan-options button > span { font-size: 13px; font-weight: 700; color: var(--ink-900); }
.membership-plan-options button small { display: block; margin-top: 4px; color: var(--ink-500); font-size: 12px; font-weight: 400; }
.membership-plan-options button > b { flex: 0 0 auto; font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: var(--ink-900); }
.payment-method-options { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.payment-method-options button { min-height: 30px; padding: 0 10px; border: 1px solid var(--line-default); border-radius: 3px; background: white; cursor: pointer; font-size: 12px; font-weight: 600; color: var(--ink-700); }
.payment-method-options button.is-active { border-color: var(--surface-dark); background: var(--surface-dark); color: white; }
.checkout-total { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line-default); font-size: 13px; font-weight: 600; color: var(--ink-900); }
.checkout-start { width: 100%; }
.checkout-disclaimer { margin: 9px 0 0; color: var(--ink-500); font-size: 11px; line-height: 16px; }
.membership-values, .membership-plans, .membership-faqs { width: min(1200px, calc(100% - 44px)); padding-top: 55px; padding-bottom: 55px; }
.membership-values > header, .membership-plans header, .membership-faqs header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 20px; padding-bottom: 14px; border-bottom: 1px solid var(--surface-dark); }
.membership-values h2, .membership-plans h2, .membership-faqs h2 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -0.015em; color: var(--ink-900); }
.membership-values > header p { margin-left: auto; color: var(--ink-500); font-size: 13px; }
.membership-value { display: grid; min-height: 105px; grid-template-columns: 52px minmax(140px, 1fr) minmax(240px, 1.4fr) 125px; align-items: center; gap: 20px; border-bottom: 1px solid var(--line-default); }
.membership-value > span { color: var(--line-strong); font-family: var(--font-mono); font-size: 28px; font-weight: 800; }
.membership-value small { color: var(--brand-red); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.membership-value h3 { margin: 5px 0; font-size: 17px; font-weight: 700; line-height: 22px; color: var(--ink-900); }
.membership-value p { color: var(--ink-700); font-size: 13px; line-height: 18px; }
.membership-value img { width: 125px; height: 70px; border-radius: 4px; object-fit: cover; }
.membership-plans { width: 100%; max-width: none; background: var(--surface-muted); }
.membership-plans > div { width: min(1200px, calc(100% - 44px)); }
.membership-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.plan-card { padding: 24px; border: 1px solid var(--line-default); border-radius: 4px; background: white; }
.plan-card.is-featured, .plan-card.is-selected { border: 2px solid var(--surface-dark); }
.plan-overline { color: var(--brand-red); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.plan-card h3 { margin: 8px 0; font-size: 21px; font-weight: 700; line-height: 27px; color: var(--ink-900); }
.plan-card p { min-height: 34px; color: var(--ink-700); font-size: 13px; line-height: 18px; }
.plan-price { margin: 16px 0; font-family: var(--font-mono); font-size: 28px; font-weight: 800; color: var(--ink-900); }
.plan-price small { color: var(--ink-500); font-family: var(--font-primary); font-size: 12px; font-weight: 400; }
.plan-card ul { min-height: 90px; padding-left: 15px; font-size: 13px; line-height: 21px; color: var(--ink-700); }
.plan-card > button { width: 100%; }
.outline-button { min-height: 36px; padding: 0 16px; border: 1px solid var(--surface-dark); border-radius: 3px; background: white; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink-900); }
.membership-faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 20px; }
.membership-faq { border-top: 1px solid var(--surface-dark); }
.membership-faq summary { padding: 14px 0; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink-900); }
.membership-faq p { margin: 0; padding: 0 0 14px; color: var(--ink-700); font-size: 13px; line-height: 20px; }
.search-page { width: min(1200px, calc(100% - 44px)); padding-top: 30px; padding-bottom: 75px; }
.search-panel { margin: 18px 0 20px; }
.search-input-wrap { display: flex; min-height: 56px; align-items: center; gap: 12px; padding: 5px 8px 5px 16px; border: 2px solid var(--surface-dark); border-radius: 4px; }
.search-input-wrap svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; }
.search-input { width: 100%; min-width: 0; border: 0; outline: none; font-size: 18px; font-weight: 600; color: var(--ink-900); font-family: var(--font-primary); }
.search-input-wrap .button-primary { min-width: 96px; }
.search-query-context { min-height: 22px; color: var(--ink-500); font-size: 12px; }
.search-type-filters { display: flex; gap: 24px; border-bottom: 1px solid var(--line-default); }
.search-type-filters button { min-height: 39px; padding: 0 3px; border: 0; border-bottom: 3px solid transparent; background: white; color: var(--ink-500); cursor: pointer; font-size: 13px; font-weight: 600; }
.search-type-filters button.is-active { border-bottom-color: var(--brand-red); color: var(--ink-900); }
.search-refinements { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line-default); }
.search-refinements > div { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.search-refinements > div > span { margin-right: 4px; color: var(--ink-500); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.search-refinements button { min-height: 29px; padding: 0 12px; border: 1px solid var(--line-default); border-radius: 18px; background: white; cursor: pointer; font-size: 12px; font-weight: 600; color: var(--ink-700); }
.search-refinements button.is-active { border-color: var(--surface-dark); background: var(--surface-dark); color: white; }
.search-date-range { display: flex; align-items: center; gap: 5px; padding: 0 8px; color: var(--ink-500); font-size: 12px; }
.search-date-range input { width: 118px; height: 28px; border: 1px solid var(--line-default); border-radius: 14px; padding: 0 8px; font-size: 12px; font-family: var(--font-primary); }
.search-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(230px, .75fr); gap: 48px; margin-top: 17px; }
.search-results { min-width: 0; }
.search-results .result-card { display: grid; grid-template-columns: minmax(0, 1fr) 165px; gap: 17px; padding: 15px 0; border-bottom: 1px solid var(--line-default); }
.search-results .result-image { grid-column: 2; grid-row: 1; width: 100%; height: 94px; border-radius: 4px; object-fit: cover; }
.search-results .result-card > div { grid-column: 1; grid-row: 1; }
.search-results .result-kind { color: var(--ink-500); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.search-results .result-title { margin: 8px 0; font-size: 18px; font-weight: 700; line-height: 24px; color: var(--ink-900); }
.search-results .result-summary { margin: 0; color: var(--ink-700); font-size: 13px; line-height: 19px; }
.search-sidebar h2 { margin: 12px 0; font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-500); }
.recent-search, .search-popular-queries button { display: inline-flex; align-items: center; gap: 6px; margin: 0 4px 7px 0; padding: 7px 10px; border: 1px solid var(--line-default); border-radius: 18px; background: white; cursor: pointer; font-size: 12px; font-weight: 600; color: var(--ink-700); }
.search-popular-queries svg { width: 13px; height: 13px; }
.author-byline { display: flex; flex-direction: column; align-items: flex-start; padding: 0; border: 0; background: transparent; cursor: pointer; text-align: left; }
.author-byline strong { font-size: 13px; font-weight: 600; color: var(--ink-900); }
.author-byline small { color: var(--ink-500); font-size: 11px; }
.footer-column button { display: block; padding: 0; border: 0; background: transparent; color: var(--ink-400); cursor: pointer; font-size: 13px; text-align: left; }
.footer-column button:hover { color: white; }
.site-footer .footer-column { align-items: flex-start; }
.browse-results.is-audio { display: block; }

@media (max-width: 980px) {
  .browse-results.is-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .data-story-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .membership-hero-inner { gap: 28px; }
  .membership-value { grid-template-columns: 42px minmax(130px, 1fr) minmax(180px, 1.3fr) 100px; gap: 13px; }
  .membership-value img { width: 100px; height: 62px; }
  .editorial-header .primary-nav { gap: 14px; }
  .editorial-header .nav-link { font-size: 14px; }
  .editorial-header .header-actions { right: 12px; }
}

@media (max-width: 760px) {
  .browse-page, .contributors-page, .search-page { width: calc(100% - 30px); padding-top: 23px; }
  .browse-heading { align-items: flex-start; flex-direction: column; gap: 11px; }
  .browse-heading h1 { font-size: 30px; }
  .browse-heading p { font-size: 10px; line-height: 1.5; }
  .browse-sort { align-self: flex-end; margin-top: -43px; }
  .browse-sort button { min-height: 27px; padding: 0 10px; font-size: 9px; }
  .browse-layout { display: block; }
  .browse-results.is-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .browse-results.is-list .card { grid-template-columns: 112px minmax(0, 1fr); gap: 0 11px; padding: 11px 0; }
  .browse-results.is-list .card .poster { aspect-ratio: 1.45 / 1; }
  .browse-results.is-list .card .card-title { font-size: 12px; }
  .browse-results.is-list .card .card-meta { font-size: 9px; }
  .browse-popular { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line); }
  .browse-popular-item { grid-template-columns: 23px 72px minmax(0, 1fr); min-height: 66px; }
  .browse-popular-item > img { width: 72px; height: 49px; }
  .browse-pagination button { min-height: 31px; padding: 0 9px; font-size: 9px; }
  .audio-list-card { grid-template-columns: 98px minmax(0, 1fr) 37px; gap: 10px; padding: 12px 0 30px; }
  .audio-list-card h2 { font-size: 12px; }
  .audio-list-card p { display: none; }
  .audio-play-button { width: 34px; height: 34px; }
  .audio-list-card small { font-size: 8px; }
  .audio-list-meta { font-size: 7px; }
  .story-today { margin: 18px 0; padding: 16px; }
  .story-today-grid { grid-auto-columns: 112px; gap: 9px; }
  .story-today h2 { font-size: 19px; }
  .data-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .data-story-card { min-height: 190px; padding: 12px; }
  .data-story-card.is-featured { grid-column: span 2; min-height: 190px; }
  .data-story-card > strong { font-size: 32px; }
  .data-story-grid.is-list .data-story-card { min-height: 92px; grid-template-columns: 74px minmax(0, 1fr); gap: 4px 10px; padding: 10px; }
  .data-story-grid.is-list .data-story-card > strong { grid-row: span 3; font-size: 25px; }
  .data-story-grid.is-list .data-story-card small { grid-column: 2; grid-row: auto; margin-top: 2px; }
  .contributors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .contributor-card { min-height: 210px; padding: 13px; }
  .contributor-card img, .contributor-placeholder { width: 66px; height: 66px; }
  .contributor-card h2 { font-size: 13px; }
  .contributor-card > span:last-child { font-size: 8px; }
  .contributor-profile-inner { min-height: auto; grid-template-columns: 75px minmax(0, 1fr); gap: 12px; padding-top: 20px; padding-bottom: 20px; }
  .contributor-profile-inner > img, .contributor-profile-inner > .contributor-placeholder { width: 75px; height: 75px; }
  .contributor-profile h1 { font-size: 23px; }
  .contributor-profile p { font-size: 10px; }
  .contributor-stats { gap: 15px; margin-top: 11px; }
  .contributor-stats b { font-size: 15px; }
  .contributor-stats small { font-size: 7px; }
  .follow-button { grid-column: 2; justify-self: start; min-height: 30px; }
  .contributor-tabs { gap: 18px; }
  .contributor-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .membership-hero-inner { width: calc(100% - 30px); grid-template-columns: 1fr; gap: 24px; padding-top: 30px; padding-bottom: 30px; }
  .membership-copy h1 { max-width: 400px; font-size: 48px; }
  .membership-copy > p { font-size: 12px; }
  .membership-perks { gap: 8px 13px; font-size: 8px; }
  .membership-checkout { padding: 16px; }
  .membership-values, .membership-faqs { width: calc(100% - 30px); padding-top: 38px; padding-bottom: 38px; }
  .membership-values h2, .membership-plans h2, .membership-faqs h2 { font-size: 22px; }
  .membership-values > header p { width: 100%; margin: 0; }
  .membership-value { min-height: 85px; grid-template-columns: 28px minmax(95px, 1fr) minmax(0, 1.4fr); gap: 8px; }
  .membership-value > span { font-size: 20px; }
  .membership-value h3 { font-size: 11px; }
  .membership-value p { font-size: 8px; }
  .membership-value img { display: none; }
  .membership-plans > div { width: calc(100% - 30px); padding-top: 38px; padding-bottom: 38px; }
  .membership-grid { grid-template-columns: 1fr; gap: 9px; }
  .plan-card { padding: 15px; }
  .plan-card p, .plan-card ul { min-height: 0; }
  .membership-faq-grid { grid-template-columns: 1fr; }
  .search-layout { display: block; }
  .search-refinements { align-items: flex-start; flex-direction: column; }
  .search-refinements > div { gap: 5px; }
  .search-refinements button { min-height: 26px; padding: 0 8px; font-size: 8px; }
  .search-date-range { flex-wrap: wrap; }
  .search-date-range input { width: 105px; }
  .search-type-filters { gap: 16px; overflow-x: auto; }
  .search-type-filters button { flex: 0 0 auto; font-size: 10px; }
  .search-results .result-card { grid-template-columns: minmax(0, 1fr) 95px; gap: 10px; }
  .search-results .result-image { height: 65px; }
  .search-results .result-title { margin: 5px 0; font-size: 12px; }
  .search-results .result-summary { display: -webkit-box; overflow: hidden; font-size: 9px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .search-sidebar { display: none; }
}

@media (max-width: 620px) {
  .editorial-header { justify-content: flex-end; height: 62px; }
  .editorial-header .primary-nav { top: 62px; }
  .editorial-header .brand { position: absolute; left: 14px; }
  .editorial-header .header-actions { right: 12px; gap: 6px; }
  .editorial-header .search-field { width: 34px; min-width: 34px; overflow: hidden; font-size: 0; }
  .editorial-header .search-field svg { margin: auto; }
  .editorial-header .member-button { min-height: 32px; padding: 0 9px; font-size: 9px; }
  .account-button { min-height: 32px; margin-left: 5px; padding: 0 8px; font-size: 9px; }
  .editorial-header .menu-toggle { display: grid; width: 34px; height: 34px; }
  .editorial-header .primary-nav.is-open { display: flex; }
  .editorial-header .primary-nav:not(.is-open) { display: none; }
  .search-input-wrap { min-height: 47px; gap: 8px; padding-left: 10px; }
  .search-input { font-size: 13px; }
  .search-input-wrap .button-primary { min-width: 64px; min-height: 32px; padding: 0 9px; font-size: 9px; }
}

/* Editorial detail pages for news, audio, video, stories and data. */
.detail-back { display: inline-flex; min-height: 34px; align-items: center; margin: 18px 0; padding: 0 14px; border: 1px solid var(--line-default); border-radius: 4px; background: white; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink-700); }
.detail-back:hover, .detail-share:hover { border-color: var(--surface-dark); color: var(--ink-900); }
.detail-taxonomy { display: flex; flex-wrap: wrap; gap: 8px; color: var(--brand-red); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.detail-taxonomy > span:not(.detail-premium) { padding: 4px 7px; border: 1px solid var(--line-default); border-radius: 2px; color: var(--ink-700); }
.detail-premium { padding: 4px 7px; border-radius: 2px; background: var(--surface-dark); color: white; }
.detail-article-page { padding-bottom: 45px; }
.detail-article-page > .detail-back { margin: 20px 0; }
.detail-article-heading { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 28px; margin: 6px auto 21px; }
.detail-article-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 8px; }
.detail-article-aside time { color: var(--ink-500); font-size: 12px; }
.detail-article-title h1, .detail-story-copy h1, .detail-video-copy h1, .detail-audio-hero h1, .detail-data-hero h1 { margin: 12px 0; font-size: clamp(30px, 4vw, 48px); font-weight: 700; letter-spacing: -0.024em; line-height: 52px; color: var(--ink-900); }
.detail-summary { color: var(--ink-700); font-size: 20px; line-height: 30px; font-weight: 400; }
.detail-article-title .detail-summary { max-width: 900px; margin: 0 0 14px; }
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--ink-500); font-size: 12px; }
.detail-meta > span { color: var(--ink-300); }
.detail-cover { display: block; width: 100%; max-height: 590px; object-fit: cover; background: var(--surface-muted); border-radius: 4px; }
.detail-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: clamp(24px, 4vw, 58px); margin: 20px auto 0; }
.detail-article-layout main { min-width: 0; }
.detail-rich-text { color: var(--ink-800); font-size: 18px; line-height: 30px; font-weight: 400; }
.detail-rich-text > :first-child { margin-top: 0; }
.detail-rich-text p { margin: 0 0 24px; }
.detail-rich-text h2 { margin: 36px 0 14px; color: var(--ink-900); font-size: 34px; font-weight: 600; line-height: 36px; letter-spacing: -0.015em; }
.detail-rich-text h3 { margin: 32px 0 12px; color: var(--ink-900); font-size: 26px; font-weight: 700; line-height: 32px; letter-spacing: -0.008em; }
.detail-rich-text blockquote { margin: 32px 0; padding: 10px 0 10px 24px; border-left: 3px solid var(--brand-red); color: var(--ink-900); font-size: 28px; font-weight: 600; line-height: 36px; letter-spacing: -0.01em; font-style: normal; }
.detail-rich-text ul, .detail-rich-text ol { margin: 0 0 24px; padding-left: 24px; }
.detail-rich-text li { margin: 6px 0; }
.detail-rich-text figure { margin: 28px 0; }
.detail-rich-text figure img { display: block; width: 100%; height: auto; border-radius: 4px; }
.detail-rich-text figcaption { margin-top: 8px; color: var(--ink-500); font-size: 13px; line-height: 18px; }
.detail-rich-text a { color: var(--brand-red); text-decoration: underline; }
.detail-rich-text a:hover { color: var(--brand-red-dark); }
.detail-author { display: flex; min-width: 0; align-items: center; gap: 10px; }
.detail-author > img, .detail-avatar { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.detail-avatar { display: grid; place-items: center; background: var(--brand-red); color: white; font-weight: 700; }
.detail-author > div { min-width: 0; }
.detail-author-name { display: block; padding: 0; border: 0; background: none; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--ink-900); text-align: left; }
.detail-author strong { display: block; font-size: 13px; font-weight: 700; color: var(--ink-900); }
.detail-author small { display: block; max-width: 220px; overflow: hidden; margin-top: 3px; color: var(--ink-500); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.detail-share { min-height: 34px; padding: 0 14px; border: 1px solid var(--line-default); border-radius: 4px; background: white; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink-700); }
.detail-sidebar { align-self: start; }
.detail-sidebar h2, .detail-related h2 { margin: 8px 0 16px; font-size: 21px; font-weight: 700; line-height: 27px; color: var(--ink-900); letter-spacing: -0.005em; }
.detail-sidebar-item { display: grid; width: 100%; grid-template-columns: 88px minmax(0, 1fr); gap: 10px; align-items: center; padding: 9px 0; border: 0; border-top: 1px solid var(--line-default); background: white; cursor: pointer; font-size: 13px; font-weight: 600; line-height: 18px; color: var(--ink-900); text-align: left; }
.detail-sidebar-item img { width: 88px; height: 60px; border-radius: 4px; object-fit: cover; }
.detail-sidebar > p { color: var(--ink-500); font-size: 13px; }
.detail-paywall { margin: 30px 0; padding: clamp(22px, 4vw, 42px); border: 1px solid var(--line-default); border-radius: 4px; box-shadow: 0 8px 25px rgb(0 0 0 / 8%); text-align: center; }
.detail-paywall > span { color: var(--brand-red); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.detail-paywall h2 { margin: 12px 0 8px; font-size: 26px; font-weight: 700; color: var(--ink-900); }
.detail-paywall p { max-width: 540px; margin: 0 auto 18px; color: var(--ink-700); font-size: 14px; line-height: 21px; }
.detail-comments { display: grid; grid-template-columns: minmax(160px, .7fr) minmax(0, 1.5fr); gap: 26px; margin: 40px 0 0; padding: 22px 0; border-top: 1px solid var(--surface-dark); }
.detail-comments h2 { margin: 6px 0; font-size: 26px; font-weight: 700; color: var(--ink-900); }
.detail-comments p, .detail-comments label { color: var(--ink-500); font-size: 13px; line-height: 18px; }
.detail-comments form { display: grid; gap: 8px; }
.detail-comments textarea { width: 100%; resize: vertical; padding: 11px; border: 1px solid var(--line-default); border-radius: 4px; font: inherit; font-size: 14px; color: var(--ink-900); }
.detail-comments .button-primary { justify-self: end; min-height: 34px; font-size: 13px; }
.detail-comment-list { display: grid; gap: 12px; margin-top: 16px; }
.detail-comment { padding: 14px; border: 1px solid var(--line-default); border-radius: 4px; }
.detail-comment b { font-size: 13px; font-weight: 600; color: var(--ink-900); }
.detail-comment time { margin-left: 9px; color: var(--ink-500); font-size: 12px; }
.detail-comment p { margin-bottom: 0; color: var(--ink-800); font-size: 14px; line-height: 21px; white-space: pre-wrap; }
.auth-dialog { width: min(92vw, 460px); padding: 34px; border: 0; border-radius: 6px; box-shadow: 0 25px 90px rgb(0 0 0 / 25%); }
.auth-dialog::backdrop { background: rgb(14 16 20 / 65%); }
.auth-dialog > .dialog-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 0; background: transparent; cursor: pointer; font-size: 25px; color: var(--ink-700); }
.auth-dialog h2 { margin: 10px 0; font-size: 26px; font-weight: 700; color: var(--ink-900); }
.auth-dialog > p { color: var(--ink-700); font-size: 14px; line-height: 21px; }
.social-login-options { display: grid; gap: 10px; margin-top: 22px; }
.social-login-options a { display: block; padding: 13px; border: 1px solid var(--line-default); border-radius: 4px; font-weight: 600; font-size: 14px; color: var(--ink-900); text-align: center; }
.social-login-options a:hover { border-color: var(--brand-red); color: var(--brand-red); }
.coupon-entry { display: grid; gap: 7px; margin: 18px 0; font-size: 13px; font-weight: 600; color: var(--ink-900); }
.coupon-entry > div { display: flex; gap: 8px; }
.coupon-entry input { min-width: 0; flex: 1; padding: 10px; border: 1px solid var(--line-default); font-family: var(--font-mono); text-transform: uppercase; }
.payment-method-selected { display: inline-block; padding: 10px 13px; border: 1px solid var(--brand-red); border-radius: 4px; font-size: 13px; font-weight: 700; color: var(--brand-red); }
.coupon-result, .member-active-status { color: #148252; font-size: 13px; font-weight: 700; }
.qpay-checkout-result { display: grid; justify-items: center; gap: 10px; margin-top: 18px; padding: 16px; border: 1px solid var(--line-default); text-align: center; }
.qpay-checkout-result h3, .qpay-checkout-result p { margin: 0; }
.qpay-checkout-result img { width: min(200px, 100%); aspect-ratio: 1; object-fit: contain; }
.detail-related { padding: 38px 0 12px; border-top: 1px solid var(--line-default); }
.detail-related > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.detail-related-card { min-width: 0; padding: 0; border: 0; background: white; cursor: pointer; font-size: 13px; font-weight: 700; line-height: 18px; color: var(--ink-900); text-align: left; }
.detail-related-card img { width: 100%; aspect-ratio: 16 / 10; margin-bottom: 8px; border-radius: 4px; object-fit: cover; }
.detail-video-page { padding-bottom: 36px; }
.detail-video-page > .detail-back { margin-top: 12px; }
.detail-video-media { display: grid; min-height: 360px; max-height: 690px; place-items: center; background: var(--surface-dark); }
.detail-feature-video { display: block; width: min(100%, 1120px); max-height: 690px; aspect-ratio: 16 / 9; background: #050506; object-fit: contain; }
.detail-video-media > .detail-cover { width: min(100%, 1120px); max-height: 600px; object-fit: contain; }
.detail-video-copy { padding-top: 26px; }
.detail-video-copy .detail-summary { max-width: 800px; }
.detail-video-cast { display: flex; flex-wrap: wrap; gap: 15px; margin: 22px 0; }
.detail-video-cast > span { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink-700); }
.detail-video-cast img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.detail-audio-page { padding-top: 4px; padding-bottom: 42px; }
.detail-audio-hero { display: grid; grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr); gap: clamp(24px, 5vw, 65px); align-items: center; padding: 12px 0 36px; }
.detail-audio-hero > img { width: 100%; max-height: 440px; aspect-ratio: 1; border-radius: 4px; object-fit: cover; }
.detail-audio-hero h1 { font-size: clamp(28px, 3.5vw, 46px); font-weight: 700; line-height: 1.15; color: var(--ink-900); }
.detail-audio-player { display: block; width: 100%; margin: 26px 0 16px; }
.detail-audio-hero .detail-author { margin-top: 18px; }
.detail-audio-unavailable { padding: 16px; background: var(--surface-muted); color: var(--ink-500); font-size: 13px; }
.detail-story-page { display: grid; min-height: 620px; grid-template-columns: minmax(300px, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 58px); padding: 18px max(24px, calc((100% - 1320px) / 2)) 48px; }
.detail-story-media { align-self: start; }
.detail-story-player { display: block; width: min(100%, 520px); max-height: 720px; aspect-ratio: 9 / 16; margin: 0 auto; background: var(--surface-dark); object-fit: contain; }
.detail-story-media > .detail-cover { width: min(100%, 520px); max-height: 720px; aspect-ratio: 9 / 16; margin: 0 auto; object-fit: cover; }
.detail-story-actions { display: flex; justify-content: center; gap: 12px; margin-top: 14px; }
.detail-story-actions button { min-height: 36px; padding: 0 14px; border: 1px solid var(--line-default); background: white; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink-700); }
.detail-story-actions button.is-liked { border-color: var(--brand-red); color: var(--brand-red); }
.detail-story-copy { max-width: 680px; padding-top: 4px; }
.detail-story-copy h1 { font-size: clamp(25px, 3vw, 39px); font-weight: 700; line-height: 1.2; color: var(--ink-900); }
.detail-story-byline { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 20px 0; padding: 12px 0; border-top: 1px solid var(--line-default); border-bottom: 1px solid var(--line-default); }
.detail-story-byline > span { color: var(--ink-500); font-size: 12px; }
.detail-data-page { padding-top: 8px; padding-bottom: 44px; }
.detail-data-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, .7fr); gap: 30px; align-items: center; padding: 20px 0; }
.detail-data-image img { display: block; width: 100%; max-height: 320px; border-radius: 4px; object-fit: cover; }
.detail-data-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 11px; padding: 20px 0; border-top: 1px solid var(--line-default); border-bottom: 1px solid var(--line-default); }
.detail-data-value strong { font-family: var(--font-mono); font-size: clamp(42px, 8vw, 82px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--ink-900); }
.detail-data-value > span { color: var(--ink-500); font-size: 15px; font-weight: 600; }
.detail-data-value > b { padding: 6px 9px; background: #e8f4eb; color: #148252; font-family: var(--font-mono); font-size: 12px; font-weight: 700; }
.detail-data-source { color: var(--ink-500); font-size: 12px; }
.detail-data-page > .detail-share { margin-bottom: 5px; }
.detail-data-page > .detail-comments { margin-top: 25px; }
.detail-story-page .detail-comments { display: block; }
.detail-story-page .detail-comments form { margin-top: 16px; }

@media (max-width: 900px) {
  .archive-layout { grid-template-columns: minmax(0, 1.7fr) minmax(220px, .8fr); gap: 22px; }
  .archive-article { grid-template-columns: minmax(150px, 30%) minmax(0, 1fr); gap: 13px; }
  .archive-article-image { height: 116px; }
}

@media (max-width: 620px) {
  .archive-page { width: calc(100% - 28px); padding-top: 22px; }
  .archive-heading { align-items: flex-start; flex-direction: column; gap: 12px; padding-bottom: 13px; }
  .archive-heading h1 { font-size: 27px; }
  .archive-heading p { font-size: 10px; line-height: 1.5; }
  .archive-sort { align-self: flex-end; margin-top: -41px; }
  .archive-sort button { min-height: 28px; padding: 0 10px; font-size: 9px; }
  .main-category-filters { gap: 6px; padding: 12px 0; }
  .main-category-filters button { min-height: 31px; padding: 0 12px; font-size: 9px; }
  .sub-category-filters { padding-bottom: 9px; }
  .archive-count-row { min-height: 34px; }
  .archive-layout { display: block; }
  .archive-article { min-height: 110px; grid-template-columns: 112px minmax(0, 1fr); gap: 11px; padding: 12px 0; }
  .archive-article-image { height: 88px; }
  .archive-taxonomy { gap: 5px; margin-bottom: 5px; }
  .archive-taxonomy > span:first-child, .archive-taxonomy > span:nth-child(2) { font-size: 7px; }
  .archive-article h2 { display: -webkit-box; overflow: hidden; margin-bottom: 4px; font-size: 11px; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .archive-article p { display: -webkit-box; overflow: hidden; margin-bottom: 4px; font-size: 9px; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .archive-article-copy > small { font-size: 7px; }
  .popular-sidebar { margin-top: 35px; padding-top: 18px; border-top: 1px solid var(--line); }
  .popular-article { grid-template-columns: 25px 76px minmax(0, 1fr); min-height: 71px; gap: 9px; }
  .popular-article > strong { font-size: 15px; }
  .popular-image { height: 52px; }
  .archive-pagination { flex-wrap: wrap; gap: 4px; margin-top: 20px; }
  .archive-pagination button { min-width: 27px; height: 27px; }
  .archive-layout.is-grid .archive-results { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .archive-layout.is-grid .archive-article { display: block; }
  .archive-layout.is-grid .archive-article-image { height: auto; }
  .archive-layout.is-grid .archive-article-copy { padding: 9px; }
  .archive-layout.is-grid .archive-article p { display: none; }
}

@media (max-width: 900px) {
  .detail-article-heading { grid-template-columns: 145px minmax(0, 1fr); gap: 18px; }
  .detail-article-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 22px; }
  .detail-story-page { grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr); gap: 24px; padding-right: 22px; padding-left: 22px; }
}

@media (max-width: 620px) {
  .detail-back { min-height: 31px; margin: 12px 0; font-size: 10px; }
  .detail-article-page { width: calc(100% - 28px); }
  .detail-article-heading { display: flex; flex-direction: column-reverse; gap: 12px; margin-bottom: 14px; }
  .detail-article-aside { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 0; }
  .detail-article-aside .detail-author { grid-column: 1; }
  .detail-article-aside .detail-share { grid-column: 2; grid-row: 2; }
  .detail-article-title h1, .detail-story-copy h1, .detail-video-copy h1, .detail-audio-hero h1, .detail-data-hero h1 { margin: 9px 0; font-size: 28px; letter-spacing: -.8px; }
  .detail-summary { margin: 8px 0; font-size: 12px; line-height: 1.6; }
  .detail-cover { max-height: 340px; }
  .detail-article-layout { display: block; margin-top: 17px; }
  .detail-rich-text { font-size: 14px; line-height: 1.8; }
  .detail-rich-text p { margin-bottom: 17px; }
  .detail-rich-text h2, .detail-rich-text h3 { margin-top: 25px; font-size: 20px; }
  .detail-rich-text blockquote { margin: 22px 0; font-size: 18px; }
  .detail-sidebar { margin-top: 28px; padding-top: 17px; border-top: 1px solid var(--line); }
  .detail-comments { display: block; margin-top: 25px; padding: 17px 0; }
  .detail-comments form { margin-top: 13px; }
  .detail-related { padding-top: 25px; }
  .detail-related > div { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .detail-related-card { font-size: 10px; }
  .detail-video-media { min-height: 220px; }
  .detail-video-copy { padding-top: 17px; }
  .detail-video-page > .detail-back { margin-left: 14px; }
  .detail-audio-hero { grid-template-columns: minmax(90px, .65fr) minmax(0, 1.35fr); gap: 14px; padding-top: 3px; }
  .detail-audio-hero > img { max-height: 220px; }
  .detail-audio-hero h1 { font-size: 22px; }
  .detail-audio-hero .detail-author { margin-top: 10px; }
  .detail-audio-player { margin: 15px 0 10px; }
  .detail-audio-page .detail-summary { font-size: 11px; }
  .detail-story-page { display: flex; flex-direction: column; gap: 21px; min-height: 0; padding: 5px 14px 32px; }
  .detail-story-player, .detail-story-media > .detail-cover { max-height: 72vh; }
  .detail-story-copy { width: 100%; }
  .detail-story-actions { gap: 6px; }
  .detail-story-actions button { padding: 0 8px; font-size: 9px; }
  .detail-data-page { width: calc(100% - 28px); }
  .detail-data-hero { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 10px 0; }
  .detail-data-image img { max-height: 220px; }
  .detail-data-value { gap: 7px; padding: 13px 0; }
  .detail-data-value strong { font-size: 50px; letter-spacing: -2px; }
  .detail-data-value > span { font-size: 12px; }
  .detail-data-value > b { font-size: 10px; }
  .detail-paywall { margin: 22px 0; padding: 20px 14px; }
  .detail-paywall h2 { font-size: 18px; }
}

.data-page { max-width: 1100px; }
.data-page .browse-heading h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; line-height: 1.15; color: var(--ink-900); }
.data-page .browse-sort { gap: 0; margin-top: 0; padding: 3px; border-radius: 22px; background: var(--surface-muted); }
.data-page .browse-sort button { border: 0; background: transparent; }
.data-page .browse-sort button.is-active { background: var(--surface-dark); color: white; }
.data-filter-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line-default); }
.data-topic-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.data-topic-filters button { padding: 8px 14px; border: 1px solid var(--line-default); border-radius: 20px; background: white; cursor: pointer; font-size: 12px; font-weight: 600; color: var(--ink-700); }
.data-topic-filters button.is-active { border-color: var(--brand-red); background: var(--brand-red); color: white; }
.data-layout { display: flex; align-items: center; flex-shrink: 0; gap: 5px; }
.data-layout span { margin-right: 5px; color: var(--ink-500); font-size: 11px; font-weight: 600; text-transform: uppercase; }
.data-layout button { padding: 7px 9px; border: 0; border-radius: 3px; background: var(--surface-muted); color: var(--ink-700); cursor: pointer; font-size: 12px; }
.data-layout button.is-active { background: white; box-shadow: inset 0 0 0 1px var(--line-default); color: var(--ink-900); }
.data-page .data-story-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.data-page .data-story-card { min-height: 230px; padding: 19px; border: 1px solid var(--line-default); }
.data-page .data-story-card > strong { margin-top: 10px; font-family: var(--font-mono); font-size: clamp(32px, 3.7vw, 52px); font-weight: 800; letter-spacing: -0.03em; }
.data-page .data-story-card.is-featured > strong { font-size: clamp(50px, 6vw, 86px); }
.data-page .data-story-card h2 { height: 0; margin: 0; font-size: 0; }
.data-page .data-story-card p { margin-top: 8px; font-size: 13px; line-height: 18px; color: var(--ink-700); }
.data-page .data-story-card > small { width: 100%; padding-top: 14px; border-top: 1px solid var(--line-default); padding-right: 65px; line-height: 18px; font-size: 12px; color: var(--ink-500); }
.data-page .data-story-card.is-featured > small { border-color: rgb(255 255 255 / 30%); }
.data-page .data-story-card.is-featured em { color: white; }
.data-card-actions { position: absolute; right: 17px; bottom: 15px; z-index: 2; display: flex; align-items: center; gap: 7px; }
.data-share-toggle, .data-card-arrow { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; padding: 5px; border: 1px solid var(--line-default); border-radius: 50%; background: white; color: var(--ink-900); cursor: pointer; text-decoration: none; }
.data-share-toggle svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.data-card-arrow { border-color: var(--surface-dark); background: var(--surface-dark); color: white; }
.is-featured .data-share-toggle { border-color: white; background: transparent; color: white; }
.is-featured .data-card-arrow { border-color: white; background: white; color: var(--brand-red); }
.data-card-actions .data-story-share { position: absolute; right: 0; bottom: 34px; display: none; width: 210px; margin: 0; padding: 10px; border: 1px solid var(--line-default); border-radius: 5px; background: white; color: var(--ink-900); box-shadow: 0 4px 15px rgb(0 0 0 / 15%); }
.data-card-actions.is-sharing .data-story-share { display: flex; }
.data-load-more { width: 100%; margin-top: 20px; padding: 13px; border: 1px solid var(--surface-dark); border-radius: 3px; background: white; color: var(--ink-900); font-size: 13px; font-weight: 600; cursor: pointer; }
.data-load-more:disabled { color: var(--ink-500); cursor: default; }
.data-latest-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1.2fr); gap: 45px; margin-top: 90px; }
.data-latest header { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--surface-dark); }
.data-latest header h2 { margin: 0 0 12px; font-size: 26px; font-weight: 700; color: var(--ink-900); }
.data-latest header span { color: var(--ink-500); font-size: 12px; }
.data-page .data-story-grid.is-list { gap: 0; margin-top: 0; }
.data-page .data-story-grid.is-list .data-story-card { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 4px 28px; min-height: 158px; padding: 22px 0; border: 0; border-bottom: 1px solid var(--line-default); background: white; color: var(--ink-900); }
.data-page .data-story-grid.is-list .data-story-card > strong { grid-column: 1; grid-row: 1 / 3; align-self: end; margin: 0; font-family: var(--font-mono); font-size: 44px; font-weight: 800; }
.data-page .data-story-grid.is-list .data-story-card > b { grid-column: 1; grid-row: 3; margin: 0; align-self: start; font-size: 13px; font-weight: 600; }
.data-page .data-story-grid.is-list .data-story-card > em { position: static; grid-column: 1; grid-row: 4; color: var(--brand-red); align-self: start; justify-self: start; background: var(--brand-red-soft); padding: 2px 6px; font-family: var(--font-mono); font-size: 11px; font-weight: 700; border-radius: 2px; }
.data-page .data-story-grid.is-list .data-eyebrow { grid-column: 2; grid-row: 1; margin: 0; color: var(--brand-red); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; }
.data-page .data-story-grid.is-list .data-story-card h2 { grid-column: 2; grid-row: 2; height: auto; font-size: 17px; font-weight: 700; line-height: 22px; color: var(--ink-900); }
.data-page .data-story-grid.is-list .data-story-card p { grid-column: 2; grid-row: 3; margin: 5px 0; color: var(--ink-700); font-size: 13px; line-height: 18px; }
.data-page .data-story-grid.is-list .data-story-card small { grid-column: 2; grid-row: 4; padding: 5px 90px 0 0; border: 0; color: var(--ink-500); font-size: 12px; }
.data-page .data-story-grid.is-list .data-story-card.is-featured > strong { color: var(--brand-red); }
.data-page .data-story-grid.is-list .data-share-toggle { width: auto; gap: 5px; padding: 5px 8px; border-radius: 15px; border-color: var(--line-default); background: white; color: var(--ink-900); font-size: 11px; }
.data-page .data-story-grid.is-list .data-card-actions { right: 0; bottom: 14px; }
.data-topic-sidebar h2 { margin: 0 0 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-500); }
.data-topic-sidebar button { margin: 0 5px 7px 0; padding: 6px 10px; border: 0; border-radius: 4px; background: var(--surface-muted); color: var(--ink-700); cursor: pointer; font-size: 12px; font-weight: 600; }
.data-topic-sidebar button[aria-pressed="true"] { background: var(--brand-red); color: white; }
@media (max-width: 800px) {
  .data-filter-row { align-items: flex-start; flex-direction: column; }
  .data-page .data-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .data-latest-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 50px; }
  .data-topic-sidebar { grid-row: 1; }
}
@media (min-width: 801px) and (max-width: 1200px) {
  .editorial-header .primary-nav { gap: 10px; }
  .editorial-header .nav-link { font-size: 10px; }
}
@media (min-width: 801px) {
  .editorial-header .primary-nav.is-open { position: absolute; top: 52px; right: 22px; left: auto; z-index: 5; width: 240px; height: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid var(--line); background: white; box-shadow: 0 8px 20px rgb(0 0 0 / 10%); }
  .editorial-header .primary-nav.is-open .nav-link { height: 40px; text-align: left; }
}
@media (max-width: 500px) {
  .data-page .browse-heading { align-items: flex-start; flex-direction: column; }
  .data-page .browse-sort { align-self: flex-start; }
  .data-page .data-story-card { min-height: 240px; padding: 12px; }
  .data-page .data-story-card > strong { font-size: 30px; letter-spacing: -1px; }
  .data-page .data-story-card.is-featured > strong { font-size: 64px; }
  .data-page .data-story-card > small { padding-right: 0; padding-bottom: 35px; }
  .data-page .data-story-grid.is-list .data-story-card { grid-template-columns: 90px minmax(0, 1fr); gap: 4px 12px; padding: 18px 0 42px; }
  .data-page .data-story-grid.is-list .data-story-card > strong { font-size: 27px; }
  .data-page .data-story-grid.is-list .data-story-card h2 { font-size: 13px; }
  .data-page .data-story-grid.is-list .data-story-card small { padding: 5px 0 0; }
}

/* ==========================================================================
   Weather Page (Design/weather and exchange rate/Tsag agaar.pdf)
   ========================================================================== */
.weather-page {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0 80px;
}
.weather-city-tabs-wrap {
  position: relative;
  margin-bottom: 24px;
}
.weather-city-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.weather-city-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--line-default);
  background: white;
  color: var(--ink-700);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.weather-city-tab:hover {
  border-color: var(--ink-700);
  color: var(--ink-900);
}
.weather-city-tab.is-active {
  background: var(--surface-dark);
  border-color: var(--surface-dark);
  color: white;
}
.weather-city-tab.is-active span {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono);
}
.weather-city-tab-add {
  border-style: dashed;
}
.weather-city-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  z-index: 50;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 12px;
  background: white;
  border: 1px solid var(--line-default);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  min-width: 320px;
}
.weather-city-dropdown.is-open {
  display: grid;
}
.weather-city-option {
  padding: 8px 12px;
  border-radius: 4px;
  border: none;
  background: var(--surface-muted);
  color: var(--ink-900);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.weather-city-option:hover {
  background: var(--brand-red);
  color: white;
}

/* Weather Hero */
.weather-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 20px 28px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: var(--surface-muted);
}
.weather-hero-city {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.weather-hero-temp-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin: 4px 0;
}
.weather-hero-temp {
  font-size: clamp(68px, 10vw, 96px);
  font-weight: 800;
  line-height: 1;
  font-family: var(--font-mono);
  color: var(--ink-900);
  letter-spacing: -0.04em;
}
.weather-hero-icon {
  font-size: clamp(38px, 5vw, 56px);
}
.weather-hero-condition {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink-700);
  margin: 6px 0 10px;
}
.weather-hero-stats {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-500);
  font-family: var(--font-mono);
  margin-bottom: 14px;
}
.weather-hero-summary {
  max-width: 640px;
  font-size: 14px;
  line-height: 22px;
  color: var(--ink-700);
  margin: 0;
}

/* Hourly Forecast */
.weather-hourly-wrap {
  position: relative;
  margin-bottom: 32px;
  padding: 16px 20px;
  border: 1px solid var(--line-default);
  border-radius: 8px;
  background: white;
}
.weather-hourly-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 14px;
}
.weather-hourly-rail {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.weather-hourly-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 68px;
  min-height: 94px;
  padding: 8px 4px;
  border-radius: 6px;
  text-align: center;
  transition: background 0.15s ease;
}
.weather-hourly-card:hover {
  background: var(--surface-muted);
}
.weather-hourly-card.is-special {
  background: rgba(229, 46, 37, 0.06);
  border: 1px dashed rgba(229, 46, 37, 0.3);
}
.weather-hourly-hour {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-500);
}
.weather-hourly-icon {
  font-size: 22px;
  margin: 6px 0;
}
.weather-hourly-temp {
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--ink-900);
}

/* Weather Main Grid (10-day + Widgets) */
.weather-grid {
  display: grid;
  grid-template-columns: minmax(320px, 4.5fr) minmax(0, 7.5fr);
  gap: 28px;
  margin-bottom: 28px;
}
.weather-panel-card {
  border: 1px solid var(--line-default);
  border-radius: 8px;
  background: white;
  padding: 24px;
}
.weather-panel-header {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-default);
}

/* 10-day forecast rows */
.weather-daily-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.weather-daily-row {
  display: grid;
  grid-template-columns: 75px 36px 36px 1fr 36px;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  border-radius: 6px;
  transition: background 0.15s ease;
}
.weather-daily-row:hover {
  background: var(--surface-muted);
}
.weather-daily-day {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
}
.weather-daily-icon {
  font-size: 18px;
  text-align: center;
}
.weather-daily-min, .weather-daily-max {
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--ink-900);
  text-align: right;
}
.weather-daily-min {
  color: var(--ink-500);
  text-align: left;
}
.weather-daily-bar-wrap {
  width: 100%;
  height: 6px;
  background: var(--surface-muted);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
.weather-daily-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, #4da1ff 0%, #ff8c42 100%);
}

/* Widgets Grid */
.weather-widgets-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.weather-widget {
  border: 1px solid var(--line-default);
  border-radius: 8px;
  background: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 145px;
}
.weather-widget-header {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 10px;
}
.weather-widget-value {
  font-size: 32px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--ink-900);
  line-height: 1.1;
  margin-bottom: 6px;
}
.weather-widget-sub {
  font-size: 13px;
  color: var(--ink-700);
  font-weight: 500;
}
.weather-widget-footer {
  font-size: 11px;
  color: var(--ink-400);
  margin-top: 8px;
}

/* Wind Compass Widget */
.weather-wind-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.weather-compass {
  position: relative;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}
.weather-compass-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--line-default);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.weather-compass-label {
  position: absolute;
  font-size: 9px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--ink-400);
}
.weather-compass-label.n { top: 2px; }
.weather-compass-label.s { bottom: 2px; }
.weather-compass-label.w { left: 4px; }
.weather-compass-label.e { right: 4px; }
.weather-compass-needle {
  position: absolute;
  width: 3px;
  height: 28px;
  background: var(--brand-red);
  transform-origin: center 20px;
  border-radius: 2px;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.weather-compass-needle::after {
  content: '';
  position: absolute;
  top: 0;
  left: -3px;
  border-left: 4.5px solid transparent;
  border-right: 4.5px solid transparent;
  border-bottom: 8px solid var(--brand-red);
}

/* Sunrise Arc Widget */
.weather-sun-arc {
  position: relative;
  width: 100%;
  height: 48px;
  margin: 8px 0 4px;
}
.weather-sun-arc svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.weather-sun-times {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--ink-700);
}

/* Alert Banner */
.weather-alert-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 8px;
  border: 1px solid #ffd0c7;
  background: #fff5f3;
  color: #a81c15;
}
.weather-alert-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--brand-red);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.weather-alert-text {
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  color: var(--ink-900);
  margin: 0;
}
.weather-alert-meta {
  margin-top: 4px;
  font-size: 11px;
  color: var(--ink-500);
}

/* ==========================================================================
   Exchange Rates Page (Design/weather and exchange rate/Hansh.pdf)
   ========================================================================== */
.rates-page {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0 80px;
}
.rates-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.rates-title {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  line-height: 1.1;
  margin: 0 0 8px;
}
.rates-subtitle {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-family: var(--font-mono);
}
.rates-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid var(--line-default);
  background: white;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  cursor: pointer;
  transition: all 0.15s ease;
}
.rates-refresh-btn:hover {
  border-color: var(--surface-dark);
  color: var(--ink-900);
}

/* Converter Card */
.rates-converter-card {
  padding: 28px 32px;
  border: 1px solid var(--line-default);
  border-radius: 8px;
  background: white;
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.rates-converter-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}
.rates-converter-input-box, .rates-converter-output-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  min-height: 72px;
  padding: 0 20px;
  box-sizing: border-box;
  border: 1.5px solid var(--line-default);
  border-radius: 6px;
  background: var(--surface-muted);
  transition: border-color 0.15s ease;
}
.rates-converter-input-box:focus-within {
  border-color: var(--surface-dark);
  background: white;
}
.rates-converter-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--ink-900);
  width: 100%;
  min-width: 0;
  height: 100%;
  line-height: 1;
  padding: 0;
  margin: 0;
}
.rates-converter-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  height: 36px;
}
.rates-converter-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 6px;
  border-radius: 3px;
  background: var(--line-default);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--ink-700);
  box-sizing: border-box;
}
.rates-currency-select {
  display: inline-flex;
  align-items: center;
  height: 36px;
  box-sizing: border-box;
  border: 1px solid var(--line-default);
  border-radius: 4px;
  padding: 0 8px;
  background: white;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--ink-900);
  cursor: pointer;
  outline: none;
}
.rates-currency-static {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  box-sizing: border-box;
  border: 1px solid var(--line-default);
  border-radius: 4px;
  padding: 0 12px;
  background: white;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--ink-900);
}
.rates-converter-swap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-default);
  background: white;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--ink-700);
  transition: all 0.2s ease;
}
.rates-converter-swap:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
  transform: rotate(180deg);
}
.rates-converter-output-value {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--ink-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  height: 100%;
  line-height: 1;
  min-width: 0;
}
  text-overflow: ellipsis;
}
.rates-converter-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line-default);
  font-size: 13px;
  color: var(--ink-700);
}
.rates-converter-rate-note {
  font-family: var(--font-mono);
}
.rates-converter-best-bank {
  font-weight: 600;
  color: #148252;
}

/* Rates Grid */
.rates-grid {
  display: grid;
  grid-template-columns: minmax(0, 7.5fr) minmax(320px, 4.5fr);
  gap: 28px;
  margin-bottom: 32px;
}
.rates-card {
  border: 1px solid var(--line-default);
  border-radius: 8px;
  background: white;
  padding: 24px;
}
.rates-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-default);
}
.rates-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-900);
  margin: 0;
}
.rates-table-filters {
  display: flex;
  gap: 4px;
}
.rates-filter-btn {
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--line-default);
  background: white;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--ink-600);
  cursor: pointer;
}
.rates-filter-btn.is-active {
  background: var(--surface-dark);
  border-color: var(--surface-dark);
  color: white;
}
.rates-search-input {
  width: 140px;
  height: 28px;
  border: 1px solid var(--line-default);
  border-radius: 4px;
  padding: 0 8px;
  font-size: 12px;
  outline: none;
}
.rates-table {
  width: 100%;
  border-collapse: collapse;
}
.rates-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-500);
  padding: 10px 8px;
  border-bottom: 1px solid var(--line-default);
}
.rates-table th:nth-child(2), .rates-table td:nth-child(2),
.rates-table th:nth-child(3), .rates-table td:nth-child(3) {
  text-align: right;
}
.rates-table th:last-child, .rates-table td:last-child {
  text-align: center;
}
.rates-table-row {
  cursor: pointer;
  transition: background 0.15s ease;
}
.rates-table-row:hover {
  background: var(--surface-muted);
}
.rates-table-row.is-selected {
  background: rgba(229, 46, 37, 0.05);
}
.rates-table td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--line-default);
}
.rates-curr-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rates-flag-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--surface-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-700);
}
.rates-curr-name strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-900);
}
.rates-curr-name small {
  display: block;
  font-size: 11px;
  color: var(--ink-500);
}
.rates-rate-value {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-900);
}
.rates-change-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}
.rates-change-badge.is-up {
  background: #e8f4eb;
  color: #148252;
}
.rates-change-badge.is-down {
  background: #fff0ee;
  color: #d12c24;
}
.rates-sparkline {
  display: inline-block;
  vertical-align: middle;
}

/* Bank Rates Table */
.rates-bank-table {
  width: 100%;
  border-collapse: collapse;
}
.rates-bank-table th {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-500);
  padding: 8px;
  border-bottom: 1px solid var(--line-default);
  text-align: right;
}
.rates-bank-table th:first-child { text-align: left; }
.rates-bank-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line-default);
  font-family: var(--font-mono);
  font-size: 13px;
  text-align: right;
}
.rates-bank-table td:first-child {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--ink-900);
  text-align: left;
}
.rates-bank-best-pill {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 2px;
  background: #148252;
  color: white;
  font-size: 9px;
  font-weight: 700;
  margin-left: 4px;
}
.rates-bank-footer {
  font-size: 11px;
  color: var(--ink-500);
  margin-top: 12px;
}

/* Gold Card */
.rates-gold-card {
  margin-top: 16px;
  background: linear-gradient(135deg, #fffcf2 0%, #fff6d9 100%);
  border: 1px solid #fae69d;
  border-radius: 8px;
  padding: 20px;
}
.rates-gold-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #8c6a08;
  margin-bottom: 8px;
}
.rates-gold-price {
  font-size: 28px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #4a3702;
  margin-bottom: 6px;
}
.rates-gold-change {
  font-size: 12px;
  font-weight: 700;
  color: #148252;
}

/* Trend Chart */
.rates-trend-card {
  padding: 28px 32px;
  border: 1px solid var(--line-default);
  border-radius: 8px;
  background: white;
  margin-bottom: 24px;
}
.rates-trend-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.rates-trend-title-group {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.rates-trend-symbol {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-900);
}
.rates-trend-rate {
  font-size: 28px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--ink-900);
}
.rates-trend-change {
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #148252;
}
.rates-period-selector {
  display: flex;
  gap: 4px;
}
.rates-period-btn {
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid var(--line-default);
  background: white;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--ink-700);
  cursor: pointer;
  transition: all 0.15s ease;
}
.rates-period-btn:hover {
  border-color: var(--surface-dark);
}
.rates-period-btn.is-active {
  background: var(--surface-dark);
  border-color: var(--surface-dark);
  color: white;
}
.rates-chart-svg-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  margin: 16px 0;
}
.rates-chart-svg-wrap svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.rates-chart-tooltip {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 4px;
  background: var(--surface-dark);
  color: white;
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  white-space: nowrap;
  z-index: 10;
}
.rates-chart-tooltip.is-visible {
  opacity: 1;
}

/* Insight Bar */
.rates-insight-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 24px;
  border-radius: 6px;
  background: var(--surface-muted);
  border: 1px solid var(--line-default);
}
.rates-insight-text {
  font-size: 13px;
  line-height: 20px;
  color: var(--ink-700);
  max-width: 820px;
  margin: 0;
}
.rates-insight-text strong {
  color: var(--ink-900);
}
.rates-insight-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 4px;
  background: var(--surface-dark);
  color: white;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.rates-insight-cta:hover {
  background: var(--brand-red);
}

@media (max-width: 900px) {
  .weather-grid, .rates-grid {
    grid-template-columns: 1fr;
  }
  .rates-converter-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .rates-converter-swap {
    margin: 0 auto;
  }
}

@media (max-width: 620px) {
  .weather-widgets-grid {
    grid-template-columns: 1fr;
  }
  .weather-hero-temp {
    font-size: 56px;
  }
  .rates-title {
    font-size: 30px;
  }
  .rates-converter-card, .rates-trend-card, .weather-panel-card {
    padding: 16px;
  }
}

