.kc-youtube-consent-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.kc-youtube-placeholder {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    background: #000;
    text-align: center;
    font: inherit;
}

.kc-youtube-thumbnail {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kc-youtube-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 1rem;
    padding: 2rem;

    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    text-align: center;
}

.kc-youtube-play {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 80px;
    height: 56px;
    border-radius: 14px;

    background: #ff0000;
    color: #fff;
    font-size: 28px;
    line-height: 1;
}

.kc-youtube-play::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid #fff;
    margin-left: 4px;
}

.kc-youtube-message {
    max-width: 620px;
    font-size: 16px;
    line-height: 1.5;
}

.kc-youtube-cta {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;

    background: #fff;
    color: #111;
    font-weight: 600;
}

.kc-youtube-iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 600px) {
    .kc-youtube-play {
        flex-shrink: 0;
        width: 54px;
        height: 38px;
        border-radius: 10px;
    }

    .kc-youtube-play::before {
        border-top-width: 8px;
        border-bottom-width: 8px;
        border-left-width: 14px;
    }
}

@media (max-width: 360px) {
    .kc-youtube-overlay {
        gap: 5px;
        padding: 8px;
    }

    .kc-youtube-play {
        width: 48px;
        height: 34px;
    }

    .kc-youtube-message,
    .kc-youtube-cta {
        font-size: 13px;
        line-height: 1.25;
    }

    .kc-youtube-cta {
        padding: 6px 12px;
    }
}


/* specific elementor overrides */

.elementor .kc-youtube-consent-wrapper img.kc-youtube-thumbnail {
height: 100%;
}

.elementor-kit-837 .kc-youtube-consent-wrapper .kc-youtube-placeholder {
    position: relative;
    display: block;

    width: 100%;
    height: 100%;

    padding: 0;
    margin: 0;

    background: transparent;
    border: 0;
    border-radius: 0;

    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-align: inherit;

    cursor: pointer;
}
