.news-section__top {
    margin-bottom: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h2.news-section__title {
    font-family: "Montserrat", Sans-serif;
    font-weight: 700;
    font-size: 38px;
    line-height: 110%;
    color: var(--p4-zagolovok-1);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-card {
    overflow: hidden;
    cursor: pointer;
    display: block;
    text-decoration: none;
}

.news-card:hover .news-card__image {
    background-size: 120%;
}

.news-card:hover h3.news-card__title {
    color: var(--p1);
}

.news-card__image {
    width: 100%;
    height: 200px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    border-radius: 16px;
    margin-bottom: 16px;
    transition: background-size 0.5s ease;
}

.news-card__content {
    font-family: "Geologica", sans-serif;
}

h3.news-card__title {
    font-weight: 700;
    font-size: 16px;
    line-height: 130%;
    color: var(--p4-zagolovok-1);
    margin-bottom: 8px !important;
    transition: color .3s linear;
}

.news-card__text {
    font-weight: 300;
    font-size: 16px;
    line-height: 130%;
    color: var(--text-4-svetlyy-dlya-temnogo);
    margin-bottom: 16px !important;
    transition: color .3s linear;
}

.news-card__date {
    font-weight: 300;
    font-size: 14px;
    color: var(--text-3);
    transition: color .3s linear;
}

.news-section__footer {
    text-align: right;
    margin-top: 20px;
}

.news-section__link {
    text-decoration: none;
    font-family: "Geologica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: var(--p1);
    transition: color .3s linear, transform .3s linear;
    display: flex;
    align-items: center;
    column-gap: 9px;
}

.news-section__link:hover {
    color: var(--text-4-svetlyy-dlya-temnogo);
    transform: scale(1.01);
}

.news-section__link svg {
    fill: var(--p1);
    transition: fill .3s linear;
}

.news-section__link:hover svg {
    fill: var(--text-4-svetlyy-dlya-temnogo);
}

.news-card:hover .news-card__text,
.news-card:hover .news-card__date {
    color: var(--text-2);
}

@media screen and (max-width: 1023px) {
    h2.news-section__title {
        font-size: 30px;
    }

    .news-section__top {
        margin-bottom: 46px;
    }

    h3.news-card__title {
        font-weight: 500;
    }

    .news-grid {
        gap: 12px;
    }

    .news-card__image {
        height: 130px;
    }
}

@media screen and (max-width: 767px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    h2.news-section__title {
        font-size: 26px;
    }

    .news-section__top {
        margin-bottom: 30px;
    }

    .news-card:last-child {
        display: none !important;
    }

    h3.news-card__title {
        font-size: 14px;
    }

    .news-card__text {
        font-size: 14px;
    }
}

@media screen and (max-width: 474px) {
    .news-card__image {
        background-size: cover;
    }
}

@media screen and (max-width: 374px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}