/* ============================================================
   news-redesign.css — News hub, tuned to MARKETPLACE RESTRAINT
   Loaded LAST (after styles.css + news-polish.css) so it wins.
   Everything scoped to body.page-news. Reuses global tokens for
   text/neutrals/radii/shadows/easing. Surfaces are near-neutral dark
   glass (like the Marketplace card) with a hairline border and ONE
   soft shadow; the editorial BLUE now appears only as small accents —
   the eyebrow dot, a faint hover ambient, subtle rank numerals, and a
   single quiet category pill. No gradient-filled badges, no glowing
   borders, no big navy tinted panels. All data stays real; presentation
   only. Calm, spacious, confident.
   ============================================================ */

body.page-news {
  /* ---- Section palette (News = editorial blue) ---- */
  --nx-navy:      #0c1424;   /* deepest base */
  --nx-navy-2:    #0f1a2e;   /* card floor */
  --nx-slate:     #1b2740;   /* raised panel */
  --nx-slate-2:   #223252;   /* card ceiling / hover */
  --nx-blue:      #3b82f6;   /* electric blue accent */
  --nx-blue-2:    #2f6bff;   /* deep electric */
  --nx-cyan:      #5fd7e6;   /* soft cyan highlight */
  --nx-cyan-2:    #38bdf8;   /* sky cyan */
  --nx-live:      #38e0a5;   /* live/fresh signal (kept off-brand-gold) */

  /* Restrained hairline + faint ambient (accent as a whisper only) */
  --nx-border:        var(--glass-border);
  --nx-border-hover:  rgba(120,170,240,0.34);
  --nx-glow:          0 0 34px -14px rgba(59,130,246,0.20);
  --nx-glow-strong:   0 0 40px -14px rgba(59,130,246,0.26);

  /* Neutral card surface (near-neutral dark glass, whisper of blue in border) */
  --nx-surface:       linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)) padding-box,
                      linear-gradient(150deg, rgba(255,255,255,0.20), rgba(255,255,255,0.03) 50%, rgba(59,130,246,0.12)) border-box;
  --nx-surface-hover: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.016)) padding-box,
                      linear-gradient(150deg, rgba(120,170,240,0.34), rgba(255,255,255,0.04) 52%, rgba(59,130,246,0.18)) border-box;
  --nx-card-shadow:   inset 0 1px 0 rgba(255,255,255,0.05), var(--shadow-lg);
  --nx-card-shadow-h: inset 0 1px 0 rgba(255,255,255,0.08), var(--shadow-hover), var(--nx-glow);

  /* Cinematic image fade target (bottom of any media dissolves into card floor) */
  --nx-fade: 15,17,22;      /* near-neutral card floor as r,g,b */
}

body.page-news main.wrap { max-width: 1220px; padding-bottom: 96px; }

/* ---------- Reveal-on-scroll (motion-safe) ---------- */
body.page-news .nx-reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
body.page-news .nx-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  body.page-news .nx-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Section rhythm + heads ---------- */
body.page-news .nx-section { margin: 0 0 52px; }
body.page-news .nx-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 0 0 20px; }
body.page-news .nx-head .kick {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--nx-cyan-2);
}
body.page-news .nx-head .kick::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--nx-blue);
  box-shadow: 0 0 8px rgba(59,130,246,0.7);
}
body.page-news .nx-head h2 {
  font-size: clamp(22px, 2.7vw, 31px); font-weight: 840; letter-spacing: -0.028em;
  margin: 0; line-height: 1.05; color: #fff;
}
body.page-news .nx-head .nx-head-note,
body.page-news .nx-head .more { margin-left: auto; font-size: 13px; color: var(--ink-muted); white-space: nowrap; }
body.page-news .nx-head .more { font-weight: 640; text-decoration: none; color: var(--ink-soft); transition: color .18s var(--ease-out); }
body.page-news .nx-head .more:hover { color: var(--nx-cyan-2); }

/* ============================================================
   1 · CINEMATIC HERO — the newsroom masthead
============================================================ */
body.page-news .nx-hero {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-l); border: 1px solid var(--glass-border);
  margin: 6px 0 46px; padding: 60px 46px 46px;
  background:
    radial-gradient(680px 380px at 12% 2%, rgba(59,130,246,0.10), transparent 60%),
    linear-gradient(165deg, #16171c 0%, #0f1013 58%, #131318 100%),
    var(--near-black);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), var(--shadow-lg);
}
body.page-news .nx-hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.4;
  background-image: linear-gradient(rgba(180,200,230,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(180,200,230,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask: radial-gradient(120% 100% at 74% 16%, #000 18%, transparent 74%);
  mask: radial-gradient(120% 100% at 74% 16%, #000 18%, transparent 74%);
}
body.page-news .nx-hero-glow {
  position: absolute; width: 440px; height: 440px; right: -90px; top: -140px; z-index: 0;
  pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.12), transparent 68%);
  filter: blur(24px); animation: nxGlow 19s ease-in-out infinite;
}
@keyframes nxGlow { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-26px,22px) scale(1.09); } }
@media (prefers-reduced-motion: reduce) { body.page-news .nx-hero-glow { animation: none; } }

