/*
 * HolySmartphone — the route map on the local-shop pages
 * (/telefoonwinkel-wormerveer/, /telefoonwinkel-uitgeest/, /telefoonwinkel-in-de-buurt/).
 *
 * Markup: inc/local-pages.php (hs_local_route_block()), right under the teal
 * hero. Loaded only on a page that has routes (inc/enqueue.php). The map is the
 * town's real road route to the shop, drawn as an inline SVG on a mint field:
 * no tiles, nothing fetched on a page view. One town shows car and bike (the
 * switch is assets/js/local.js); the "in de buurt" page shows every town.
 */

.hs-route {
	padding: var(--sp-16) max(var(--hs-gutter), (100% - var(--hs-wide-width)) / 2 + var(--hs-gutter));
	background: var(--bg-1);
}
.hs-route__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: var(--sp-12);
	align-items: center;
}

/* ---- The map ---- */
.hs-route__map {
	position: relative;
	overflow: hidden;
	border-radius: var(--r-xl);
	background: var(--hs-mint);
}
.hs-route__svg { display: block; width: 100%; height: auto; }
.hs-route__casing { fill: none; stroke: var(--bg-1); stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; }
.hs-route__stroke { fill: none; stroke: var(--hs-teal-800); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.hs-route__line[data-mode="bike"] .hs-route__stroke { stroke: var(--hs-teal); stroke-dasharray: none; }
.hs-route__line[hidden] { display: none; }
/* The route draws itself from your town to the shop when the map comes in;
 * pathLength="1" on the stroke makes 1 the whole route. */
.hs-route.is-drawn .hs-route__line .hs-route__stroke[pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; animation: hs-route-draw 1.4s var(--ease-out) forwards; }
@keyframes hs-route-draw { to { stroke-dashoffset: 0; } }

.hs-route__you-halo { fill: color-mix(in srgb, var(--hs-teal-800) 18%, transparent); }
.hs-route__you-dot { fill: var(--hs-teal-800); stroke: var(--bg-1); stroke-width: 3; }
.hs-route__shop-halo { fill: color-mix(in srgb, var(--cta-2) 28%, transparent); }
.hs-route__shop-dot { fill: var(--cta-2); stroke: var(--bg-1); stroke-width: 4; }
.hs-route.is-drawn .hs-route__shop-halo { animation: hs-route-pulse 2.4s var(--ease-out) 1.2s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes hs-route-pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

/* Labels: HTML over the map, so they use the site's type. Above the point by
 * default; the town on the far side flips to the left or right of its dot. */
.hs-route__label {
	position: absolute;
	z-index: 1;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: var(--sp-2) var(--sp-3);
	border-radius: var(--r-lg);
	background: var(--bg-1);
	box-shadow: 0 6px 18px rgba(16, 42, 46, .12);
	font-family: var(--font-display);
	font-size: var(--fs-15);
	font-weight: var(--fw-bold);
	line-height: 1.2;
	color: var(--fg-1);
	white-space: nowrap;
	transform: translate(-50%, calc(-100% - 26px));
	pointer-events: none;
}
/* Flipped under its point when there is no room above (local.js). */
.hs-route__label.is-below { transform: translate(-50%, 26px); }
.hs-route__label-kicker { font-family: var(--font-sans); font-size: var(--fs-12); font-weight: var(--fw-regular); color: var(--fg-2); }
.hs-route__label--shop { background: var(--cta-2); color: var(--fg-on-brand); }
.hs-route__label--shop .hs-route__label-kicker { color: var(--fg-on-brand); opacity: .9; }
/* The travel time halfway along the route. */
.hs-route__chip { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 12px; border: 2px solid var(--hs-teal-800); border-radius: var(--r-pill); background: var(--bg-1); color: var(--hs-teal-800); font-family: var(--font-display); font-size: var(--fs-14); font-weight: var(--fw-bold); line-height: 1; white-space: nowrap; box-shadow: 0 6px 16px rgba(16, 42, 46, .18); transform: translate(-50%, -50%); pointer-events: none; }
.hs-route__chip[hidden] { display: none; }
.hs-route__chip .hs-icon { width: 16px; height: 16px; }
.hs-route__line[data-mode="bike"] .hs-route__stroke { stroke-dasharray: 0.012 0.012; }
.hs-route.is-drawn .hs-route__line[data-mode="bike"] .hs-route__stroke[pathLength] { animation: none; stroke-dashoffset: 0; }
.hs-route__credit { position: absolute; right: var(--sp-3); bottom: var(--sp-2); margin: 0; font-size: 11px; color: var(--fg-2); }

/* Hub: small town labels beside their dots. */
.hs-route__label--town { padding: 3px var(--sp-2); font-size: var(--fs-12); font-weight: var(--fw-semibold); box-shadow: 0 2px 8px rgba(16, 42, 46, .1); transform: translate(14px, -50%); }
.hs-route__label--town.is-left { transform: translate(calc(-100% - 14px), -50%); }
.hs-route--hub .hs-route__line { transition: opacity 200ms var(--ease-out); }
.hs-route--hub .hs-route__stroke { stroke-width: 4; }
.hs-route--hub .hs-route__casing { stroke-width: 9; }
.hs-route--hub.is-focus .hs-route__line:not(.is-hot),
.hs-route--hub.is-focus .hs-route__you:not(.is-hot),
.hs-route--hub.is-focus .hs-route__label--town:not(.is-hot) { opacity: .25; }
.hs-route--hub .hs-route__line.is-hot .hs-route__stroke { stroke: var(--cta-2); }
.hs-route--hub .hs-route__label--town { transition: opacity 200ms var(--ease-out); }

/* ---- Beside the map ---- */
.hs-route__title { margin: 0 0 var(--sp-5); font-family: var(--font-display); font-size: var(--fs-32); font-weight: var(--fw-bold); line-height: 1.15; color: var(--heading-color); text-wrap: balance; }
.hs-route__lead { margin: calc(var(--sp-2) * -1) 0 var(--sp-6); color: var(--fg-2); }

.hs-route__modes { display: inline-flex; gap: 4px; margin-bottom: var(--sp-5); padding: 4px; border-radius: var(--r-lg); background: var(--bg-2); }
.hs-route__mode { display: inline-flex; align-items: center; gap: var(--sp-2); padding: var(--sp-2) var(--sp-4); border: 0; border-radius: 6px; background: transparent; font-family: var(--font-display); font-size: var(--fs-15); font-weight: var(--fw-semibold); color: var(--fg-2); cursor: pointer; transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out); }
.hs-route__mode .hs-icon { width: 20px; height: 20px; }
.hs-route__mode:hover { color: var(--fg-1); }
.hs-route__mode[aria-checked="true"] { background: var(--bg-1); color: var(--hs-teal-800); box-shadow: 0 1px 3px rgba(16, 42, 46, .12); }

.hs-route__time { display: flex; align-items: baseline; gap: var(--sp-3); margin: 0 0 var(--sp-6); }
.hs-route__time[hidden] { display: none; }
.hs-route__min { font-family: var(--font-display); font-size: 4.5rem; font-weight: var(--fw-bold); line-height: .9; letter-spacing: -0.03em; color: var(--hs-teal-800); font-variant-numeric: tabular-nums; }
.hs-route__unit { display: flex; flex-direction: column; font-family: var(--font-display); font-size: var(--fs-20); font-weight: var(--fw-bold); line-height: 1.2; color: var(--fg-1); }
.hs-route__unit small { font-family: var(--font-sans); font-size: var(--fs-15); font-weight: var(--fw-regular); color: var(--fg-2); }

.hs-route__facts { display: grid; gap: var(--sp-3); margin: 0 0 var(--sp-6); padding: 0; list-style: none; }
.hs-route__facts li { display: flex; align-items: flex-start; gap: var(--sp-3); font-size: var(--fs-15); line-height: 1.45; color: var(--fg-1); }
.hs-route__facts .hs-icon { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; color: var(--hs-teal); }
.hs-route__go { gap: var(--sp-2); }
.hs-route__go .hs-icon { width: 16px; height: 16px; }

/* Hub: the towns, nearest first, two columns. */
.hs-route__towns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2) var(--sp-3); margin: 0; padding: 0; list-style: none; }
.hs-route__town { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); padding: var(--sp-3) var(--sp-4); border: 1px solid var(--border-1); border-radius: var(--r-lg); background: var(--bg-1); color: var(--fg-1); font-family: var(--font-display); font-weight: var(--fw-semibold); text-decoration: none; transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out); }
.hs-route__town:hover,
.hs-route__town:focus-visible { border-color: var(--hs-teal); background: var(--hs-teal-50); }
.hs-route__town-time { flex: 0 0 auto; padding: 2px var(--sp-2); border-radius: var(--r-pill); background: var(--hs-mint); color: var(--hs-teal-800); font-size: var(--fs-14); font-variant-numeric: tabular-nums; }

