/**
 * Berichten uit categorie — minimalistisch / redactioneel.
 * Rechte hoeken, geen schaduw; tussen items alleen witruimte (geen horizontale regels).
 */
.drg-cat-posts {
	--drg-cp-hover: color-mix(in srgb, var(--text) 5%, transparent);
	--drg-cp-media-h: clamp(5.75rem, 15vw, 8rem);
	margin: clamp(1.5rem, 3.5vw, 2.25rem) 0;
}

.drg-cat-posts__title {
	margin: 0 0 clamp(1rem, 2.2vw, 1.35rem);
	padding: 0;
	border: 0;
	font-size: clamp(1.1rem, 1.1vw + 0.95rem, 1.35rem);
	font-weight: 400;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: var(--heading, var(--text));
}

.drg-cat-posts__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: clamp(1.35rem, 3.2vw, 2.25rem);
	border: 0;
	background: transparent;
}

.drg-cat-posts__item {
	margin: 0;
	border: 0;
}

.drg-cat-posts__link {
	display: grid;
	grid-template-columns: minmax(12rem, 44%) 1fr;
	gap: clamp(1.1rem, 2.8vw, 1.75rem);
	align-items: start;
	padding: clamp(0.35rem, 1vw, 0.5rem) 0;
	border: 0;
	border-radius: 0;
	text-decoration: none;
	color: var(--text);
	background: transparent;
	box-shadow: none;
	transition: background-color 0.15s ease, color 0.15s ease;
	outline-offset: 2px;
}

.drg-cat-posts__link:not(:has(.drg-cat-posts__media)) {
	grid-template-columns: 1fr;
}

.drg-cat-posts__link:hover {
	background: var(--drg-cp-hover);
	box-shadow: none;
	transform: none;
}

.drg-cat-posts__link:focus-visible {
	background: var(--drg-cp-hover);
	box-shadow: none;
	outline: 2px solid var(--link);
	outline-offset: 2px;
}

.drg-cat-posts__link:hover .drg-cat-posts__heading,
.drg-cat-posts__link:focus-visible .drg-cat-posts__heading {
	color: var(--link);
}

.drg-cat-posts__media {
	display: block;
	position: relative;
	border-radius: 0;
	overflow: hidden;
	line-height: 0;
	align-self: start;
	width: 100%;
	max-width: none;
	height: var(--drg-cp-media-h);
	max-height: var(--drg-cp-media-h);
	background: color-mix(in srgb, var(--text) 6%, var(--bg) 94%);
}

/* Globale `img { height: auto }` (style.css): band blijft vast met cover. */
.drg-cat-posts__media img,
.drg-cat-posts img.drg-cat-posts__thumb {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	max-width: none;
	object-fit: cover;
	object-position: center;
	transform: scale(1);
	transform-origin: center center;
	transition: transform 0.38s ease;
}

.drg-cat-posts__link:hover .drg-cat-posts__media img,
.drg-cat-posts__link:focus-visible .drg-cat-posts__media img {
	transform: scale(1.08);
}

.drg-cat-posts__body {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 0.25rem;
	min-width: 0;
	padding-top: 0.05rem;
}

.drg-cat-posts__row {
	display: block;
}

.drg-cat-posts__heading {
	margin: 0;
	min-width: 0;
	font-size: clamp(0.95rem, 0.55vw + 0.86rem, 1.06rem);
	font-weight: 400;
	line-height: 1.32;
	letter-spacing: -0.02em;
	color: var(--heading, var(--text));
	transition: color 0.15s ease;
}

.drg-cat-posts__tail {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem 0.85rem;
	margin-top: 0.45rem;
}

.drg-cat-posts__date {
	font-size: clamp(0.76rem, 0.4vw + 0.7rem, 0.84rem);
	font-style: italic;
	font-variant-numeric: tabular-nums;
	color: var(--muted);
	white-space: nowrap;
}

.drg-cat-posts__excerpt {
	margin: 0.15rem 0 0;
	max-width: 60ch;
	font-size: clamp(0.84rem, 0.3vw + 0.76rem, 0.92rem);
	line-height: 1.55;
	color: var(--muted);
}

