/*
Theme Name: Curegie Theme
Theme URI: https://managementvacatureszorg.nl
Author: Curegie
Description: Maatwerkthema voor Curegie (managementvacatures in de zorg). Vacatures als eigen berichttype met filters, pagina's als bewerkbare blokpatronen, formulieren en Zelfstandigenwet-check zonder plugin.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
License: Proprietary
Text Domain: curegie
*/

/* ---------- tokens (Customizer overrides these via inline CSS) ---------- */
:root {
	--brand: #00184C;
	--brand-dark: #0C3373;
	--accent: #9DB53A;
	--accent-dark: #8AA12C;
	--ink: #00184C;
	--text: #1C3161;
	--tint: #F2F3F6;
	--sky: #DDE3EF;
	--line: #CCD1DB;
	--bg-soft: #F2F3F6;
	--lime-text: #5C7300;
	--lime-soft: #E9EFD2;
	--font-serif: 'Raleway', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--font-sans: 'Raleway', 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(--brand-dark); 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-topbar { background: var(--ink); color: #D5DCEB; font-size: 14px; }
.site-topbar__inner { max-width: var(--wrap); margin: 0 auto; padding: 8px var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.site-topbar a { text-decoration: underline; }
.site-topbar a[href^="tel"] { text-decoration: none; font-weight: 700; }
.site-topbar a:hover { color: #fff; }
.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 { display: flex; align-items: center; gap: 12px; color: #1E2547; }
.site-logo img { display: block; max-height: 52px; width: auto; }
.site-logo__mark { flex: none; width: 16px; height: 16px; border-radius: 3px; background: var(--accent); transform: rotate(45deg); }
.site-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.site-logo__name { font-size: 28px; font-weight: 800; font-style: italic; color: #1E2547; }
.site-logo__tag { font-size: 13px; font-weight: 500; color: var(--text); }
.site-nav .menu, .site-footer__nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.site-nav .menu { font-weight: 600; }
.site-nav a:hover { color: var(--brand-dark); }
.site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { color: var(--brand-dark); border-bottom: 3px solid var(--accent); padding-bottom: 4px; }
.site-nav .menu-cta > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--accent); color: var(--ink); font-weight: 700; border-bottom: 0; transition: background .2s, transform .2s, box-shadow .2s; }
.site-nav .menu-cta > a:hover { background: var(--accent-dark); color: var(--ink); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 24, 76, .2); }
.site-nav .menu-cta.current-menu-item > a { background: var(--ink); color: #fff; border-bottom: 0; padding-bottom: 0; }
.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: #D5DCEB; 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: 800; 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: 800; 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: 800; 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: 800; font-size: 22px !important; line-height: 1.35 !important; color: var(--ink) !important; }
.vdhp-num { font-family: var(--font-serif); font-weight: 800; font-size: 44px; line-height: 1; color: var(--lime-text); margin: 0 0 14px !important; }
.vdhp-dark .vdhp-num { color: var(--accent); }
.vdhp-more, .vdhp-more a { font-weight: 700; color: var(--brand-dark); }
.vdhp-more { margin: 8px 0 0; }
.vdhp-chip { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--lime-soft); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.3; margin: 0 6px 0 0; }
.vdhp-chip.is-outline { background: var(--sky); color: var(--ink); }
.vdhp-card .vdhp-chip:not(.is-outline), .vdhp-pillar .vdhp-chip { margin: 0 6px 0 0; color: var(--ink); 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(0, 24, 76, .06); }
.vdhp-photo { position: relative; display: flex; align-items: flex-end; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--sky); box-shadow: 0 24px 50px rgba(0, 24, 76, .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(0, 24, 76, .86); 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(0, 24, 76, .2); }
.btn--primary, .vdhp-primary .wp-block-button__link { background: var(--accent); color: var(--ink); }
.btn--primary:hover, .vdhp-primary .wp-block-button__link:hover { background: var(--accent-dark); color: var(--ink); }
.btn--dark, .vdhp-dark-btn .wp-block-button__link { background: var(--ink); color: #fff; }
.btn--dark:hover, .vdhp-dark-btn .wp-block-button__link:hover { background: var(--brand-dark); color: #fff; }
.btn--outline { border: 2px solid var(--brand); background: transparent; color: var(--brand); }
.btn--outline:hover { background: var(--tint); }
.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(--brand-dark); 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: 800; 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(0, 24, 76, .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: 800; 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 #8E9AB5; 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: #B42318; }
.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: var(--lime-soft); border: 1px solid #D3DDAE; color: #2F3F00; }
.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: 0; border-radius: 16px; background: var(--sky); color: var(--text); 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; }

/* ---------- Curegie additions ---------- */
.vdhp-photo--empty { background: var(--sky) radial-gradient(circle at 18% 112%, #C9D78F 0, #C9D78F 28%, transparent 28.5%); }
.vdhp-accentbar { width: 56px; height: 5px; border-radius: 3px; background: var(--accent); margin: 0 0 22px; }
.vdhp-li { position: relative; margin: 0 0 12px; padding-left: 32px; line-height: 1.55; color: var(--text); }
.vdhp-li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C7300' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.vdhp-li strong { color: var(--ink); }
.vdhp-band--lime { background: var(--lime-soft); border-top: 1px solid #D3DDAE; border-bottom: 1px solid #D3DDAE; }
.vdhp-band--tint .vdhp-card, .vdhp-band--lime .vdhp-card { background: #fff; }
.vdhp-card--lime { background: var(--lime-soft) !important; border-color: #D3DDAE; }
.vdhp-grid-2 { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); align-items: start; }
.vdhp-card h3 { font-size: 21px; }
.vdhp-kicker { margin: 0 0 10px !important; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.vdhp-fact { margin: 0 0 10px !important; font-size: 44px; font-weight: 800; line-height: 1; color: var(--lime-text); }
.vdhp-fact + h3 { font-size: 20px; margin: 0 0 8px; }
.vdhp-step { display: flex; gap: 18px; align-items: flex-start; margin: 0; padding: 20px 0; border-top: 1px solid var(--line); }
.vdhp-step__n { flex: none; width: 40px; height: 40px; margin: 0 !important; border-radius: 50%; background: var(--ink); color: #fff !important; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.vdhp-step--alt .vdhp-step__n { background: var(--accent); color: var(--ink) !important; }
.vdhp-step h3 { font-size: 19px; margin: 0 0 4px; }
.vdhp-step p { margin: 0; line-height: 1.55; color: var(--text); }
.vdhp-steps { border-bottom: 1px solid var(--line); }
.vdhp-grid-steps h3 { font-size: 20px; margin: 0 0 6px; }
.vdhp-quote-card { margin: 0; }
.vdhp-quote-card .vdhp-quote { font-size: 22px; }
.vdhp-quote-by { margin: 16px 0 0; font-size: 15px; color: var(--text); }
.vdhp-quote-by strong { color: var(--ink); }
.vdhp-team { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.vdhp-team__member { text-align: left; }
.vdhp-team__member .vdhp-avatar { width: 128px; height: 128px; margin: 0 0 14px; }
.vdhp-team__member h3 { font-size: 19px; margin: 0 0 2px; }
.vdhp-team__member p { margin: 0; color: var(--text); }
.vdhp-form-card .vdhp-form + .vdhp-form { margin-top: 0; }
.vdhp-drop { padding: 18px; border: 2px dashed #8E9AB5; border-radius: 12px; background: var(--tint); color: var(--text); }
.vdhp-drop input { max-width: 100%; font: 400 15px var(--font-sans); }
.vdhp-drop p { margin: 8px 0 0; font-size: 13px; }
.vdhp-map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; border-radius: 16px; }
.vdhp-map-section .vdhp-map { padding: 0; background: transparent; aspect-ratio: 21 / 8; min-height: 320px; }
.vdhp-more--block { display: block; margin-top: 16px; }
.vdhp-contact-cols { display: grid; gap: 40px; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
.vdhp-stack--tight { gap: 20px; }

/* ---------- 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(--sky); }
.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(--sky); 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(--sky) !important; border-color: var(--brand) !important; }

@media (max-width: 900px) {
	.site-topbar__inner { padding-top: 8px; padding-bottom: 8px; }
	.site-nav .menu-cta > a { margin-top: 12px; }
	.vdhp-contact-cols { grid-template-columns: 1fr; }
	.vdhp-qs .vdhp-card { padding: 22px; }
}

.vdhp-pagehead-wrap { padding-top: 64px; padding-bottom: 36px; }
.vdhp-pagehead-wrap .vdhp-lead { margin-bottom: 0; }
.vdhp-wrap > .vdhp-lead:first-child { margin-top: 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; } }

/* ---------- 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; } }

/* Hero: ruimte onder de knoppen */
.vdhp-hero__text .wp-block-buttons + .vdhp-small { margin: 22px 0 0; max-width: 46ch; line-height: 1.6; }

/* 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; }

/* Check-band: kicker als duidelijke pil */
.vdhp-band--lime .vdhp-chip { background: var(--ink); color: #fff; font-size: 14px; padding: 8px 16px; margin: 0 0 16px; letter-spacing: .02em; }
.vdhp-band--soft .vdhp-quote-card { margin-top: 32px; }

/* 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%; }

.vdhp-band--soft .vdhp-quote-card { margin-top: 0; }

@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; } }


/* === Archieven (artikelen) === */
.vdhp-archive-intro { max-width: 68ch; margin: 0 0 32px; color: var(--text); font-size: 18px; }
.vdhp-archive-item { padding: 28px 0; border-top: 1px solid var(--line); max-width: 760px; }
.vdhp-archive-item:last-of-type { border-bottom: 1px solid var(--line); }
.vdhp-archive-item h2 { font-size: 1.5rem; line-height: 1.25; margin: 0 0 6px; }
.vdhp-archive-item h2 a:hover { color: var(--brand); }
.vdhp-archive-date { margin: 0 0 10px; font-size: 14px; color: var(--text); opacity: .8; }
.vdhp-archive-item p { margin: 0 0 10px; }

/* === Mobiel: vaste reageerknop op vacatures === */
#vdhp-form-apply { scroll-margin-top: 24px; }
.vdhp-sticky-apply { display: none; }
@media (max-width: 900px) {
  .vdhp-sticky-apply { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; margin: 0; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.06); }
  .vdhp-sticky-apply a { flex: 1; display: inline-flex; justify-content: center; align-items: center; min-height: 48px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; }
  .single-vacature .site-footer { padding-bottom: 80px; }
}