body.page-news .nx-hero-inner { position: relative; z-index: 2; max-width: 760px; }
body.page-news .nx-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--nx-cyan-2);
}
body.page-news .nx-live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--nx-live);
  box-shadow: 0 0 0 0 rgba(56,224,165,0.55), 0 0 10px 1px rgba(56,224,165,0.7);
  animation: nxPulse 2.4s var(--ease-out) infinite;
}
@keyframes nxPulse { 0% { box-shadow: 0 0 0 0 rgba(56,224,165,0.5), 0 0 10px 1px rgba(56,224,165,0.7); } 70% { box-shadow: 0 0 0 8px rgba(56,224,165,0), 0 0 10px 1px rgba(56,224,165,0.4); } 100% { box-shadow: 0 0 0 0 rgba(56,224,165,0), 0 0 10px 1px rgba(56,224,165,0.4); } }
@media (prefers-reduced-motion: reduce) { body.page-news .nx-live-dot { animation: none; } }
body.page-news .nx-title {
  font-size: clamp(38px, 5.6vw, 66px); font-weight: 850; letter-spacing: -0.036em;
  line-height: 1.02; margin: 15px 0 0; color: #fff;
}
body.page-news .nx-title em {
  font-style: normal;
  background: linear-gradient(110deg, #eef3fb 10%, #a9c6ec 92%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
body.page-news .nx-sub { font-size: 16.5px; line-height: 1.6; color: var(--ink-soft); margin: 16px 0 0; max-width: 640px; }

/* pulse stat tiles inside hero */
body.page-news .nx-pulse {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px; margin-top: 30px; max-width: 720px;
}
body.page-news .nx-stat {
  position: relative; overflow: hidden; border-radius: var(--radius-s);
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.012)) padding-box,
    linear-gradient(150deg, rgba(255,255,255,0.20), rgba(255,255,255,0.03) 55%, rgba(59,130,246,0.12)) border-box;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), var(--shadow-sm); padding: 16px 16px 15px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
body.page-news .nx-stat::before {
  content: ""; position: absolute; top: 0; left: 14px; right: 14px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); opacity: 0.6;
}
body.page-news .nx-stat:hover { transform: translateY(-4px); box-shadow: var(--nx-card-shadow-h); }
body.page-news .nx-stat .nx-stat-v { font-size: 26px; font-weight: 820; letter-spacing: -0.025em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
body.page-news .nx-stat .nx-stat-v.gold { color: var(--nx-cyan-2); }
body.page-news .nx-stat .nx-stat-k { display: block; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-muted); margin-top: 7px; }

/* ============================================================
   2 · LEAD STORY + TRENDING
============================================================ */
body.page-news .nx-lead-grid { display: grid; grid-template-columns: 1.62fr 1fr; gap: 24px; align-items: start; }

/* --- big cinematic hero card --- */
body.page-news .nx-hero-card {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-l); border: 1px solid transparent;
  min-height: 460px; text-decoration: none; color: inherit;
  background: var(--nx-surface);
  box-shadow: var(--nx-card-shadow);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
