/* ============================================
   VARD CHAMPIONS THE NEXT GENERATION
   Editorial Overrides & Unique Components
   Base: article-shared.css
   Prefix: nxt-
   ============================================ */

/* Override overflow-x: hidden → clip so sticky works */
html, body {
  overflow-x: clip;
}

:root {
  --art-accent: var(--color-gold, #d4a574);
  --art-accent-subtle: rgba(212, 165, 116, 0.3);
  --art-link: #2d4a5e;
  --art-link-underline: var(--color-gold, #d4a574);
  --art-link-hover: var(--color-gold, #d4a574);
  --art-ornament: var(--color-gold, #d4a574);
}

/* ── Hero overrides ── */
.art-hero__media img {
  object-position: center 40%;
  animation: nxtHeroKB 30s ease-out forwards;
}

@keyframes nxtHeroKB {
  0%   { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.art-hero__overlay {
  background:
    linear-gradient(to top,
      rgba(10, 22, 40, 0.92) 0%,
      rgba(10, 22, 40, 0.4) 40%,
      rgba(10, 22, 40, 0.08) 70%,
      transparent 100%);
}

/* Hero category badge — community story uses teal-ish */
.art-hero__category {
  background: rgba(45, 74, 94, 0.85);
  color: #fff;
}

/* ── Tighter intro spacing ── */
.art-intro__inner {
  padding-bottom: 0;
}

/* ── Intro lead — no dropcap ── */
.art-lead::first-letter {
  float: none;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}


/* ============================================
   CHALLENGE CARDS — Three ocean challenges
   Numbered cards with left gold accent
   ============================================ */
.nxt-challenges {
  max-width: 640px;
  margin: var(--space-2xl) auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.nxt-challenge {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  padding: var(--space-lg) var(--space-xl);
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--color-gold, #d4a574);
  border-radius: 0 var(--radius-lg, 0.75rem) var(--radius-lg, 0.75rem) 0;
}

.nxt-challenge__number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-gold, #d4a574);
  border: 1.5px solid rgba(212, 165, 116, 0.4);
  border-radius: 50%;
}

.nxt-challenge__text {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-base, 1rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
}


/* ── Sticky scene override — focus on boat ── */
.art-sticky-scene__media img {
  object-position: center 70%;
}


/* ============================================
   WINNER HIGHLIGHT — Two winner entries
   ============================================ */
.nxt-winners {
  max-width: 700px;
  margin: var(--space-2xl) auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.nxt-winner {
  padding: var(--space-xl) var(--space-2xl);
  background: rgba(45, 74, 94, 0.05);
  border-radius: var(--radius-lg, 0.75rem);
  border-left: 4px solid var(--color-gold, #d4a574);
}

.nxt-winner__name {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--color-text-primary, #1a1a1a);
  margin-bottom: var(--space-xs);
}

.nxt-winner__school {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm, 0.875rem);
  color: var(--color-gold, #d4a574);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
}

.nxt-winner__desc {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-base, 1rem);
  line-height: 1.7;
  color: var(--color-text-secondary, #4a4a4a);
  margin: 0;
}


/* ============================================
   RIPPLE EFFECT STATS — 2×2 stat cards
   ============================================ */
.nxt-ripple {
  max-width: 700px;
  margin: var(--space-2xl) auto;
}

.nxt-ripple__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.nxt-ripple__card {
  padding: var(--space-xl) var(--space-lg);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg, 0.75rem);
  text-align: center;
  border: 1px solid rgba(212, 165, 116, 0.15);
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.nxt-ripple__card:hover {
  border-color: rgba(212, 165, 116, 0.4);
  transform: translateY(-2px);
}

.nxt-ripple__number {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--color-gold, #d4a574);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.nxt-ripple__label {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm, 0.875rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.nxt-ripple__source {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-xs, 0.75rem);
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  margin-top: var(--space-lg);
  font-style: italic;
}


/* ============================================
   VIDEO EMBED — YouTube
   ============================================ */
.nxt-video {
  max-width: 960px;
  margin: var(--space-2xl) auto;
  padding: 0 var(--space-xl);
}

.nxt-video__wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-xl, 12px);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.04);
}

.nxt-video__wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.nxt-video figcaption {
  text-align: center;
  margin-top: var(--space-md);
  font-size: var(--text-sm, 0.875rem);
  color: var(--color-text-muted, #666);
  font-style: italic;
}


/* ── Permission notice ── */
.nxt-permission {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm, 0.875rem);
  color: var(--color-text-muted, #737373);
  font-style: italic;
  text-align: center;
  padding: var(--space-lg) 0;
}


/* ============================================
   RESPONSIVE — Tablet (768px)
   ============================================ */
@media (max-width: 768px) {
  .art-hero__media img {
    object-position: 70% 35%;
  }

  .nxt-challenge {
    padding: var(--space-md) var(--space-lg);
  }

  .nxt-ripple__grid {
    gap: var(--space-md);
  }

  .nxt-ripple__card {
    padding: var(--space-lg) var(--space-md);
  }

  .nxt-winner {
    padding: var(--space-lg) var(--space-xl);
  }

  .nxt-video {
    padding: 0 var(--space-lg);
  }
}

/* ============================================
   RESPONSIVE — Mobile (480px)
   ============================================ */
@media (max-width: 480px) {
  .nxt-ripple__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .art-hero__media img {
    animation: none;
    transform: none;
  }
}
