.mySwiper {
    width: 100%;
    height: 500px;
    position: relative;
}

.sl-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sl-item {
    position: relative;
    overflow: hidden;
}

.sl-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(90, 79, 79, 0.35);
    z-index: 1;
}

/* Центрирование текста */
.container-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    z-index: 2;
}

.text-title {
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

.text-title .slider-title-one {
    position: relative;
    display: inline-block;
    font-size: 26px;
    margin-bottom: 30px;
}

.text-title .slider-title-one::after {
    height: 3px;
    content: "";
    display: block;
    width: 100px;
    height: 2px;
    background: #b8860b;
    position: absolute;
    bottom: -10px;
    left: 50%;
    margin-left: -50px;
}

.text-title .slider-title-two {
    font-size: 50px;
    margin: 0;
    text-transform: uppercase;
}

/* Стрелки Swiper */
.swiper-button-next,
.swiper-button-prev {
    color: #f2ede9;
    opacity: 0;
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    z-index: 10;
    cursor: pointer;
    transition: opacity 0.3s;
}

.mySwiper:hover .swiper-button-next,
.mySwiper:hover .swiper-button-prev {
    opacity: 1;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 46px;
}

@media (max-width: 576) {
    .mySwiper {
        height: 300px;
    }

    .text-title .slider-title-one {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .text-title .slider-title-two {
        font-size: 24px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
        /* прячем стрелки на очень маленьких экранах */
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .mySwiper {
        height: 400px;
    }

    .text-title .slider-title-one {
        font-size: 20px;
    }

    .text-title .slider-title-two {
        font-size: 32px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .mySwiper {
        height: 500px;
    }

    .text-title .slider-title-one {
        font-size: 30px;
    }

    .text-title .slider-title-two {
        font-size: 60px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .mySwiper {
        height: 550px;
    }

    .text-title .slider-title-one {
        font-size: 30px;
    }

    .text-title .slider-title-two {
        font-size: 60px;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .mySwiper {
        height: 600px;
    }
}

@media (min-width: 1400px) {
    .mySwiper {
        height: 700px;
    }

    .text-title .slider-title-one {
        font-size: 40px;
    }

    .text-title .slider-title-two {
        font-size: 80px;
    }
}