/* ---- The text below, on these pages: a wider column and an easier read ---- */
.hs-doc--local .hs-lp-text h2 { margin-top: var(--sp-10); }
.hs-doc--local .hs-lp-text h2:first-child { margin-top: 0; }

@media (max-width: 960px) {
	.hs-route { padding-block: var(--sp-12); }
	.hs-route__inner { grid-template-columns: minmax(0, 1fr); gap: var(--sp-8); }
	.hs-route__min { font-size: 3.5rem; }
}
@media (max-width: 560px) {
	.hs-route__title { font-size: var(--fs-24); }
	.hs-route__label { font-size: var(--fs-14); transform: translate(-50%, calc(-100% - 20px)); }
	/* Ten towns do not fit as labels on a phone map: the dots stay, the name
	 * shows for the town you tap in the list below (its time is there too). */
	.hs-route__label--town { display: none; font-size: 11px; }
	.hs-route__label--town.is-hot { display: flex; }
	.hs-route__towns { grid-template-columns: minmax(0, 1fr); }
	.hs-route__go { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.hs-route.is-drawn .hs-route__line .hs-route__stroke[pathLength] { animation: none; stroke-dashoffset: 0; }
	.hs-route.is-drawn .hs-route__shop-halo { animation: none; }
}

/* ---- The long text with the shop beside it ----
 * The text keeps its 673px measure on the left; the right side, empty before,
 * holds the shop: photo, address, the week's hours (today marked), route and
 * phone. Sticky while the text scrolls past. On a phone the card follows the
 * text. */
.hs-doc--local .hs-lp-text {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
	column-gap: var(--sp-16);
	align-items: start;
}
.hs-doc--local .hs-lp-text > :not(.hs-local-aside) { grid-column: 1; }
.hs-local-aside {
	grid-column: 2;
	grid-row: 1 / span 60;
	position: sticky;
	top: calc(var(--hs-topbar-h, 36px) + var(--hs-header-h) + var(--sp-6));
	max-width: none;
	overflow: hidden;
	border: 1px solid var(--border-1);
	border-radius: var(--r-xl);
	background: var(--bg-1);
	box-shadow: 0 10px 30px rgba(16, 42, 46, .07);
}
.hs-local-aside__photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.hs-local-aside__body { padding: var(--sp-5) var(--sp-6) var(--sp-6); }
.hs-doc--landing .hs-local-aside p { margin: 0; }
.hs-local-aside__title { font-family: var(--font-display); font-size: var(--fs-20); font-weight: var(--fw-bold); color: var(--fg-1); }
.hs-doc--landing .hs-local-aside .hs-local-aside__address { margin-top: 2px; font-size: var(--fs-15); color: var(--fg-2); }
.hs-local-aside__hours { display: grid; gap: 2px; margin: var(--sp-4) 0 var(--sp-5); font-size: var(--fs-14); }
.hs-local-aside__hours > div { display: flex; justify-content: space-between; gap: var(--sp-3); padding: 4px var(--sp-2); border-radius: 6px; }
.hs-local-aside__hours dt { color: var(--fg-2); }
.hs-local-aside__hours dd { margin: 0; color: var(--fg-1); font-variant-numeric: tabular-nums; }
.hs-local-aside__hours .is-today { background: var(--hs-mint); font-weight: var(--fw-bold); }
.hs-local-aside__hours .is-today dt { color: var(--fg-1); }
.hs-local-aside__actions { display: grid; gap: var(--sp-2); }
.hs-local-aside__actions .hs-btn { justify-content: center; gap: var(--sp-2); }
.hs-local-aside__actions .hs-btn--ghost { border: 1px solid var(--border-2); background: var(--bg-1); color: var(--fg-1); }
.hs-local-aside__actions .hs-btn--ghost:hover { border-color: var(--hs-teal); color: var(--hs-teal-800); }
.hs-local-aside__actions .hs-icon { width: 18px; height: 18px; }

@media (max-width: 960px) {
	.hs-doc--local .hs-lp-text { grid-template-columns: minmax(0, 1fr); }
	.hs-local-aside { grid-column: 1; grid-row: auto; order: 99; position: static; margin-top: var(--sp-8); max-width: 480px; }
}

/* ---------- The real map (Leaflet + OpenStreetMap, local.js) ---------- */
.hs-route__map.has-leaflet > :not(.hs-route__leaflet) { display: none; }
.hs-route__leaflet { position: relative; z-index: 0; isolation: isolate; width: 100%; aspect-ratio: 640 / 440; background: var(--hs-mint); }
.hs-route--hub .hs-route__leaflet { aspect-ratio: 640 / 480; }
.hs-route__leaflet .leaflet-tile-pane { filter: saturate(.55) contrast(.95); }
.hs-route__leaflet .leaflet-control-attribution { font-size: 11px; }
.hs-route__leaflet .leaflet-control-zoom a { color: var(--hs-teal-800); }

.hs-route__leaflet .hs-map-casing { stroke: var(--bg-1); stroke-linecap: round; stroke-linejoin: round; }
.hs-route__leaflet .hs-map-line { stroke: var(--hs-teal-800); stroke-linecap: round; stroke-linejoin: round; }
.hs-route__leaflet .hs-map-line.is-bike { stroke: var(--hs-teal); }
/* The dotted line marching from your town to the shop, on a loop. */
.hs-route__leaflet .hs-map-flow { stroke: var(--bg-1); stroke-dasharray: 0.1 12; stroke-linecap: round; animation: hs-map-flow 0.9s linear infinite; }
@keyframes hs-map-flow { to { stroke-dashoffset: -12.1; } }

/* Hub: all routes quiet, the picked one orange with its dots marching. */
.hs-route__leaflet .hs-map-line.is-faint { stroke-opacity: .6; }
.hs-route__leaflet .hs-map-flow.is-faint { display: none; }
.hs-route__leaflet .hs-map-flow.is-faint.is-hot { display: inline; }
.hs-route__leaflet .hs-map-line.is-hot { stroke: var(--cta-2); stroke-opacity: 1; }
.hs-route__leaflet .is-dim { opacity: .2; }

/* Pins: a dot on the point, the label above it. */
.hs-pin { width: 0 !important; height: 0 !important; background: none; border: 0; }
.hs-pin__dot { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border: 3px solid var(--bg-1); border-radius: var(--r-pill); background: var(--hs-teal-800); box-shadow: 0 0 0 6px color-mix(in srgb, var(--hs-teal-800) 20%, transparent); }
.hs-pin--shop .hs-pin__dot { left: -12px; top: -12px; width: 24px; height: 24px; border-width: 4px; background: var(--cta-2); box-shadow: 0 0 0 8px color-mix(in srgb, var(--cta-2) 30%, transparent); animation: hs-pin-pulse 2s var(--ease-out) infinite; }
@keyframes hs-pin-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--cta-2) 45%, transparent); } 100% { box-shadow: 0 0 0 16px transparent; } }
.hs-pin__label { position: absolute; bottom: 18px; left: 0; display: flex; flex-direction: column; padding: 6px 10px; border-radius: var(--r-lg); background: var(--bg-1); box-shadow: 0 6px 18px rgba(16, 42, 46, .16); font-family: var(--font-display); font-size: var(--fs-14); font-weight: var(--fw-bold); line-height: 1.2; color: var(--fg-1); white-space: nowrap; transform: translateX(-50%); }
.hs-pin__label small { font-family: var(--font-sans); font-size: 11px; font-weight: var(--fw-regular); color: var(--fg-2); }
.hs-pin--shop .hs-pin__label { bottom: 22px; background: var(--cta-2); color: var(--fg-on-brand); }
.hs-pin--shop .hs-pin__label small { color: var(--fg-on-brand); }
.hs-pin--town .hs-pin__dot { left: -7px; top: -7px; width: 14px; height: 14px; border-width: 2px; box-shadow: none; cursor: pointer; }
.hs-pin--town .hs-pin__label { bottom: auto; top: -11px; left: 12px; padding: 2px 6px; font-size: 11px; font-weight: var(--fw-semibold); transform: none; cursor: pointer; }
.hs-pin--chip .hs-pin__chip { position: absolute; left: 0; top: 0; padding: 5px 10px; border: 2px solid var(--hs-teal-800); border-radius: var(--r-pill); background: var(--bg-1); font-family: var(--font-display); font-size: var(--fs-14); font-weight: var(--fw-bold); line-height: 1; color: var(--hs-teal-800); white-space: nowrap; transform: translate(-50%, -50%); box-shadow: 0 6px 16px rgba(16, 42, 46, .18); }