.drg-cat-posts__read-more {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin-top: 0;
	font-size: clamp(0.8rem, 0.28vw + 0.74rem, 0.88rem);
	font-weight: 400;
	color: var(--link);
}

.drg-cat-posts__read-more::after {
	content: "→";
	font-weight: 400;
	opacity: 0.75;
	transition: transform 0.15s ease;
}

.drg-cat-posts__link:hover .drg-cat-posts__read-more::after,
.drg-cat-posts__link:focus-visible .drg-cat-posts__read-more::after {
	transform: translateX(0.15rem);
}

.drg-cat-posts__footer {
	margin-top: clamp(1.35rem, 3vw, 1.85rem);
	padding-top: 0;
	border: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	align-items: center;
}

.drg-cat-posts__footer-link {
	display: inline;
	padding: 0;
	font-size: clamp(0.84rem, 0.28vw + 0.78rem, 0.92rem);
	font-weight: 400;
	text-decoration: none;
	color: var(--link);
	border-radius: 0;
	background: transparent;
	border-bottom: 1px solid color-mix(in srgb, var(--link) 35%, transparent);
	transition: color 0.15s ease, border-color 0.15s ease;
}

.drg-cat-posts__footer-link:hover,
.drg-cat-posts__footer-link:focus-visible {
	color: var(--link-hover, var(--link));
	border-bottom-color: currentColor;
	background: transparent;
	outline: none;
	transform: none;
}

.drg-cat-posts__footer-link:hover {
	transform: none;
}

.drg-cat-posts--empty {
	padding: clamp(1rem, 2.5vw, 1.25rem) 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--muted);
	box-shadow: none;
}

@media (max-width: 36rem) {
	.drg-cat-posts {
		--drg-cp-media-h: clamp(5rem, 38vw, 7rem);
	}

	.drg-cat-posts__link {
		grid-template-columns: 1fr;
		gap: clamp(0.85rem, 2.2vw, 1.15rem);
	}

	.drg-cat-posts__media {
		max-width: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.drg-cat-posts__link,
	.drg-cat-posts__footer-link,
	.drg-cat-posts__read-more::after {
		transition: none;
	}

	.drg-cat-posts__media img,
	.drg-cat-posts img.drg-cat-posts__thumb {
		transition: none;
	}

	.drg-cat-posts__link:hover .drg-cat-posts__media img,
	.drg-cat-posts__link:focus-visible .drg-cat-posts__media img {
		transform: scale(1);
	}
}

/* -------------------------------------------------------------------------
 * Categorie-archief: zelfde layout, geen harde scheidingslijnen.
 * ----------------------------------------------------------------------- */

.drg-cat-posts--archive {
	margin: clamp(0.85rem, 2vw, 1.15rem) 0 clamp(1.75rem, 3.5vw, 2.5rem);
}

.drg-cat-posts--archive .drg-cat-posts-card-article {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

body.category .archive-header.entry {
	margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
	padding-bottom: 0;
	border: 0;
}

body.category .archive-header .entry-title {
	margin: 0 0 clamp(0.25rem, 0.8vw, 0.35rem);
	padding: 0;
	border: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
}

body.category .archive-header .drg-cat-archive__label {
	display: block;
	margin: 0 0 0.3rem;
	font-size: clamp(0.65rem, 0.32vw + 0.58rem, 0.72rem);
	font-weight: 400;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

body.category .archive-header .drg-cat-archive__name {
	display: block;
	font-size: clamp(1.05rem, 1.1vw + 0.88rem, 1.38rem);
	font-weight: 400;
	line-height: 1.22;
	letter-spacing: -0.025em;
	color: var(--heading, var(--text));
}

body.category .archive-header .archive-description {
	margin-top: 0.4rem;
}

body.category .archive-header .entry-meta {
	margin: 0;
	padding: 0;
	font-size: clamp(0.86rem, 0.35vw + 0.78rem, 0.95rem);
	line-height: 1.55;
	color: var(--muted);
	border: 0;
}

body.category .archive-header .entry-meta:empty {
	display: none;
}

body.category .pagination {
	margin-top: clamp(1.5rem, 3vw, 2rem);
	padding-top: 0;
	border: 0;
}
