/* ============================================
   NEWS PAGE — STYLING
   Builds on global.css tokens + parallax.css shell
   Black & Cream editorial aesthetic with Syne typography
   ============================================ */

/* Main breakout container */
.nw {
  align-self: stretch;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  text-align: left;
}

/* ── 1. Intro & Counters ────────────────────── */
.nw-intro {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  padding: 1rem 0 3.5rem;
}

.nw-intro-lead {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.45;
  letter-spacing: -0.02em;
  max-width: 36ch;
}

.nw-intro-lead em {
  font-style: normal;
  color: var(--color-text-muted);
}

.nw-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.nw-stat {
  border-left: 1px solid var(--color-border);
  padding-left: 1rem;
}

.nw-stat-num {
  display: block;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.nw-stat-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

/* ── 2. Featured Dark Band (Dust Bunny Feature) ── */
.nw-featured {
  margin: 2rem calc(-1 * clamp(1rem, 4vw, 4rem)) 5rem;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 5rem);
  background: var(--color-black);
  color: #fff;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
}

.nw-featured-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.nw-featured-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-on-dark-muted);
}

.nw-featured-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

.nw-featured-layout > * {
  min-width: 0;
}

/* Video Player Area */
.nw-player-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.nw-player-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nw-player-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s var(--ease-out);
}

.nw-player-box.is-playing .nw-player-overlay {
  opacity: 0;
  pointer-events: none;
}

.nw-play-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  transition: transform 0.25s var(--ease-out), background 0.25s;
}

.nw-player-overlay:hover .nw-play-circle {
  transform: scale(1.08);
  background: #fff;
}

/* Playlist of Clips */
.nw-playlist {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  margin-top: 1rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.nw-playlist::-webkit-scrollbar {
  display: none;
}

.nw-clip-btn {
  flex: 1 0 185px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  text-align: left;
  transition: background 0.25s, border-color 0.25s;
}

.nw-clip-btn:hover,
.nw-clip-btn.is-active {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

.nw-clip-thumb {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  flex: none;
}

.nw-clip-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nw-clip-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nw-clip-dur {
  font-size: 0.55rem;
  color: var(--color-text-on-dark-muted);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* Featured Editorial Text */
.nw-featured-info h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.nw-featured-lead {
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  line-height: 1.5;
  color: #e5e5e5;
  margin-bottom: 1rem;
}

.nw-featured-body {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--color-text-on-dark-muted);
  margin-bottom: 1.5rem;
}

.nw-featured-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-on-dark-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
}

.nw-featured-meta strong {
  color: #fff;
}

/* ── 3. Official Updates Section ────────────── */
.nw-section {
  padding: 4rem 0 5rem;
}

.nw-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2.25rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
}

.nw-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 1;
}

.nw-head-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.nw-official-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 1.75rem;
}

.nw-card-official {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.nw-card-official:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.06);
}

.nw-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.nw-card-category {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.nw-badge {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--color-cream-dark);
  color: #000;
  border: 1px solid var(--color-border);
}

.nw-card-title {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.nw-card-lead {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

.nw-card-date {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 0.85rem;
}

/* ── 4. Press Section (Automated Live Feed) ─── */
.nw-press-wrap {
  margin-top: 2rem;
}

/* Sticky Controls */
.nw-controls {
  position: sticky;
  top: var(--nav-height);
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 1rem 0;
  margin-bottom: 2.5rem;
  background: rgba(252, 251, 246, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.nw-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.nw-pill {
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  cursor: pointer;
  background: transparent;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s;
}

.nw-pill:hover {
  border-color: #000;
}

.nw-pill[aria-pressed="true"] {
  background: #000;
  border-color: #000;
  color: #fff;
}

.nw-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nw-search {
  position: relative;
}

.nw-search svg {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.5;
  pointer-events: none;
}

.nw-search input {
  height: 36px;
  width: 220px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: transparent;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-primary);
  padding: 0 1rem 0 2.2rem;
  transition: border-color 0.2s;
}

.nw-search input:focus {
  outline: none;
  border-color: #000;
}

.nw-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.nw-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Press Headline Grid / List */
.nw-press-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.nw-press-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 1.75rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease-out), border-color 0.25s, box-shadow 0.25s;
}

.nw-press-card:hover {
  transform: translateY(-3px);
  border-color: #000;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.nw-press-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.nw-outlet {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #000;
}

.nw-time {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.nw-press-title {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.nw-press-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-border);
  padding-top: 0.75rem;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.nw-press-tags {
  display: flex;
  gap: 0.35rem;
}

.nw-tag-chip {
  padding: 0.2rem 0.5rem;
  background: var(--color-cream-dark);
  border-radius: 4px;
}

.nw-press-link-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: #000;
  font-weight: 700;
}

/* Pagination / Load more */
.nw-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin-top: 3.5rem;
}

.nw-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: transform 0.3s var(--ease-out), background 0.3s;
}

.nw-more-btn:hover {
  transform: translateY(-2px);
}

.nw-more-count {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Empty State */
.nw-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1rem;
  border: 1px dashed var(--color-border);
  border-radius: 16px;
  display: none;
}

.nw-empty.is-visible {
  display: block;
}

/* ── 5. On the Horizon ──────────────────────── */
.nw-horizon {
  margin-top: 4rem;
  padding: 4rem clamp(1.5rem, 5vw, 4rem);
  background: var(--color-cream-dark);
  border-radius: 32px;
}

.nw-horizon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.nw-horizon-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease-out), border-color 0.25s, box-shadow 0.25s;
}

.nw-horizon-card:hover {
  transform: translateY(-3px);
  border-color: #000;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.nw-horizon-year {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.nw-horizon-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.nw-horizon-role {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

.nw-horizon-director {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 0.75rem;
}

/* ── 6. Fan Club Editorial CTA ──────────────── */
.nw-cta {
  margin-top: 4.5rem;
  padding: clamp(3rem, 5vw, 4.5rem) 2rem;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.nw-cta-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.nw-cta h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.nw-cta p {
  max-width: 48ch;
  margin: 0 auto 2rem;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.nw-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), background 0.25s;
}

.nw-cta-btn:hover {
  transform: translateY(-2px);
  background: #222;
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 1024px) {
  .nw-featured-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .nw-press-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nw-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
  }
  .nw-featured {
    border-radius: 28px;
    padding: 2.5rem 1.5rem;
  }
  .nw-featured-header {
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 1.75rem;
  }
  /* Clip buttons: swipeable row within container bounds */
  .nw-playlist {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    margin-right: 0;
    padding-right: 0.25rem;
    padding-bottom: 4px;
  }
  .nw-playlist::-webkit-scrollbar { display: none; }
  .nw-clip-btn {
    flex: 0 0 auto;
    width: auto;
    min-width: 215px;
    max-width: 82vw;
    scroll-snap-align: start;
  }
  .nw-head {
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }
  .nw-head-label {
    flex: 1 1 100%;
  }
  .nw-controls {
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
    overflow: hidden;
  }
  .nw-pills {
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .nw-pills::-webkit-scrollbar { display: none; }
  .nw-pill {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .nw-search input {
    width: 100%;
    font-size: 16px; /* Prevents iOS Safari auto-zoom */
  }
  .nw-tools {
    justify-content: space-between;
  }
}
