/* Секция новостей */
.news-section {
    padding-top: 80px;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 55px;
}

.news-header-content {
    display: flex;
    flex-direction: column;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.news-card {
    background-color: #f7f7fe;
    border-radius: 60px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
    height: 454px;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 60px;
}

.news-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(74, 140, 240, 0) 0%, rgba(74, 140, 240, 0.64) 100%);
    border-radius: 60px;
}

.news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 56px 28px;
    color: white;
    z-index: 2;
}

.news-title {

    font-weight: 700;
    font-size: 16px;
    line-height: 32px;
    margin-bottom: 12px;
    letter-spacing: -0.4px;
}

.news-description {

    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.news-date {

    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    opacity: 0.8;
    position: absolute;
    top: 32px;
    right: 28px;
    color: #fff;
}

/* Адаптивность для новостей */
@media (max-width: 1200px) {
    .news-grid {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 15px;
    }

    .news-card {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .news-grid {
        gap: 20px;
    }

    .news-card {
        height: 350px;
    }

    .news-content {
        padding: 30px;
    }

    .news-title {
        font-size: 20px;
        line-height: 28px;
    }

    .news-description {
        font-size: 14px;
        line-height: 20px;
    }
}