.youtube-facade {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    background: #111;
    border-radius: 30px;
}

.youtube-facade__poster,
.youtube-facade iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.youtube-facade__poster {
    object-fit: cover;
}

.youtube-facade__fallback {
    position: absolute;
    inset: 0;
    background: #151515;
}

.youtube-facade__button {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.18);
    cursor: pointer;
}

.youtube-facade__button::before {
    content: "";
    width: 76px;
    height: 54px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.72);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
    transition: background 160ms ease, transform 160ms ease;
}

.youtube-facade__button::after {
    content: "";
    position: absolute;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-left: 21px solid #fff;
    transform: translateX(3px);
}

.youtube-facade__button:hover::before,
.youtube-facade__button:focus-visible::before {
    background: #108910;
    transform: scale(1.04);
}

.youtube-facade__button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -6px;
}

.youtube-facade__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

@media (max-width: 767px) {
    .youtube-facade {
        aspect-ratio: 16 / 9;
        height: auto;
        min-height: 0;
        border-radius: 15px;
    }
}