/* The shop label on the static drawing: white type on orange (client). */
.hs-doc--landing .hs-route p.hs-route__label--shop,
.hs-doc--landing .hs-route p.hs-route__label--shop .hs-route__label-kicker { color: var(--fg-on-brand); }

/* ---------- Hub list: tap a town ---------- */
.hs-doc--landing .entry-content .hs-route__towns { margin: 0; padding: 0; list-style: none; }
.hs-route__town { width: 100%; font: inherit; font-family: var(--font-display); font-weight: var(--fw-semibold); text-align: left; cursor: pointer; }
.hs-route__town[aria-pressed="true"] { border-color: var(--cta-2); background: color-mix(in srgb, var(--cta-2) 10%, var(--bg-1)); }
.hs-route__town[aria-pressed="true"] .hs-route__town-time { background: var(--cta-2); color: var(--fg-on-brand); }
.hs-route__pick { margin-top: var(--sp-5); padding: var(--sp-5); border-radius: var(--r-xl); background: var(--hs-mint); }
.hs-route__pick[hidden] { display: none; }
.hs-doc--landing .hs-route .hs-route__pick-line { margin: 0 0 var(--sp-4); font-size: var(--fs-16); color: var(--fg-1); }
.hs-route__pick-line strong { font-family: var(--font-display); }
.hs-route__pick-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.hs-route__pick-actions .hs-btn { gap: var(--sp-2); }
.hs-route__pick-actions .hs-icon { width: 16px; height: 16px; }
.hs-route__pick-actions .hs-btn--ghost { border: 1px solid var(--border-2); background: var(--bg-1); color: var(--fg-1); }

