.video-gallery__heading { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:20px; }
.video-gallery__heading .section-top { margin-bottom:0; }
.video-gallery__all { display:inline-flex; align-items:center; gap:8px; min-height:44px; color:#126337; font-weight:700; white-space:nowrap; }
.video-gallery__all::after { content:'\2192'; font-size:22px; }
.video-gallery__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.video-card { display:block; min-width:0; color:#111827; text-decoration:none; }
.video-card__media { position:relative; display:block; aspect-ratio:9 / 16; overflow:hidden; border-radius:8px; background:#101713; }
.video-card__cover { display:block; width:100%; height:100%; object-fit:contain; }
.video-card__badge { position:absolute; top:12px; left:12px; padding:5px 9px; border-radius:4px; background:#fff; color:#222; font-size:12px; font-weight:700; }
.video-card__play { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); display:grid; place-items:center; width:56px; height:56px; border-radius:50%; background:#fff; color:#125e35; box-shadow:0 4px 20px #0003; }
.video-card__play::after { content:''; width:0; height:0; margin-left:4px; border-top:9px solid transparent; border-bottom:9px solid transparent; border-left:14px solid currentColor; }
.video-card__title { display:block; margin-top:13px; font-size:18px; line-height:1.4; font-weight:700; }
.video-card:focus-visible, .video-card__source:focus-visible, .video-gallery__all:focus-visible, .video-carousel__button:focus-visible { outline:3px solid #168343; outline-offset:3px; }
.video-carousel { overflow:hidden; padding:24px 0 4px; touch-action:pan-y; }
.has-carousel .video-gallery__grid { position:relative; display:flex; gap:24px; align-items:start; will-change:transform; }
.video-card__slide { position:relative; flex:0 0 calc((100% - 48px) / 3); min-width:0; transform:scale(.87); opacity:.55; transition:transform 550ms ease, opacity 550ms ease; transform-origin:50% 42%; }
.video-card__slide.is-active { transform:scale(1); opacity:1; }
.video-card__source { display:block; width:fit-content; margin:8px 0 0; padding:4px 0; color:#126337; font-size:13px; }
.video-card__frame { position:absolute; inset:0; display:block; width:100%; height:100%; border:0; background:#fff; }
.is-playing .video-card__cover, .is-playing .video-card__play, .is-playing .video-card__badge { visibility:hidden; }
.video-card__stop { position:absolute; top:8px; right:8px; display:grid; place-items:center; width:36px; height:36px; border:1px solid #ccd5d0; border-radius:4px; background:#fff; color:#222; cursor:pointer; z-index:2; }
.video-card__stop::before { content:'\00d7'; font-size:26px; }
.video-carousel__controls { display:none; }
.video-carousel__button { position:relative; display:grid; place-items:center; width:44px; height:44px; border:1px solid #cad8d0; border-radius:6px; background:#fff; color:#126337; cursor:pointer; }
.video-carousel__button:hover { background:#eaf5ef; }
.video-carousel__button--prev::before, .video-carousel__button--next::before { content:''; width:9px; height:9px; border-top:2px solid currentColor; border-right:2px solid currentColor; transform:rotate(45deg); }
.video-carousel__button--prev::before { transform:rotate(-135deg); }
.video-carousel__button--pause::before { content:''; width:11px; height:15px; border-left:4px solid currentColor; border-right:4px solid currentColor; }
.video-carousel__button--pause.is-paused::before { width:0; height:0; border:0; border-top:8px solid transparent; border-bottom:8px solid transparent; border-left:12px solid currentColor; }
.video-carousel__count { width:54px; text-align:center; font-size:13px; color:#607086; font-variant-numeric:tabular-nums; }
@media(max-width:720px) {
  .video-gallery__heading { align-items:start; }
  .video-gallery__heading h2 { font-size:28px; }
  .video-card__slide { flex-basis:76%; }
  .has-carousel .video-gallery__grid { gap:12px; }
  .video-card__title { font-size:16px; }
  .video-gallery__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:390px) { .video-gallery__heading { flex-wrap:wrap; gap:8px; } }
@media(prefers-reduced-motion:reduce) { .video-card__slide { transition:none; } }
