/* Club Copy — News (home rail + index + articles)
   Home/index: nocturnal chrome continuum. Articles: warm paper + chrome bezel. */

/* Soft exit from dark Releases wall — stay in the night continuum --------- */
.news-bridge {
  height: 56px;
  margin-top: -1px;
  background: linear-gradient(180deg, #080808 0%, #0a0a0c 100%);
  pointer-events: none;
}
@media (max-width: 699px) {
  .news-bridge { height: 36px; }
}

.news {
  position: relative;
  background:
    radial-gradient(720px 420px at 12% 0%, rgba(200,214,230,.08), transparent 55%),
    linear-gradient(180deg, #0a0a0c 0%, #080808 100%);
  color: #fff;
  padding: 0 0 72px;
}
.news > .band { padding-top: 8px; }
.news .section-head {
  border-bottom: none;
  margin-bottom: 28px;
  padding-top: 28px;
  padding-bottom: 0;
  box-shadow: none;
}
@media (min-width: 800px) {
  .news .section-head { padding-top: 40px; margin-bottom: 32px; }
}
.news .eyebrow { color: rgba(255,255,255,.42); }
.news .section-head h2 { color: #fff; }
.news .head-link {
  color: rgba(255,255,255,.55);
  border-bottom-color: transparent;
}
@media (hover:hover) {
  .news .head-link:hover {
    color: #fff;
    border-bottom-color: rgba(200,214,230,.45);
  }
}
.news-title-link {
  color: inherit;
  text-decoration: none;
}
@media (hover:hover) {
  .news-title-link:hover { opacity: .72; }
}

/* Horizontal news rail (homepage) — teletext / ticker --------------------- */
.news-rail {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(150,162,180,.45) transparent;
  padding: 8px 0 12px;
  outline: none;
  mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 36px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 36px), transparent 100%);
}
.news-rail:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(200,214,230,.55);
}
.news-rail::-webkit-scrollbar { height: 6px; }
.news-rail::-webkit-scrollbar-track { background: transparent; }
.news-rail::-webkit-scrollbar-thumb {
  background: rgba(150,162,180,.4);
  border-radius: 2px;
}
.news-rail-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 0 max(24px, var(--safe-r)) 4px max(24px, var(--safe-l), calc((100% - var(--wrap)) / 2 + 24px));
}
@media (min-width: 800px) {
  .news-rail-track {
    gap: 22px;
    padding: 0 max(40px, var(--safe-r)) 4px max(40px, var(--safe-l), calc((100% - var(--wrap)) / 2 + 40px));
  }
}

/* Cards — chrome media frames --------------------------------------------- */
a.news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  transition: transform .45s var(--ease);
}
.news-rail a.news-card {
  flex: 0 0 auto;
  width: min(236px, 68vw);
  scroll-snap-align: start;
}
@media (min-width: 800px) {
  .news-rail a.news-card { width: 252px; }
}
a.news-card:focus-visible {
  outline: 2px solid var(--chrome-steel);
  outline-offset: 3px;
  border-radius: 2px;
}
@media (hover:hover) {
  a.news-card:hover { transform: translateY(-2px); }
  a.news-card:hover .news-card-art img { transform: scale(1.03); }
  a.news-card:hover .news-card-more {
    text-decoration-color: rgba(17,17,17,.7);
  }
  .news a.news-card:hover .news-card-more,
  .news-index a.news-card:hover .news-card-more {
    text-decoration-color: rgba(255,255,255,.55);
  }
}
.news-card-art {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--bezel-r, 4px);
  background: #111;
}
.news-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease);
}
.news-card-body {
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.news-card-date {
  font-family: var(--callsign);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(200,214,230,.55);
  font-variant-numeric: tabular-nums;
}
.news-card-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.2;
  color: #fff;
}
.news-card-dek {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,.55);
  max-width: 28em;
}
.news-card-more {
  margin-top: auto;
  padding-top: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,.28);
  align-self: flex-start;
}
a.news-card.news-card--essay .news-card-art {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    0 14px 36px rgba(0,0,0,.3);
}

/* Type chip — Essay vs Press ---------------------------------------------- */
.news-type {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--callsign);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(200,214,230,.62);
  border: 1px solid rgba(170,182,200,.35);
  border-radius: var(--bezel-r, 4px);
  padding: 5px 9px;
  margin-bottom: 2px;
}

/* Card grid (news index page) --------------------------------------------- */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px 28px;
}
@media (min-width: 700px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .news-grid { grid-template-columns: repeat(3, 1fr); gap: 44px 32px; }
}

/* Staggered reveal on homepage rail --------------------------------------- */
.news-rail .rv:nth-child(1) { transition-delay: 0ms; }
.news-rail .rv:nth-child(2) { transition-delay: 60ms; }
.news-rail .rv:nth-child(3) { transition-delay: 120ms; }
.news-rail .rv:nth-child(4) { transition-delay: 180ms; }
.news-rail .rv:nth-child(5) { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  a.news-card,
  .news-card-art img { transition: none; }
  .news-rail .rv { transition-delay: 0ms !important; }
  .news-rail { scroll-snap-type: none; }
}

