/* =====================================================
   Bosa Hero Slider — Front CSS v2.5
   Mobile Fix: text on banner, no black space
   ===================================================== */

/* ── Full-viewport breakout ─────────────────────────── */
.bhs-wrap-outer {
    display: block;
    position: relative;
    width: 100vw;
    max-width: 100vw;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    box-sizing: border-box;
    padding: 0 !important;
    margin-top: 0 !important;
    line-height: 0;
    background: transparent !important;
    flex-shrink: 0;
}

/* ── Swiper container ───────────────────────────────── */
.bhs-swiper {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
    position: relative;
    display: block;
    background: transparent !important;
    line-height: 0;
    height: auto !important;
}

/* ── Each slide — MUST be relative + overflow hidden ── */
.bhs-swiper .swiper-slide {
    overflow: hidden;
    position: relative;
    height: auto !important;
    width: 100% !important;
    line-height: 0;
    display: block;
}

/* ── The banner image — always full, never cropped ───── */
.bhs-swiper .bhs-slide-img {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    object-fit: fill;
    object-position: center;
    pointer-events: none;
    user-select: none;
    vertical-align: top;
}

/* ── Swiper wrapper must stretch to slide height ─────── */
.bhs-swiper .swiper-wrapper {
    align-items: flex-start;
}

/* ── Pagination dots ─────────────────────────────────── */
.bhs-swiper .swiper-pagination {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    z-index: 20;
    text-align: center;
    line-height: 1;
}
.bhs-swiper .swiper-pagination-bullet {
    display: inline-block;
    background: rgba(255,255,255,0.5);
    opacity: 1;
    width: 9px; height: 9px;
    border-radius: 9px;
    margin: 0 4px !important;
    cursor: pointer;
    transition: all 0.35s ease;
    vertical-align: middle;
}
.bhs-swiper .swiper-pagination-bullet-active {
    background: #fff;
    width: 26px;
    border-radius: 6px;
}

/* ── Drag cursor ─────────────────────────────────────── */
.bhs-swiper { cursor: grab; }
.bhs-swiper:active { cursor: grabbing; }

/* ── Mobile Fix ─────────────────────────────────────── */
@media (max-width: 768px) {
    .bhs-wrap-outer {
        width: 100vw !important;
        max-width: 100vw !important;
        left: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        overflow: hidden !important;
        margin-bottom: 0 !important;
    }
    .bhs-swiper {
        height: auto !important;
        min-height: unset !important;
        overflow: hidden !important;
    }
    .bhs-swiper .swiper-slide {
        height: auto !important;
        min-height: unset !important;
        overflow: hidden !important;  /* clip text inside slide */
    }
    .bhs-swiper .bhs-slide-img {
        width: 100% !important;
        height: auto !important;
        min-height: unset !important;
        object-fit: fill !important;
        display: block !important;
    }
    .bhs-swiper .swiper-pagination { bottom: 8px; }
    .bhs-swiper .swiper-pagination-bullet { width: 7px; height: 7px; margin: 0 3px !important; }
    .bhs-swiper .swiper-pagination-bullet-active { width: 18px; }
}
