.slider-container {
    position: relative;
    background-color: #F5F1ED;
    overflow: hidden;
    height: 89vh;
    width: auto;
    margin-left: calc(-1 * var(--base-padding));
    margin-right: calc(-1 * var(--base-padding));
}

/* SVG-дуга */
.svg-curve {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    z-index: 0;
}

/* Блок со слайдами */
.slider {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
    position: relative;
    z-index: 1;
}

/* Каждый отдельный слайд */
.slide {
    width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 50px;
    box-sizing: border-box;
    position: relative;
}

/* Изменение контента выбранного слайда */
.slide.active {
    /* Дополнительные стили для активного слайда (при необходимости) */
}

/* Внутренний контент слайда */
.slide-content {
    max-width: 40%;
}
.slide-content h2 {
    font-size: 36px;
    margin: 0 0 20px;
}
.slide-content .subtitle {
    font-size: 18px;
    margin-bottom: 15rem;
}
.slide-content .date {
    font-size: 16px;
    margin-bottom: 20px;
    color: #555;
}
.slide-content .link {
    display: inline-block;
    text-decoration: underline;
    color: #5e5e5e;
}

/* Изображение часов */
.watch-image img {
    max-height: 560px;
    height: auto;
    display: block;
}

/* Стрелки переключения */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #000;
    cursor: pointer;
    padding: 10px;
    z-index: 2;
    border-radius: 50%;
    user-select: none;
}
.arrow.left {
    left: 20px;
}
.arrow.right {
    right: 20px;
}

/* Пагинация (точки) */
.dots {
    position: absolute;
    bottom: 50px;
    width: 100%;
    text-align: center;
    z-index: 2;
}
.dot {
    display: inline-block;
    width: 8px;
    height: 4px;
    margin: 0 5px;
    background: #CBBBA7;
    border-radius: 2px;
    cursor: pointer;
    transition: .5s all;
}
.dot.active {
    background: #DEDE2B;
    width: 30px;
    height: 4px;
    border-radius: 2px;
}

/* Логотип (бренд) */
.brand {
    position: absolute;
    bottom: 20px;
    left: 20px;
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
    z-index: 2;
    color: #000;
}
.brand strong {
    font-weight: bold;
    font-size: 16px;
}
.brand.white {
    color: #fff;
}

.main .tags {
    border-bottom: 1px solid #e7e1db;
}
.two-slider {
    background-image:
            linear-gradient(90deg, #000000 0%, rgba(0, 0, 0, 0) 100%),
            url('/upload/blog-files/img-11.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide {
    cursor: pointer;
}

@media (max-width: 768px) {
    .slider-container {
        height: auto;
    }

    /* Если ранее использовался flex-direction: column – убедитесь в корректности работы translateX */
    .slide {
        flex-direction: column;
        padding: 20px;
        text-align: center;
        width: 100%; /* обязательно, чтобы работал нормальный translateX */
        box-sizing: border-box;
    }

    .slide-content {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .slide-content h1 {
        font-size: 24px;
    }

    .slide-content .subtitle {
        font-size: 16px;
        margin-bottom: 2rem;
    }

    .slide-content .date {
        font-size: 14px;
    }

    .watch-image img {
        max-height: 280px;
        margin: 0 auto 3rem;
    }

    .arrow {
        font-size: 24px;
        padding: 5px;
    }

    .arrow svg {
        width: 50px;
        opacity: 0;
    }

    .arrow.left {
        left: 10px;
    }

    .arrow.right {
        right: 10px;
    }

    .dots {
        bottom: 20px;
    }

    .dot {
        width: 8px;
        height: 4px;
    }

    .svg-curve {
        display: none;
    }

    .brand {
        position: static;
        margin-top: 20px;
        font-size: 12px;
    }

    .brand strong {
        font-size: 14px;
    }

    .two-slider {
        background-position: top;
        background-image:
                linear-gradient(90deg, #000000 0%, rgba(0, 0, 0, 0) 100%),
                url('/upload/blog-files/mobile-1.jpg');
    }
    .subtitle {
        font-size: 20px;
        font-weight: 500;
    }
    .slide-content h2 {
        font-size: 22px;
    }
}

/* Медиа-запрос для экранов 1920x1080 и выше */
@media (min-width: 1920px) and (min-height: 1080px) {
    .slider-container {
        height: 100vh;
    }

    .slide-content h2 {
        font-size: 47px;
        margin-bottom: 30px;
    }

    .slide-content .subtitle {
        font-size: 24px;
        margin-bottom: 20rem;
    }

    .slide-content .date {
        font-size: 16px;
        font-width: 500;
        margin-bottom: 30px;
    }

    .arrow {
        font-size: 50px;
        padding: 15px;
    }

    .dots {
        bottom: 70px;
    }

    .dot {
        width: 12px;
        height: 6px;
        margin: 0 7px;
    }
}
@media screen and (min-width: 1680px) {
    .slide-content h2 {
        font-size: 48px;
    }
    .slide-content .subtitle {
        font-size: 21px;
    }
    .slide-content .date {
        font-size: 18px;
    }
    .slide-content .link {
        font-size: 18px;
    }
}