/* Lazy Block: news. Vars from base style.css. */

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

.news-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--hair);
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	transition: border-color .16s, box-shadow .16s, transform .16s;
}

.news-card:hover {
	border-color: #c9d2dd;
	box-shadow: 0 14px 34px rgba(20, 34, 58, .08);
	transform: translateY(-2px);
}

.news-card__media {
	height: 170px;
	background: linear-gradient(160deg, #1b2a3f, #0e141f);
	background-size: cover;
	background-position: center;
}

.news-card__body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.news-card__date {
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--accent);
	font-weight: 600;
}

.news-card__title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--ink-900);
}

.news-card__more {
	margin-top: auto;
	font-size: 13px;
	font-weight: 600;
	color: var(--accent);
}

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