/* ══════════════════════════════════════════════════════════
   News page — design concept A
   Built on the tokens from styles.css
   ══════════════════════════════════════════════════════════ */

/* ── Shared: meta line (date) ──
   Same 12px uppercase label the eyebrows in styles.css use, so the date on a
   feed card matches the date heading the article it opens. It stays muted
   rather than brand-pale: inside the card the headline leads, and a second
   purple next to the "Read More" link competed with it. */
.nv-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  line-height: 1.4;
  color: var(--text-muted);
}

/* ── Shared: gradient cover placeholders ── */
.nv-cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.nv-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(65% 80% at 72% 18%, rgba(250, 250, 252, 0.2) 0%, transparent 62%);
}
.nv-cover svg {
  position: relative;
  width: 56px;
  height: 56px;
  opacity: 0.9;
  color: var(--text-white);
}
.nv-cover__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nv-cover:has(.nv-cover__img)::after { content: none; }
/* The same three gradients the article covers use, so a card on the feed and the
   cover on the article it opens read as one piece rather than two colour schemes */
.nv-cover--promo { background: var(--grad-promo); }
.nv-cover--sport { background: var(--grad-sport); }
.nv-cover--vip   { background: var(--grad-vip); }

/* ══════════════════════════════════════════════════════════
   CONCEPT A — Editorial Feed
   ══════════════════════════════════════════════════════════ */

/* 2-up grid */
/* 20px is the gap every other card grid on the site uses (features, tiers,
   promo kits), so the feed lines up with them instead of sitting looser */
.nva-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.nva-grid:has(> :only-child) {
  grid-template-columns: minmax(0, 1fr);
  max-width: 560px;
}

.nva-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-modal);
  background: var(--surface-1);
  border: 1px solid var(--glass-stroke);
  backdrop-filter: blur(var(--surface-blur));
  -webkit-backdrop-filter: blur(var(--surface-blur));
  box-shadow: var(--shadow-4);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
/* Kept: the whole card is a click target (see the stretched link below) */
.nva-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-brand);
  box-shadow: var(--shadow-1);
}
.nva-card .nv-cover { aspect-ratio: 16 / 9; }
.nva-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: var(--card-pad);
}
.nva-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-white);
}
.nva-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(105, 65, 204, 0.22);
}
.nva-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-light);
  transition: gap 0.2s ease, color 0.2s ease;
}
.nva-card:hover .nva-card__link { gap: 11px; color: var(--brand-pale); }

/* Whole-card click target.
   The existing link stretches over the card instead of wrapping it in another
   <a>: one anchor per card, no nested links, and screen readers still read the
   real link text rather than the whole card. */
.nva-card { position: relative; cursor: pointer; }
.nva-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Keyboard focus lands on the link, so the ring has to show on the card */
.nva-card:focus-within { outline: 2px solid var(--brand-light); outline-offset: 3px; }
.nva-card__link:focus-visible { outline: none; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */

@media (max-width: 640px) {.nva-grid { grid-template-columns: 1fr; }
}
