/* ============================================================
   CNY Signal, Newsroom page styles
   Premium editorial layout, mobile-first, dark theme
   v5.0.0, Editorial card redesign: vertical mobile cards,
   refined badges, improved typography & visual hierarchy
   ============================================================ */

/* ---- Design tokens ---- */
:root {
  --nr-bg:       #06090f;
  --nr-surface:  #0d1220;
  --nr-card:     #111827;
  --nr-card-alt: #151d2e;
  --nr-card-img-bg: #0a1020;
  --nr-border:   rgba(255,255,255,.06);
  --nr-accent:   #f0a500;
  --nr-accent-hover: #f5b830;
  --nr-accent-subtle: rgba(240,165,0,.10);
  --nr-text:     #e2e8f0;
  --nr-text-bright: #f1f5f9;
  --nr-text-on-accent: #0a0f1e;
  --nr-white:    #ffffff;
  --nr-muted:    #7b8ba4;
  --nr-radius:   10px;
  --nr-radius-lg: 14px;
  --nr-shadow:   0 4px 24px rgba(0,0,0,.5);
  --nr-ease:     200ms cubic-bezier(.4,0,.2,1);
  --nr-font:     -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ---- Reset ---- */
.nr-page { box-sizing: border-box; }
.nr-page *, .nr-page *::before, .nr-page *::after { box-sizing: inherit; }
.nr-page a { color: inherit; text-decoration: none; }
.nr-page img { display: block; max-width: 100%; height: auto; }
.nr-page {
  background: var(--nr-bg);
  color: var(--nr-text);
  font-family: var(--nr-font);
  min-height: 100vh;
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

/* ============================================================
   UNIFIED HEADER, title + live badge + inline filters
   Single sticky bar, Apple Newsroom / Bloomberg style
   ~52px total height vs old ~176px (70%+ reduction)
   ============================================================ */
.nr-header--unified {
  position: sticky; top: 0; z-index: 90;
  background: var(--nr-surface);
  border-bottom: 1px solid var(--nr-border);
  padding: 0;
  transition: box-shadow .3s ease;
}
.nr-header--unified.is-stuck {
  box-shadow: 0 2px 16px rgba(0,0,0,.4);
}
.nr-header__inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  padding: 8px 14px;
  position: relative;
}
@media (min-width: 400px) {
  .nr-header__inner { padding: 8px 20px; }
}
@media (min-width: 960px) {
  .nr-header__inner { padding: 10px 32px; }
}
.nr-header__left {
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.nr-header__title {
  font-size: 15px; font-weight: 800; color: var(--nr-text-bright);
  margin: 0; letter-spacing: -.01em; white-space: nowrap;
}
@media (min-width: 600px) {
  .nr-header__title { font-size: 17px; }
}

/* Live badge, compact */
.nr-live-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--nr-accent-subtle);
  border: 1px solid rgba(240,165,0,.25);
  border-radius: 20px; padding: 2px 8px 2px 6px;
  font-size: 8px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--nr-accent);
  flex-shrink: 0;
}
.nr-live-badge__dot {
  width: 5px; height: 5px;
  background: var(--nr-accent); border-radius: 50%;
  animation: nr-pulse 1.8s ease-in-out infinite;
}
@keyframes nr-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .35; transform: scale(.7); }
}

/* ── Inline filters (right side of header) ── */
.nr-header__filters {
  display: flex; align-items: center; gap: 5px;
  overflow-x: auto; flex: 1; min-width: 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 8px;
  mask-image: linear-gradient(to right, black calc(100% - 28px), transparent);
  -webkit-mask-image: linear-gradient(to right, black calc(100% - 28px), transparent);
}
.nr-header__filters::-webkit-scrollbar { display: none; }
@media (min-width: 960px) {
  .nr-header__filters {
    justify-content: flex-end;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* Filter tabs, compact pills */
.nr-filter-tab {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,.06);
  color: var(--nr-muted);
  border-radius: 999px;
  padding: 4px 11px;
  font-family: var(--nr-font);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  line-height: 1;
  scroll-snap-align: start;
}
.nr-filter-tab:hover {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.12);
  color: var(--nr-text);
}
.nr-filter-tab.active {
  background: rgba(240,165,0,.15);
  border-color: rgba(240,165,0,.40);
  color: var(--nr-accent);
  font-weight: 600;
}