@media (max-width: 560px) {
	.hs-route__leaflet,
	.hs-route--hub .hs-route__leaflet { aspect-ratio: 1 / 1; }
	.hs-route__pick-actions .hs-btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.hs-route__leaflet .hs-map-flow { animation: none; }
	.hs-pin--shop .hs-pin__dot { animation: none; }
}

/* ==========================================================================
 * The rest of the local-shop pages, redesigned (23-10-2026).
 *
 * Same words as before (post_content is untouched); only the arrangement
 * changes, and only on pages with a route map (.hs-doc--local), so
 * /verzekering/, /wertgarantie/ and the other landing pages keep theirs.
 * The page now reads: hero with three facts → the route → why us, as cards →
 * the text with the shop beside it → a closing band that sends you on your way.
 * ========================================================================== */

/* ---- Hero: text left, the shop photo right, the facts above the buttons ---- */
.hs-doc--local .hs-lp-hero { --hs-lp-pad: 72px; }
.hs-doc--local .hs-lp-hero .hs-lp-eyebrow { margin-bottom: var(--sp-5); padding: var(--sp-2) var(--sp-4); background: color-mix(in srgb, var(--bg-1) 14%, transparent); font-size: var(--fs-13, .8125rem); }
.hs-doc--landing.hs-doc--local .hs-lp-hero h1 { margin-bottom: var(--sp-4); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
.hs-doc--landing.hs-doc--local .hs-lp-hero p { max-width: 58ch; margin-bottom: var(--sp-4); }
.hs-local-facts { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-5) 0 0; padding: 0; list-style: none; }
.hs-local-facts li { display: inline-flex; align-items: center; gap: var(--sp-2); padding: var(--sp-2) var(--sp-3); border-radius: var(--r-pill); background: color-mix(in srgb, var(--bg-1) 14%, transparent); font-size: var(--fs-14); font-weight: var(--fw-semibold); line-height: 1.2; color: var(--fg-on-brand); }
.hs-local-facts .hs-icon { flex: 0 0 auto; width: 18px; height: 18px; }
.hs-doc--local .hs-lp-hero .hs-doc__actions { padding-top: var(--sp-6); }

