/* ==========================================================================
   Blog ("Inspiratie")
   ========================================================================== */

/* Post header */
.dr-post__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	max-width: calc(820px + 2 * var(--gutter));
	padding-block: 32px 40px;
	text-align: center;
}

.dr-post__header .dr-breadcrumb {
	justify-content: center;
}

.dr-post__cat {
	text-decoration: none;
}

.dr-post__title {
	margin: 0;
	font-size: clamp(42px, 6vw, 64px);
	line-height: 1.02;
}

.dr-post__lead {
	max-width: 34em;
	margin: 0;
	font-size: 19px;
	line-height: 1.7;
	color: var(--muted);
}

.dr-post__meta {
	margin: 0;
	font-size: 14px;
	color: #7a6b60;
}

.dr-post__hero {
	max-width: calc(920px + 2 * var(--gutter));
}

.dr-post__hero-img {
	display: block;
	width: 100%;
	height: clamp(280px, 50vw, 560px);
	object-fit: cover;
	border-radius: 999px 999px 32px 32px;
	background: var(--blush);
}

/* Layout with table of contents */
.dr-post__layout {
	display: grid;
	grid-template-columns: minmax(0, 720px);
	justify-content: center;
	gap: 56px;
	padding-top: 56px;
}

.dr-post__layout.has-toc {
	grid-template-columns: 240px minmax(0, 720px);
}

.dr-toc {
	position: sticky;
	top: 24px;
	align-self: start;
	padding: 24px;
	border-radius: 24px;
	background: var(--cream);
}

.dr-toc__title {
	display: block;
	margin-bottom: 12px;
	color: var(--caramel-deep);
}

.dr-toc__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding-left: 18px;
	font-size: 14px;
	line-height: 1.45;
}

.dr-toc__list a {
	text-decoration: none;
}

.dr-toc__list a:hover {
	text-decoration: underline;
}

.dr-post__content {
	font-size: 17px;
}

.dr-post__content h2 {
	margin: 1.6em 0 0.5em;
	font-size: clamp(28px, 3vw, 34px);
	scroll-margin-top: 24px;
}

.dr-post__content h3 {
	margin: 1.4em 0 0.4em;
	font-size: 24px;
}

.dr-post__content img {
	border-radius: 24px;
}

.dr-post__content .wp-block-gallery,
.dr-post__content .wp-block-columns {
	gap: 18px;
}

.dr-post__content figure {
	margin: 1.6em 0;
}

.dr-post__content figcaption {
	font-size: 14px;
	color: #7a6b60;
	text-align: center;
}

/* "Uit de winkel" card ([duarosa_product]) */
.dr-inline-product {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 2em 0;
	padding: 14px 22px 14px 14px;
	border-radius: 24px;
	background: var(--cream);
	color: var(--ink) !important;
	text-decoration: none !important;
	transition: transform 0.25s ease;
}

.dr-inline-product:hover {
	transform: translateY(-2px);
}

.dr-inline-product__img {
	flex: none;
	width: 88px;
	height: 88px;
	object-fit: cover;
	border-radius: 18px !important;
	background: var(--blush);
}

.dr-inline-product__info {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.dr-inline-product__label {
	color: var(--caramel-deep);
	font-size: 12px;
}

.dr-inline-product__name {
	font-weight: 500;
}

.dr-inline-product__cta {
	flex: none;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

/* Related posts */
.dr-related {
	margin-top: var(--section);
}

.dr-related__wave {
	margin-bottom: -1px;
}

.dr-related__body {
	padding-block: 56px var(--section);
	background: var(--cream);
}

.dr-related__title {
	margin-bottom: 40px;
	text-align: center;
	font-size: clamp(34px, 4vw, 44px);
}

.single-post .dr-footer {
	margin-top: 0;
}

/* Post grid + cards */
.dr-post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 40px 24px;
}

.dr-post-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.dr-post-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 24px;
	background: var(--blush);
}

.dr-post-grid > li:nth-child(3n + 2) .dr-post-card__media {
	background: var(--sage);
}

.dr-post-grid > li:nth-child(3n + 3) .dr-post-card__media {
	background: var(--butter);
}

.dr-post-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.dr-post-card:hover .dr-post-card__media img {
	transform: scale(1.04);
}

.dr-post-card__cat {
	margin-top: 6px;
	color: var(--caramel-deep);
	font-size: 12px;
}

.dr-post-card__title {
	margin: 0;
	font-size: 24px;
	line-height: 1.2;
}

.dr-post-card__title a {
	text-decoration: none;
}

/* Pagination */
.dr-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-top: 56px;
}

.dr-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border-radius: 22px;
	text-decoration: none;
}

.dr-pagination .current {
	background: var(--ink);
	color: #fff;
}

@media (max-width: 899px) {
	.dr-post__layout.has-toc {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
		padding-top: 32px;
	}

	.dr-toc {
		position: static;
	}

	.dr-post__hero-img {
		border-radius: 160px 160px 24px 24px;
	}

	.dr-inline-product {
		padding-right: 14px;
	}

	.dr-inline-product__cta {
		display: none;
	}
}
