/* ─── Video's ─────────────────────────────────────────────── */

.videos-page { background: var(--color-base); min-height: 100vh; }

/* ── Hero (shared) ───────────────────────────────────────── */
.videos-hero {
  padding-top: var(--s8);
  padding-bottom: var(--s6);
}

.videos-hero__h1 { font-size: clamp(36px, 8vw, 56px); }

.videos-hero__sub {
  margin-top: var(--s2);
  font-size: 16px;
  color: var(--color-text-secondary);
}

/* ── Video embed wrapper (16:9 aspect ratio) ─────────────── */
.video-embed-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
}

.video-embed-wrap iframe,
.video-embed-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

/* Fallback overlay (no YouTube ID set) */
.video-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 17, 0.5);
  gap: var(--s2);
}

.video-fallback__text {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text-secondary);
  text-align: center;
  padding: 0 var(--s3);
}

.videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
}

/* Featured tile — accent border always; full column span on desktop */
.video-item-a--featured .video-embed-wrap {
  border: 2px solid var(--color-accent);
}

.video-item-a figcaption {
  margin-top: var(--s2);
}

.video-item-a__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  line-height: 1.1;
}

.video-item-a__cap {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-top: 4px;
}

/* ── Desktop ─────────────────────────────────────────────── */
@media (min-width: 768px) {
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
  .video-item-a--featured { grid-column: 1 / -1; }
}