@media (min-width: 1025px) {
	.hs-doc--local .hs-lp-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--sp-16); }
	.hs-doc--local .hs-lp-hero__media { order: 2; }
	.hs-doc--local .hs-lp-hero__media img { max-width: none; aspect-ratio: 4 / 3; border-radius: var(--r-xl); box-shadow: 0 24px 48px rgba(0, 30, 35, .28); }
}
@media (min-width: 768px) and (max-width: 1024px) {
	.hs-doc--local .hs-lp-hero__media { display: block; order: 2; }
	.hs-doc--local .hs-lp-hero__media img { max-width: none; aspect-ratio: 16 / 9; }
}

/* ---- Why us: four white cards on the mint, left-aligned, icon on top ---- */
.hs-doc--local .hs-lp-band { --hs-lp-pad: 88px; }
.hs-doc--landing.hs-doc--local .hs-lp-band > h2 { margin-bottom: var(--sp-10); font-size: clamp(1.5rem, 2.6vw, 2.25rem); color: var(--heading-color); }
.hs-doc--local .hs-lp-features { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-5); }
.hs-doc--local .hs-lp-features > * { align-items: flex-start; padding: var(--sp-6); border-radius: var(--r-xl); background: var(--bg-1); text-align: left; box-shadow: 0 8px 24px rgba(16, 42, 46, .06); transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.hs-doc--local .hs-lp-features > *:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(16, 42, 46, .1); }
.hs-doc--local .hs-lp-features > *::before { width: 28px; height: 28px; margin-bottom: var(--sp-4); padding: 10px; box-sizing: content-box; border-radius: var(--r-pill); background-color: var(--hs-teal-800); -webkit-mask-size: 28px; mask-size: 28px; -webkit-mask-origin: content-box; mask-origin: content-box; }
.hs-doc--landing.hs-doc--local .hs-lp-features h3 { margin-bottom: var(--sp-2); font-size: var(--fs-20); color: var(--fg-1); }
.hs-doc--landing.hs-doc--local .hs-lp-features p { color: var(--fg-2); font-size: var(--fs-15); line-height: 1.55; }
@media (max-width: 1024px) {
	.hs-doc--local .hs-lp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.hs-doc--local .hs-lp-features { grid-template-columns: minmax(0, 1fr); }
	.hs-doc--local .hs-lp-band { --hs-lp-pad: 56px; }
}

