.gallery {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 0 50px 0 0;
}

.gallery .swiper-wrapper {
    display: flex;

}

.gallery .swiper-slide {
    width: var(--slide-width, 25%) !important;
    flex-shrink: 0;

}

@media (max-width: 1023px) {
    .gallery .swiper-slide {
        width: 33.333% !important;

    }

}

@media (max-width: 767px) {
    .gallery .swiper-slide {
        width: 50% !important;
    }
    .gallery{
        padding: 0 50px;
    }
}

@media (max-width: 480px) {
    .gallery .swiper-slide {
        width: 100% !important;
    }
}
.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    color: #fff;
}

.swiper-button-next:after {
    content: '❯';
}

.swiper-button-prev:after {
    content: '❮';
}

.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: #0163a9;

    border-radius: 50%;
    transition: opacity 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #0163a9;
}

.swiper-button-next {
    right: 0;
}

.swiper-button-prev {
    left: 0;
}


.gallery__link {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery__image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.gallery .swiper-slide {
    height: auto;
}

.gallery__link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.gallery__image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
