/* ─────────────────────────────────────────
   css/live.css
───────────────────────────────────────── */

.live {
  background: var(--charcoal);
  padding: 0 var(--section-px) var(--section-py);
}

/* Header row */
.live__top {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 56px; padding-top: 16px;
  border-top: 0.5px solid rgba(212,191,187,0.12);
}

.live__heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 300; color: var(--petal); line-height: 1.0;
}
.live__heading em { font-style: italic; color: var(--blush); }

.live__intro {
  max-width: 520px;
  margin-top: 18px;
  color: rgba(247,229,223,0.78);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 300;
}

.live__more {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 64px 0 28px;
  padding-top: 36px;
  border-top: 0.5px solid rgba(212,191,187,0.12);
}

.live__subheading {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  color: var(--petal);
  line-height: 1;
}

.live__subheading em {
  color: var(--blush);
  font-style: italic;
}

/* Embedded videos */
.embedded-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.embedded-video {
  background: rgba(247,229,223,0.055);
  border: 1px solid rgba(247,229,223,0.1);
}

.embedded-video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: rgba(0,0,0,0.32);
  overflow: hidden;
}

.embedded-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.embedded-video__copy {
  padding: 20px;
}

.embedded-video__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 300;
  color: var(--petal);
  line-height: 1.15;
  margin-bottom: 8px;
}

.embedded-video__meta {
  color: rgba(247,229,223,0.72);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* Tabs */
.tab-row { display: flex; gap: 4px; align-self: flex-end; }

.tab-btn {
  background: none;
  border: 0.5px solid rgba(212,191,187,0.22);
  color: rgba(247,229,223,0.72);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 10px 20px;
  min-height: 44px;
  transition: all var(--transition-fast);
}
.tab-btn:hover {
  color: rgba(247,229,223,0.7);
  border-color: rgba(212,191,187,0.4);
}
.tab-btn.active {
  background: var(--deep-rose);
  border-color: var(--deep-rose);
  color: var(--petal);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Video grids */
.video-grid--featured {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.video-grid--3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* Video card */
.video-card {
  position: relative; overflow: hidden; cursor: pointer;
  background: rgba(242,196,184,0.05);
}
.video-card.featured { grid-row: 1 / 3; }

.video-card__thumb {
  width: 100%; aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.video-card.featured .video-card__thumb {
  aspect-ratio: unset; height: 100%; min-height: 380px;
}

.video-card__bg { position: absolute; inset: 0; }

.video-card__image {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), filter var(--transition-slow);
}
.video-card__shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(42,34,32,0.82), rgba(42,34,32,0.08) 68%);
}
.video-card:hover .video-card__image { transform: scale(1.025); filter: saturate(1.08); }

.video-card__action {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  border: 0; background: transparent; color: inherit;
  z-index: 3;
}
.video-card__action:focus-visible { outline: 3px solid var(--blush); outline-offset: -3px; }

/* Play button */
.play-ring {
  border-radius: 50%;
  border: 0.5px solid rgba(247,229,223,0.18);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2;
  transition: border-color var(--transition-fast);
}
.video-card:hover .play-ring { border-color: rgba(247,229,223,0.45); }
.play-ring--lg { width: 90px; height: 90px; }
.play-ring--sm { width: 60px; height: 60px; }

.play-dot {
  border-radius: 50%; background: var(--deep-rose);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition-fast);
}
.video-card:hover .play-dot { background: var(--rose); }
.play-dot--lg { width: 44px; height: 44px; }
.play-dot--sm { width: 30px; height: 30px; }

.play-tri { width: 0; height: 0; border: solid transparent; border-left-color: var(--petal); }
.play-tri--lg { border-width: 8px 0 8px 13px; margin-left: 3px; }
.play-tri--sm { border-width: 5px 0 5px 9px;  margin-left: 2px; }

/* Video info overlay */
.video-card__info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 20px;
  background: linear-gradient(to top, rgba(42,34,32,0.95) 0%, transparent 100%);
  pointer-events: none;
}

.platform-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 8px; font-weight: 500;
}
.platform-badge--yt { background: rgba(201,123,138,0.25); color: var(--blush); }
.platform-badge--ig { background: rgba(139,74,88,0.35);   color: var(--petal); }
.platform-badge--tt { background: rgba(212,191,187,0.15); color: var(--mist);  }

.platform-dot { width: 6px; height: 6px; border-radius: 50%; }
.platform-dot--yt { background: var(--rose);  }
.platform-dot--ig { background: var(--blush); }
.platform-dot--tt { background: var(--mist);  }

.video-card__title {
  font-family: var(--font-display); font-weight: 300;
  color: var(--petal); line-height: 1.2; margin-bottom: 4px;
}
.video-card__title--lg { font-size: 24px; }
.video-card__title--sm { font-size: 17px; }
.video-card__meta { font-size: 11px; color: rgba(247,229,223,0.72); letter-spacing: 0.05em; }

/* Responsive */
@media (max-width: 900px) {
  .live { padding: 0 var(--section-px) var(--section-py); }
  .live__top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .live__more { flex-direction: column; align-items: flex-start; }
  .embedded-video-grid { grid-template-columns: 1fr; }
  .video-grid--featured {
    grid-template-columns: 1fr 1fr;
  }
  .video-card.featured { grid-row: auto; grid-column: span 2; }
  .video-grid--3col { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .video-grid--featured,
  .video-grid--3col { grid-template-columns: 1fr; }
  .video-card.featured { grid-column: auto; }
}
