/* =========================================================
   Single blog — match deurklinkhaak.nl editorial layout
   ========================================================= */

body.single-post {
	--dkh-post-ink: #111;
	--dkh-post-muted: #888;
	--dkh-post-lead: #6b6b6b;
	--dkh-post-line: rgba(17, 17, 17, 0.08);
	--dkh-post-lime: #daf615;
	--dkh-post-tip: #ebe7e0;
	--dkh-post-max: 72rem;
}

/* Shell */
body.single-post .elementor-133133,
body.single-post .elementor-location-single {
	overflow: visible;
}

/* ---------- Header ---------- */
body.single-post .dkh-post-header {
	position: relative;
	width: 100%;
	border-bottom: 0;
}

body.single-post .dkh-post-header__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	/* max-width: var(--dkh-post-max); */
	margin: 0 auto;
}

body.single-post .dkh-post-header__nav {
	grid-column: 1 / 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	padding: 2.5rem 1.25rem 0;
}

body.single-post .dkh-post-back {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4rem 0.75rem;
	border: 1px solid #111;
	background: #fff;
	color: #111 !important;
	font-family: "Space Grotesk", sans-serif;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none !important;
	line-height: 1.2;
	transition: background-color 0.2s ease;
}

body.single-post .dkh-post-back:hover {
	background: var(--dkh-post-lime);
	color: #111 !important;
}

body.single-post .dkh-post-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.65rem;
	background: #111;
	color: #fff;
	font-family: "Space Grotesk", sans-serif;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.2;
}

body.single-post .dkh-post-header__title-wrap {
	grid-column: 1 / 4;
	padding: 1.75rem 1.25rem 0;
}

body.single-post .dkh-post-title,
body.single-post .dkh-post-header .dkh-post-title {
	margin: 0 !important;
	font-family: "Open Sans", sans-serif !important;
	font-size: clamp(1.75rem, 4vw, 3.5rem) !important;
	font-weight: 500 !important;
	letter-spacing: 0 !important;
	line-height: 1.1 !important;
	text-transform: none !important;
	color: #111 !important;
}

body.single-post .dkh-post-header__lead {
	grid-column: 1 / 4;
	padding: 1rem 1.25rem 2.5rem;
}

body.single-post .dkh-post-lead {
	margin: 0;
	max-width: 42rem;
	font-family: Open Sans, sans-serif;
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 1.55;
	color: var(--dkh-post-lead);
}

/* Meta row */
body.single-post .dkh-post-meta {
	position: relative;
	z-index: 1;
	border-top: 1px solid var(--dkh-post-line);
	border-bottom: 1px solid var(--dkh-post-line);
}

body.single-post .dkh-post-meta__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	/* max-width: var(--dkh-post-max); */
	margin: 0 auto;
}

body.single-post .dkh-post-meta__item {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	min-width: 0;
	padding: 1.5rem 1.25rem;
	border-right: 1px solid var(--dkh-post-line);
}

body.single-post .dkh-post-meta__item:last-child,
body.single-post .dkh-post-meta__item--spacer {
	border-right: 0;
}

body.single-post .dkh-post-meta__label {
	font-family: "Space Grotesk", sans-serif;
	font-size: 0.6875rem;
	font-weight: 400;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--dkh-post-muted);
}

body.single-post .dkh-post-meta__value {
	font-family: "Space Grotesk", sans-serif;
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #111;
	line-height: 1.45;
}

/* Featured image */
/* body.single-post .elementor-element-bbb5a33,
body.single-post .elementor-element-bbb5a33 .e-con-inner,
body.single-post .elementor-element-12abd74 {
	max-width: none !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.single-post .elementor-element-099014d,
body.single-post .elementor-element-099014d .elementor-widget-container,
body.single-post .elementor-element-099014d img {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	border-radius: 0 !important;
}

body.single-post .elementor-element-099014d {
	aspect-ratio: 16 / 8;
	overflow: hidden;
	background: #f3f1ee;
}

body.single-post .elementor-element-099014d img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	filter: grayscale(1);
} */

/* ---------- Body content ---------- */
body.single-post .elementor-element-be0ae87 {
	position: relative;
}

body.single-post .elementor-element-be0ae87::before {
	content: "";
	pointer-events: none;
	position: absolute;
	inset: 0;
	z-index: 0;
	/* background:
		linear-gradient(to right, var(--dkh-post-line) 1px, transparent 1px) 25% 0 / 25% 100% repeat-x,
		linear-gradient(to right, var(--dkh-post-line) 1px, transparent 1px) 50% 0 / 25% 100% repeat-x,
		linear-gradient(to right, var(--dkh-post-line) 1px, transparent 1px) 75% 0 / 25% 100% repeat-x; */
}

body.single-post .elementor-element-be0ae87 > .e-con-inner {
	position: relative;
	z-index: 1;
	max-width: var(--dkh-post-max) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-top: 3.5rem !important;
	padding-bottom: 1rem !important;
}

body.single-post .elementor-element-f536f80,
body.single-post .elementor-element-2b80d14 {
	/* max-width: 40rem; */
	margin-left: auto;
	margin-right: auto;
}

