.swiper {
    height: 756px;
    width: auto;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 581px;
}


.swiper-slide img {
    min-height: 550px;
    max-height: 756px;
    width: auto;
    display: block;
    margin: auto 0;
}

@media (max-width: 1366px) {
    .swiper {
        width: 50%;
        /* Контейнер занимает 90% от ширины экрана */
        height: auto;
        /* Высота определяется содержимым */
        margin-bottom: 25px;
    }

    .swiper-slide {
        height: auto;
    }

    .swiper-slide img {
        width: 75%;
        /* Изображение занимает всю ширину контейнера */
        height: auto;
        /* Автоматически вычисляется высота для сохранения пропорций */
    }
}

.swiper-button-next,
.swiper-button-prev {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    background-color: #666 !important;
    border-radius: 50% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    color: #fff !important;
    z-index: 10 !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px !important;
    font-weight: bold !important;
    display: block !important;
    line-height: 40px !important;
}

.swiper-button-next::after {
    transform: translateX(1px) !important;
}

.swiper-button-prev::after {
    transform: translateX(-1px) !important;
}

.swiper-button-next {
    right: 10px !important;
}

.swiper-button-prev {
    left: 10px !important;
}

.swiper-button-next,
.swiper-button-prev {
    top: 50% !important;
    transform: translateY(-50%) !important;
}