/* ==========================================================================
   NEWS PAGE — Match News listing + article detail
   ========================================================================== */

.nw-page {
  padding: clamp(20px, 3vw, 40px) 0 80px;
}

.nw-wrap {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 24px);
}

.nw-head {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.nw-lead {
  font-size: 14px;
  color: var(--muted, rgba(255,255,255,0.7));
  margin-top: 6px;
}

/* ---------- News list ---------- */

.nw-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nw-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

.nw-card:hover {
  background: var(--fa-surface-3);
}

.nw-card--live {
  border-left: 3px solid #ef4444;
  background: rgba(239,68,68,0.04);
}

.nw-card-flags {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.nw-flag {
  border-radius: 2px;
  object-fit: cover;
}

.nw-card-body {
  flex: 1;
  min-width: 0;
}

.nw-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white, #fff);
  line-height: 1.3;
  margin: 0;
}

.nw-card-desc {
  font-size: 13px;
  color: var(--muted, rgba(255,255,255,0.6));
  line-height: 1.4;
  margin-top: 3px;
}

.nw-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 11px;
  color: var(--dim, rgba(255,255,255,0.4));
}

.nw-card-meta span + span::before {
  content: '\00B7';
  margin-right: 8px;
}

.nw-live-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--fa-text);
  background: #00C2CB;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.nw-arrow {
  font-size: 20px;
  color: var(--dim, rgba(255,255,255,0.3));
  flex-shrink: 0;
}

.nw-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--muted, rgba(255,255,255,0.5));
}

.nw-empty p + p {
  margin-top: 8px;
  font-size: 13px;
}

/* ---------- Article detail ---------- */

.nw-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal, #00C2CB);
  text-decoration: none;
  margin-bottom: 20px;
}

.nw-back:hover { opacity: 0.88; }

/* Compact scoreboard */
.nw-scoreboard {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--fa-border-subtle);
  background: var(--fa-border-subtle);
  margin-bottom: 20px;
}

.nw-sb-team {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.nw-sb-team:last-of-type {
  flex-direction: row-reverse;
}

.nw-sb-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--white, #fff);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nw-sb-score {
  font-size: 20px;
  font-weight: 900;
  color: var(--white, #fff);
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.nw-sb-vs {
  font-size: 12px;
  font-weight: 600;
  color: var(--dim, rgba(255,255,255,0.4));
  flex-shrink: 0;
}

.nw-article-title {
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 800;
  color: var(--white, #fff);
  line-height: 1.2;
  margin-bottom: 12px;
}

.nw-article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--dim, rgba(255,255,255,0.4));
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--fa-border-subtle);
}

.nw-article-meta span + span::before,
.nw-article-meta time::before {
  content: '\00B7';
  margin-right: 10px;
}

.nw-article-body {
  font-size: 14px;
  color: var(--body, rgba(255,255,255,0.88));
  line-height: 1.65;
}

.nw-article-body p + p {
  margin-top: 12px;
}

.nw-loading {
  color: var(--dim, rgba(255,255,255,0.4));
  font-style: italic;
}

/* Column narrative */
.nw-column p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--body, rgba(255,255,255,0.88));
}

.nw-column p:last-child {
  margin-bottom: 0;
}

.nw-match-link {
  display: inline-flex;
  margin-top: 28px;
}

/* ---------- Related news ---------- */

.nw-article-related {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--fa-border-subtle);
}

.nw-article-related h3 {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white, #fff);
  margin-bottom: 14px;
}

.nw-related-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nw-related-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

.nw-related-item:hover {
  background: var(--fa-surface-3);
}

.nw-related-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white, #fff);
  line-height: 1.3;
}

.nw-related-desc {
  font-size: 12px;
  color: var(--muted, rgba(255,255,255,0.5));
  line-height: 1.4;
}

/* ---------- Mobile ---------- */

@media (max-width: 600px) {
  .nw-card {
    padding: 12px 10px;
    gap: 10px;
  }

  .nw-card-title { font-size: 14px; }
  .nw-card-desc { font-size: 12px; }
  .nw-card-flags { gap: 3px; }
  .nw-flag { width: 20px; height: 14px; }

  .nw-scoreboard { padding: 10px 12px; gap: 10px; }
  .nw-sb-name { font-size: 12px; }
  .nw-sb-score { font-size: 18px; }
  .nw-stat-val { font-size: 12px; min-width: 30px; }
  .nw-goal-row { padding: 5px 8px; }
}
