/* Wrapper */
.bsl-wrapper {
    width: 100%;
    box-sizing: border-box;
}

/* Desktop: 3 columns 25% / 50% / 25% */
@media (min-width: 992px) {
    .bsl-layout {
        display: grid;
        grid-template-columns: 25% 50% auto;
        column-gap: 15px; /* 15px gap */
        align-items: stretch;
        box-sizing: border-box;
    }

    .bsl-left-col,
    .bsl-center-col,
    .bsl-right-col {
        height: 100%;
    }

    .bsl-center-col {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        row-gap: 15px;
    }

    .bsl-right-col {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        row-gap: 15px;
    }
}

/* Mobile + Tablet stacked */
@media (max-width: 991px) {
    .bsl-layout {
        display: flex;
        flex-direction: column;
        gap: 15px;
        box-sizing: border-box;
    }

    .bsl-center-col {
        order: 1;
    }
    .bsl-left-col {
        order: 2;
    }
    .bsl-right-col {
        order: 3;
    }
    
    .bsl-right-col {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        row-gap: 15px;
    }
    .bsl-slide-title, .bsl-banner-title {
        font-size: 4vw !important;
    }
    .bsl-bottom-row {
        margin-top: 15px;
    }
}

/* Left column banners stacked */
.bsl-left-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    row-gap: 15px;
}

/* Bottom banners under slider */
.bsl-bottom-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Bottom banners side by side on tablet+ */
@media (min-width: 768px) {
    .bsl-bottom-row {
        flex-direction: row;
    }

    .bsl-bottom-row .bsl-banner {
        flex: 0 0 49%;
        max-width: 49%;
    }
}

/* Banner box styling (radius only here) */
.bsl-banner {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

/* Banner image */
.bsl-banner-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Slider container (no radius) */
.bsl-slider {
    position: relative;
    width: 100%;
}

/* RESPONSIVE SLIDER HEIGHT USING ASPECT-RATIO */
.bsl-slider-inner {
    position: relative;
    width: 100%;
    aspect-ratio: auto 893 / 529;  /* desktop ratio */

    overflow: hidden;
    border: 10px solid #ffffff;
}

/* Taller on very big screens */
@media (min-width: 1400px) {
.bsl-slider-inner {
    contain-intrinsic-size: 3000px 1500px;
    aspect-ratio: auto 893 / 529;
    }
}

/* Taller on mobile for better view */
@media (max-width: 767px) {
    .bsl-slider-inner {
        aspect-ratio: auto 893 / 529;
    }
}

/* Slide images fill area */
.bsl-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slides with animations */
.bsl-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.8s ease, opacity 0.8s ease; /* 800ms animation */
    z-index: 1;
}

.bsl-slide-active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

/* Titles at top */
.bsl-slide-title,
.bsl-banner-title {
    position: absolute;
    left: 15px;
    top: 15px;
    bottom: auto;
    padding: 5px 10px;
    font-family: "Sofia pro", Sans-serif;
    font-size: 1.3vw;
    font-weight: 500;
    color: #fff;
    line-height: 1.2;
    z-index: 5;
}

/* Hide slider dots visually */
.bsl-slider-dots {
    display: none !important;
}

/* Dot styles (for JS, but hidden) */
.bsl-dot {
    width: 8px;
    height: 8px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    display: inline-block;
    margin: 0 3px;
    cursor: pointer;
}

.bsl-dot-active {
    background: rgba(0,0,0,0.7);
}

/* Slider arrows - center vertically */
.bsl-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.bsl-arrow-prev {
    left: 10px;
}

.bsl-arrow-next {
    right: 10px;
}

.bsl-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}