/* ============================================================
   MAIN CONTENT AREA, reduced top padding, content starts fast
   ============================================================ */
.nr-content {
  max-width: 1280px; margin: 0 auto;
  padding: 12px 14px 0;
}
@media (min-width: 400px) {
  .nr-content { padding: 14px 20px 0; }
}
@media (min-width: 960px) {
  .nr-content { padding: 16px 32px 0; }
}

/* Section header, hidden in unified layout (kept for backwards compat) */
.nr-section-hd {
  display: none;
}
.nr-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--nr-accent); margin: 0 0 6px;
}
.nr-section-hd h2 {
  font-size: clamp(22px, 3vw, 34px); font-weight: 800;
  color: var(--nr-text-bright); margin: 0; letter-spacing: -.02em;
  line-height: 1.2;
}

/* Legacy filter-wrap, no longer used but prevent flicker if markup exists */
.nr-filter-wrap { display: none; }

/* ============================================================
   HERO GRID, featured story + sidebar stories (desktop)
   On mobile: single featured card, no sidebar
   ============================================================ */
.nr-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  margin-bottom: 28px;
  border-radius: var(--nr-radius-lg);
  overflow: hidden;
  background: var(--nr-border);
}
.nr-hero[hidden] { display: none; }

/* Featured (lead) card, text overlaid on image with gradient */
.nr-card--lead {
  grid-column: 1 / -1;
  position: relative;
  display: flex; flex-direction: column;
  background: var(--nr-card);
  text-decoration: none; color: var(--nr-text);
  transition: background var(--nr-ease);
  overflow: hidden;
}
.nr-card--lead .nr-card__img {
  width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--nr-card-img-bg);
}
.nr-card--lead .nr-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
@media (hover: hover) {
  .nr-card--lead:hover .nr-card__img img {
    transform: scale(1.03);
  }
}
.nr-card--lead .nr-card__body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 16px 16px;
  display: flex; flex-direction: column; gap: 6px;
  max-height: 80%; overflow: visible;
  background: linear-gradient(
    to top,
    rgba(6,9,15,.96) 0%,
    rgba(6,9,15,.92) 30%,
    rgba(6,9,15,.65) 60%,
    rgba(6,9,15,0) 100%
  );
}
@media (min-width: 400px) {
  .nr-card--lead .nr-card__body { padding: 32px 24px 22px; }
}
.nr-card--lead .nr-card__title {
  font-size: clamp(20px, 3.5vw, 28px); font-weight: 800;
  color: var(--nr-white); line-height: 1.2;
  margin: 0; letter-spacing: -.02em;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.nr-card--lead .nr-card__excerpt {
  font-size: 13px; color: rgba(255,255,255,.70); line-height: 1.5; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.nr-card--lead .nr-cat-badge {
  color: var(--nr-accent);
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
.nr-card--lead .nr-card__meta {
  color: rgba(255,255,255,.5);
}

/* Hero sidebar stories (hidden on mobile, shown on desktop) */
.nr-hero__sidebar {
  display: none;
}
.nr-hero__sidebar-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--nr-card); padding: 16px;
  text-decoration: none; color: var(--nr-text);
  transition: background var(--nr-ease);
}
@media (hover: hover) {
  .nr-hero__sidebar-item:hover { background: var(--nr-card-alt); }
}
.nr-hero__sidebar-item:focus-visible {
  outline: 2px solid var(--nr-accent);
  outline-offset: -2px;
  box-shadow: 0 0 0 4px rgba(240,165,0,.15);
}
.nr-hero__sidebar-thumb {
  width: 90px; height: 64px; flex-shrink: 0;
  border-radius: 6px; overflow: hidden; background: var(--nr-card-img-bg);
}
.nr-hero__sidebar-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.nr-hero__sidebar-body {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 5px;
}
.nr-hero__sidebar-title {
  font-size: 14px; font-weight: 700; color: var(--nr-text-bright);
  line-height: 1.35; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   CATEGORY BADGE, clean editorial label (no background pill)
   Inspired by Bloomberg/Axios: just colored text, understated
   ============================================================ */
.nr-cat-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--nr-accent);
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  /* No background, clean text label like Bloomberg */
  background: none;
  padding: 0;
  border-radius: 0;
  line-height: 1.2;
  transition: color var(--nr-ease);
}

