

/* Start:/bitrix/templates/.default/components/bitrix/news.list/news_cards/style.css?17721777602765*/
/* Контейнер сетки */
.news-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    padding: 20px 0;
}

/* Обертка одной карточки */
.news-item-card {
    width: 50%;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
}

/* Сама ссылка-карточка */
.news-item-card__link {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-decoration: none !important;
    /* Убираем подчеркивание ссылки */
    color: #333;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Эффект при наведении (без приподнятия) */
.news-item-card__link:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    /* Только усиливаем тень */
    border-color: #78b833;
    /* Цвет бренда */
    text-decoration: none !important;
}

/* Блок с картинкой */
.news-item-card__image {
    position: relative;
    padding-bottom: 56%;
    overflow: hidden;
    background: #f9f9f9;
}

.news-item-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Контентная часть */
.news-item-card__content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Дата */
.news-item-card__date {
    display: inline-block;
    font-size: 13px;
    color: #78b833;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

/* Заголовок */
.news-item-card__title {
    margin: 0 0 15px 0;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
    color: #2c3e50;
    transition: color 0.3s ease;
    text-decoration: none !important;
    /* Убираем подчеркивание у заголовка */
}

/* Цвет заголовка при наведении */
.news-item-card__link:hover .news-item-card__title {
    color: #78b833;
    text-decoration: none !important;
}

/* Текст анонса */
.news-item-card__preview {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
    text-decoration: none !important;
    /* Обрезка текста до 3 строк */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Адаптив */
@media (max-width: 768px) {
    .news-item-card {
        width: 100%;
    }
}
/* End */
/* /bitrix/templates/.default/components/bitrix/news.list/news_cards/style.css?17721777602765 */
