/* Parent cover needs positioning context (WP already sets it; this is a safeguard) */
.wp-block-cover {
    position: relative;
}

/* Our iframe wrapper spans the cover */
.wp-block-cover .wp-cover-vimeo-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    /* behind inner content */
}

/* Fill and crop like object-fit: cover */
.wp-block-cover .wp-cover-vimeo-bg iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    object-fit: cover;
}

/* Ensure the cover’s inner content stays above */
.wp-block-cover .wp-block-cover__inner-container {
    position: relative;
    z-index: 1;
}