body.page-news .nx-hero-card:hover { transform: translateY(-6px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), var(--shadow-float), var(--nx-glow-strong); }
body.page-news .nx-hero-card:active { transform: translateY(-2px); }
body.page-news .nx-hero-media { position: absolute; inset: 0; z-index: 0; }
body.page-news .nx-hero-media .thumb,
body.page-news .nx-hero-media .news-real-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
body.page-news .nx-hero-card:hover .nx-hero-media .thumb,
body.page-news .nx-hero-card:hover .nx-hero-media .news-real-img { transform: scale(1.045); }
/* Cinematic bottom-fade: image dissolves into the navy card + top light */
body.page-news .nx-hero-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12,20,36,0.42) 0%, rgba(12,20,36,0) 24%),
    linear-gradient(0deg, rgba(var(--nx-fade),0.98) 6%, rgba(var(--nx-fade),0.82) 30%, rgba(12,20,36,0.18) 58%, rgba(12,20,36,0.35));
}
body.page-news .nx-hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 460px; padding: 30px 32px; }
body.page-news .nx-hero-toprow { position: absolute; top: 18px; left: 18px; right: 18px; z-index: 3; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
body.page-news .nx-hero-badges { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
body.page-news .nx-hero-source { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.05em; color: var(--nx-cyan-2); text-transform: uppercase; }
body.page-news .nx-hero-title { font-size: clamp(24px, 3vw, 36px); font-weight: 850; letter-spacing: -0.03em; line-height: 1.1; color: #fff; margin: 12px 0 0; text-shadow: 0 2px 20px rgba(0,0,0,0.5); }
body.page-news .nx-hero-desc { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 12px 0 0; max-width: 640px; }
body.page-news .nx-hero-metarow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
body.page-news .nx-hero-date { font-size: 13px; color: var(--ink-muted); }
body.page-news .nx-hero-cta {
  display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 680;
  color: var(--nx-cyan-2); background: none; padding: 0; border-radius: 0; box-shadow: none;
  transition: transform .2s var(--ease-out), color .2s var(--ease-out);
}
body.page-news .nx-hero-card:hover .nx-hero-cta { transform: translateX(2px); color: var(--nx-cyan); }
body.page-news .nx-hero-play {
  width: 62px; height: 62px; border-radius: 50%; z-index: 3;
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  display: flex; align-items: center; justify-content: center;
  background: rgba(14,16,22,0.55); border: 1px solid var(--glass-border);
  color: #eaf4ff; font-size: 21px; padding-left: 4px; backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform .25s var(--ease-out), background .25s var(--ease-out), border-color .25s var(--ease-out);
}
body.page-news .nx-hero-card:hover .nx-hero-play {
  transform: translate(-50%,-50%) scale(1.06);
  background: rgba(20,24,32,0.66); border-color: var(--nx-border-hover);
}

/* quiet category chip — one calm glass pill with a small accent dot */
body.page-news .nx-chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px;
  color: var(--ink); border: 1px solid var(--glass-border);
  background: rgba(16,18,24,0.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
body.page-news .nx-chip::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; flex: none;
  background: var(--nx-cyan-2); box-shadow: 0 0 6px rgba(56,189,248,0.7);
}
/* freshness → quiet muted marker (secondary to the category pill) */
body.page-news .nx-fresh { display: inline-flex; align-items: center; font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(16,18,24,0.7); color: var(--ink-soft); border: 1px solid var(--glass-border); box-shadow: none; }
body.page-news .nx-save-btn {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--glass-border);
  background: rgba(14,16,22,0.6); color: #eaf4ff; backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: transform .18s var(--ease-out), border-color .18s var(--ease-out), background .18s var(--ease-out);
}
body.page-news .nx-save-btn svg { width: 18px; height: 18px; }
body.page-news .nx-save-btn:hover { transform: scale(1.08); border-color: var(--nx-border-hover); background: rgba(22,26,34,0.75); }
body.page-news .nx-save-btn.saved { color: #ff6b6b; border-color: rgba(239,80,80,0.5); }

/* --- trending list --- */
body.page-news .nx-trend {
  border-radius: var(--radius-l); border: 1px solid transparent;
  background: var(--nx-surface);
  box-shadow: var(--nx-card-shadow);
  padding: 22px 22px 10px; position: relative; overflow: hidden;
}
body.page-news .nx-trend::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22) 20%, rgba(255,255,255,0.22) 80%, transparent); }
body.page-news .nx-trend-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nx-cyan-2); font-family: var(--font-mono); margin-bottom: 6px; }
body.page-news .nx-trend-flame { font-size: 15px; filter: saturate(1.2); }
body.page-news .nx-trend-list { list-style: none; margin: 0; padding: 0; counter-reset: nx; }
body.page-news .nx-trend-item {
  display: flex; gap: 13px; align-items: flex-start; padding: 14px 4px; text-decoration: none; color: inherit;
  border-bottom: 1px solid rgba(120,180,255,0.09); transition: transform .2s var(--ease-out);
}
body.page-news .nx-trend-item:last-child { border-bottom: 0; }
body.page-news .nx-trend-item:hover { transform: translateX(3px); }
body.page-news .nx-trend-rank {
  flex-shrink: 0; font-family: var(--font-mono); font-size: 14px; font-weight: 700; width: 24px; line-height: 1.4;
  font-variant-numeric: tabular-nums; color: var(--nx-cyan-2); opacity: 0.72;
}
body.page-news .nx-trend-body { min-width: 0; }
body.page-news .nx-trend-src { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-muted); display: flex; align-items: center; gap: 6px; }
body.page-news .nx-trend-title { font-size: 14px; font-weight: 680; letter-spacing: -0.012em; line-height: 1.34; margin-top: 4px; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.page-news .nx-trend-item:hover .nx-trend-title { color: var(--nx-cyan-2); }
body.page-news .nx-trend-dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.6; }

