/*
Theme Name: VDH Theme
Theme URI: https://www.vanderhoefenpartners.nl
Author: Van Der Hoef & Partners
Description: Maatwerkthema voor Van Der Hoef & Partners en Curegie. Vacatures als eigen berichttype met filters, pagina's als bewerkbare blokpatronen, formulieren zonder plugin.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
License: Proprietary
Text Domain: vdhp
*/

/* ---------- tokens (Customizer overrides these via inline CSS) ---------- */
:root {
	--brand: #1C4E9D;
	--brand-dark: #143A78;
	--accent: #C8102E;
	--accent-dark: #9E0C24;
	--ink: #0E1E3A;
	--text: #3E4C66;
	--tint: #E8EEF8;
	--line: #D5DDEA;
	--bg-soft: #F6F8FC;
	--font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
	--font-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--wrap: 1360px;
	--gutter: 64px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body.vdhp-soft { background: var(--bg-soft); }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 12px 16px; background: #fff; color: var(--brand); border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- header / footer ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header__inner { max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gutter); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-logo { font-family: var(--font-serif); font-weight: 600; font-size: 22px; color: var(--brand); }
.site-logo img { display: block; max-height: 44px; width: auto; }
.site-nav .menu, .site-footer__nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 30px; }
.site-nav .menu { font-weight: 500; }
.site-nav a:hover { color: var(--brand); }
.site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { color: var(--brand); border-bottom: 3px solid var(--accent); padding-bottom: 4px; }
.nav-toggle { display: none; min-height: 44px; padding: 0 18px; border: 2px solid var(--brand); border-radius: 999px; background: #fff; color: var(--brand); font: 700 15px var(--font-sans); cursor: pointer; }
.site-footer { margin-top: 0; background: var(--ink); color: #C5D0E6; border-top: 5px solid var(--accent); }
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 32px var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; font-size: 14px; }
.site-footer__nav .menu { gap: 24px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

/* ---------- layout blocks (used by the page patterns) ---------- */
.vdhp-wrap { max-width: var(--wrap); margin: 0 auto; padding: 80px var(--gutter); }
.vdhp-hero .vdhp-wrap { padding-top: 80px; padding-bottom: 72px; }
.vdhp-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 56px; align-items: center; }
.vdhp-band--line { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vdhp-band--soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vdhp-band--tint { background: var(--tint); }
.vdhp-dark { background: var(--ink); color: #fff; }
.vdhp-dark h2, .vdhp-dark h3 { color: #fff; }
.vdhp-dark p { color: #C5D0E6; }
.vdhp-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.vdhp-grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.vdhp-grid-steps { gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.vdhp-stack { display: grid; gap: 16px; }
.vdhp-sectionhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.vdhp-wrap .vdhp-sectionhead h2 { margin: 0; }

/* ---------- typography ---------- */
.vdhp-page h2, .vdhp-wrap h2, .vdhp-h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; margin: 0 0 12px; color: var(--ink); }
.vdhp-h1 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(34px, 5vw, 54px); line-height: 1.1; margin: 0 0 20px; color: var(--ink); }
.vdhp-h1::before { content: ""; display: block; width: 56px; height: 5px; border-radius: 3px; background: var(--accent); margin-bottom: 24px; }
.vdhp-h1--sm { font-size: clamp(30px, 4vw, 42px); }
.vdhp-lead { font-size: 18px; line-height: 1.6; color: var(--text); margin: 0 0 32px; max-width: 620px; }
.vdhp-small { font-size: 15px; color: var(--text); margin: 0; }
.vdhp-card h3, .vdhp-pillar h3 { font-family: var(--font-serif); font-weight: 600; font-size: 24px; line-height: 1.25; margin: 14px 0 10px; color: var(--ink); }
.vdhp-card p, .vdhp-pillar p { margin: 0; line-height: 1.6; color: var(--text); }
.vdhp-quote { font-family: var(--font-serif); font-weight: 600; font-size: 22px !important; line-height: 1.35 !important; color: var(--ink) !important; }
.vdhp-num { font-family: var(--font-serif); font-weight: 600; font-size: 48px; line-height: 1; color: var(--accent); margin: 0 0 14px !important; }
.vdhp-dark .vdhp-num { color: #FF8A9B; }
.vdhp-more, .vdhp-more a { font-weight: 700; color: var(--brand); }
.vdhp-more { margin: 8px 0 0; }
.vdhp-chip { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--brand-dark); font-size: 13px; font-weight: 700; line-height: 1.3; margin: 0 6px 0 0; }
.vdhp-chip.is-outline { background: #fff; border: 1px solid var(--accent); color: var(--accent); }
.vdhp-card .vdhp-chip:not(.is-outline), .vdhp-pillar .vdhp-chip { margin: 0 6px 0 0; color: var(--brand-dark); line-height: 1.3; }
.vdhp-dark .vdhp-wrap h2, .vdhp-dark .vdhp-wrap h3 { color: #fff; }

/* ---------- cards, photos, people ---------- */
.vdhp-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: 0 2px 10px rgba(20, 58, 120, .06); }
.vdhp-photo { position: relative; display: flex; align-items: flex-end; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: #C9D5EA; box-shadow: 0 24px 50px rgba(20, 58, 120, .18); }
.vdhp-photo figure { position: absolute; inset: 0; margin: 0; }
.vdhp-photo img { width: 100%; height: 100%; object-fit: cover; }
.vdhp-photo-note { position: relative; width: 100%; margin: 0; padding: 16px 20px; background: rgba(14, 30, 58, .82); color: #fff; font-size: 14px; line-height: 1.5; }
.vdhp-person { display: flex; gap: 20px; align-items: center; }
.vdhp-person__text { min-width: 0; }
.vdhp-person h3.vdhp-person__name { font-family: var(--font-sans); font-size: 19px; margin: 0 0 4px; }
.vdhp-avatar { flex: none; width: 88px; height: 88px; border-radius: 50%; overflow: hidden; background: #C9D5EA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 88'%3E%3Ccircle cx='44' cy='34' r='15' fill='%2393A8CC'/%3E%3Cpath d='M14 88C14 62 28 54 44 54s30 8 30 34z' fill='%2393A8CC'/%3E%3C/svg%3E") center / cover no-repeat; }
.vdhp-avatar:has(img) { background: none; }
.vdhp-avatar figure { margin: 0; width: 100%; height: 100%; }
.vdhp-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- buttons ---------- */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
.btn, .wp-block-button .wp-block-button__link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px; font: 700 16px/1.2 var(--font-sans); text-decoration: none; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; }
.btn:hover, .wp-block-button .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(20, 58, 120, .2); }
.btn--primary, .vdhp-primary .wp-block-button__link { background: var(--accent); color: #fff; }
.btn--primary:hover, .vdhp-primary .wp-block-button__link:hover { background: var(--accent-dark); color: #fff; }
.vdhp-outline .wp-block-button__link { background: transparent; border: 2px solid var(--brand); color: var(--brand); }
.vdhp-outline .wp-block-button__link:hover { background: var(--tint); color: var(--brand); }

/* ---------- vacancies: overview ---------- */
.vdhp-pagehead__inner { max-width: var(--wrap); margin: 0 auto; padding: 64px var(--gutter) 36px; }
.vdhp-pagehead .vdhp-lead { margin: 0; }
.vdhp-archive { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) 80px; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; }
.vdhp-filter { position: sticky; top: 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px 24px 28px; }
.vdhp-filter__title { margin: 22px 0 10px; font: 700 13px var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.vdhp-filter__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.fchip:hover { border-color: var(--brand); }
.fchip.is-active, .rb:checked + .fchip { background: var(--brand); border-color: var(--brand); color: #fff; }
.rb { position: absolute; opacity: 0; pointer-events: none; }
.rb:focus-visible + .fchip { outline: 3px solid var(--accent); outline-offset: 2px; }
.vdhp-filter__help { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.vdhp-filter__helptitle { font-family: var(--font-serif); font-weight: 600; font-size: 20px; margin: 0 0 8px; }
.vdhp-filter__help p { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: var(--text); }
.vdhp-count { margin: 0 0 14px; font-weight: 700; color: var(--text); }
.vdhp-list { display: grid; gap: 16px; }
.vdhp-empty { margin: 0; }
.vdhp-empty a { color: var(--brand); text-decoration: underline; }

.vdhp-vac { display: flex; flex-direction: column; gap: 14px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.vdhp-vac:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 12px 28px rgba(20, 58, 120, .14); }
.vdhp-vac--row { flex-direction: row; align-items: center; justify-content: space-between; padding: 24px 28px; }
.vdhp-vac__main { display: block; min-width: 0; }
.vdhp-vac__chips { display: block; margin: 0 0 12px; }
.vdhp-vac__title { display: block; font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.vdhp-vac:hover .vdhp-vac__title { color: var(--brand); }
.vdhp-vac__meta { display: block; margin-top: 4px; color: var(--text); }
.vdhp-vac__more { font-weight: 700; color: var(--brand); white-space: nowrap; }
.vdhp-vac--card .vdhp-vac__more { margin-top: auto; }
.vdhp-vac--card .vdhp-vac__main { flex: 1; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.nav-links .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 700; }
.nav-links .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- vacancies: single ---------- */
.vdhp-single { max-width: var(--wrap); margin: 0 auto; padding: 40px var(--gutter) 80px; }
.vdhp-crumb { margin: 0 0 24px; font-weight: 700; color: var(--brand); }
.vdhp-single__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.vdhp-facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 0 0 28px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vdhp-facts dt { font: 700 12px var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.vdhp-facts dd { margin: 2px 0 0; font-weight: 700; }
.vdhp-apply { position: sticky; top: 24px; }
.vdhp-apply__title { font-family: var(--font-serif); font-weight: 600; font-size: 24px; margin: 0 0 8px; }
.vdhp-apply p { margin: 0 0 14px; line-height: 1.5; color: var(--text); }
.vdhp-apply__contact strong { color: var(--ink); }

/* ---------- prose ---------- */
.vdhp-prose { max-width: 780px; line-height: 1.7; color: var(--text); }
.vdhp-prose--flush { max-width: none; }
.vdhp-prose h2, .vdhp-prose h3 { margin: 1.6em 0 .5em; }
.vdhp-prose a { color: var(--brand); text-decoration: underline; }
.vdhp-prose ul, .vdhp-prose ol { padding-left: 1.3em; }

/* ---------- forms ---------- */
.vdhp-field { margin: 0 0 18px; }
.vdhp-field label, .vdhp-fieldset legend { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--ink); }
.vdhp-fieldset { margin: 0 0 18px; padding: 0; border: 0; }
.vdhp-fieldset legend { padding: 0; }
.in { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #9AA9C4; border-radius: 10px; background: #fff; font: 400 16px var(--font-sans); color: var(--ink); }
textarea.in { min-height: 120px; resize: vertical; }
.in:focus { outline: 3px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.in[aria-invalid="true"] { border-color: var(--accent); }
.vdhp-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 0 18px; }
.vdhp-consent { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 24px; font-size: 15px; line-height: 1.5; color: var(--text); }
.vdhp-consent input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; }
.vdhp-consent a, .vdhp-small a { color: var(--brand); text-decoration: underline; }
.vdhp-ebrief { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 10px; }
.vdhp-ebrief .vdhp-field { flex: 1 1 240px; margin: 0; }
.vdhp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vdhp-notice { margin: 0 0 18px; padding: 14px 16px; border-radius: 10px; font-weight: 500; }
.vdhp-notice ul { margin: 6px 0 0; padding-left: 1.2em; font-weight: 400; }
.vdhp-notice--ok { background: #E7F5EC; border: 1px solid #86C9A0; color: #14532D; }
.vdhp-notice--err { background: #FDECEE; border: 1px solid #E7A0AA; color: #7A0A1D; }
.vdhp-form-card { padding: 36px; }

/* ---------- map placeholder ---------- */
.vdhp-map-section { padding-bottom: 72px; text-align: center; }
.vdhp-map-section .vdhp-map-title { margin: 0 0 18px; }
.vdhp-map { width: 100%; margin: 0 auto; min-height: 240px; padding: 16px; text-align: center; display: flex; align-items: center; justify-content: center; aspect-ratio: 21 / 8; border: 2px dashed #93A8CC; border-radius: 16px; background: #C9D5EA; color: #2A4673; font-size: 14px; }
.vdhp-map p { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
	:root { --gutter: 20px; }
	.vdhp-wrap, .vdhp-hero .vdhp-wrap { padding-top: 48px; padding-bottom: 48px; }
	.vdhp-split { gap: 32px; }
	.vdhp-archive, .vdhp-single__grid { grid-template-columns: 1fr; }
	.vdhp-filter, .vdhp-apply { position: static; }
	.vdhp-vac--row { flex-direction: column; align-items: flex-start; }
	.vdhp-person { flex-wrap: wrap; }
	.vdhp-form-card { padding: 24px; }
	.nav-toggle { display: inline-flex; align-items: center; }
	.site-nav { display: none; width: 100%; }
	.site-nav.is-open { display: block; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
	.site-nav .current-menu-item > a { padding-bottom: 14px; }
}

.vdhp-split--top { align-items: start; }

/* ---------- Zelfstandigenwet-check ---------- */
.vdhp-qs-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.vdhp-qs-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.vdhp-qs-aside { flex: 1 1 300px; max-width: 400px; }
.vdhp-qs-aside h2 { font-size: 24px !important; }
.vdhp-qs-fact { padding: 18px 0; border-top: 1px solid var(--line); }
.vdhp-qs-fact:first-of-type { border-top: 0; padding-top: 4px; }
.vdhp-qs-fact p { margin: 0; line-height: 1.55; color: var(--text); }
.vdhp-qs-fact .vdhp-kicker { margin-bottom: 6px !important; }
.vdhp-qs .vdhp-card { padding: 32px; }
.vdhp-qs-roles { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.vdhp-qs-role { flex: 1 1 220px; min-height: 64px; padding: 14px 20px; border: 2px solid var(--line); border-radius: 14px; background: #fff; font: 700 16px var(--font-sans); color: var(--ink); cursor: pointer; text-align: left; }
.vdhp-qs-role span { display: block; margin-top: 2px; font-weight: 400; font-size: 14px; color: var(--text); }
.vdhp-qs-role[aria-pressed="true"] { border-color: var(--brand); background: var(--tint); }
.vdhp-qs-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: baseline; margin-bottom: 12px; }
.vdhp-qs-bar { height: 6px; border-radius: 3px; background: var(--tint); overflow: hidden; margin-bottom: 8px; }
.vdhp-qs-bar span { display: block; height: 6px; background: var(--brand); transition: width .2s; }
.vdhp-qs-q { display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); }
.vdhp-qs-q__t { flex: 1 1 380px; min-width: 0; }
.vdhp-qs-q__t p { margin: 0 0 4px; font-weight: 700; line-height: 1.45; }
.vdhp-qs-q__t small { display: block; font-size: 14px; line-height: 1.5; color: var(--text); }
.vdhp-qs-yn { display: flex; gap: 8px; }
.vdhp-qs-yn button { min-width: 76px; min-height: 44px; padding: 0 18px; border: 1px solid #8E9AB5; border-radius: 999px; background: #fff; font: 700 15px var(--font-sans); color: var(--ink); cursor: pointer; }
.vdhp-qs-yn button:hover { border-color: var(--brand); }
.vdhp-qs-yn button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.vdhp-qs-role:focus-visible, .vdhp-qs-yn button:focus-visible { outline: 3px solid var(--brand-dark); outline-offset: 2px; }
.vdhp-qs-wait { text-align: center; color: var(--text); border-style: dashed !important; }
.vdhp-qs-result { border-width: 2px !important; border-style: solid; }
.vdhp-qs-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; color: #fff; font-weight: 700; }
.vdhp-qs-result h2 { font-size: 28px; margin: 6px 0 20px; }
.vdhp-qs-result ul { margin: 0 0 4px; padding-left: 20px; line-height: 1.7; color: var(--text); }
.vdhp-qs-disclaimer { margin: 0; font-size: 13px; line-height: 1.6; color: var(--text); }
.vdhp-qs [hidden] { display: none !important; }
.vdhp-qs-thanks { background: var(--tint) !important; border-color: var(--brand) !important; }
.vdhp-qs [hidden] { display: none !important; }
.vdhp-qs .vdhp-notice { margin-top: 0; }
.vdhp-qs-app { display: flex; flex-direction: column; gap: 24px; margin-bottom: 24px; }
.vdhp-kicker { margin: 0 0 10px !important; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.vdhp-qs-aside .vdhp-kicker { color: var(--accent); }
.site-nav .menu-cta > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; border-bottom: 0; transition: background .2s, transform .2s; }
.site-nav .menu-cta > a:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.site-nav .menu-cta.current-menu-item > a { background: var(--ink); color: #fff; border-bottom: 0; padding-bottom: 0; }
@media (max-width: 900px) { .site-nav .menu .menu-cta > a { display: inline-flex; margin-top: 12px; padding: 0 18px; border-bottom: 0; } }

/* ---------- Missie en visie ---------- */
.vdhp-mv.vdhp-card { padding: 36px 36px 32px; border-top: 4px solid var(--accent); }
.vdhp-mv h2 { margin: 0 0 18px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; }
.vdhp-mv .vdhp-mv__lead { margin: 0 0 16px; font-size: 18px; line-height: 1.55; font-weight: 700; color: var(--ink); }
.vdhp-mv p:not(.vdhp-kicker):not(.vdhp-mv__lead) { margin: 0; line-height: 1.7; color: var(--text); }
.vdhp-band--soft .vdhp-split--top { align-items: stretch; }
@media (max-width: 900px) { .vdhp-mv.vdhp-card { padding: 28px 24px; } }

/* Hero: ruimte onder de knoppen */
.vdhp-hero__text .wp-block-buttons + .vdhp-small { margin: 22px 0 0; max-width: 46ch; line-height: 1.6; }

/* ---------- Zo bereik je ons: adres naast kaart ---------- */
.vdhp-map-section .vdhp-visit.vdhp-card { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 32px; align-items: stretch; padding: 28px; text-align: left; }
.vdhp-visit__info > p { margin: 0 0 10px; }
.vdhp-visit__info > p:last-child { margin-bottom: 0; }
.vdhp-map-section .vdhp-visit .vdhp-map { aspect-ratio: auto; min-height: 320px; padding: 0; border: 0; background: transparent; border-radius: 12px; overflow: hidden; display: block; }
.vdhp-visit .vdhp-map > .wp-block-group { height: 100%; }
.vdhp-visit .vdhp-map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
@media (max-width: 820px) { .vdhp-map-section .vdhp-visit.vdhp-card { grid-template-columns: 1fr; gap: 20px; padding: 22px; } }

/* Adrestegel: tekst in verhouding met de kaart */
.vdhp-visit__info { display: flex; flex-direction: column; justify-content: center; font-size: 18px; line-height: 1.6; }
.vdhp-visit__info > p { margin: 0 0 14px; font-size: 18px; line-height: 1.6; }
.vdhp-visit__info .vdhp-kicker { font-size: 13px; margin-bottom: 12px; }
.vdhp-visit__info .vdhp-more { font-size: 20px; font-weight: 700; }
.vdhp-visit__info .vdhp-small { font-size: 16px; }
.vdhp-visit__info > p:last-child { margin-bottom: 0; }
.vdhp-map-section .vdhp-visit.vdhp-card { padding: 36px; gap: 40px; }
.vdhp-map-section .vdhp-visit .vdhp-map { min-height: 380px; }
.vdhp-visit .vdhp-map iframe { min-height: 380px; }
@media (max-width: 820px) { .vdhp-map-section .vdhp-visit.vdhp-card { padding: 24px; gap: 24px; } .vdhp-map-section .vdhp-visit .vdhp-map, .vdhp-visit .vdhp-map iframe { min-height: 300px; } }

/* Tikdoelen: ruimere links in contactblokken en kaarten */
.vdhp-person a, .vdhp-more a, .vdhp-small a { display: inline-block; padding: 8px 0; }
.vdhp-person__text > p { margin-bottom: 2px; }

/* Contactkaarten: lange e-mailadressen mogen afbreken, zodat de foto naast de tekst blijft */
.vdhp-person__text { min-width: 0; flex: 1 1 0; }
.vdhp-person a { overflow-wrap: anywhere; max-width: 100%; }

@media (min-width: 600px) { .vdhp-card.vdhp-person { flex-wrap: nowrap; } .vdhp-person > .vdhp-avatar { flex: 0 0 auto; } .vdhp-person .vdhp-person__text { flex: 1 1 0; } }
