.videoCtaBar {
    background: #91b9cc;
    padding: 28px 0;
}

.videoCtaBar__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* ── Heading ── */

.videoCtaBar__heading {
    flex: 1 1 auto;
    margin: 0;
    padding: 0;
    border: none;
    font-family: 'Work Sans', sans-serif;
    font-weight: 300;
    font-size: 40px;
    line-height: 1.2;
    color: #ffffff;
}

/* ── Thumbnail ── */

.videoCtaBar__thumb {
    position: relative;
    flex: 0 0 auto;
    width: 260px;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #ffffff;
    display: block;
    background: #000000;
}

.videoCtaBar__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    display: block;
    /* Zoom by resizing rather than transform: scale(), so the browser
       re-renders the image at each size and it stays sharp. */
    transition: top 0.3s ease, left 0.3s ease, width 0.3s ease, height 0.3s ease;
}

.videoCtaBar__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
    border-radius: 50%;
    background: rgba(164, 124, 72, 0.92);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

a.videoCtaBar__thumb:hover .videoCtaBar__img,
a.videoCtaBar__thumb:focus-visible .videoCtaBar__img {
    top: -2.5%;
    left: -2.5%;
    width: 105%;
    height: 105%;
}

a.videoCtaBar__thumb:hover .videoCtaBar__play {
    background: #8a6538;
}

a.videoCtaBar__thumb:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

/* ── Video popup ── */

.videoCtaBar--locked {
    overflow: hidden;
}

.videoCtaBar__dialog {
    width: min(1100px, calc(100vw - 48px));
    max-width: none;
    max-height: none;
    padding: 0;
    border: none;
    background: transparent;
    overflow: visible;
}

.videoCtaBar__dialog::backdrop {
    background: rgba(0, 0, 0, 0.85);
}

.videoCtaBar__dialogInner {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.videoCtaBar__frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: calc(100vh - 120px);
    background: #000000;
    border-radius: 10px;
    overflow: hidden;
}

.videoCtaBar__frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.videoCtaBar__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #a47c48;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.videoCtaBar__close:hover {
    background: #8a6538;
}

.videoCtaBar__close:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

.videoCtaBar__close:active {
    transform: scale(0.96);
}

/* ── Tablet ── */

@media (max-width: 1024px) {
    .videoCtaBar__container {
        gap: 24px;
    }

    .videoCtaBar__thumb {
        width: 200px;
    }

    .videoCtaBar__heading {
        font-size: 28px;
    }
}

/* ── Mobile — stack ── */

@media (max-width: 768px) {
    .videoCtaBar {
        padding: 24px 0;
    }

    .videoCtaBar__container {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 16px;
        padding: 0 24px;
    }

    .videoCtaBar__heading {
        font-size: 24px;
    }

    .videoCtaBar__thumb {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .videoCtaBar__img,
    .videoCtaBar__play,
    .videoCtaBar__close {
        transition: none;
    }

    a.videoCtaBar__thumb:hover .videoCtaBar__img,
    a.videoCtaBar__thumb:focus-visible .videoCtaBar__img {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .videoCtaBar__close:active {
        transform: none;
    }
}