/* ============================================================
   3 · WATCH NOW / CURATED RAIL
============================================================ */
body.page-news .nx-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 300px; gap: 20px;
  overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 14px;
  scrollbar-width: thin; scrollbar-color: rgba(95,168,240,0.35) transparent;
}
body.page-news .nx-rail::-webkit-scrollbar { height: 8px; }
body.page-news .nx-rail::-webkit-scrollbar-thumb { background: rgba(95,168,240,0.35); border-radius: 999px; }
body.page-news .nx-rail .news-card { scroll-snap-align: start; margin: 0; }

/* ============================================================
   4 · FEED CARDS — navy gradient-glass, blue border, image fade
============================================================ */
/* Top accent bar (news-card::before in styles.css) — removed for calm */
body.page-news .news-card::before { display: none; }

body.page-news .news-card {
  border-radius: var(--radius-l);
  border: 1px solid transparent;
  background: var(--nx-surface);
  box-shadow: var(--nx-card-shadow);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background .45s var(--ease-out);
}
body.page-news .news-card:hover {
  transform: translateY(-6px); border-color: transparent;
  background: var(--nx-surface-hover);
  box-shadow: var(--nx-card-shadow-h);
}
body.page-news .news-card:active { transform: translateY(-2px); }
body.page-news .news-grid { gap: 24px; }

/* Cinematic media fade — image bottom dissolves into the card floor + top light */
body.page-news .news-media::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12,13,17,0.28) 0%, rgba(12,13,17,0) 24%),
    linear-gradient(0deg, rgba(var(--nx-fade),0.85) 0%, rgba(var(--nx-fade),0.32) 24%, rgba(12,13,17,0) 48%);
}
body.page-news .news-media .thumb,
body.page-news .news-media .news-real-img { transition: transform 1s var(--ease-out); }
/* keep controls above the cinematic fade overlay (z-index 2) */
body.page-news .news-media .play-btn,
body.page-news .news-card .news-fresh,
body.page-news .news-card .wishlist-btn { z-index: 5; }
body.page-news .news-card:hover .news-media .thumb,
body.page-news .news-card:hover .news-media .news-real-img { transform: scale(1.045); }

/* Quiet category pill — one calm glass tag with a small accent dot.
   All categories share the same neutral surface; the accent appears only
   as a tiny dot, never a gradient-filled colored capsule. Glyph icons
   removed. */
body.page-news .news-tag {
  top: 13px; left: 13px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; z-index: 4;
  color: var(--ink); background: rgba(16,18,24,0.7);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
body.page-news .news-tag::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; flex: none;
  background: var(--nx-cyan-2); box-shadow: 0 0 6px rgba(56,189,248,0.7);
  font-size: 0; opacity: 1;
}
/* higher-priority categories tint the dot only (surface stays neutral) */
body.page-news .news-tag.cat-leak::before,
body.page-news .news-tag.cat-video::before { background: #e46a6a; box-shadow: 0 0 6px rgba(228,106,106,0.65); }

/* Freshness → quiet muted marker (secondary to the category pill) */
body.page-news .news-fresh {
  top: 13px; right: 13px;
  font-size: 10px; font-weight: 700; padding: 4px 10px;
  background: rgba(16,18,24,0.7); color: var(--ink-soft);
  border: 1px solid var(--glass-border); box-shadow: none;
}

/* Play affordance — glassy navy disc, cyan-blue on hover */
body.page-news .news-media .play-btn span {
  width: 52px; height: 52px; padding-left: 3px;
  background: rgba(14,16,22,0.58); border: 1px solid var(--glass-border);
  color: #eaf4ff; backdrop-filter: blur(6px);
  box-shadow: 0 8px 22px -8px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform .25s var(--ease-out), background .25s var(--ease-out), border-color .25s var(--ease-out);
}
body.page-news .news-card:hover .play-btn span {
  transform: scale(1.06);
  background: rgba(22,26,34,0.7); color: #eaf4ff;
  border-color: var(--nx-border-hover);
}

/* Byline / title / cta hierarchy in blue */
body.page-news .news-source { color: var(--ink-muted); }
body.page-news .news-title { color: #fff; font-weight: 720; letter-spacing: -0.016em; }
body.page-news .news-card:hover .news-title { color: #eaf4ff; }
body.page-news .news-desc { color: var(--ink-muted); }
body.page-news .news-cta { color: var(--nx-cyan-2); font-weight: 680; }
body.page-news .news-source-external { color: var(--nx-cyan-2); opacity: 0.85; }

/* Feature (lead) card in the feed keeps a stronger blue aura */
/* Lead/feature card carries a little more weight — a slightly stronger
   title + a whisper more ambient — but stays within the calm system. */
body.page-news .news-card.feature {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), var(--shadow-lg), 0 0 60px -30px rgba(59,130,246,0.28);
}
body.page-news .news-card.feature:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), var(--shadow-float), var(--nx-glow-strong);
}
body.page-news .news-card.feature .news-title { font-weight: 800; letter-spacing: -0.024em; }