body.single-post .elementor-widget-theme-post-content {
	font-family: Open Sans, sans-serif;
	font-size: 1.0625rem;
	line-height: 1.7;
	color: #333;
}

body.single-post .elementor-widget-theme-post-content p {
	margin: 0 0 1.25rem;
}

body.single-post .elementor-widget-theme-post-content h2,
body.single-post .elementor-widget-theme-post-content .wp-block-heading {
	margin: 2.75rem 0 1.1rem !important;
	font-family: Open Sans, sans-serif !important;
	font-size: clamp(1.35rem, 2.4vw, 1.75rem) !important;
	font-weight: 700 !important;
	letter-spacing: 0.02em !important;
	line-height: 1.2 !important;
	text-transform: uppercase !important;
	color: #111 !important;
}

/* Drop cap */
/* body.single-post .dkh-post-dropcap-p {
	position: relative;
}

body.single-post .dkh-post-dropcap {
	float: left;
	margin: 0.1rem 0.55rem 0 0;
	font-family: Open Sans, sans-serif;
	font-size: 4.25rem;
	font-weight: 700;
	line-height: 0.8;
	color: #111;
} */

/* Arrow lists */
body.single-post .elementor-widget-theme-post-content ul {
	list-style: none !important;
	margin: 0 0 1.5rem !important;
	padding: 0 !important;
}

body.single-post .elementor-widget-theme-post-content ul li {
	position: relative;
	padding-left: 1.35rem;
	margin: 0 0 0.85rem;
}

body.single-post .elementor-widget-theme-post-content ul li::before {
	content: "→";
	position: absolute;
	left: 0;
	top: 0;
	color: #111;
	font-weight: 500;
}

/* Tip block */
body.single-post .elementor-widget-theme-post-content .wp-block-columns[data-dkh-tip="1"],
body.single-post .elementor-widget-theme-post-content .wp-block-columns.has-background {
	display: grid !important;
	grid-template-columns: 1fr 1.15fr;
	gap: 0 !important;
	align-items: stretch;
	margin: 2.5rem 0 2.75rem !important;
	padding: 0 !important;
	background: transparent !important;
	border-radius: 0 !important;
}

body.single-post .elementor-widget-theme-post-content .wp-block-columns.has-background > .wp-block-column {
	margin: 0 !important;
	padding: 0 !important;
}

body.single-post .elementor-widget-theme-post-content .wp-block-columns.has-background > .wp-block-column:first-child {
	background: #f3f1ee;
}

body.single-post .elementor-widget-theme-post-content .wp-block-columns.has-background > .wp-block-column:first-child img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 14rem;
	object-fit: cover;
	filter: grayscale(0.35);
}

body.single-post .elementor-widget-theme-post-content .wp-block-columns.has-background > .wp-block-column:last-child {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 1.75rem 1.5rem !important;
	background: var(--dkh-post-tip) !important;
}

body.single-post .elementor-widget-theme-post-content .wp-block-columns.has-background > .wp-block-column:last-child > p:first-child {
	margin: 0 0 0.85rem !important;
	padding-bottom: 0.65rem;
	border-bottom: 2px solid #111;
	width: fit-content;
	font-family: Open Sans, sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #111;
}

body.single-post .elementor-widget-theme-post-content .wp-block-columns.has-background > .wp-block-column:last-child > p:last-child {
	margin: 0 !important;
	font-size: 0.98rem;
	line-height: 1.55;
	color: #333;
}

/* ---------- Inline CTA (Elementor black band) ---------- */
/* body.single-post .elementor-element-752271f {
	max-width: var(--dkh-post-max) !important;
	margin: 1.5rem auto 0 !important;
	padding-left: 1.25rem !important;
	padding-right: 1.25rem !important;
}

body.single-post .elementor-element-9ff924f {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem 2rem;
	width: 100%;
	padding: 1.75rem 1.75rem !important;
	background: #111 !important;
	border-radius: 0 !important;
}

body.single-post .elementor-element-1071714 {
	flex: 1 1 16rem;
	max-width: 36rem;
}

body.single-post .elementor-element-17f7838 .elementor-heading-title {
	margin: 0 0 0.45rem !important;
	font-family: Open Sans, sans-serif !important;
	font-size: clamp(1.15rem, 2vw, 1.5rem) !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em !important;
	text-transform: uppercase !important;
	color: #fff !important;
	line-height: 1.2 !important;
}

body.single-post .elementor-element-2d744bf,
body.single-post .elementor-element-2d744bf p {
	margin: 0 !important;
	font-family: Open Sans, sans-serif !important;
	font-size: 0.95rem !important;
	line-height: 1.5 !important;
	color: rgba(255, 255, 255, 0.78) !important;
}

body.single-post .elementor-element-f642643 {
	flex: 0 0 auto;
}

body.single-post .elementor-element-ebec1a7 .elementor-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0.9rem 1.5rem !important;
	background: var(--dkh-post-lime) !important;
	background-color: var(--dkh-post-lime) !important;
	color: #111 !important;
	border: 1px solid #111 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-family: Open Sans, sans-serif !important;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	min-height: 0 !important;
}

body.single-post .elementor-element-ebec1a7 .elementor-button:hover {
	background: #c5de12 !important;
	color: #111 !important;
} */