/* News index — same nocturnal continuum ----------------------------------- */
.news-index {
  background:
    radial-gradient(720px 420px at 12% 0%, rgba(200,214,230,.08), transparent 55%),
    linear-gradient(180deg, #0a0a0c 0%, #080808 100%);
  color: #fff;
  min-height: 60vh;
}
.news-index .section-head h1 { color: #fff; }
.news-index .eyebrow { color: rgba(255,255,255,.42); }
.news-index-lead {
  color: rgba(255,255,255,.55) !important;
}

/* Article pages — warm paper + chrome bezel media ------------------------- */
.news-page {
  padding: calc(var(--nav-h) + var(--safe-t) + 48px) 0 96px;
}
.news-article {
  max-width: 640px;
  margin: 0 auto;
}
.news-article--essay {
  max-width: 680px;
}
.news-article-hero {
  margin: 0 0 28px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--bezel-r, 4px);
  background: var(--soft);
  border: 1px solid rgba(160,174,194,.45);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    0 0 0 1px rgba(26,30,38,.05),
    0 18px 40px rgba(26,30,38,.1);
}
.news-article--essay .news-article-hero {
  aspect-ratio: 2 / 1;
  margin-bottom: 32px;
}
.news-article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-kicker {
  font-family: var(--callsign);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 12px;
}
.news-article h1 {
  font-family: var(--display);
  font-size: clamp(30px, 4.8vw, 44px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.08;
  margin: 0 0 10px;
}
.news-article--essay h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 10px;
}
.news-byline {
  margin: 0 0 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink);
}
.news-article--essay .news-byline { margin-bottom: 18px; }
.news-byline--end {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(170,182,200,.28);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--muted);
}
.news-article--essay .news-byline--end {
  margin-top: 20px;
  border-top: 0;
  padding-top: 0;
}
.news-article--essay .news-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.news-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}
.news-body p { margin: 0 0 1em; max-width: 36em; }
.news-body--essay {
  font-size: 16.5px;
  line-height: 1.7;
  color: #4a4e56;
  border-top: 1px solid rgba(170,182,200,.28);
  padding-top: 24px;
  margin-top: 4px;
}
.news-body--essay p { margin-bottom: 1.15em; max-width: 34em; }
.news-body--essay p:first-of-type {
  font-size: 1.05em;
  color: var(--ink);
  line-height: 1.65;
}
.news-body em,
.news-body i { font-style: italic; color: var(--ink); }
.news-body a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(17,17,17,.3);
}
@media (hover:hover) {
  .news-body a:hover { text-decoration-color: rgba(17,17,17,.75); }
}
.news-body .news-ctas {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 22px 0;
  padding: 16px 0;
  border-top: 1px solid rgba(170,182,200,.28);
  border-bottom: 1px solid rgba(170,182,200,.28);
}
.news-body .news-ctas a {
  font-weight: 600;
  font-size: 15px;
}
.news-body h2 {
  font-family: var(--display);
  font-size: clamp(20px, 2.6vw, 24px);
  font-weight: 600;
  letter-spacing: -.025em;
  color: var(--ink);
  margin: 1.6em 0 .55em;
}
.news-body ul, .news-body ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
  max-width: 36em;
}
.news-body li { margin: 0 0 .35em; }
.news-quote-label {
  margin: 24px 0 10px !important;
  font-family: var(--callsign);
  font-size: 11px !important;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim) !important;
}
.news-quote {
  margin: 0 0 1.2em;
  padding: 0 0 0 16px;
  border-left: 2px solid rgba(170,182,200,.45);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
}
.news-quote p { color: inherit; margin-bottom: .85em; }
.news-body blockquote {
  margin: 1.2em 0;
  padding: 0 0 0 16px;
  border-left: 2px solid rgba(170,182,200,.55);
  color: var(--ink);
  font-weight: 500;
}

/* Related reading --------------------------------------------------------- */
.news-related {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(170,182,200,.28);
}
.news-related h2 {
  font-family: var(--callsign);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 16px;
}
.news-related-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-related-list a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  padding: 10px 0;
  border-bottom: 1px solid rgba(170,182,200,.18);
}
.news-related-list a:last-child { border-bottom: 0; }
.news-related-list .t {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.025em;
}
.news-related-list .s {
  font-size: 13px;
  color: var(--muted);
}
@media (hover:hover) {
  .news-related-list a:hover .t { opacity: .7; }
}

.news-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(170,182,200,.28);
  font-size: 14px;
}
.news-nav a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(17,17,17,.22);
}
@media (hover:hover) {
  .news-nav a:hover { color: var(--ink); }
}

.news-back {
  display: inline-flex;
  margin-top: 36px;
  font-family: var(--callsign);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
@media (hover:hover) {
  .news-back:hover { color: var(--ink); border-bottom-color: var(--chrome-steel); }
}

@media (max-width: 699px) {
  .news { padding-bottom: 64px; }
  .news-article-hero,
  .news-article--essay .news-article-hero { aspect-ratio: 1; }
}
