/* News list (blog home) and single news post. Colours and sizes come from tokens only. */

.dp-news { padding-bottom: var(--sec-gap); }
.dp-news__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-4);
	list-style: none;
	margin: 0;
	padding: 0;
}
.dp-news__card {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	padding: var(--space-5);
	background: var(--surface);
	border: 0;
	border-radius: var(--radius-card);
	font-family: var(--font-giga);
	color: var(--text);
}
.dp-news__date { font-size: 14px; color: var(--text-muted); }
.dp-news__title { font: 400 22px/1.25 var(--font-giga); color: var(--ink); text-decoration: none; }
.dp-news__title:hover { text-decoration: underline; }
.dp-news__excerpt { margin: 0; }

.dp-news .wp-block-query-pagination { justify-content: center; margin-top: var(--space-8); }

@media (max-width: 1100px) {
	.dp-news__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 781px) {
	.dp-news__list { grid-template-columns: 1fr; }
}
