.home-slider {
    margin-bottom: 140px;
    padding: 140px 0 20px;
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    background-image: url(/local/img/home-slider.jpg);
    background-image: url(/local/img/home-slider.webp);
    background-repeat: no-repeat;
    background-size: cover;
}

.home-slider:before {
    background-color: rgba(0, 0, 0, 0.5);
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

@media (max-width: 1500px) {
    .home-slider {
        margin-bottom: 70px;
        padding-top: 80px;
    }
}

@media (max-width: 585px) {
    .home-slider {
        background-size: auto 700px;
        background-position: -300px top;
    }
}

@media (max-width: 991px) {
    .home-slider {
        padding-top: 40px;
    }
}

.home-slider .home-slider-block {
    background-color: transparent;
    box-shadow: unset;
    background: rgba(255, 255, 255, 0.3);
}

.home-slider .home-slider-block__title {
    color: white;
}

.home-slider .home-slider-block__desc {
    color: white;
}

.home-slider__swiper {
    width: 100%;
}

.home-slider__container {
    gap: 120px 200px;
    margin: 0 -15px 0;
    z-index: 1;
    position: relative;
}

@media (max-width: 1500px) {
    .home-slider__container {
        position: relative;
    }
}

.home-slider__wrapper {
    margin-bottom: 120px;
}

@media (max-width: 1500px) {
    .home-slider__wrapper {
        margin-bottom: 80px;
    }
}

@media (max-width: 991px) {
    .home-slider__wrapper {
        margin-bottom: 50px;
    }
}

@media (max-width: 585px) {
    .home-slider__wrapper {
        margin-bottom: 20px;
    }
}

.home-slider-slide {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 0 15px;
}

@media (max-width: 991px) {
    .home-slider-slide {
        flex-direction: column;
        gap: 50px;
        align-items: flex-start;
    }
}

@media (max-width: 585px) {
    .home-slider-slide {
        gap: 20px;
    }
}

.home-slider-slide__title {
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 50px;
    line-height: 120%;
    color: #FFFFFF;
}

@media (max-width: 585px) {
    .home-slider-slide__title {
        text-align: center;
        font-weight: 700;
        font-size: 30px;
        line-height: 120%;
        max-width: 320px;
    }
}

.home-slider-slide__desc {
    margin-bottom: 35px;
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    color: #FFFFFF;
}

@media (max-width: 585px) {
    .home-slider-slide__desc {
        font-weight: 400;
        font-size: 18px;
        line-height: 150%;
        color: #FFFFFF;
        max-width: 320px;
        text-align: center;
    }
}

.home-slider__blocks {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.home-slider-slide__content {
    max-width: 770px;
}
@media (max-width: 1650px) {
    .home-slider-slide__content {
        max-width: 550px;
    }
}

@media (max-width: 585px) {
    .home-slider-slide__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
}

.home-slider__btn-prev {
display: none;/*Они не работали, вот я их и отключил*/
    left: 50px;
    padding: 10px;
    position: absolute;
    top: 54%;
    transform: translateY(-50%);
}

@media (max-width: 1500px) {
    .home-slider__btn-prev {
        left: -60px;
    }
}

@media (max-width: 1320px) {
    .home-slider__btn-prev {
        display: none;
    }
}

.home-slider__btn-next {
display: none;/*Они не работали, вот я их и отключил*/
    right: 50px;
    padding: 10px;
    position: absolute;
    top: 54%;
    transform: translateY(-50%);
}

@media (max-width: 1500px) {
    .home-slider__btn-next {
        right: -60px;
    }
}

@media (max-width: 1320px) {
    .home-slider__btn-next {
        display: none;
    }
}

.home-slider-slide__blocks {
    gap: 20px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 991px) {
    .home-slider-slide__blocks {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }
}

@media (max-width: 585px) {
    .home-slider-slide__blocks {
        display: flex;
        gap: 10px;
    }
}