.bunny-hero {
    position: relative;
    height: calc(100vh - 8rem);
    width: 100%;
    overflow: hidden;
}

.bunny-hero__background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bunny-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bunny-hero__iframe-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none; /* Prevent interacting with video player controls */
}

/* Ensure iframe fills container while preserving aspect ratio and acting like object-fit: cover */
.bunny-hero__iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 */
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.bunny-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}
