.image-gallery__wrap .fx-slider .fx-slide {
    display: inline-block;
}

.image-gallery__image {
    display: inline-block;
    height: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.image-gallery__image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
}

.image-gallery__image:hover img {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.image-gallery-item {
    display: block;
    width: auto;
    height: 100%;
    background: none;
    border: none;
}

.image-gallery__wrap .swiper-slide {
    height: 200px;
}

.image-gallery__wrap .swiper-slide--landscape {
    width: 300px;
}

.image-gallery__wrap .swiper-slide--portrait {
    width: 200px;
}

.image-gallery-item--portrait .image-gallery__image {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: 100%;
}

.image-gallery-item--landscape .image-gallery__image {
    aspect-ratio: 3 / 2;
    width: 100%;
    height: 100%;
}

.hide-slider-nav .slider-bottom {
    justify-content: center;
}

.hide-slider-nav .slider-nav,
.hide-slider-nav .slider-scrollbar {
    display: none;
}

.hide-slider-nav .image-gallery__bttn {
    margin: 0;
}

.image-gallery__headlines {
    text-align: center;
    margin: 0 0 35px;
}

.image-gallery__wrap .slider-bottom {
    padding: 0 22px;
}

@media(min-width: 768px) {
    .image-gallery__wrap .swiper-slide {
        height: 300px;
    }

    .image-gallery__wrap .swiper-slide--landscape {
        width: 450px;
    }

    .image-gallery__wrap .swiper-slide--portrait {
        width: 300px;
    }

    .image-gallery__headlines {
        margin: 0 0 50px;
    }

    .image-gallery__headlines h2 {
        font-size: 55px;
    }

    .image-gallery__wrap .slider-bottom {
        padding: 0 52px;
    }

    .image-gallery__bttn {
        width: 100%;
        text-align: center;
        margin-top: 50px;
    }
}

@media(min-width: 1200px) {
    .image-gallery__wrap .slider-scrollbar {
        width: calc(100% - 195px);
    }

    .image-gallery__wrap .swiper-slide {
        height: 400px;
    }

    .image-gallery__wrap .swiper-slide--landscape {
        width: 600px;
    }

    .image-gallery__wrap .swiper-slide--portrait {
        width: 400px;
    }

    .image-gallery__headlines {
        text-align: left;
        position: relative;
        padding: 0 380px 0 0;
    }

    .image-gallery__headlines .btn {
        position: absolute;
        right: 0;
        bottom: 15px;
    }

    .image-gallery__headlines p {
        margin: 0;
    }

    .image-gallery__wrap .slider-bottom {
        padding: 0 62px;
        max-width: 1306px;
    }

    .hide-slider-nav .slider-bottom {
        display: none;
    }
}

@media(min-width: 1367px) {
    .image-gallery__wrap .slider-bottom {
        padding: 0 22px;
    }
}