/* ============================================================
   CARD META, reading time + date
   ============================================================ */
.nr-card__meta {
  font-size: 11px; color: var(--nr-muted); margin-top: auto;
  display: flex; align-items: center; gap: 6px;
  padding-top: 4px;
}
/* Read arrow, slides in on hover */
.nr-card__meta::after {
  content: '\2192';
  color: var(--nr-accent);
  font-size: 13px;
  margin-left: auto;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--nr-ease), transform var(--nr-ease);
}

/* ============================================================
   ARCHIVE GRID, filterable card layout
   v5: Mobile = vertical image-on-top cards (not side thumbnails)
   Tablet = 2-col, Desktop = 3-col
   ============================================================ */
.nr-archive-grid {
  display: grid; grid-template-columns: 1fr; gap: 14px;
}

/* ---- Mobile card, VERTICAL layout: image on top, text below ---- */
.nr-card {
  display: flex;
  flex-direction: column;       /* vertical on mobile */
  min-width: 0;
  background: var(--nr-card);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--nr-radius);
  overflow: hidden;
  text-decoration: none; color: var(--nr-text);
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
  transition: background 200ms ease, border-color 200ms ease, transform 280ms cubic-bezier(.2,.8,.3,1), box-shadow 280ms cubic-bezier(.2,.8,.3,1);
}

/* Card image, full-width 16:9 on all breakpoints */
.nr-card__img {
  width: 100%;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--nr-card-img-bg);
  aspect-ratio: 16/9;
  position: relative;
}
/* Subtle bottom gradient on card images for depth */
.nr-card__img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(17,24,39,.18) 0%, transparent 100%);
  pointer-events: none;
}
.nr-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 16/9;
  transition: transform .5s ease;
}

/* Card body */
.nr-card__body {
  flex: 1; min-width: 0;
  padding: 14px 16px 16px;
  display: flex; flex-direction: column; gap: 6px;
}