/* Branded placeholder thumb → retinted to navy/cyan */
body.page-news .news-thumb-brand {
  background: radial-gradient(130% 120% at 25% 0%, rgba(59,130,246,0.12), transparent 55%), linear-gradient(150deg, #191b21, #101116);
}
body.page-news .ntb-logo {
  background: rgba(28,32,42,0.6); border-color: var(--glass-border);
}
body.page-news .ntb-brick { color: var(--nx-cyan-2); }
body.page-news .ntb-name { color: var(--ink-soft); }

/* Filter tabs — pill chips with lit electric-blue active state */
body.page-news #newsTabs { gap: 10px; margin-bottom: 28px; }
body.page-news #newsTabs .tab-btn { border-radius: 999px; font-weight: 640; transition: transform .18s var(--ease-out), background .18s var(--ease-out), color .18s var(--ease-out), border-color .18s var(--ease-out), box-shadow .18s var(--ease-out); }
body.page-news #newsTabs .tab-btn:hover { transform: translateY(-1px); border-color: var(--nx-border-hover); }
body.page-news #newsTabs .tab-btn.active {
  background: rgba(59,130,246,0.12);
  border-color: rgba(120,170,240,0.4); color: #cfe0f5;
  box-shadow: none;
}

/* ============================================================
   5 · RELEASE RADAR / OVERVIEW PANEL
============================================================ */
body.page-news .overview-panel {
  position: relative; border-radius: var(--radius-l);
  border: 1px solid transparent;
  background: var(--nx-surface);
  box-shadow: var(--nx-card-shadow);
}
body.page-news .overview-panel::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22) 20%, rgba(255,255,255,0.22) 80%, transparent);
}
body.page-news .overview-group-head h3 { color: var(--ink-soft); }
body.page-news .overview-group-head a { color: var(--nx-cyan-2); }
body.page-news .overview-group-head a:hover { color: var(--nx-cyan); }
body.page-news .overview-card {
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)) padding-box,
    linear-gradient(150deg, rgba(255,255,255,0.18), rgba(255,255,255,0.03) 55%, rgba(59,130,246,0.1)) border-box;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), var(--shadow-sm);
}
body.page-news .overview-card-link { transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
body.page-news .overview-card-link:hover { transform: translateY(-4px); box-shadow: var(--nx-card-shadow-h); }
body.page-news .overview-card-title { color: #fff; font-weight: 680; letter-spacing: -0.01em; }
body.page-news .overview-card-meta { color: var(--ink-muted); }

/* ============================================================
   6 · FEATURED COLLECTIONS
============================================================ */
body.page-news .collection-grid { gap: 24px; }
body.page-news .collection-card {
  border-radius: var(--radius-l); border: 1px solid transparent;
  background: var(--nx-surface);
  box-shadow: var(--nx-card-shadow);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background .45s var(--ease-out);
}
body.page-news .collection-card:hover {
  transform: translateY(-5px); border-color: transparent;
  background: var(--nx-surface-hover);
  box-shadow: var(--nx-card-shadow-h);
}
body.page-news .collection-card .thumb { transition: transform .8s var(--ease-out); }
body.page-news .collection-card:hover .thumb { transform: scale(1.045); }
body.page-news .collection-card-body h4 { color: #fff; font-weight: 720; letter-spacing: -0.015em; }
body.page-news .collection-card-body p { color: var(--ink-muted); }
body.page-news .collection-count {
  color: var(--nx-cyan-2); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 11px;
}

/* Search box focus → blue ring */
body.page-news .search-box:focus-within { border-color: var(--nx-border-hover); box-shadow: 0 0 0 3px rgba(59,130,246,0.2), inset 0 1px 0 rgba(255,255,255,0.08); }
body.page-news .filters select:hover { border-color: var(--nx-border-hover); }
body.page-news .filters select:focus-visible { outline: none; border-color: var(--nx-blue); box-shadow: 0 0 0 3px rgba(59,130,246,0.22); }

/* Inline digest callout → blue */
body.page-news .inline-callout {
  background:
    linear-gradient(180deg, rgba(59,130,246,0.08), rgba(59,130,246,0.03)),
    var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.05);
}
body.page-news .inline-callout a { color: var(--nx-cyan-2); transition: color .18s var(--ease-out); }
body.page-news .inline-callout a:hover { color: var(--nx-cyan); }

/* ============================================================
   OVERFLOW / A11Y SAFETY GUARDS
============================================================ */
body.page-news .nx-lead-main,
body.page-news .nx-trend { min-width: 0; }
body.page-news .nx-hero-content,
body.page-news .nx-hero-badges { min-width: 0; }
body.page-news .nx-title,
body.page-news .nx-hero-title,
body.page-news .nx-hero-desc,
body.page-news .nx-sub { overflow-wrap: anywhere; }

body.page-news .nx-rail { overscroll-behavior-x: contain; scroll-behavior: smooth; }
body.page-news .nx-rail:focus-visible {
  outline: none; border-radius: 14px;
  box-shadow: 0 0 0 2px var(--nx-blue), 0 0 0 5px rgba(59,130,246,0.25);
}
@media (prefers-reduced-motion: reduce) {
  body.page-news .nx-rail { scroll-behavior: auto; }
}

/* Orphan/widow control on display headings */
body.page-news .nx-head h2,
body.page-news .nx-hero-title { text-wrap: balance; }
body.page-news .nx-sub,
body.page-news .nx-hero-desc { text-wrap: pretty; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  body.page-news .nx-lead-grid { grid-template-columns: 1fr; }
  body.page-news .nx-hero-card, body.page-news .nx-hero-content { min-height: 400px; }
}
@media (max-width: 620px) {
  body.page-news main.wrap { padding-bottom: 64px; }
  body.page-news .nx-hero { padding: 40px 20px 30px; border-radius: 20px; margin-bottom: 36px; }
  body.page-news .nx-title { font-size: 34px; }
  body.page-news .nx-section { margin-bottom: 40px; }
  body.page-news .nx-pulse { grid-template-columns: repeat(2, 1fr); }
  body.page-news .nx-rail { grid-auto-columns: 84vw; }
  body.page-news .nx-hero-card, body.page-news .nx-hero-content { min-height: 340px; }
  body.page-news .nx-hero-content { padding: 22px 20px; }
  body.page-news .nx-hero-desc { display: none; }
}

/* ---------- Reduced-motion resets ---------- */
@media (prefers-reduced-motion: reduce) {
  body.page-news .news-card,
  body.page-news .nx-hero-card,
  body.page-news .nx-stat,
  body.page-news .nx-trend-item,
  body.page-news .overview-card,
  body.page-news .overview-card-link,
  body.page-news .collection-card,
  body.page-news .collection-card .thumb,
  body.page-news .news-media .thumb,
  body.page-news .news-media .news-real-img,
  body.page-news .play-btn span,
  body.page-news .nx-hero-media .thumb,
  body.page-news .nx-hero-media .news-real-img { transition: none !important; }
  body.page-news .news-card:hover,
  body.page-news .nx-hero-card:hover,
  body.page-news .nx-stat:hover,
  body.page-news .nx-trend-item:hover,
  body.page-news .overview-card-link:hover,
  body.page-news .collection-card:hover { transform: none !important; }
  body.page-news .news-card:hover .news-media .thumb,
  body.page-news .news-card:hover .news-media .news-real-img,
  body.page-news .collection-card:hover .thumb,
  body.page-news .news-card:hover .play-btn span,
  body.page-news .nx-hero-card:hover .nx-hero-media .thumb,
  body.page-news .nx-hero-card:hover .nx-hero-media .news-real-img { transform: none !important; }
}

/* ============================================================
   FINAL · PROFILE MATERIAL  (appended last — wins by source order)
   Brings every News card up to the Profile benchmark: neutral
   smoked-glass surfaces (no navy/blue washes), near-invisible
   WHITE-translucent borders (not accent-tinted gradient borders),
   a soft inset TOP light + soft ambient shadow, generous calm
   spacing. The editorial BLUE survives ONLY as small highlights —
   the eyebrow dot, small rank numerals, category dots, icon chips,
   a hovered title/link tint and a faint hover ambient. The lead
   story keeps just a WHISPER of blue via a subtle featured gradient.
   No colored surfaces, no colored borders, no glowing colored
   shadows, no heavy stacked shadows. Presentation only; markup,
   IDs, data flows and JS behaviour are untouched.
   ============================================================ */

/* --- Re-point the section's surface tokens at the Profile recipe.
   Custom properties resolve at use-time, so every consumer of these
   vars (hero card, trending, feed cards, overview panel, collections,
   stat tiles) inherits the neutral glass instantly. The glow vars are
   neutralised to a transparent (but syntactically valid) shadow so any
   remaining reference no longer paints a blue halo. --- */
body.page-news {
  --nx-border-hover:  var(--border-hover);
  --nx-glow:          0 0 0 0 rgba(0,0,0,0);
  --nx-glow-strong:   0 0 0 0 rgba(0,0,0,0);
  --nx-surface:       linear-gradient(155deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  --nx-surface-hover: linear-gradient(155deg, rgba(255,255,255,0.066), rgba(255,255,255,0.022));
  --nx-card-shadow:   var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.08);
  --nx-card-shadow-h: var(--shadow-hover), inset 0 1px 0 rgba(255,255,255,0.10);
}

/* --- Content-card shells: neutral smoked glass + hairline white border
   + soft inset top-light. The border almost disappears; separation comes
   from material + lighting, exactly like Profile. --- */
body.page-news .news-card,
body.page-news .nx-hero-card,
body.page-news .nx-trend,
body.page-news .overview-panel,
body.page-news .collection-card {
  border: 1px solid var(--glass-border);
  background: var(--nx-surface);
  box-shadow: var(--nx-card-shadow);
}

/* Content-card radius matches Profile (18px); the lead hero + side panel
   stay at the larger feature radius (unchanged). */
body.page-news .news-card,
body.page-news .collection-card { border-radius: var(--radius-m); }

/* Gentle, uniform hover: soft lift, neutral border, soft ambient — a very
   faint accent ambient only, NO colored glow, NO heavy float shadow. */
body.page-news .news-card:hover,
body.page-news .collection-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  background: var(--nx-surface-hover);
  box-shadow: var(--nx-card-shadow-h), 0 0 30px -22px rgba(59,130,246,0.28);
}
body.page-news .nx-hero-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  background: var(--nx-surface-hover);
  box-shadow: var(--nx-card-shadow-h), 0 0 34px -22px rgba(59,130,246,0.28);
}
body.page-news .news-card:active,
body.page-news .nx-hero-card:active,
body.page-news .collection-card:active { transform: translateY(-1px); }

