.video-consent-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    overflow: hidden;
    /* border-radius: 8px; Optional: rounds the corners */
    font-family: sans-serif;
}

/* Poster and Play Button */
.video-poster {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.3s ease;
}

.video-play-btn {
    width: 68px;
    height: 68px;

    border: 3px solid #fff;
    border-radius: 50%;
    position: relative;
    transition: transform 0.2s ease, background 0.2s ease;
}

/* Draws the triangle inside the play button */
.video-play-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 12px 0 12px 18px;
    border-color: transparent transparent transparent #fff;
}

/* Blur the poster slightly when hovering the wrapper */
.video-consent-wrapper:hover .video-poster,
.video-consent-wrapper:focus-within .video-poster,
.video-consent-wrapper.is-touch-active .video-poster  {
    filter: blur(4px);
}

/* Consent Overlay (Hidden by default) */
.video-consent-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 2rem;
    text-align: center;
}

/* Show consent info on hover or keyboard focus */
.video-consent-wrapper:hover .video-consent-overlay,
.video-consent-wrapper:focus-within .video-consent-overlay ,
.video-consent-wrapper.is-touch-active .video-consent-overlay {
    opacity: 1;
    visibility: visible;
}


.video-consent-content p {
    margin: 0 0 10px 0;
    font-size: 1rem;
}

.video-consent-content a {
    color: #00a7e7;
    text-decoration: underline;
}

.video-consent-content a:hover {
    color: #00a7e7;
}

.video-accept-btn, #eqs-consent-btn, .eqs-accept-btn {
    margin-top: 15px;
    cursor: pointer;
    color: #00a7e7;
    border: 1px solid #00a7e7;
    padding: .5rem 1.5rem;
    transition: all .25s ease-in-out;
    background-color: #fff;
    display: inline-block;
}

.video-accept-btn:hover, #eqs-consent-btn:hover , .eqs-accept-btn:hover{
    text-decoration: none;
    color: #fff;
    background-color: #00a7e7;
}

/* Iframe styling (applied after JS injects it) */
.video-consent-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
#eqs-consent-placeholder, .eqs-placeholder{
    padding: 2rem;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}