/* Card headline, bigger, bolder for mobile */
.nr-card__title {
  font-size: 15px; font-weight: 800; color: var(--nr-text-bright);
  line-height: 1.3; margin: 0; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Excerpt, hidden on mobile (headline does the work), shown on tablet+ */
.nr-card__excerpt {
  display: none;
  font-size: 13px; color: var(--nr-muted); line-height: 1.5; margin: 0;
}

/* Footer / empty / load more */
.nr-archive-footer {
  display: flex; justify-content: center; padding-top: 32px; padding-bottom: 8px;
}
.nr-load-more-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 32px;
  font-size: 14px; font-weight: 600;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  transition: all .2s ease;
}
.nr-load-more-btn:hover:not(:disabled) {
  background: rgba(255,255,255,.06);
  border-color: rgba(240,165,0,.25);
  color: var(--nr-accent);
}
.nr-load-more-btn:focus-visible {
  outline: 2px solid var(--nr-accent);
  outline-offset: 2px;
}
.nr-load-more-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
}
.nr-load-more-btn__spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.15);
  border-top-color: var(--nr-accent);
  border-radius: 50%;
  animation: nr-spin .6s linear infinite;
}
.nr-load-more-btn__spinner[hidden] { display: none; }
@keyframes nr-spin {
  to { transform: rotate(360deg); }
}
.nr-empty {
  grid-column: 1 / -1;
  padding: 64px 24px; text-align: center;
  color: var(--nr-muted); font-size: 14px;
  line-height: 1.6;
}
.nr-empty p { margin: 0 0 4px; }
.nr-empty__reset { margin-top: 12px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.nr-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; border-radius: 8px;
  font-family: var(--nr-font);
  font-size: 13px; font-weight: 600;
  padding: 10px 24px; cursor: pointer;
  transition: all var(--nr-ease); border: none;
  text-decoration: none; white-space: nowrap;
}
.nr-btn--gold  { background: var(--nr-accent); color: var(--nr-text-on-accent); }
.nr-btn--gold:focus-visible {
  outline: 2px solid var(--nr-accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(240,165,0,.2);
}
.nr-btn--ghost {
  background: transparent; color: var(--nr-text);
  border: 1px solid var(--nr-border);
}
.nr-btn--ghost:focus-visible {
  outline: 2px solid var(--nr-accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(240,165,0,.15);
}

/* ============================================================
   SUBSCRIBE, premium CTA section
   ============================================================ */
.nr-section { max-width: 1280px; margin: 0 auto; padding: 24px 14px; }
@media (min-width: 400px) {
  .nr-section { padding: 24px 20px; }
}

.nr-subscribe {
  background: linear-gradient(135deg, #0d1425 0%, #131d35 100%);
  border: 1px solid var(--nr-border);
  border-top: 2px solid var(--nr-accent);
  border-radius: var(--nr-radius-lg);
  padding: 32px 24px;
}
.nr-subscribe h2 {
  font-size: clamp(20px, 3vw, 26px); font-weight: 800;
  color: var(--nr-text-bright); margin: 0 0 8px;
  letter-spacing: -.02em;
}
.nr-subscribe__sub {
  font-size: 14px; color: var(--nr-muted); margin: 0 0 20px;
  line-height: 1.6;
}
.nr-subscribe__perks {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 24px;
}
.nr-subscribe__perk {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--nr-muted);
}
.nr-subscribe__perk svg { flex-shrink: 0; color: var(--nr-accent); }
.nr-subscribe__form {
  display: flex; gap: 8px; flex-wrap: wrap; max-width: 420px;
}
.nr-subscribe__input {
  flex: 1 1 200px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--nr-border);
  color: var(--nr-text); border-radius: 8px;
  padding: 11px 16px; font-size: 14px; outline: none;
  font-family: var(--nr-font);
  transition: border-color var(--nr-ease);
}
.nr-subscribe__input:focus {
  border-color: var(--nr-accent);
  box-shadow: 0 0 0 3px rgba(240,165,0,.12);
}
.nr-subscribe__input::placeholder { color: var(--nr-muted); }
.nr-subscribe__feedback {
  font-size: 12px; color: var(--nr-muted); margin-top: 8px;
}
.nr-subscribe__note {
  font-size: 11px; color: var(--nr-muted); margin-top: 12px;
  line-height: 1.5;
}
.nr-subscribe__note a {
  color: var(--nr-accent);
  transition: color var(--nr-ease);
}
.nr-subscribe__note a:hover { color: var(--nr-accent-hover); }
.nr-subscribe__note a:focus-visible {
  outline: 2px solid var(--nr-accent);
  outline-offset: 1px;
  border-radius: 2px;
}

/* ============================================================
   SCROLL FADE, reveal on viewport entry
   Server-rendered cards start visible; JS adds .nr-fade--deferred
   to enable the fade-in animation for dynamically loaded cards.
   ============================================================ */
.nr-fade {
  opacity: 1; transform: none;
  transition: opacity 400ms ease, transform 400ms ease;
}
/* Only hide elements that JS explicitly marks for deferred fade */
.nr-fade--deferred {
  opacity: 0; transform: translateY(12px);
}
.nr-fade--deferred.is-visible,
.nr-fade.is-visible { opacity: 1; transform: none; }

/* ============================================================
   HOVER & INTERACTION, pointer devices only
   ============================================================ */
@media (hover: hover) {
  .nr-btn--gold:hover  { background: var(--nr-accent-hover); transform: translateY(-1px); }
  .nr-btn--ghost:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.15); }
  .nr-card:hover {
    background: var(--nr-card-alt);
    border-color: rgba(255,255,255,.10);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06);
  }
  .nr-card:hover .nr-card__meta::after {
    opacity: 1;
    transform: translateX(3px);
  }
  .nr-card:hover .nr-card__img img {
    transform: scale(1.04);
  }
  /* No badge background change on hover, keep it clean */
  .nr-card:hover .nr-cat-badge {
    color: var(--nr-accent-hover);
  }
  .nr-card { will-change: transform; }
  .nr-filter-tab:hover:not(.active) {
    background: rgba(255,255,255,.04); color: var(--nr-text);
    border-color: rgba(255,255,255,.10);
  }
}