/* --- Lead / feature story: only a WHISPER of blue in the surface, plus
   the standard soft depth. No big colored aura. --- */
body.page-news .news-card.feature {
  background: linear-gradient(150deg, rgba(59,130,246,0.10), rgba(255,255,255,0.02) 60%);
  box-shadow: var(--nx-card-shadow);
}
body.page-news .news-card.feature:hover {
  background: linear-gradient(150deg, rgba(59,130,246,0.13), rgba(255,255,255,0.03) 60%);
  box-shadow: var(--nx-card-shadow-h), 0 0 34px -20px rgba(59,130,246,0.30);
}

/* --- Nested / quiet tiles (hero stat tiles, overview cards): the calm
   glass with the softer --line-soft border and ~14px radius. --- */
body.page-news .nx-stat,
body.page-news .overview-card {
  border: 1px solid var(--line-soft);
  background: linear-gradient(155deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  border-radius: 14px;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.06);
}
body.page-news .nx-stat:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover), inset 0 1px 0 rgba(255,255,255,0.08);
}
body.page-news .overview-card-link:hover .overview-card { border-color: var(--border-hover); }

/* Trending divider → neutral hairline (was blue-tinted) */
body.page-news .nx-trend-item { border-bottom-color: var(--line-soft); }

/* --- Typography: dial back the bold, keep a quiet hierarchy. The title
   sits near-white and draws the eye; supporting/meta text recedes. The
   hovered title picks up the soft-cyan accent (a small highlight, not a
   surface). --- */
