/* Dedicated video page (/media/video/<id>). */

.afb-vid {
  max-width: 820px;
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
}

.afb-vid-crumb {
  font-size: .82rem;
  color: var(--bs-secondary-color, #6c757d);
  margin-bottom: .6rem;
}

.afb-vid-crumb a { text-decoration: none; }
.afb-vid-crumb-current { color: var(--bs-secondary-color, #6c757d); }

.afb-vid-title {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 .5rem;
}

.afb-vid-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  align-items: center;
  color: var(--bs-secondary-color, #6c757d);
  font-size: .85rem;
  margin: 0 0 1rem;
}

.afb-vid-metric { display: inline-flex; align-items: center; gap: .35rem; }

.afb-vid-player {
  margin-bottom: 1.5rem;
}

/* The player frame reuses .afb-media-thumb (16:9) from media.css. */
.afb-vid-player .afb-media-thumb {
  border-radius: 14px;
  overflow: hidden;
}

.afb-vid-player .afb-media-links {
  margin-top: .75rem;
  justify-content: center;
}

.afb-vid-section { margin: 1.6rem 0; }

.afb-vid-h2 {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--bs-secondary-color, #6c757d);
  margin: 0 0 .6rem;
}

.afb-vid-summary {
  font-size: 1.05rem;
  line-height: 1.6;
  white-space: pre-line;
  margin: 0;
}

.afb-vid-links {
  margin: 0;
  padding-left: 1.15rem;
}

.afb-vid-links li { margin-bottom: .35rem; line-height: 1.4; }

/* Transcript: collapsed by default (SEO-indexable, low visual weight). */
.afb-vid-transcript details {
  border: 1px solid var(--bs-border-color, #e5e7eb);
  border-radius: 10px;
  padding: .5rem .9rem;
  background: var(--bs-tertiary-bg, #f8f9fa);
}

.afb-vid-transcript summary {
  cursor: pointer;
  list-style: revert;
}

.afb-vid-transcript-body {
  margin-top: .75rem;
  white-space: pre-line;
  line-height: 1.6;
  font-size: .92rem;
  color: var(--bs-body-color, #212529);
  max-height: 28rem;
  overflow-y: auto;
}
