.wp-custom-header .sah-mobile-video{height:100%;object-fit:cover;pointer-events:none;}
#carousel-hestia-generic.sah-video-fit{padding-top:var(--sah-video-nav, 0px);--sah-video-space:max(1px, calc(85vh - var(--sah-video-start, 0px)));--sah-video-ratio:1.87512;}
@supports (height: 1svh) {
#carousel-hestia-generic.sah-video-fit{--sah-video-space:max(1px, calc(85svh - var(--sah-video-start, 0px)));}
} .sah-video-fit #wp-custom-header{position:relative;isolation:isolate;width:min(100%, calc(var(--sah-video-space) * var(--sah-video-ratio)));aspect-ratio:var(--sah-video-ratio);margin-inline:auto;}
.sah-video-fit #wp-custom-header :is(video, img){inset:0;width:100%;height:100%;object-fit:contain;transform:none;}
.sah-video-fit #wp-custom-header + .item{position:absolute;inset:0;}
.sah-video-fit #wp-custom-header + .item .page-header{height:100%;min-height:0 !important;}
#carousel-hestia-generic.sah-video-fit + .main-raised{margin-top:0;}
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
.sah-video-fit #wp-custom-header {
width: 100%;
max-height: var(--sah-video-space);
}
.sah-video-fit #wp-custom-header :is(video, img) {
object-fit: cover;
}
}