
/* ============================================
   Custom slider — no Swiper, always 1 slide
   per view, text overlaid on the image itself.
   ============================================ */

.bs-showcase-1-area {
    padding-bottom: 40px;
}

.l2l-slider {
    position: relative;
}

.l2l-slider__viewport {
    width: 100%;
    overflow: hidden;
}

.l2l-slider__track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

/* Always one full-width slide, at every viewport */
.l2l-slider__slide {
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Card is now just the image; text lives inside it */
.bs-showcase-1-item {
    width: 100%;
}

.bs-showcase-1-item .item-img {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
}

.bs-showcase-1-item .item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Text overlay: gradient from transparent to dark so text
   is readable with NO separate solid background block */
.bs-showcase-1-item .item-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.35) 35%,
        rgba(0, 0, 0, 0) 70%
    );
}

.bs-showcase-1-item .bs-hero-4-title {
    color: #fff !important;
    margin: 0 0 6px;
    font-size: clamp(13px, 1.8vw, 33px);
    line-height: 1.3;
    font-weight: 400;
}

.bs-showcase-1-item .title {
    color: #fff;
    font-size: clamp(24px, 5vw, 40px);
    line-height: 1.15;
    margin: 0 0 10px;
    font-weight: 700;
}

.bs-showcase-1-item .item-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: clamp(12px, 1.5vw, 14px);
    font-weight: 600;
}

/* Arrows */
.bs-showcase-1-slider-btn {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.bs-showcase-1-slider-btn .single-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}

.bs-showcase-1-slider-btn .single-btn img {
    width: 100%;
    height: auto;
    pointer-events: none;
}

/* Dots */
.l2l-slider__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.l2l-slider__dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    padding: 0;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.l2l-slider__dots button.is-active {
    background: #fff;
    transform: scale(1.2);
}

/* ---------- Breakpoints: only sizing changes, still 1-up ---------- */

@media (min-width: 768px) {
    .bs-showcase-1-area {
        padding-bottom: 60px;
    }

    .bs-showcase-1-item .item-overlay {
        padding: 40px;
    }

    .bs-showcase-1-slider-btn {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        justify-content: space-between;
        margin-top: 0;
        padding: 0 12px;
        pointer-events: none;
    }

    .bs-showcase-1-slider-btn .single-btn {
        pointer-events: auto;
    }
}

@media (min-width: 1200px) {
    .bs-showcase-1-area {
        padding-bottom: 80px;
    }

    .bs-showcase-1-item .item-img {
        aspect-ratio: 21 / 9;
    }

    .bs-showcase-1-item .item-overlay {
        padding: 60px;
    }

    .bs-showcase-1-slider-btn .single-btn {
        width: 56px;
        height: 56px;
    }
}
