/* Hero video over the hero photograph (partials/hero-video.blade.php,
   js/components/ivs-hero-video.js). Same box and framing as the photo under
   it; invisible until frames are playing (.is-on). The hero's scrim and text
   sit above it with their own z-index. */
.ivs-hero-video {
    /* 2px shorter than the photo on purpose: Chrome counts the video's first
       frame as a new LCP candidate when it is even slightly larger than the
       photo (the photo's area is rounded, the video's is not: measured on
       Our Tours at 390px, 234,780 vs 234,901), so a late video frame
       replaced the photo as LCP. Strictly smaller never replaces it. The
       2px left at the bottom sit under the darkest part of the scrim and
       show the same frame (the photo is the video's first frame). */
    position: absolute; top: 0; left: 0;
    width: 100%; height: calc(100% - 2px);
    object-fit: cover; object-position: var(--ivs-hero-video-pos, center 40%);
    display: block;
    opacity: 0;
    transition: opacity 0.9s ease;
    pointer-events: none;
}
.ivs-hero-video.is-on { opacity: 1; }
