/* Mars Roofers — illustration video as the hero section's background layer.
   The hero keeps its exact box (min-height + .hero-inner content), so the
   page layout does not shift. The theme's photo background stays in place
   underneath as the fallback if the video cannot load or play. */
.hero .mr-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* keep the MarsRoofers.com brand strip in frame */
    z-index: 0;
    display: block;
    pointer-events: none;
}

/* Keep the theme's navy gradient overlay above the video and below the
   hero copy (.hero-inner is z-index 2 in the theme), exactly as it sits
   over the hero photo today. */
.hero.mr-hero-has-video::before {
    z-index: 1;
}
