.knm-video-consent {
    position: relative;
    width: 100%;
    margin: 0 auto 1rem;
}

.knm-video-consent iframe {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

/* Platzhalter: Thumbnail als Hintergrund (inline gesetzt) */
.knm-video-consent .give-consent-preview {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem 1rem 8%;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background-color: #000;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

/* Abdunklung des Thumbnails */
.knm-video-consent .give-consent-preview::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, .55);
    transition: background-color .2s ease;
}

.knm-video-consent .give-consent-preview:hover::before,
.knm-video-consent .give-consent-preview:focus-visible::before {
    background: rgba(0, 0, 0, .4);
}

/* Play-Icon (NOVA preview.svg) oberhalb der Abdunklung */
.knm-video-consent .give-consent-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: var(--knm-vc-play) no-repeat center / cover;
    pointer-events: none;
}

.knm-video-consent .knm-video-consent-label {
    position: relative;
    z-index: 3;
    color: #fff;
}

.knm-video-consent .give-consent-preview.d-none {
    display: none !important;
}
