.news__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 30px;
}

.news__header-text {
    max-width: 900px;
}

.news__grid {
    display: flex;
    gap: 20px;
}

.news__grid .news-card {
    flex-shrink: 0;
}

.news-card {
    border-radius: 30px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.news-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.news-card__image {
    width: 100%;
    height: 214px;
    overflow: hidden;
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card__body {
    padding: 20px 20px 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card__date {
    font-size: 16px;
    line-height: normal;
    color: var(--light-blue);
    display: inline-block;
    margin-bottom: 15px;
}

.news__slider-outer {
    display: flex;
    align-items: center;
    position: relative;
}

.news__slider-wrap {
    flex: 1;
    overflow: hidden;
}

.news__nav-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--transition);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.news__nav-btn--prev {
    left: -29px;
}

.news__nav-btn--next {
    right: -29px;
}

.news__nav-btn:hover {
    background: #b8d0e8;
}

.news-card__title {
    font-size: 18px;
    line-height: normal;
    font-weight: 800;
    color: var(--blue);
    text-transform: uppercase;
}

.news-card__text {
    font-size: 16px;
    line-height: normal;
    color: var(--blue);
    flex: 1;
    margin-top: 15px;
}

.news-card .btn {
    align-self: flex-start;
    margin-top: 20px;
}

@media (max-width: 1200px) {
    .news__grid .news-card {
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 1024px) {
    .news__nav-btn {
        width: 40px;
        height: 40px;
    }

    .news__nav-btn--prev {
        left: -14px;
    }

    .news__nav-btn--next {
        right: -14px;
    }
}

@media (max-width: 768px) {
    .news__grid .news-card {
        min-width: calc(100% - 10px);
    }

    .news__header {
        flex-direction: column;
        gap: 20px;
    }

    .news-card__image {
        height: 166px;
    }

    .news-card__body {
        padding: 20px 15px;
    }

    .news-card__title {
        font-size: 18px;
    }

    .news-card__date {
        margin-bottom: 12px;
    }

    .news-card__text {
        margin-top: 12px;
    }

    .news__nav-btn {
        top: 41%;
    }
}