/* ---- The long text: calmer headings, checked lists ---- */
.hs-doc--local .hs-lp-text { --hs-lp-pad: 88px; }
.hs-doc--landing.hs-doc--local .hs-lp-text h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; color: var(--heading-color); }
.hs-doc--landing.hs-doc--local .hs-lp-text h3 { margin-bottom: var(--sp-3); font-size: var(--fs-20); line-height: 1.3; color: var(--fg-1); }
.hs-doc--landing.hs-doc--local .hs-lp-text * + h3 { margin-top: var(--sp-8); }
.hs-doc--landing.hs-doc--local .hs-lp-text ul { padding-left: 0; list-style: none; }
.hs-doc--local .hs-lp-text ul li { position: relative; margin-bottom: var(--sp-2); padding-left: var(--sp-8); }
.hs-doc--local .hs-lp-text ul li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; background: var(--hs-teal); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (min-width: 1025px) {
	.hs-doc--local .hs-lp-text { padding-top: var(--hs-lp-pad); padding-left: max(var(--hs-gutter), (100% - var(--hs-wide-width)) / 2 + var(--hs-gutter)); }
}

/* ---- Closing band: teal, the line left, the buttons right, the round arrow
 * (the trade-in motif) behind it ---- */
.hs-doc--local .hs-lp-cta {
	--hs-lp-pad: 80px;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) auto;
	column-gap: var(--sp-12);
	align-items: center;
	background: var(--hs-teal-aa);
	color: var(--fg-on-brand);
	text-align: left;
}
.hs-doc--local .hs-lp-cta::before {
	content: "";
	position: absolute;
	z-index: -1;
	right: 4%;
	top: 50%;
	width: 340px;
	aspect-ratio: 640 / 560;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 560' fill='none' stroke='white' stroke-width='34' stroke-linecap='round' stroke-linejoin='round' opacity='.14'%3E%3Cpath d='M175 545A270 270 0 0 1 60 320' stroke-dasharray='34 58'/%3E%3Cpath d='M60 320A270 270 0 0 1 600 320'/%3E%3Cpath d='M532 252L600 320L668 252'/%3E%3C/svg%3E") no-repeat center / contain;
	transform: translateY(-50%);
	pointer-events: none;
}
.hs-doc--local .hs-lp-cta > :not(.hs-doc__actions) { grid-column: 1; }
.hs-doc--local .hs-lp-cta > .hs-doc__actions { grid-column: 2; grid-row: 1 / span 2; justify-content: flex-end; padding-top: 0; }
.hs-doc--landing.hs-doc--local .hs-lp-cta > h2 { margin-bottom: var(--sp-3); font-size: clamp(1.5rem, 2.6vw, 2.25rem); color: var(--fg-on-brand); }
.hs-doc--landing.hs-doc--local .hs-lp-cta > p { max-width: 60ch; margin: 0; color: var(--fg-on-brand); opacity: .92; }
.hs-doc--landing.hs-doc--local .hs-lp-cta .hs-doc__actions .hs-btn--ghost { background: var(--bg-1); color: var(--hs-teal-800); }
.hs-doc--landing.hs-doc--local .hs-lp-cta .hs-doc__actions .hs-btn--ghost:hover { background: var(--hs-mint); }
.hs-doc--local .hs-lp-cta .hs-btn:focus-visible { outline-color: var(--focus-ring-on-dark); }
@media (max-width: 900px) {
	.hs-doc--local .hs-lp-cta { grid-template-columns: minmax(0, 1fr); }
	.hs-doc--local .hs-lp-cta > .hs-doc__actions { grid-column: 1; grid-row: auto; justify-content: flex-start; padding-top: var(--sp-6); }
	.hs-doc--local .hs-lp-cta::before { width: 220px; top: auto; bottom: -40px; transform: none; }
}