/* ============================================================
   FOCUS, keyboard accessibility
   ============================================================ */
.nr-card:focus-visible,
.nr-card--lead:focus-visible {
  outline: 2px solid var(--nr-accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(240,165,0,.15);
}
.nr-filter-tab:focus-visible {
  outline: 2px solid var(--nr-accent);
  outline-offset: 2px;
}

/* ============================================================
   PERFORMANCE, content-visibility for below-fold cards
   ============================================================ */
.nr-archive-grid .nr-card:nth-child(n+5) {
  content-visibility: auto;
  contain-intrinsic-size: auto 280px;
}

/* ============================================================
   SPONSORED BADGE, subtle inline label
   ============================================================ */
.cny-sponsored-badge--card {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--nr-muted);
  opacity: .7;
}

/* ============================================================
   CARD BREAK / AD BREAK, full-width inserts
   ============================================================ */
.nr-card-break,
.nr-card-ad-break {
  grid-column: 1 / -1;
}
.nr-card-break {
  border-radius: var(--nr-radius-lg);
  overflow: hidden;
}

/* ============================================================
   SMALL PHONE, 480px+
   ============================================================ */
@media (max-width: 479px) {
  /* Larger touch targets on small screens */
  .nr-filter-tab { min-height: 44px; padding: 8px 14px; font-size: 12px; }
}
@media (min-width: 480px) {
  .nr-card__title { font-size: 16px; }
  .nr-card__body { padding: 14px 16px 16px; }
  .nr-header__filters { gap: 6px; }
}

/* ============================================================
   TABLET, 640px+
   ============================================================ */
@media (min-width: 640px) {
  .nr-content { padding: 24px 24px 0; }

  /* Archive: 2-col vertical cards */
  .nr-archive-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .nr-card { border-radius: var(--nr-radius); }
  .nr-card__body { padding: 16px 18px 18px; gap: 7px; }
  .nr-card__title { font-size: 16px; }

  /* Show 2-line excerpt on tablet */
  .nr-card__excerpt {
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
    font-size: 13px; color: var(--nr-muted); line-height: 1.5;
  }

  .nr-archive-grid .nr-card:nth-child(n+5) {
    contain-intrinsic-size: auto 340px;
  }
}

/* ============================================================
   TABLET LARGE, 768px+
   ============================================================ */
@media (min-width: 768px) {
  .nr-content { padding: 20px 28px 0; }
  .nr-card__title { font-size: 17px; }
  .nr-archive-grid { gap: 22px; }
  .nr-hero { margin-bottom: 32px; }

  /* Subscribe form: side-by-side within the form itself */
  .nr-subscribe__form { flex-wrap: nowrap; }
}

/* ============================================================
   DESKTOP, 960px+
   ============================================================ */
