﻿/*Swipper*/
/* container sizing and centering */
.my-swiper {
    width: 100%;
    max-width: 1400px; /* optional page limit */
    margin: 0 auto;
    box-sizing: border-box;
    margin-bottom: 2rem;
}

    /* keep wrapper full width */
    .my-swiper .swiper-wrapper {
        align-items: stretch; /* vertical align slides */
    }

    /* slide basic look */
    .my-swiper .swiper-slide {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        overflow: hidden;
        border-radius: 12px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    }

        /* images: cover and responsive */
        .my-swiper .swiper-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* croplessly fill */
            display: block;
            aspect-ratio: 16/9; /* keeps consistent height across slides */
        }

    /* spacing between slides */
    .my-swiper .swiper-slide {
        margin-right: 12px; /* small gutter (Swiper's spaceBetween overrides this if used) */
    }

    /* navigation buttons */
    .my-swiper .swiper-button-next,
    .my-swiper .swiper-button-prev {
        width: 44px;
        height: 44px;
        border-radius: 8px;
        background: rgba(255,255,255,0.9);
        box-shadow: 0 6px 18px rgba(0,0,0,0.08);
        color: #111;
        --swiper-navigation-size: 20px; /* size of arrow icon */
    }

.wallSwiper {
    max-width: 100%;
}

    .wallSwiper .image-sw-single {
        width: 100%;
        border-radius: 0px;
    }

    .wallSwiper .swiper-slide {
        border-radius: 0 !important;
    }
/* slightly hide controls on small screens */
@media (max-width: 640px) {
    .my-swiper .swiper-button-next, .my-swiper .swiper-button-prev {
        display: none;
    }

    .my-swiper {
        padding: 6px;
    }

        .my-swiper .swiper-slide {
            margin-right: 8px;
            border-radius: 8px;
        }

            .my-swiper .swiper-slide img {
                aspect-ratio: 2/1;
            }

    .wallSwiper .swiper-slide img {
        aspect-ratio: 4/3;
    }
    /* taller on mobile */
}

/* pagination styling */
.my-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    opacity: 0.8;
}

.my-swiper .swiper-pagination-bullet-active {
    transform: scale(1.4);
    opacity: 1;
}

/* optional: responsive container height by viewport width */
@media (min-width: 1280px) {
    .my-swiper {
        height: auto;
    }
}

@media (min-width: 992px) and (max-width:1279px) {
    .my-swiper {
        height: auto;
    }
}

@media (min-width: 640px) and (max-width:991px) {
    .my-swiper {
        height: auto;
    }
}

@media (max-width: 639px) {
    .my-swiper {
        height: auto;
    }
    /* uses aspect-ratio of images */
}

/*Swipper css*/