/* No white strip between the closing band and the footer. */
.site-main:has(.hs-doc--local) ~ .hs-footer { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
	.hs-doc--local .hs-lp-features > * { transition: none; }
	.hs-doc--local .hs-lp-features > *:hover { transform: none; }
}

/* ---- The "in de buurt" page opens with a text + photo split instead of a
 * hero: same voice as the town pages — a big title, the towns as pills (the
 * linked ones stand out), checked lists, the photo travelling along. ---- */
.hs-doc--local .hs-lp-split { padding-top: 72px; align-items: start; }
.hs-doc--landing.hs-doc--local .hs-lp-split h1 { margin-bottom: var(--sp-5); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.05; letter-spacing: -0.02em; color: var(--heading-color); }
.hs-doc--landing.hs-doc--local .hs-lp-split h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; color: var(--heading-color); }
.hs-doc--landing.hs-doc--local .hs-lp-split__text > ul:first-of-type { display: flex; flex-wrap: wrap; gap: var(--sp-2); padding: 0; list-style: none; }
.hs-doc--local .hs-lp-split__text > ul:first-of-type li { margin: 0; padding: 6px 14px; border-radius: var(--r-pill); background: var(--hs-mint); font-size: var(--fs-14); font-weight: var(--fw-semibold); color: var(--hs-teal-800); }
.hs-doc--local .hs-lp-split__text > ul:first-of-type li:has(a) { background: var(--hs-teal-800); }
.hs-doc--local .hs-lp-split__text > ul:first-of-type a { color: var(--fg-on-brand); text-decoration: none; }
.hs-doc--local .hs-lp-split__text > ul:first-of-type a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hs-doc--landing.hs-doc--local .hs-lp-split__text > ul:not(:first-of-type) { padding-left: 0; list-style: none; }
.hs-doc--local .hs-lp-split__text > ul:not(:first-of-type) li { position: relative; margin-bottom: var(--sp-2); padding-left: var(--sp-8); }
.hs-doc--local .hs-lp-split__text > ul:not(:first-of-type) li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; background: var(--hs-teal); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (min-width: 1025px) {
	.hs-doc--local .hs-lp-split__media { position: sticky; top: calc(var(--hs-topbar-h, 36px) + var(--hs-header-h) + var(--sp-6)); }
	.hs-doc--local .hs-lp-split__media img { box-shadow: 0 24px 48px rgba(16, 42, 46, .18); }
}

