.image-gallery__content {
    max-width: 552rem;
    margin: 0 auto;
}

.image-gallery__title:has(+ .image-gallery__text) {
    margin-bottom: 16rem;
}

.image-gallery__slider {
    margin-top: 24rem;
}

.image-gallery .swiper-slide {
    max-width: 308rem;
    height: 203rem;
    overflow: hidden;
    border-radius: 24rem;
}

.image-gallery .swiper-slide:not(:last-child) {
    margin-right: 12rem;
}

.image-gallery__slide {
    width: 100%;
    height: 100%;
}

.image-gallery__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (min-width: 1024px) and (orientation: landscape) {
    .image-gallery__slider {
        margin-top: 64rem;
    }

    .image-gallery .swiper-wrapper {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 1fr 1fr 1fr;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 24rem;
    }

    .image-gallery .swiper-slide {
        max-width: unset;
        height: 261rem;
    }

    .image-gallery .swiper-slide:not(:last-child) {
        margin-right: 0;
    }
}
