/* WiamArena News v2 — same tokens as legal.css / news.css.
   Adds: content-type rails, status badges, filter chips, byline block.
   Do not redefine --bg/--green/--gold etc. here — legal.css owns them. */

/* ---------- Breaking strip ---------- */
.breaking-strip {
  background: var(--gold);
  color: var(--bg);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
}
.breaking-strip .tag {
  flex: 0 0 auto;
  background: var(--bg);
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}
.breaking-strip a {
  color: var(--bg);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.breaking-strip a:hover { text-decoration: underline; }

/* ---------- Category rails (News home) ---------- */
.rail {
  margin: 34px 0 6px;
}
.rail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
.rail-head h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.rail-head .eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
}
.rail-head .see-all {
  font-size: 12px;
  font-weight: 700;
  color: var(--label);
  white-space: nowrap;
}
.rail-head .see-all:hover { color: var(--green); }
.rail-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
}
.rail-track .card-story { scroll-snap-align: start; }
@media (min-width: 720px) {
  .rail-track { grid-auto-columns: 31%; margin: 0; padding-left: 0; padding-right: 0; }
}

/* ---------- Status badges (transfer credibility) ---------- */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 5px;
  border: 1px solid transparent;
}
.status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status-official   { background: #e8f9ee; color: #1a7a41; }
.status-talks       { background: #eef6ff; color: #1d63b8; }
.status-reported    { background: #fff6e0; color: #9a6b00; }
.status-rumoured    { background: #f3f0ff; color: #6b3fc2; }
.status-denied      { background: #fdeceb; color: #b0362a; }
.status-under-review { background: #fff6e0; color: #9a6b00; }

.status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 12px 0 18px;
  border-bottom: 1px solid color-mix(in srgb, var(--bg) 12%, #fff);
  margin-bottom: 18px;
}
.status-legend span {
  font-size: 11px;
  color: var(--label);
}

/* ---------- Breadcrumb ---------- */
.crumb {
  font-size: 12px;
  color: var(--label);
  margin-bottom: 10px;
}
.crumb a { color: var(--label); }
.crumb a:hover { color: var(--green); }
.crumb .sep { margin: 0 6px; opacity: 0.5; }
.crumb .here { color: var(--bg); font-weight: 700; }

/* ---------- Section header (category hub) ---------- */
.section-head {
  padding: 18px 0 6px;
  border-bottom: 1px solid color-mix(in srgb, var(--bg) 12%, #fff);
  margin-bottom: 18px;
}
.section-head .eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}
.section-head h1 { font-size: 1.5rem; margin-bottom: 8px; }
.section-head p { color: var(--label); font-size: 14px; max-width: 56ch; }

/* ---------- Filter chips ---------- */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 22px;
}
.filter-chip {
  font-size: 12px;
  font-weight: 700;
  color: var(--bg);
  background: #f0f4f1;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
}
.filter-chip.active {
  background: var(--bg);
  color: #fff;
}
.filter-chip:hover:not(.active) { border-color: var(--bg); }

/* ---------- Story card: status variant ---------- */
.card-story .status-badge,
.story-row .status-badge,
.hero .status-badge {
  margin-bottom: 8px;
}

/* Rails sit on the white feed — legal.css paints every <section> dark. */
.news-page .news-feed section.rail,
.news-page .news-feed section.trending,
.news-page .article section.trending {
  background: #fff;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--bg);
}
.news-page .rail-head h2,
.news-page .card-story h3,
.news-page .story-row h3,
.news-page .trending h2,
.news-page .trending h3,
.news-page .article .trending h2,
.news-page .article .trending h3 {
  color: var(--bg);
}
.news-page .rail-head .see-all { color: var(--label); }

/* ---------- Article byline / share ---------- */
.byline {
  display: block;
  padding: 12px 0 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid color-mix(in srgb, var(--bg) 12%, #fff);
}
.byline .who {
  font-size: 13px;
  color: var(--bg);
  font-weight: 700;
  margin: 0;
}
.byline .when {
  display: block;
  font-size: 12px;
  color: var(--label);
  font-weight: 500;
  margin: 4px 0 0;
}
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.share-row a {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bg);
  border: 1px solid color-mix(in srgb, var(--bg) 18%, #fff);
  border-radius: 6px;
  padding: 6px 10px;
}
.share-row a:hover { border-color: var(--bg); }
.share-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--bg) 12%, #fff);
}
.article h2 {
  color: var(--bg);
  font-size: 1.15rem;
  margin: 22px 0 10px;
  border: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 6px;
}
.tag-row a {
  font-size: 12px;
  font-weight: 600;
  color: var(--bg);
  background: #f0f4f1;
  border-radius: 999px;
  padding: 6px 12px;
}
.tag-row a:hover { background: #e2ece5; }

.unconfirmed-note {
  background: #fff6e0;
  border-left: 3px solid var(--gold);
  padding: 12px 16px;
  border-radius: 0 10px 10px 0;
  font-size: 13px;
  color: #6b4e00;
  margin: 16px 0 20px;
}

/* ---------- Live / Match Day rows ---------- */
.live-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid color-mix(in srgb, var(--bg) 12%, #fff);
}
.live-row h3 { font-size: 1rem; margin-bottom: 4px; }
.live-row .meta-line { color: var(--label); font-size: 13px; }
.live-pill {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.live-now { background: #fdeceb; color: #c1291c; }
.live-soon { background: #eef6ff; color: #1d63b8; }
.live-ft { background: #f0f4f1; color: var(--label); }
.live-row-now { background: #fff9f8; margin: 0 -16px; padding: 16px; border-top: none; }

/* ---------- Rankings / listicle ---------- */
.list-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid color-mix(in srgb, var(--bg) 12%, #fff);
}
.list-n {
  flex: 0 0 auto;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
  min-width: 34px;
}
.list-item h3 { font-size: 1rem; margin-bottom: 4px; }
.list-item .meta-line { color: var(--label); font-size: 12px; }

/* ---------- Interviews / feature cards ---------- */
.feature-card { display: block; margin-bottom: 18px; }
.feature-frame { background: #fff; margin: 0 -16px 12px; }
.feature-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
}
.feature-frame .thumb-empty { min-height: 170px; }
.feature-lead .feature-frame .thumb-empty { min-height: 210px; }
.feature-body h1 { font-size: 1.4rem; line-height: 1.25; margin-bottom: 8px; }
.feature-body h3 { font-size: 1.02rem; line-height: 1.3; padding: 0 2px; }
.feature-body .dek { font-size: 15px; color: var(--label); margin: 6px 0 10px; }
.feature-body .meta-line { padding: 0 2px 4px; }
.feature-grid { display: grid; gap: 18px; margin-top: 22px; }
@media (min-width: 620px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
