.gallery-block .swiper-slide {
    height: auto;
}

.gallery-block .gallery__img {
    max-height: 500px;
    height: 100%;
    border-radius: 5px;
    overflow: hidden;
}