/* Hero videos (Sean, November 10). Home: short learner video, no sound, plays by itself.
   Testimonials: longer learner video with sound and normal controls. Both sit right of the hero text.
   The frame reuses the site's photo frame (.ve-photo), shown at 16:9 so the burned-in captions are never cut. */
.ve-photo.skb-hero-video{aspect-ratio:16/9!important;border-radius:24px!important;background:#12283A!important}
.skb-hero-video video{display:block;width:100%;height:100%;object-fit:cover;background:#12283A}
/* The aqua bar would sit over the player controls. */
.skb-hero-video--sound:after{content:none!important}
.skb-hero-video__toggle{position:absolute;top:12px;right:12px;z-index:2;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid rgba(255,255,255,.7);border-radius:50%;background:rgba(30,26,27,.72);color:#fff;cursor:pointer}
.skb-hero-video__toggle svg{width:18px;height:18px;fill:currentColor}
.skb-hero-video__toggle .icon-play{display:none}
.skb-hero-video__toggle[data-state="paused"] .icon-play{display:block}
.skb-hero-video__toggle[data-state="paused"] .icon-pause{display:none}
.skb-hero-video__toggle:focus-visible{outline:2px solid #fff;outline-offset:2px;box-shadow:0 0 0 5px #0d6e73}
@media(hover:hover) and (pointer:fine){.skb-hero-video__toggle:hover{background:#12283A}}
@media(max-width:800px){.ve-photo.skb-hero-video{border-radius:16px!important;max-width:640px;width:100%}}

/* Spacing (Sean, November 10: "too many empty spaces"). Less padding above and below both heroes.
   Home: the rating strip sits under the video on wide screens, so the two columns are about the same height.
   Phones keep their order (text, buttons, video, rating strip). */
.hm-zone-hero.has-hero-video{padding-top:40px!important}
.hm-zone-hero.has-hero-video>.hm-hero{padding-top:32px!important;padding-bottom:64px!important}
.ve-home-hero>.skb-hero-media{display:flex;flex-direction:column;align-items:flex-start;gap:24px;min-width:0}
.skb-hero-media>.ve-photo{width:100%}
.sb-page-hero.has-hero-video{padding-top:56px!important;padding-bottom:64px!important}
.sb-page-hero.has-hero-video .ve-inner-hero>.sb-breadcrumb{margin-bottom:24px!important}
@media(max-width:800px){
 .ve-home-hero>.skb-hero-media{display:contents}
 .hm-zone-hero.has-hero-video{padding-top:16px!important}
 .hm-zone-hero.has-hero-video>.hm-hero{padding-top:24px!important;padding-bottom:48px!important}
 .sb-page-hero.has-hero-video{padding-top:40px!important;padding-bottom:48px!important}
 .hm-zone-hero.has-hero-video .hm-hero>.ve-home-hero,.sb-page-hero.has-hero-video>.ve-inner-hero{gap:20px!important}
 .hm-zone-hero.has-hero-video .hm-hero__sub{margin-bottom:4px!important}
 .sb-page-hero.has-hero-video .ve-inner-hero>.sb-breadcrumb{margin-bottom:0!important}
}
