/* содержит стили для блоков: news/vzmakh_news1 */

:root {
    /* стили для блока news/vzmakh_news1 START */
    --news-mask-image:
        linear-gradient(to bottom, #000, #000),
        linear-gradient(to bottom, #000, #000),
        linear-gradient(to bottom, #000, #000),
        linear-gradient(to bottom, #000, #000),
        radial-gradient(closest-side at center, #000 98%, transparent 100%),
        radial-gradient(closest-side at center, #000 98%, transparent 100%),
        radial-gradient(farthest-side at 0 100%, transparent 98%, #000 100%);
    --news-mask-size:
        100% calc(100% - 20px - 20px - 20px - 20px),
        calc(100% - 20px) calc(100% - 20px - 20px - 20px),
        calc(100% - 250px - 20px - 20px) calc(100% - 20px),
        calc(100% - 250px - 20px - 20px - 20px) 100%,
        calc(20px * 2) calc(20px * 2), calc(20px * 2) calc(20px * 2),
        calc(20px + 0.5px) calc(20px + 0.5px);
    --news-mask-position-bl:
        100% 0, 100% 0, 100% 0, 100% 0, 0 calc(100% - 20px - 20px - 20px),
        calc(250px + 20px + 20px) 100%,
        calc(250px + 20px) calc(100% - 20px - 20px);
    /* стили для блока news/vzmakh_news1 END */
}

/* стили для блока news/vzmakh_news1 START */
.news {
    margin: 80px 0;
}

.news__list {
    width: 100%;
    display: grid;
    grid-template-columns: 41% auto;
    gap: 20px;
    margin-bottom: 40px;
    padding: 0 50px;
}

.news__list__mobile.owl-carousel {
    display: none;
}

.news__block.news-carousel.owl-carousel .owl-nav button.owl-prev {
    left: 0px;
    width: 50px;
    height: 50px;
}
.news__block.news-carousel.owl-carousel .owl-nav button.owl-next {
    right: 0px;
    width: 50px;
    height: 50px;
}

.news__item {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-decoration: none;
}

.news__item:first-child {
    grid-row: span 2;
    flex-direction: column;
    justify-content: flex-start;
}

.news__img {
    position: relative;
    display: flex;
    width: 100%;
    min-width: 345px;
    max-width: 345px;
    height: auto;
    aspect-ratio: 345 / 310;
    border-radius: 40px;
    overflow: hidden;
    background-color: #fff;
}

.news__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.news__item:hover .news__img img {
    transform: scale(1.05);
}

.news__item:first-child .news__img {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 588 / 366;
    /* border-radius: 0; */
    mask-image: var(--news-mask-image);
    mask-size: var(--news-mask-size);
    mask-position: var(--news-mask-position-bl);
    mask-repeat: no-repeat;
}

.news__date {
    color: var(--04, #b8c1cc);
    font-size: 18px;
    font-weight: 700;
    line-height: 140%;
    margin-bottom: 14px;
}

.news__title {
    color: var(--color-8);
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 16px;
    transition: 0.3s;
}

.news__item:hover .news__title {
    color: var(--accent1);
}

.news__text {
    color: rgba(32, 32, 32, 0.6);
    font-size: 18px;
    font-weight: 600;
    line-height: 140%;
    letter-spacing: -0.36px;
}

.news__btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
}
/* стили для блока news/vzmakh_news1 END */

@media (max-width: 1440px) {
    .news__item {
        align-items: flex-start;
    }

    .news__img {
        min-width: 250px;
        height: auto;
    }
}

@media (max-width: 1280px) {
    .news__list {
        grid-template-columns: 1fr;
    }

    .news__item:first-child {
        flex-direction: row;
    }

    .news__item:first-child .news__img {
        mask-image: none;
        aspect-ratio: 345 / 310;
    }

    .news__item:first-child .news__img,
    .news__item .news__img {
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .news {
        margin: 40px 0;
    }

    .news__block__title {
        margin-bottom: 24px;
    }

    .news__list,
    .news__block.news-carousel {
        display: none;
    }

    .news__list__mobile.owl-carousel {
        max-width: 350px;
        display: block;
        padding-bottom: 54px;
        margin: 0 auto 24px;
    }

    .news__list__mobile.owl-carousel .owl-nav {
        top: auto;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
        width: 236px;
        height: 44px;
        margin: 0;
    }

    .news__list__mobile.owl-carousel .owl-nav .owl-prev,
    .news__list__mobile.owl-carousel .owl-nav .owl-next {
        width: 44px;
        height: 44px;
    }

    .news__list__mobile.owl-carousel .owl-nav .owl-next {
        right: 0;
    }

    .news__list__mobile.owl-carousel .owl-nav .owl-prev {
        left: 0;
    }

    .news__list__mobile.owl-carousel.owl-theme .owl-dots {
        position: absolute;
        display: flex;
        margin-top: 20px;
    }

    .news__item,
    .news__item:first-child {
        flex-direction: column;
    }

    .news__img,
    .news__item:first-child .news__img {
        min-width: 0;
        max-width: 100%;
        height: auto;
        aspect-ratio: 328 / 204;
        border-radius: 20px;
    }

    .news__date {
        font-size: 15px;
        font-weight: 400;
    }

    .news__title {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .news__text {
        font-size: 15px;
        font-weight: 400;
        letter-spacing: normal;
    }
}