@media (min-width: 960px) {
  /* Unified header, desktop overrides */
  .nr-header__inner { padding: 10px 32px; }
  .nr-header__title { font-size: 18px; }
  .nr-content { padding: 16px 32px 0; }
  .nr-section { padding: 36px 32px; }

  /* Hero: featured story (5fr) + sidebar (2fr) */
  .nr-hero {
    grid-template-columns: 5fr 2fr;
    grid-template-rows: 1fr 1fr;
    min-height: 380px;
  }
  .nr-card--lead {
    grid-row: 1 / 3; grid-column: 1;
  }
  .nr-card--lead .nr-card__img {
    aspect-ratio: auto; height: 100%;
  }
  .nr-card--lead .nr-card__img img {
    will-change: transform;
  }
  .nr-card--lead .nr-card__body { padding: 36px 32px 28px; gap: 8px; }
  .nr-card--lead .nr-card__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 15px;
    max-width: 70%;
    color: rgba(255,255,255,.7);
  }

  /* Show sidebar on desktop */
  .nr-hero__sidebar {
    display: flex; flex-direction: column;
    grid-row: 1 / 3; grid-column: 2;
    gap: 2px; background: var(--nr-border);
  }
  .nr-hero__sidebar-item {
    flex: 1; flex-direction: column; gap: 12px;
    padding: 16px;
  }
  .nr-hero__sidebar-thumb {
    width: 100%; height: auto; aspect-ratio: 16/9;
    border-radius: 6px;
  }
  .nr-hero__sidebar-title {
    font-size: 14px;
    -webkit-line-clamp: 3;
  }

  /* Archive: 3-col grid with first card spanning 2 cols (Tier 2) */
  .nr-archive-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }

  /* First card in grid = Tier 2 story: spans 2 cols, wider image */
  .nr-archive-grid > .nr-card:first-child {
    grid-column: span 2;
  }
  .nr-archive-grid > .nr-card:first-child .nr-card__img {
    aspect-ratio: 21/9;
  }
  .nr-archive-grid > .nr-card:first-child .nr-card__title {
    font-size: 20px;
    -webkit-line-clamp: 3;
  }
  .nr-archive-grid > .nr-card:first-child .nr-card__excerpt {
    -webkit-line-clamp: 3;
    display: -webkit-box;
  }

  /* Standard grid cards on desktop */
  .nr-card__title { font-size: 17px; }

  /* Subscribe: 2-col layout with more breathing room */
  .nr-subscribe { padding: 48px 44px; }
  .nr-subscribe__inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 48px; align-items: start;
  }
}

/* ============================================================
   WIDE, 1200px+
   ============================================================ */
@media (min-width: 1200px) {
  .nr-hero { min-height: 480px; }
  .nr-card--lead .nr-card__title { font-size: 32px; }

  /* Tier 2 card gets even more headline presence */
  .nr-archive-grid > .nr-card:first-child .nr-card__title {
    font-size: 22px;
  }
}

/* ============================================================
   ULTRAWIDE, 1400px+
   ============================================================ */
@media (min-width: 1400px) {
  .nr-header__inner,
  .nr-content,
  .nr-section {
    max-width: 1400px;
  }
  .nr-hero { min-height: 520px; }
  .nr-card--lead .nr-card__title { font-size: 36px; }
  .nr-archive-grid { gap: 26px; }
}

/* ============================================================
   ACCESSIBILITY, reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .nr-live-badge__dot { animation: none; }
  .nr-fade--deferred { opacity: 1; transform: none; transition: none; }
  .nr-card { transition: none; }
  .nr-card__img img { transition: none; }
  .nr-load-more-btn__spinner { animation: none; }
  .nr-btn--gold, .nr-btn--ghost { transition: none; }
}

/* ============================================================
   MOBILE UX AUDIT FIXES, Apr 12 2026
   ============================================================ */

/* Touch device filter tabs, 44px WCAG 2.5.8 minimum */
@media (pointer: coarse) {
  .nr-filter-tab {
    min-height: 44px;
    padding: 8px 14px;
    font-size: 12px;
  }
}

/* Prevent double-tap zoom on interactive elements */
@media (max-width: 899px) {
  .nr-filter-tab,
  .nr-card,
  .nr-load-more-btn,
  .nr-hero__sidebar-item {
    touch-action: manipulation;
  }
}

/* Newsroom sticky header, account for site header height */
@media (max-width: 899px) {
  .nr-header--unified {
    top: 0; /* site header scrolls away on mobile */
  }
}