/* ---------- Share + inspire ---------- */
body.single-post .dkh-post-after {
	position: relative;
	max-width: var(--dkh-post-max);
	margin: 0 auto;
	padding: 0 1.25rem 0;
}

body.single-post .dkh-post-share {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 2rem 0;
	border-bottom: 1px solid var(--dkh-post-line);
}

body.single-post .dkh-post-share__label {
	margin: 0;
	font-family: Open Sans, sans-serif;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--dkh-post-muted);
}

body.single-post .dkh-post-share__icons {
	display: flex;
	align-items: center;
	gap: 0.55rem;
}

body.single-post .dkh-post-share__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.15rem;
	height: 2.15rem;
	border: 1px solid #111;
	border-radius: 50%;
	color: #111 !important;
	text-decoration: none !important;
	transition: background-color 0.15s ease;
}

body.single-post .dkh-post-share__icon:hover {
	background: var(--dkh-post-lime);
}

body.single-post .dkh-post-inspire {
	border-bottom: 1px solid var(--dkh-post-line);
}

body.single-post .dkh-post-inspire__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 5.5rem;
}

body.single-post .dkh-post-inspire__left,
body.single-post .dkh-post-inspire__right {
	padding: 1.75rem 0;
}

body.single-post .dkh-post-inspire__left {
	border-right: 1px solid var(--dkh-post-line);
	padding-right: 1.25rem;
}

body.single-post .dkh-post-inspire__right {
	padding-left: 1.25rem;
}

body.single-post .dkh-post-inspire__label {
	margin: 0;
	font-family: Open Sans, sans-serif;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--dkh-post-muted);
}

body.single-post .dkh-post-inspire__prev {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto auto;
	column-gap: 1rem;
	row-gap: 0.35rem;
	align-items: start;
	text-decoration: none !important;
	color: inherit !important;
}

body.single-post .dkh-post-inspire__prev-label {
	grid-column: 1;
	font-family: Open Sans, sans-serif;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--dkh-post-muted);
}

body.single-post .dkh-post-inspire__prev-title {
	grid-column: 1;
	font-family: Open Sans, sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #111;
	line-height: 1.3;
}

body.single-post .dkh-post-inspire__prev-arrow {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: center;
	font-size: 1.25rem;
	color: #111;
}

/* USP strip minor polish on single */
body.single-post .elementor-element-046e48c {
	border-top: 1px solid var(--dkh-post-line);
}

/* Mobile */
@media (max-width: 1024px) {
	body.single-post .dkh-post-header__grid-lines,
	body.single-post .elementor-element-be0ae87::before {
		background:
			linear-gradient(to right, var(--dkh-post-line) 1px, transparent 1px) 50% 0 / 50% 100% repeat-x;
	}

	body.single-post .dkh-post-header__grid {
		grid-template-columns: 1fr 1fr;
	}

	body.single-post .dkh-post-header__nav,
	body.single-post .dkh-post-header__title-wrap,
	body.single-post .dkh-post-header__lead {
		grid-column: 1 / -1;
	}

	body.single-post .dkh-post-meta__grid {
		grid-template-columns: 1fr 1fr;
	}

	body.single-post .dkh-post-meta__item--spacer {
		display: none;
	}

	body.single-post .dkh-post-meta__item:nth-child(3) {
		grid-column: 1 / -1;
		border-right: 0;
	}

	body.single-post .elementor-element-099014d {
		aspect-ratio: 4 / 3;
	}

	body.single-post .elementor-widget-theme-post-content .wp-block-columns.has-background {
		grid-template-columns: 1fr;
	}

	body.single-post .dkh-post-inspire__grid {
		grid-template-columns: 1fr;
	}

	body.single-post .dkh-post-inspire__left {
		border-right: 0;
		border-bottom: 1px solid var(--dkh-post-line);
		padding-right: 0;
	}

	body.single-post .dkh-post-inspire__right {
		padding-left: 0;
	}
}

@media (max-width: 767px) {
	body.single-post .dkh-post-header__nav {
		padding-top: 1.75rem;
	}

	body.single-post .dkh-post-header__lead {
		padding-bottom: 1.75rem;
	}

	body.single-post .dkh-post-dropcap {
		font-size: 3.25rem;
	}

	body.single-post .elementor-element-9ff924f {
		flex-direction: column;
		align-items: stretch;
	}

	body.single-post .elementor-element-ebec1a7 .elementor-button {
		width: 100%;
	}
}

/* Hide leftover Elementor hero meta if transform missed it */
body.single-post .elementor-element-94d4f05,
body.single-post .elementor-element-4ed3741,
body.single-post .elementor-element-8f581a8 {
	display: none !important;
}

/* Stale PHP-FPM workers may inject share more than once — keep the first only */
body.single-post .dkh-post-after ~ .dkh-post-after {
	display: none !important;
}
