

/* Start:/local/templates/main-25/components/bitrix/news/custom_2025/bitrix/news.list/.default/style.css?17936204641561*/
/* =======================================
   НОВОСТИ И СТАТЬИ: СЕТКА КАРТОЧЕК
   внешний вид — как у блока «Тренды» на Главной
   ======================================= */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 20px;
    font-family: "Jost", sans-serif;
}

.news-grid-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #858c68;
    text-decoration: none;
}

.news-grid-card:hover {
    color: #626e52;
}

.news-grid-card-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 446 / 376;
    background: #f7f9f4;
}

.news-grid-card-image picture {
    display: contents;
}

.news-grid-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-grid-card:hover .news-grid-card-image img {
    transform: scale(1.03);
}

.news-grid-card-title {
    margin: 0;
    color: inherit;
    font-family: inherit;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 1100px) {
    .news-grid-card-title {
        font-size: 18px;
    }
}

@media (max-width: 899px) {
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .news-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .news-grid-card-title {
        font-size: 16px;
    }
}

/* End */
/* /local/templates/main-25/components/bitrix/news/custom_2025/bitrix/news.list/.default/style.css?17936204641561 */
