.news {
    position: relative;
}

.news__head {
    margin-bottom: 40px;
}

.news .news-slider {
    position: relative;
    margin: 0px -30px;
}

.news .news-slider__slide {
    height: auto;
    width: 25%;
    padding: 0px 30px;
}

.news .news-slider__nav {
    padding: 0px 30px;
    margin-top: 32px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.news .news-slider__nav .slider-arrow {
    width: 28px;
    height: 20px;
}

.news .news-slider__nav .slider-arrow svg path {
    fill: #000;
}

.news .news-slider__nav .slider-arrow.swiper-button-disabled {
    opacity: 0.3;
}

.news-card {
    height: 100%;
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
}

.news-card > a {
    margin-top: auto;
    font-size: var(--fluid-16-13);
    letter-spacing: 0.08em;
    color: var(--primary-color);
    transition: all var(--animation-duration) var(--timing-func);
}

.news-card__photo {
    position: relative;
    height: 365px;
}

.news-card__photo img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}

.news-card__content {
    color: var(--main-text-color);
    margin-top: 16px;
}

.news-card__text {
    font-size: var(--fluid-16-13);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-bottom: 16px;
}

.news-card__title {
    font-size: var(--fluid-24-20);
    margin-bottom: 8px;
}

.rs-news {
    padding-top: 36px;
    padding-bottom: 36px;
}

@media (min-width: 479.98px) {
    .news .news-slider__nav .btn-border {
        justify-self: end;
    }
}

@media (min-width: 1023.98px) {
    .news .news-slider__slide._big {
        width: 50%;
    }

    .news .news-slider__nav .slider-arrows {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 1023.98px) {
    .news .news-slider__slide {
        width: 50%;
    }

    .news .news-slider__nav {
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .rs-news {
        padding-top: 18px;
        padding-bottom: 18px;
    }
}

@media (max-width: 767.98px) {
    .news .news-slider__slide {
        width: 100%;
    }
}

@media (max-width: 479.98px) {
    .news .news-slider__nav {
        display: grid;
        gap: 25px;
        -ms-flex-pack: stretch;
        justify-content: stretch;
    }

    .news .news-slider__nav .slider-arrows {
        justify-self: center;
    }
}

@media (any-hover: hover) {
    .news-card > a:hover {
        color: var(--hover-text-color);
        letter-spacing: 0.18em;
    }
}