/* ==========================================================================
   IMAGES SLIDER BLOCK - Free Mode
   ========================================================================== */

.images-swiper {
    position: relative;
    overflow: hidden;
    cursor: grab;
}

.images-swiper:active {
    cursor: grabbing;
}

.images-swiper .swiper-wrapper {
    display: flex;
    align-items: center;
}

.images-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}

.images-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.images-swiper .swiper-slide img:hover {
    transform: scale(1.02);
}

/* ==========================================================================
   RESPONSIVE - DESKTOP FIRST
   ========================================================================== */

/* Tablette (1024px et moins) */
@media screen and (max-width: 1024px) {
    .images-swiper .swiper-slide img {
        max-height: 450px;
    }
}

/* Tablette et mobile (768px et moins) */
@media screen and (max-width: 768px) {
    .images-swiper .swiper-slide img {
        max-height: 350px;
    }
}

/* Mobile (480px et moins) */
@media screen and (max-width: 480px) {
    .images-swiper .swiper-slide img {
        max-height: 250px;
    }
    
    .images-swiper .swiper-slide img:hover {
        transform: none;
    }
}

