div.news-list
{
	word-wrap: break-word;
}
div.news-list img.preview_picture
{
	float:left;
	margin:0 4px 6px 0;
}
.news-date-time {
	color:#486DAA;
}

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

/* карточка = вся ссылка */
.news-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid #e1e1e1;
    border-radius: 24px;
    color: inherit;
    transition: box-shadow 0.2s ease;
    overflow: hidden;
    text-decoration: none !important;
}

/* hover тень */
.news-card:hover {
    box-shadow: 0px 0px 10px rgb(100 100 100 / 35%);
}

/* запрет выделения */
.news-card {
    user-select: none;
}

/* картинка */
.news-card__img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* тело */
.news-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
    margin: 0;
}

/* дата */
.news-card__date {
    font-size: 14px;
    color: #333;
    margin-top: auto;
    margin-inline: auto;
    background: #efefef;
    width: 100%;
    text-align: center;
    padding-block: 3px 2px;
}

/* заголовок */
.news-card__title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-align: center;
    margin-inline: 15px;
}

/* мобилка */
@media (max-width: 1150px) {
    .news-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 420px) {
    .news-list {
        grid-template-columns: 1fr;
    }
}

.news-pager {
    grid-column: 1 / -1;
}

/* ПОИСК */
.news-search-reset {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.news-reset-btn {
    display: flex;
    color: #666;
    border-radius: 20px;
    text-decoration: none !important;
    height: 32px;
    border: 1px solid #d1d1d1;
    align-content: center;
    align-items: center;
    width: fit-content;
    padding-inline: 15px;
    gap: 6px;
}

.news-reset-btn:hover {
    background: #e9efec;
    color: #666;
}

.news-reset-icon {
    flex-shrink: 0;
}

.news-empty-result {
    text-align: center;
    font-size: 20px;
    color: #666;
    margin-top: 40px;
}