body.page-news .news-title { font-weight: 660; letter-spacing: -0.012em; }
body.page-news .news-card:hover .news-title { color: var(--nx-cyan-2); }
body.page-news .news-card.feature .news-title { font-weight: 740; letter-spacing: -0.02em; }
body.page-news .news-source,
body.page-news .news-card.feature .news-source { color: var(--ink-muted); font-weight: 500; }
body.page-news .nx-stat .nx-stat-v { font-weight: 760; }

/* --- reduced-motion: keep the new hover lifts safe --- */
@media (prefers-reduced-motion: reduce) {
  body.page-news .news-card:hover,
  body.page-news .nx-hero-card:hover,
  body.page-news .collection-card:hover,
  body.page-news .nx-stat:hover,
  body.page-news .news-card:active,
  body.page-news .nx-hero-card:active,
  body.page-news .collection-card:active { transform: none !important; }
}

/* ============================================================
   MI-BENCHMARK ALIGNMENT — News & Events (Blue)
   Wins by source order. Repoints the section's surface tokens at
   the exact Market Intelligence card material — a solid, blue-
   tinted graphite FLOOR (painted via padding-box) under an accent-
   woven hairline border (painted via border-box), the MI layered
   shadow stack, an 18px radius and a long ease-out lift with a
   faint blue ambient on hover. Because these are custom properties,
   every consumer (hero, feed cards, video cards, overview, trending,
   stat tiles) inherits the new material at use-time. Blue lives ONLY
   in the border weave, category chips and hover ambient. No markup,
   IDs, data flows or layout change.
============================================================ */
body.page-news {
  --nx-border-hover:  rgba(120,170,250,0.5);
  --nx-glow:          0 0 44px rgba(59,130,246,0.14);
  --nx-glow-strong:   0 0 50px rgba(59,130,246,0.18);
  --nx-fade: 18,24,36;   /* card floor top colour → the image dissolves into THIS */
  --nx-surface:
    radial-gradient(120% 85% at 50% 125%, rgba(70,140,250,0.30), rgba(70,140,250,0.07) 42%, transparent 68%) padding-box,
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.013)) padding-box,
    linear-gradient(150deg, rgba(255,255,255,0.20), rgba(255,255,255,0.03) 50%, rgba(59,130,246,0.16)) border-box;
  --nx-surface-hover:
    radial-gradient(120% 92% at 50% 125%, rgba(70,140,250,0.42), rgba(70,140,250,0.10) 44%, transparent 70%) padding-box,
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015)) padding-box,
    linear-gradient(150deg, rgba(255,255,255,0.24), rgba(255,255,255,0.04) 50%, rgba(59,130,246,0.24)) border-box;
  --nx-card-shadow:   inset 0 1px 0 rgba(255,255,255,0.06), 0 18px 40px rgba(0,0,0,0.34), 0 3px 10px rgba(0,0,0,0.26);
  --nx-card-shadow-h: inset 0 1px 0 rgba(255,255,255,0.08), 0 22px 46px rgba(0,0,0,0.40), 0 0 32px rgba(59,130,246,0.10);
}
/* CINEMATIC IMAGE DISSOLVE — thumbnail bottom melts into the blue graphite
   floor (18,24,36) with a faint blue top-light, like the MI mover card. */
