/* A guide's video (components/blog/video, config/videos.php): our still
   with a play button, swapped for the player on a tap. A Short stands tall
   and narrow. Loaded by a guide with a video alone, because article.css sits
   at its cap. */
.article-video { margin: 0 0 var(--space-7); }
.article-video-play, .article-video-frame { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.article-video.is-tall :is(.article-video-play, .article-video-frame) { aspect-ratio: 9 / 16; max-width: 20rem; margin-inline: auto; }
.article-video-play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.article-video-button { position: absolute; inset: 50% auto auto 50%; display: grid; place-items: center; width: 4rem; height: 4rem; translate: -50% -50%; border-radius: 999px; background: var(--article-accent); color: var(--article-ink); box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .35); transition: scale .15s ease; }
.article-video-play:hover .article-video-button, .article-video-play:focus-visible .article-video-button { scale: 1.08; }
.article-video figcaption { display: grid; gap: var(--space-1); margin-top: var(--space-3); font-size: .9rem; color: var(--muted); }
.article-video.is-tall figcaption { max-width: 32rem; margin-inline: auto; text-align: center; }
.article-video figcaption strong { color: var(--text); font-weight: 600; }
.article-video-length { font-size: .8rem; }
.video-chapters { list-style: none; padding: 0; }
.video-chapters li { display: grid; grid-template-columns: 3.5rem 1fr; }
.video-chapters a { font-variant-numeric: tabular-nums; font-weight: 600; }
.video-transcript summary { cursor: pointer; font-weight: 600; }
.video-transcript p { margin-top: var(--space-4); }
@media (prefers-reduced-motion: reduce) { .article-video-button { transition: none; } }
