.video-showcase { background: #eae8e0; scroll-margin-top: 96px; }
.video-showcase .section-heading { align-items: end; }
.video-intro { max-width: 430px; }
.video-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; align-items: start; }
.video-gallery-single { grid-template-columns: minmax(0, 380px); justify-content: center; }
.video-card { min-width: 0; margin: 0; }
.video-frame { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #171b16; border-radius: 4px; isolation: isolate; }
.video-frame video { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; }
.video-play { position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #fff; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.32)); border: 0; cursor: pointer; font: inherit; font-size: 13px; }
.video-play[hidden], .video-error[hidden] { display: none; }
.video-play-icon { display: grid; place-items: center; width: 74px; height: 74px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(25,31,23,.5); backdrop-filter: blur(5px); transition: transform .2s ease, background .2s ease; }
.video-play-icon svg { margin-inline-start: 4px; }
.video-play:hover .video-play-icon { transform: scale(1.06); background: rgba(25,31,23,.8); }
.video-play:focus-visible { outline: 3px solid #fff; outline-offset: -7px; }
.video-duration { position: absolute; inset-inline-end: 15px; top: 15px; padding: 5px 9px; border: 1px solid rgba(255,255,255,.3); border-radius: 3px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; letter-spacing: .04em; direction: ltr; pointer-events: none; }
.video-card.is-playing .video-duration { opacity: 0; }
.video-card figcaption { padding: 20px 2px 6px; }
.video-caption-top { display: flex; align-items: baseline; gap: 12px; }
.video-caption-top h3 { margin: 0; font-size: 21px; line-height: 1.3; font-weight: 500; }
.video-index { flex: 0 0 auto; color: #73796b; font-size: 11px; }
.video-card figcaption p { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 12px 0; }
.video-card .text-link { font-size: 12px; }
.video-card figcaption .video-error { color: #8e382e; }
.video-swipe-hint { display: none; }
@media(max-width: 1024px) { .video-gallery-grid { gap: 26px 18px; } .video-caption-top h3 { font-size: 18px; } }
@media(max-width: 640px) {
  .video-gallery-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82vw, 340px); overflow-x: auto; gap: 18px; padding: 4px 3px 18px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #8b907f transparent; }
  .video-card { scroll-snap-align: start; }
  .video-gallery-single { grid-template-columns: minmax(0, 340px); grid-auto-flow: row; overflow-x: visible; }
  .video-swipe-hint { display: block; font-size: 12px; color: var(--muted); margin-top: 16px; }
  .video-showcase .section-heading { gap: 24px; }
}
@media(prefers-reduced-motion: reduce) { .video-play-icon { transition: none; } }
