/**
 * Section: YouTube Video
 * Facade thumbnail + play button, replaced by iframe on click.
 */

.bc-video {
    padding: 120px 0;
}

.bc-video .bc-section__header--center {
    text-align: center;
    margin-bottom: 60px;
}

.bc-video .bc-section__title {
    font-size: 60px;
    line-height: 72px;
}

/* Player container — holds thumbnail, overlay, play button, and iframe */
.bc-video__player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    cursor: pointer;
}

.bc-video__thumbnail {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bc-video__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
}

.bc-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(28, 28, 28, 0.4);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s ease;
}

.bc-video__play:hover {
    background: rgba(28, 28, 28, 0.6);
}

.bc-video__play svg {
    margin-left: 4px;
}

/* Iframe replaces facade on click */
.bc-video__player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Hide facade elements once video is playing */
.bc-video__player--playing .bc-video__thumbnail,
.bc-video__player--playing .bc-video__overlay,
.bc-video__player--playing .bc-video__play {
    display: none;
}

/* ── Tablet (≤991px) ── */
@media (max-width: 991px) {
    .bc-video {
        padding: 80px 0;
    }

    .bc-video .bc-section__title {
        font-size: 40px;
        line-height: 48px;
    }

    .bc-video .bc-section__header--center {
        margin-bottom: 40px;
    }
}

/* ── Mobile (≤767px) ── */
@media (max-width: 767px) {
    .bc-video {
        padding: 60px 0;
    }

    .bc-video .bc-section__title {
        font-size: 28px;
        line-height: 36px;
    }

    .bc-video__play {
        width: 56px;
        height: 56px;
        bottom: 20px;
        left: 20px;
    }

    .bc-video__play svg {
        width: 18px;
        height: 20px;
    }
}
