.section {
    margin: 0px 10%;
    margin-top: 120px;
}

.section-title {
    font-size: 40px;
    font-weight: 500;
    color: #003543;
}

.news__content {
    display: flex;
    justify-content: space-between;
}

.news__content a {
    text-decoration: none !important;
}

.news__content .section-title {
    margin: auto 0;
}

.news__btn {
    background: none;
    border: 1px solid #0196BB;
    padding: 12px 40px;
    color: #0196BB;
    font-size: 16px;
    font-weight: 500;
    margin: auto 0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.news__btn:hover {
    background: #0196BB;
    color: #fff;
}

.news__wrapper {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.news__card {
    border: 1px solid #C0D8DF;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.news__card:hover {
    background: #0196BB;
}

.news__card:hover .news__title {
    color: #fff;
}

.news__card:hover .news__desc,
.news__card:hover .news__card-bottom {
    color: #CADFE5;
}

.news__card-content img {
    width: 100%;
    border-radius: 6px;
    height: 25vh;
    object-fit: cover;
    object-position: center;
}

.news__title {
    font-size: 23px;
    font-weight: 500;
    margin: 7px 0px;
    color: #003543;
    text-align: left;
}

.news__desc {
    text-align: left;
    color: #577B84;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    margin-bottom: 16px;
}

.news__card-bottom {
    border-top: 1px solid #C0D8DF;
    display: flex;
    justify-content: space-between;
    color: #99AEB4;
    font-size: 16px;
    font-weight: 400;
    padding-top: 16px;
}

/* Слайдер */
.news__slider-controls,
.news__btn--mobile {
    display: none;
}

@media (max-width: 968px) {
    
    .news__content .news__btn {
        display: none;
    }

    .news__slider-controls {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .news__slider-controls .swiper-button-prev,
    .news__slider-controls .swiper-button-next {
        position: static;
        width: 40px;
        height: 40px;
        background: #ffffff;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transform: none;
        margin: 0;
        border: 1px solid #ecf3f5;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }

    .news__slider-controls .swiper-button-prev::after,
    .news__slider-controls .swiper-button-next::after {
        font-size: 18px;
        color: #0196BB;
        font-weight: 700;
    }

    .news__btn--mobile {
        display: block;
        margin: 30px auto 0;
        text-align: center;
        background: none;
        border: 1px solid #0196BB;
        padding: 12px 40px;
        color: #0196BB;
        font-size: 16px;
        font-weight: 500;
        border-radius: 8px;
        text-decoration: none;
        width: 100%;
        transition: all 0.3s ease;
}

.news__btn:hover {
    background: #0196BB;
    color: #fff;
}
    .news__wrapper {
        display: block;
        overflow: hidden;
        margin-top: 20px;
    }

    .news__card {
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    section {
        margin: 80px 5% !important;
    }

    .news__title {
        font-size: 20px;
    }
}
