/* Match the existing OR theme; apply only while Complianz blocks a video. */
.or-video-consent.cmplz-blocked-content-container {
    border: 0;
    border-radius: 0 !important;
    box-shadow: none;
    background-color: #002944;
    background-position: center;
    overflow: hidden;
    animation: none;
}

/* Preserve the theme's existing gallery heights rather than the thumbnail ratio. */
.video_img_slider .img.or-video-consent.cmplz-blocked-content-container {
    height: auto !important;
}

.or-video-consent.cmplz-blocked-content-container > button.cmplz-blocked-content-notice {
    display: block;
    width: max-content;
    max-width: calc(100% - 32px);
    margin: 0;
    padding: 20px 28px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 0;
    background: rgba(21, 42, 66, .94);
    color: #fff;
    font-family: inherit;
    text-align: center;
    box-shadow: none;
    cursor: pointer;
    transition: background-color .15s ease;
}

.or-video-consent.cmplz-blocked-content-container > button.cmplz-blocked-content-notice::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin: 0 auto 12px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 13px solid currentColor;
}

.or-video-consent .or-video-consent__title {
    display: block;
    color: inherit;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    pointer-events: none;
}

.or-video-consent .or-video-consent__detail {
    display: block;
    margin-top: 4px;
    color: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    pointer-events: none;
}

.or-video-consent.cmplz-blocked-content-container > button.cmplz-blocked-content-notice:hover {
    background-color: #002944;
}

.or-video-consent.cmplz-blocked-content-container > button.cmplz-blocked-content-notice:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

@media (max-width: 480px) {
    .or-video-consent.cmplz-blocked-content-container > button.cmplz-blocked-content-notice {
        padding: 16px 20px;
    }
    .or-video-consent .or-video-consent__title {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .or-video-consent.cmplz-blocked-content-container > button.cmplz-blocked-content-notice {
        transition: none;
    }
}

/* An unavailable thumbnail gets a plain theme color instead of the generic dummy. */
.or-video-consent.cmplz-blocked-content-container[data-placeholder-image*="/assets/images/placeholders/"] {
    background-image: none !important;
}

/* Remove the global iframe gap only inside video gallery slides. */
.video_img_slider .img > iframe.or-consent-video {
    display: block;
    margin-bottom: 0;
}
/* The thumbnail must stay inside its Swiper slide, including during lazy loading. */
.video_img_slider .img.or-video-consent {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.video_img_slider .img > iframe.or-consent-video {
    min-width: 0;
    max-width: 100%;
}
/* Keep the gallery's mobile media height as defined by the theme. */
.video_img_slider .img.or-video-consent {
    aspect-ratio: auto !important;
}

/* Match the original theme's 180px gallery images at its mobile breakpoint. */
@media (max-width: 767px) {
    .video_img_slider .img > iframe.or-consent-video {
        height: 180px !important;
    }
}
/* Avoid Complianz's percentage max-height shrinking the gallery iframe. */
.video_img_slider .img > iframe.or-consent-video {
    max-height: none !important;
    flex-shrink: 0;
}