/* ============================================================
   BH Video Banner Section
   ============================================================ */

.bh-video-banner {
    padding: 60px 0;
    background-color: var(--cold) !important;
    overflow: hidden;
}

/* Header */
.bh-video-banner .container {
    margin-bottom: 0;
}

.bh-video-banner__title {
font-family: var(--font-family);
font-weight: 600;
font-size: 42px;
line-height: 124%;
text-align: center;
color: var(--white);
    text-align: center;
    margin: 0 0 16px;
    position: relative;
    z-index: 2;
}

.bh-video-banner__subtitle {
font-family: var(--font-family);
font-weight: 400;
font-size: 20px;
line-height: 140%;
text-align: center;
color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin: 0 0 40px;
        position: relative;
    z-index: 2;
}

/* ── Slider area ── */
.bh-vb-slider-area {
    position: relative;
}
.bh-vb-slider-area{
    z-index: 1;
}
.bh-vb-slider-area:after{
    content: '';
    display: block;
    position: absolute;
    width: 800px;
    height: 800px;
    left: calc(50% - 400px);
    top: calc(50% - 400px);
    border-radius: 50%;
    background-color: #1f2cb8;
    filter: blur(326.52227783203125px);
    z-index: 0;
}

.bh-vb-slider-area .container {
    position: relative;
}

.bh-vb-swiper {
    overflow: hidden;
}

/* ── Arrows — reuse .bh-swiper-arrow from posts_slider ── */
.bh-video-banner .bh-swiper-arrow {
    position: absolute;
    top: calc(50% - 24px);
    transform: translateY(-50%);
    z-index: 2;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    line-height: 0;
    width: 48px;
    height: 48px;
}

.bh-video-banner .bh-swiper-arrow--prev { left: -50px; }
.bh-video-banner .bh-swiper-arrow--next { right: -50px; }

.bh-video-banner .bh-swiper-arrow__default,
.bh-video-banner .bh-swiper-arrow__hover {
    display: block;
    transition: opacity 0.2s;
}

.bh-video-banner .bh-swiper-arrow__hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
}

.bh-video-banner .bh-swiper-arrow:hover .bh-swiper-arrow__default {
    opacity: 0;
}

.bh-video-banner .bh-swiper-arrow:hover .bh-swiper-arrow__hover {
    opacity: 1;
}

.bh-video-banner .bh-swiper-arrow--prev .bh-swiper-arrow__hover {
    transform: scaleX(-1);
    left: auto;
    right: 0;
}

.bh-video-banner .bh-swiper-arrow--next .bh-swiper-arrow__default {
    transform: scaleX(-1);
}

.bh-video-banner .bh-swiper-arrow--disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* ── Pagination ── */
.bh-vb-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.bh-vb-bullet {
    display: inline-block;
    width: 70px;
    height: 7px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.2s, background 0.2s;
}

.bh-vb-bullet--active {
    background: linear-gradient(90deg, #00c2ff 0%, #305cf8 100%);
    opacity: 1;
}

/* ── Video Card ── */
.bh-video-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.bh-video-card__media {
    position: relative;
    aspect-ratio: 9 / 16;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}

.bh-video-card__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.bh-video-card:hover .bh-video-card__thumb {
    transform: scale(1.03);
}

.bh-video-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    line-height: 0;
    transition: transform 0.2s;
}

.bh-video-card:hover .bh-video-card__play {
    transform: translate(-50%, -50%) scale(1.1);
}

/* iframe hidden until activated */
.bh-video-card__iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    opacity: 0;
    pointer-events: none;
}

.bh-video-card__iframe[src] {
    opacity: 1;
    pointer-events: auto;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 768px) {
    .bh-video-banner {
        padding: 40px 0;
    }

    .bh-video-banner__title {
        font-size: 28px;
    }

    /* Hide arrows on mobile */
    .bh-video-banner .bh-swiper-arrow {
        display: none;
    }

    /* Overflow visible so next slide peeks ~120px */
    .bh-vb-swiper {
        overflow: visible;
    }

    .bh-vb-slider-area {
        overflow: hidden;
    }

    .bh-vb-slider-area .container {
        padding-right: 0;
    }

    .bh-vb-swiper .swiper-slide {
        width: calc(100% - 80px) !important;
    }

    /* Fixed card height on mobile */
    .bh-video-card__media {
        aspect-ratio: unset;
        height: 455px;
    }

    .bh-vb-bullet {
        width: 33px;
        height: 7px;
        border-radius: 9px;
    }
}