body.page-news .news-media::after {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 24%),
    linear-gradient(180deg, transparent 48%, rgba(18,18,21,0.55) 80%, #17171b 100%) !important;
}
/* Card shells: transparent border so the border-box accent weave shows */
body.page-news .news-card,
body.page-news .nx-hero-card,
body.page-news .nx-trend,
body.page-news .overview-panel,
body.page-news .collection-card {
  border: 1px solid transparent;
  border-radius: var(--radius-m);
  background: var(--nx-surface);
  box-shadow: var(--nx-card-shadow);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background .45s var(--ease);
}
body.page-news .news-card:hover,
body.page-news .collection-card:hover,
body.page-news .nx-hero-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  background: var(--nx-surface-hover);
  box-shadow: var(--nx-card-shadow-h);
}
/* Nested quiet tiles (hero stat tiles, overview cards) — same floor, softer lift */
body.page-news .nx-stat,
body.page-news .overview-card {
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--nx-surface);
  box-shadow: var(--nx-card-shadow);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background .4s var(--ease);
}
body.page-news .nx-stat:hover { transform: translateY(-4px); border-color: transparent; background: var(--nx-surface-hover); box-shadow: var(--nx-card-shadow-h); }
/* Feature story: a touch more blue in the border weave (keeps the floor) */
body.page-news .news-card.feature {
  background:
    radial-gradient(120% 88% at 50% 125%, rgba(70,140,250,0.36), rgba(70,140,250,0.09) 42%, transparent 68%) padding-box,
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.013)) padding-box,
    linear-gradient(150deg, rgba(255,255,255,0.20), rgba(255,255,255,0.03) 50%, rgba(59,130,246,0.22)) border-box;
  box-shadow: var(--nx-card-shadow);
}
/* Category chips + fresh badge → accent-lit chip (MI icon-chip treatment) */
body.page-news .nx-chip {
  color: #9cc0ff;
  background: linear-gradient(160deg, rgba(59,130,246,0.20), rgba(59,130,246,0.06));
  border: 1px solid rgba(120,170,250,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
/* Values: MI weight/rhythm */
body.page-news .nx-stat .nx-stat-v { font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
/* Trending divider stays a neutral hairline */
body.page-news .nx-trend-item { border-bottom-color: var(--line-soft); }
@media (prefers-reduced-motion: reduce) {
  body.page-news .news-card, body.page-news .nx-hero-card, body.page-news .collection-card,
  body.page-news .nx-stat, body.page-news .overview-card { transition: none; }
  body.page-news .news-card:hover, body.page-news .nx-hero-card:hover,
  body.page-news .collection-card:hover, body.page-news .nx-stat:hover { transform: none !important; }
}