/* The picked town's details sit above the list, so "Plan je route" is right
 * where you look after a tap (not under ten more rows). */
.hs-route--hub .hs-route__info { display: flex; flex-direction: column; }
.hs-route--hub .hs-route__pick { order: 1; margin: 0 0 var(--sp-5); }
.hs-route--hub .hs-route__towns { order: 2; }
/* Phone: the details of the picked town go straight under the map
 * ("Plan je route" under the route it plans), then the title and the list. */
@media (max-width: 960px) {
	.hs-route--hub .hs-route__inner { gap: var(--sp-5); }
	.hs-route--hub .hs-route__info { display: contents; }
	.hs-route--hub .hs-route__map { order: 0; }
	.hs-route--hub .hs-route__pick { order: 1; margin: 0; }
	.hs-route--hub .hs-route__title { order: 2; margin-top: var(--sp-3); }
	.hs-route--hub .hs-route__lead { order: 3; }
	.hs-route--hub .hs-route__towns { order: 4; }
}

/* The picked town's card: on a wide screen under the list of towns, on a
 * phone fixed to the bottom of the map as one block (client, 23-10-2026). */
.hs-route--hub .hs-route__info { display: contents; }
.hs-route--hub .hs-route__inner {
	grid-template-areas: "map title" "map lead" "map towns" "map pick";
	grid-template-rows: auto auto auto 1fr;
	row-gap: 0;
	align-items: start;
}
.hs-route--hub .hs-route__map { grid-area: map; align-self: stretch; }
.hs-route--hub .hs-route__title { grid-area: title; }
.hs-route--hub .hs-route__lead { grid-area: lead; }
.hs-route--hub .hs-route__towns { grid-area: towns; }
.hs-route--hub .hs-route__pick { grid-area: pick; align-self: start; margin: var(--sp-4) 0 0; border-radius: var(--r-xl); background: var(--hs-teal-800); }
.hs-doc--landing .hs-route .hs-route__pick-line,
.hs-route__pick-line strong { color: var(--fg-on-brand); }
.hs-route--hub .hs-route__pick .hs-btn--primary,
.hs-route--hub .hs-route__pick .hs-btn--primary:hover { background: var(--cta-2); color: var(--fg-on-brand); } /* white type (client, 23-10-2026) */
.hs-route--hub .hs-route__pick .hs-btn--primary:hover { background: var(--cta-2-hover); }
@media (max-width: 960px) {
	.hs-route--hub .hs-route__inner { grid-template-areas: "map" "pick" "title" "lead" "towns"; grid-template-rows: none; row-gap: 0; }
	/* Phone: the card is fixed to the bottom of the map, one block. */
	.hs-route--hub .hs-route__pick { margin: 0; border-radius: 0 0 var(--r-xl) var(--r-xl); }
	.hs-route--hub:has(.hs-route__pick:not([hidden])) .hs-route__map { border-radius: var(--r-xl) var(--r-xl) 0 0; }
	.hs-route--hub .hs-route__title { margin-top: var(--sp-8); }
}
