/* DoeKRACHT kaarten: per vestiging naam, kaart (+ foto entree) en route */
.dk-kaarten { margin: 1.5em 0; }
.dk-locatie + .dk-locatie {
	margin-top: 3em;
	padding-top: 2em;
	border-top: 1px solid #e2e2e2;
}
.entry-content .dk-locatie .dk-locatie-naam,
.dk-locatie .dk-locatie-naam { margin: 0 0 .6em; font-size: 1.25em; line-height: 1.3; }
.dk-locatie-media { display: grid; grid-template-columns: 1fr; gap: 12px; }
.dk-kaart-map {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	max-width: 100%;
	background: #eef0ee;
	border: 1px solid #ddd;
	box-sizing: border-box;
}
.dk-kaart-map.is-fout { display: grid; place-items: center; color: #555; font-size: .9em; }
.entry-content .dk-locatie-foto,
.dk-locatie-foto { margin: 0; }
.dk-locatie-foto img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border: 1px solid #ddd;
	box-sizing: border-box;
}
/* Breed genoeg: kaart en foto naast elkaar. De kaart (16:9) bepaalt de hoogte, de foto vult die ruimte. */
@media (min-width: 760px) {
	.dk-locatie.has-foto .dk-locatie-media { grid-template-columns: 3fr 2fr; }
	.dk-locatie.has-foto .dk-locatie-foto { position: relative; min-height: 200px; }
	.dk-locatie.has-foto .dk-locatie-foto img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		aspect-ratio: auto;
	}
}
.entry-content .dk-locatie .dk-locatie-info,
.dk-locatie .dk-locatie-info {
	margin: .7em 0 0;
	line-height: 1.6;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: .75em;
}
.dk-locatie-info .dk-locatie-adres { min-width: 0; }
.dk-locatie-info .dk-kaart-acties { flex-shrink: 0; }
.entry-content .dk-locatie .dk-locatie-extra,
.dk-locatie .dk-locatie-extra { margin: .4em 0 0; }
.dk-kaart-acties { display: flex; flex-wrap: nowrap; align-items: center; gap: .25em; }
.entry-content a.dk-route-icoon,
a.dk-route-icoon {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 4px;
	color: inherit;
	text-decoration: none;
	opacity: .8;
}
.entry-content a.dk-route-icoon svg,
a.dk-route-icoon svg { display: block; width: 20px; height: 20px; margin: 0; }
a.dk-route-icoon:hover,
a.dk-route-icoon:focus-visible { opacity: 1; }
a.dk-route-icoon:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; border-radius: 3px; }
.dk-kaart-pin { cursor: default; }

/* Route-keuzevenster */
#dk-route-dialog {
	border: 0;
	border-radius: 8px;
	padding: 1.5em;
	width: min(92vw, 360px);
	box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
	font: inherit;
	color: #1a1a1a;
}
#dk-route-dialog::backdrop { background: rgba(0, 0, 0, .45); }
#dk-route-dialog h2 { font-size: 1.15em; margin: 0 0 .25em; line-height: 1.3; }
#dk-route-dialog .dk-route-adres { margin: 0 0 1em; color: #555; font-size: .95em; }
#dk-route-dialog ul { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: .5em; }
#dk-route-dialog ul a,
#dk-route-dialog button {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: .7em 1em;
	border: 1px solid #1a1a1a;
	border-radius: 6px;
	background: #fff;
	color: #1a1a1a;
	text-align: center;
	text-decoration: none;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
#dk-route-dialog ul a:hover,
#dk-route-dialog ul a:focus-visible { background: #cba900; }
#dk-route-dialog .dk-route-onder { display: flex; gap: .5em; }
#dk-route-dialog .dk-route-sluit { border-color: #ccc; font-weight: 400; }
/* Link achter het adres (praktijkruimte / Centrum Volledig Leven); op smalle schermen op een eigen regel */
.dk-locatie-link a { color: inherit; }
@media (max-width: 600px) {
	.dk-locatie-sep { display: none; }
	.dk-locatie-link { display: block; }
}
