/*
Theme Name: GPS Koopgids
Theme URI: https://gps-koopgids.nl
Description: Child theme van GeneratePress voor gps-koopgids.nl
Template: generatepress
Version: 1.0.0
Text Domain: gpskoopgids
*/

/* ---------- Lettertype (zelf gehost) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("fonts/open-sans-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 300 800; font-display: swap; src: url("fonts/open-sans-latin-wght-italic.woff2") format("woff2"); }

/* Kleuren komen uit GP Global Colors (--contrast, --accent, …). Extra tokens: */
:root {
	--gk-breedte: 1200px;
	--gk-rand: 24px;
	--gk-radius: 6px;
	--gk-radius-klein: 4px;
	--gk-schaduw: 0 1px 2px rgba(27, 35, 64, .06), 0 8px 24px rgba(27, 35, 64, .08);
	--gk-schaduw-hover: 0 2px 4px rgba(27, 35, 64, .08), 0 16px 40px rgba(27, 35, 64, .14);
	--gk-kop-hoogte: 84px;
	--gk-sectie: clamp(56px, 8vw, 96px);
}
@media (max-width: 1024px) { :root { --gk-kop-hoogte: 68px; --gk-rand: 20px; } }

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; background: var(--base-3); }
h1, h2, h3, h4, .gk-postkaart-titel, .gk-blok-kop, .gk-voet-kop { letter-spacing: -.01em; text-wrap: balance; }
p { text-wrap: pretty; }
a { text-underline-offset: .18em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--oranje); outline-offset: 2px; border-radius: 4px; }
img { height: auto; }
.gk-icoon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Header: transparant + sticky ---------- */
.site-header {
	position: fixed; top: var(--wp-admin--admin-bar--height, 0px); left: 0; right: 0; z-index: 200;
	background: transparent; transition: background-color .25s ease, box-shadow .25s ease;
}
.site-header .inside-header { min-height: var(--gk-kop-hoogte); align-items: center; }
.gk-logo a { display: block; line-height: 0; }
.gk-logo svg { height: 40px; width: auto; display: block; }
.gk-logo .gk-logo-kleur { display: none; }
.main-navigation, .main-navigation ul ul { background: transparent; }
.main-navigation .main-nav ul li a { font-weight: 500; font-size: 15.5px; color: #fff; }
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current-menu-ancestor > a { color: var(--zacht); }
.main-navigation .main-nav > ul > li > a { padding-left: 15px; padding-right: 15px; }
.main-navigation .menu-bar-items, .main-navigation .menu-toggle { color: #fff; }
.main-navigation .menu-toggle, .main-navigation .menu-toggle:hover, .main-navigation .menu-toggle:focus, .main-navigation.toggled .menu-toggle { background: transparent; }

/* dropdown */
.main-navigation ul ul {
	background: var(--base-3); border-radius: var(--gk-radius-klein); box-shadow: var(--gk-schaduw-hover);
	padding: 8px; width: 250px; top: calc(100% - 6px);
}
.main-navigation .main-nav ul ul li a { color: var(--contrast); font-weight: 500; font-size: 15px; padding: 10px 14px; border-radius: 8px; line-height: 1.35; }
.main-navigation .main-nav ul ul li:hover > a,
.main-navigation .main-nav ul ul li.current-menu-item > a { background: var(--ijs); color: var(--accent-2); }

/* menuknop */
.main-navigation .main-nav ul li.gk-menu-knop > a {
	background: var(--accent); color: #fff; border-radius: 4px; line-height: 44px;
	padding: 0 22px; margin-left: 12px; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .08em;
}
.main-navigation .main-nav ul li.gk-menu-knop:hover > a { background: var(--accent-2); color: #fff; }

/* gescrold of mobiel menu open → witte header */
.gk-gescrold .site-header,
.site-header:has(.toggled),
.site-header:has(.main-navigation.toggled) { background: var(--base-3); box-shadow: 0 1px 0 var(--base), 0 6px 24px rgba(27, 35, 64, .08); }
.gk-gescrold .gk-logo .gk-logo-kleur, .site-header:has(.toggled) .gk-logo .gk-logo-kleur { display: block; }
.gk-gescrold .gk-logo .gk-logo-wit, .site-header:has(.toggled) .gk-logo .gk-logo-wit { display: none; }
.gk-gescrold .main-navigation .main-nav > ul > li > a,
.gk-gescrold .main-navigation .menu-toggle,
.gk-gescrold .main-navigation .menu-bar-items { color: var(--contrast); }
.gk-gescrold .main-navigation .main-nav > ul > li:hover > a,
.gk-gescrold .main-navigation .main-nav > ul > li.current-menu-item > a,
.gk-gescrold .main-navigation .main-nav > ul > li.current-menu-ancestor > a { color: var(--accent); }
.gk-gescrold .main-navigation .main-nav ul li.gk-menu-knop > a { background: var(--accent); color: #fff; }
.gk-gescrold .main-navigation .main-nav ul li.gk-menu-knop:hover > a { background: var(--accent-2); color: #fff; }

@media (max-width: 1024px) {
	.gk-logo svg { height: 34px; }
	.main-navigation .menu-toggle { padding: 0 12px; line-height: var(--gk-kop-hoogte); }
	.main-navigation.toggled .menu-toggle, .site-header:has(.toggled) .menu-toggle { color: var(--contrast); }
	.main-navigation.toggled .main-nav { background: var(--base-3); padding: 8px var(--gk-rand) 20px; max-height: calc(100vh - var(--gk-kop-hoogte)); overflow-y: auto; }
	.main-navigation.toggled .main-nav ul li a { color: var(--contrast) !important; padding: 12px 0; line-height: 1.4; border-bottom: 1px solid var(--base); }
	.main-navigation.toggled .main-nav ul ul { box-shadow: none; padding: 0 0 6px 14px; width: auto; background: transparent; }
	.main-navigation.toggled .main-nav ul ul li a { border: 0; padding: 8px 0; }
	.main-navigation.toggled .main-nav ul li.gk-menu-knop > a { background: var(--accent); color: #fff !important; text-align: center; margin: 14px 0 0; border: 0; }
	.main-navigation .main-nav ul li.gk-menu-knop > a { margin-left: 0; }
}

/* ---------- Basis-layout ---------- */
.gk-binnen { max-width: var(--gk-breedte); margin-inline: auto; padding-inline: var(--gk-rand); }
.gk-sectie { padding-block: var(--gk-sectie); }
.gk-sectie-licht { background: var(--base-2); }
.gk-sectie-donker { background: var(--navy); color: #D9DDEC; }
.gk-sectie-donker h2, .gk-sectie-donker h3 { color: #fff; }
.gk-sectie-kop { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.gk-sectie-kop p { color: var(--contrast-2); font-size: 18px; margin: 0; }
.gk-sectie-titel, .entry-content .gk-sectie-titel { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.gk-boventitel { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.entry-content > *:last-child { margin-bottom: 0; }

/* ---------- Knoppen ---------- */
.gk-knop, .entry-content .gk-knop, .wp-block-button.gk-knop .wp-block-button__link, .gform_wrapper .gform_footer .gform_button {
	display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: #fff; font-weight: 600;
	padding: 15px 28px; border-radius: 4px; text-decoration: none; border: 0; line-height: 1.2; font-size: 14.5px;
	text-transform: uppercase; letter-spacing: .08em; font-family: "Open Sans", sans-serif;
	transition: background-color .2s, transform .2s;
}
.gk-knop:hover, .entry-content .gk-knop:hover, .wp-block-button.gk-knop .wp-block-button__link:hover, .gform_wrapper .gform_footer .gform_button:hover { background: var(--accent-2); color: #fff; transform: translateY(-1px); }
.gk-knop.gk-knop-oranje, .wp-block-button.gk-knop-oranje .wp-block-button__link { background: var(--accent); color: #fff; }
.gk-knop.gk-knop-oranje:hover, .wp-block-button.gk-knop-oranje .wp-block-button__link:hover { background: #fff; color: var(--navy); }
.gk-knop.gk-knop-rand, .wp-block-button.gk-knop-rand .wp-block-button__link { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); }
.gk-knop.gk-knop-rand:hover, .wp-block-button.gk-knop-rand .wp-block-button__link:hover { background: #fff; color: var(--navy); }
.gk-knop-klein { padding: 10px 18px; font-size: 15px; }
.wp-block-buttons.gk-knoppen { gap: 12px; }

/* ---------- Home: hero ---------- */
.gk-hero {
	position: relative; isolation: isolate; min-height: min(88vh, 820px); display: flex; align-items: center;
	padding: calc(var(--gk-kop-hoogte) + 56px) 0 72px; color: #fff; overflow: hidden; background: var(--navy);
}
.gk-hero .gk-hero-beeld, .gk-hero .gk-hero-beeld img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; z-index: -2; border-radius: 0; }
.gk-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(27, 35, 64, .9) 0%, rgba(27, 35, 64, .74) 50%, rgba(27, 35, 64, .5) 100%);
}
.gk-hero .gk-binnen { width: 100%; }
.gk-hero-tekst { max-width: 640px; }
.gk-hero .gk-boventitel { color: #fff; font-family: "Poppins", sans-serif; font-size: 17px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.gk-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 58px); line-height: 1.12; margin-bottom: 20px; letter-spacing: -.02em; }
.gk-hero h1 em { font-style: normal; color: var(--oranje); }
.gk-hero-intro { font-size: clamp(18px, 1.8vw, 21px); color: #E3E6F2; margin-bottom: 30px; max-width: 560px; }
.gk-hero .gk-zoek { margin-bottom: 22px; max-width: 520px; }
.gk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gk-chips li { margin: 0; }
.gk-chips a { display: inline-block; padding: 7px 14px; border-radius: 4px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .22); }
.gk-chips a:hover { background: #fff; color: var(--navy); }
.gk-chips-label { font-size: 14px; color: #C3C8DD; margin: 0 0 8px; }

/* zoekveld */
.gk-zoek { display: flex; background: #fff; border-radius: 6px; padding: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.gk-zoek input[type=search] { flex: 1; border: 0; background: transparent; padding: 10px 18px; font-size: 16px; color: var(--contrast); min-width: 0; }
.gk-zoek input[type=search]:focus { outline: none; }
.gk-zoek:focus-within { box-shadow: 0 0 0 3px var(--oranje), 0 10px 30px rgba(0, 0, 0, .18); }
.gk-zoek button { background: var(--accent); color: #fff; border: 0; border-radius: 4px; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; cursor: pointer; }
.gk-zoek button:hover { background: var(--accent-2); }

/* ---------- Paginakop met foto ---------- */
.gk-kop {
	position: relative; isolation: isolate; background: var(--navy); color: #fff; overflow: hidden;
	padding: calc(var(--gk-kop-hoogte) + 64px) 0 64px; min-height: 420px; display: flex; align-items: flex-end;
}
.gk-kop .gk-kop-beeld { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.gk-kop::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27, 35, 64, .7) 0%, rgba(27, 35, 64, .45) 40%, rgba(27, 35, 64, .85) 100%); }
.gk-kop-binnen { max-width: var(--gk-breedte); margin-inline: auto; padding-inline: var(--gk-rand); width: 100%; }
.gk-kop-titel { color: #fff; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; margin: 6px 0 14px; max-width: 900px; }
.gk-kop-intro { font-size: clamp(17px, 1.6vw, 20px); color: #E3E6F2; max-width: 720px; margin: 0; }
.gk-kruimel { font-size: 14px; color: #C3C8DD; margin-bottom: 8px; }
.gk-kruimel a { color: #fff; text-decoration: none; }
.gk-kruimel a:hover { text-decoration: underline; }
.gk-kruimel .breadcrumb_last { color: #C3C8DD; }

/* artikelkop */
.gk-kop-artikel { min-height: 0; align-items: center; background: radial-gradient(120% 140% at 100% 0%, #2E3A6B 0%, var(--navy) 55%); padding-bottom: 56px; }
.gk-kop-artikel::before { display: none; }
.gk-kop-artikel .gk-kop-binnen { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.gk-kop-artikel .gk-kop-titel { font-size: clamp(32px, 3.8vw, 48px); }
.gk-kop-meta { display: flex; flex-wrap: wrap; gap: 18px; margin: 20px 0 0; font-size: 14.5px; color: #C3C8DD; }
.gk-kop-meta span { display: inline-flex; align-items: center; gap: 7px; }
.gk-kop-figuur { margin: 0; }
.gk-kop-figuur img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--gk-radius); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); display: block; }
.gk-kop-figuur figcaption { font-size: 13px; color: #AEB4CC; margin-top: 10px; }
@media (max-width: 1024px) {
	.gk-kop-artikel .gk-kop-binnen { grid-template-columns: 1fr; gap: 28px; }
	.gk-kop { min-height: 340px; padding-top: calc(var(--gk-kop-hoogte) + 40px); padding-bottom: 44px; }
}

/* labels */
.gk-label { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-2); background: var(--ijs); padding: 5px 10px; border-radius: 3px; text-decoration: none; }
.gk-label:hover { background: var(--accent); color: #fff; }
.gk-label-licht { background: rgba(232, 97, 26, .16); color: var(--zacht); margin-bottom: 4px; }

/* ---------- Kaarten met icoon ---------- */
.gk-icoontegel { width: 52px; height: 52px; border-radius: 4px; background: transparent; color: var(--oranje); display: inline-grid; place-items: start; flex: none; }
.gk-icoontegel .gk-icoon { width: 40px; height: 40px; stroke-width: 1.6; }
.gk-kaarten { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.gk-kaarten.gk-kolommen-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gk-kaarten.gk-kolommen-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gk-kaarten.gk-kolommen-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gk-kaart { position: relative; background: var(--base-3); border: 1px solid var(--base); border-radius: var(--gk-radius-klein); padding: 34px 32px; transition: box-shadow .25s, transform .25s, border-color .25s; display: flex; flex-direction: column; }
.gk-kaart h3 { font-size: 20px; margin: 12px 0 10px; }
.gk-kaart p { color: var(--contrast-2); margin-bottom: 0; font-size: 16px; }
.gk-kaart .gk-kaart-link { margin-top: auto; padding-top: 16px; font-weight: 700; color: var(--accent); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.gk-kaart .gk-kaart-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--gk-radius); }
.gk-kaart:has(.gk-kaart-link):hover { box-shadow: var(--gk-schaduw-hover); transform: translateY(-3px); border-color: transparent; }
.gk-kaart:has(.gk-kaart-link):hover .gk-icoontegel { color: var(--accent-2); }
.gk-sectie-licht .gk-kaart { border-color: transparent; box-shadow: none; }
@media (max-width: 1024px) { .gk-kaarten.gk-kolommen-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gk-kaarten.gk-kolommen-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gk-kaarten.gk-kolommen-2, .gk-kaarten.gk-kolommen-3, .gk-kaarten.gk-kolommen-4 { grid-template-columns: 1fr; } .gk-kaart { padding: 22px; } }

/* home: categorieën */
.gk-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gk-cat { display: flex; align-items: center; gap: 16px; background: var(--base-3); border-radius: var(--gk-radius); padding: 18px 20px; text-decoration: none; color: var(--contrast); box-shadow: var(--gk-schaduw); transition: box-shadow .2s, transform .2s; }
.gk-cat:hover { box-shadow: var(--gk-schaduw-hover); transform: translateY(-2px); color: var(--contrast); }
.gk-cat-tekst { display: flex; flex-direction: column; flex: 1; line-height: 1.35; }
.gk-cat-tekst strong { font-size: 17px; }
.gk-cat-tekst span { font-size: 14.5px; color: var(--contrast-2); }
.gk-cat-pijl { color: var(--accent); transition: transform .2s; }
.gk-cat:hover .gk-cat-pijl { transform: translateX(4px); }
@media (max-width: 1024px) { .gk-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gk-cats { grid-template-columns: 1fr; } }

/* ---------- Stappen ---------- */
.gk-stappen { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; counter-reset: stap; list-style: none; margin: 0; padding: 0; }
.gk-stap { counter-increment: stap; position: relative; padding: 26px 24px 24px; background: var(--base-3); border-radius: var(--gk-radius); box-shadow: var(--gk-schaduw); margin: 0; }
.gk-stap::before { content: counter(stap); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--oranje); color: #fff; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 17px; margin-bottom: 16px; }
.gk-stap h3 { font-size: 19px; margin-bottom: 8px; }
.gk-stap p { color: var(--contrast-2); margin: 0; font-size: 16px; }
.gk-sectie:not(.gk-sectie-licht) .gk-stap { box-shadow: none; border: 1px solid var(--base); }

/* ---------- Tekst + beeld ---------- */
.gk-tb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.gk-tb.gk-tb-links .gk-tb-beeld { order: -1; }
.gk-tb-beeld { margin: 0; }
.gk-tb-beeld img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--gk-radius); display: block; }
.gk-tb-beeld figcaption { font-size: 14px; color: var(--contrast-2); margin-top: 10px; }
@media (max-width: 860px) { .gk-tb { grid-template-columns: 1fr; } .gk-tb.gk-tb-links .gk-tb-beeld { order: 0; } }

/* ---------- Tekstsecties (pagina's) ---------- */
.gk-tekst { max-width: 800px; margin-inline: auto; }
.gk-tekst h2 { font-size: clamp(26px, 3vw, 34px); }
.gk-tekst h3 { font-size: 21px; }

/* voor/tegen */
.gk-vt { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gk-vt-kolom { border-radius: var(--gk-radius); padding: 28px; background: var(--base-3); box-shadow: var(--gk-schaduw); }
.gk-vt-kolom h3 { font-size: 19px; display: flex; gap: 10px; align-items: center; }
.gk-vt-kolom ul { list-style: none; margin: 0; padding: 0; }
.gk-vt-kolom li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.gk-vt-kolom li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; }
.gk-vt-voor li::before { background: #1f9d6b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat; }
.gk-vt-tegen li::before { background: #d6453d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center/9px no-repeat; }
@media (max-width: 760px) { .gk-vt { grid-template-columns: 1fr; } }

/* cta */
.gk-cta { background: var(--navy); color: #D9DDEC; border-radius: var(--gk-radius); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.gk-cta::after { content: ""; position: absolute; right: -80px; top: -120px; width: 340px; height: 340px; border-radius: 50%; border: 40px solid rgba(232, 97, 26, .08); box-shadow: 0 0 0 40px rgba(232, 97, 26, .05); pointer-events: none; }
.gk-cta h2 { color: var(--zacht); font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 8px; }
.gk-cta p { margin: 0; font-size: 17px; }
@media (max-width: 760px) { .gk-cta { grid-template-columns: 1fr; } }

/* ---------- Artikel- en paginatekst ---------- */
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content > h2:first-child, .gk-tekst > h2:first-child { margin-top: 0; }
.entry-content :is(p, li, td, th) a:not([class]) { color: var(--accent-2); text-decoration: underline; }
.entry-content .gk-hero .gk-chips a { color: #fff; text-decoration: none; }
.entry-content .gk-hero .gk-chips a:hover { color: var(--navy); }
.gk-cat, .gk-cat:hover { text-decoration: none; }
.gk-kaart .gk-kaart-link:hover { color: var(--accent-2); }
.entry-content ul li::marker { color: var(--accent); }
.entry-content ol li::marker { color: var(--accent); font-weight: 700; }
.entry-content figure.wp-block-image img { border-radius: var(--gk-radius-klein); }
.entry-content figure.wp-block-image figcaption { font-size: 14px; color: var(--contrast-2); text-align: left; margin-top: 8px; }

.wp-block-table { margin: 1.6em 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 640px) { .wp-block-table table { min-width: 600px; } }
.wp-block-table table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 15.5px; border: 1px solid var(--base); border-radius: var(--gk-radius-klein); overflow: hidden; }
.wp-block-table th, .wp-block-table td { border: 0; border-bottom: 1px solid var(--base); padding: 12px 14px; text-align: left; vertical-align: top; }
.wp-block-table thead th { background: var(--navy); color: #fff; font-weight: 700; border-bottom: 0; }
.wp-block-table tbody tr:nth-child(even) td { background: var(--base-2); }
.wp-block-table tbody tr:last-child td { border-bottom: 0; }

/* blokken: in het kort, tip, let op */
.gk-kort, .gk-tip, .gk-letop { border-radius: var(--gk-radius-klein); padding: 22px 24px; margin: 1.6em 0; }
.gk-kort { background: var(--ijs); border-left: 4px solid var(--accent); }
.gk-kort .gk-blokkop { font-weight: 700; color: var(--navy); margin-bottom: 10px; display: flex; gap: 8px; align-items: center; }
.gk-kort ul { margin: 0 0 0 1.2em; }
.gk-kort li { margin-bottom: 6px; }
.gk-tip { background: #FFF3EC; border-left: 4px solid var(--oranje); }
.gk-letop { background: #fdf0ef; border-left: 4px solid #d6453d; }
.gk-tip p:last-child, .gk-letop p:last-child { margin-bottom: 0; }

/* ---------- Artikelpagina ---------- */
.gk-artikel .site-content { padding-top: 56px; padding-bottom: 32px; }
.gk-artikel .inside-article { padding: 0; }
.gk-artikel .entry-content { font-size: 18px; line-height: 1.75; }
.gk-artikel .entry-content > p:first-child { font-size: 20px; color: var(--contrast); }
.gk-artikel .is-right-sidebar { padding-left: 48px; }
.gk-artikel .inside-right-sidebar { position: sticky; top: calc(var(--gk-kop-hoogte) + 24px + var(--wp-admin--admin-bar--height, 0px)); }
.gk-blok { border-radius: var(--gk-radius); padding: 24px; margin-bottom: 20px; border: 1px solid var(--base); background: var(--base-3); }
.gk-blok-kop { font-weight: 700; font-size: 16px; margin-bottom: 12px; color: var(--navy); }
.gk-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.gk-toc li { counter-increment: toc; margin: 0; border-top: 1px solid var(--base); }
.gk-toc li:first-child { border-top: 0; }
.gk-toc a { display: flex; gap: 10px; padding: 9px 0; font-size: 14.5px; line-height: 1.4; color: var(--contrast-2); text-decoration: none; }
.gk-toc a::before { content: counter(toc); color: var(--accent); font-weight: 700; min-width: 16px; }
.gk-toc a:hover { color: var(--accent-2); }
.gk-blok-donker { background: var(--navy); color: #D9DDEC; border: 0; }
.gk-blok-donker .gk-blok-kop { color: #fff; font-size: 18px; margin-top: 14px; }
.gk-blok-donker .gk-icoontegel { background: rgba(232, 97, 26, .14); color: var(--zacht); }
.gk-blok-donker p { font-size: 15px; }
@media (max-width: 1024px) { .gk-artikel .is-right-sidebar { padding-left: 0; } .gk-toc { display: none; } }

/* ---------- FAQ (Yoast) als accordeon ---------- */
.schema-faq.wp-block-yoast-faq-block { margin: 1em 0 0; }
.schema-faq-section { border: 1px solid var(--base); border-radius: var(--gk-radius-klein); margin-bottom: 12px; background: var(--base-3); transition: box-shadow .2s, border-color .2s; }
.schema-faq-section.is-open { box-shadow: var(--gk-schaduw); border-color: transparent; }
.schema-faq-question { display: block; font-weight: 700; }
.gk-faq-vraag { all: unset; box-sizing: border-box; display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; font-weight: 700; font-size: 17px; color: var(--contrast); line-height: 1.4; }
.schema-faq-section .gk-faq-vraag, .schema-faq-section .gk-faq-vraag:hover, .schema-faq-section .gk-faq-vraag:focus, .schema-faq-section .gk-faq-vraag:active { background: transparent; color: var(--contrast); }
.schema-faq-section .gk-faq-vraag:hover { color: var(--accent-2); }
.gk-faq-vraag:focus-visible { outline: 3px solid var(--oranje); outline-offset: -3px; border-radius: var(--gk-radius-klein); }
.gk-faq-plus { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--ijs); flex: none; transition: background-color .2s, transform .25s; }
.gk-faq-plus::before, .gk-faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--accent); transform: translate(-50%, -50%); border-radius: 2px; }
.gk-faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .2s; }
.is-open .gk-faq-plus { background: var(--accent); transform: rotate(180deg); }
.is-open .gk-faq-plus::before { background: #fff; }
.is-open .gk-faq-plus::after { opacity: 0; }
.schema-faq-answer { padding: 0 22px 20px; margin: 0; color: var(--contrast-2); }
.gk-faq-sectie .gk-tekst > h2 { text-align: center; margin-bottom: 28px; }

/* ---------- Postkaarten / overzichten ---------- */
.gk-grid { display: grid; gap: 28px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gk-grid-2, .gk-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gk-postkaart { position: relative; display: flex; flex-direction: column; background: var(--base-3); border-radius: var(--gk-radius); overflow: hidden; box-shadow: var(--gk-schaduw); transition: box-shadow .25s, transform .25s; margin: 0; }
.gk-postkaart:hover { box-shadow: var(--gk-schaduw-hover); transform: translateY(-3px); }
.gk-postkaart-beeld { display: block; aspect-ratio: 3/2; overflow: hidden; background: var(--base); }
.gk-postkaart-beeld img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.gk-postkaart:hover .gk-postkaart-beeld img { transform: scale(1.04); }
.gk-postkaart-tekst { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.gk-postkaart-titel { font-size: 20px; line-height: 1.3; margin: 12px 0 8px; }
.gk-postkaart-titel a { color: var(--contrast); text-decoration: none; }
.gk-postkaart-titel a::after { content: ""; position: absolute; inset: 0; }
.gk-postkaart-titel a:hover { color: var(--accent-2); }
.gk-postkaart .gk-label { position: relative; z-index: 2; }
.gk-postkaart p { font-size: 15.5px; color: var(--contrast-2); margin-bottom: 14px; }
.gk-meta { margin-top: auto; display: inline-flex; gap: 6px; align-items: center; font-size: 14px; color: var(--contrast-3); }
@media (max-width: 1024px) { .gk-grid, .gk-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gk-grid, .gk-grid-2, .gk-grid-4 { grid-template-columns: 1fr; } }

/* GP-archief als raster */
.blog .site-main, .archive .site-main, .search .site-main { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.blog .site-main > :not(.gk-postkaart), .archive .site-main > :not(.gk-postkaart), .search .site-main > :not(.gk-postkaart) { grid-column: 1 / -1; }
.blog .site-content, .archive .site-content, .search .site-content, .error404 .site-content { padding-top: 56px; padding-bottom: 80px; }
@media (max-width: 1024px) { .blog .site-main, .archive .site-main, .search .site-main { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .blog .site-main, .archive .site-main, .search .site-main { grid-template-columns: 1fr; } }
.paging-navigation, .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.nav-links .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; background: var(--base-2); color: var(--contrast); text-decoration: none; font-weight: 600; }
.nav-links .page-numbers.current, .nav-links .page-numbers:hover { background: var(--accent); color: #fff; }
.gk-404 { max-width: 900px; margin: 0 auto; text-align: center; }
.gk-404 .gk-zoek { max-width: 520px; margin: 0 auto 24px; }
.gk-404 .gk-grid { text-align: left; margin-top: 24px; }

/* ---------- Formulier ---------- */
.gform_wrapper.gravity-theme input[type=text], .gform_wrapper.gravity-theme input[type=email], .gform_wrapper.gravity-theme textarea, .gform_wrapper.gravity-theme select {
	border: 1px solid #D3D7E6; border-radius: var(--gk-radius-klein); padding: 12px 14px; font-size: 16px; background: #fff;
}
.gform_wrapper.gravity-theme input:focus, .gform_wrapper.gravity-theme textarea:focus { border-color: var(--accent); outline: 3px solid rgba(232, 97, 26, .2); }
.gform_wrapper.gravity-theme .gfield_label { font-weight: 700; font-size: 15px; }
.gk-contactkaart { background: var(--base-3); border-radius: var(--gk-radius); box-shadow: var(--gk-schaduw); padding: clamp(24px, 4vw, 40px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #C3C8DD; }
.gk-voet { padding: 72px 0 0; font-size: 15.5px; }
.gk-voet-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.gk-voet h2, .gk-voet .gk-voet-kop { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 16px; letter-spacing: 0; }
.gk-voet a { color: #E3E6F2; text-decoration: none; }
.gk-voet a:hover { color: var(--zacht); text-decoration: underline; }
.gk-voet-logo svg { height: 38px; width: auto; display: block; margin-bottom: 18px; }
.gk-voet-lijst { list-style: none; margin: 0; padding: 0; }
.gk-voet-lijst li { margin: 0 0 10px; line-height: 1.4; }
.gk-onderbalk { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 56px; padding: 22px 0 28px; font-size: 14px; }
.gk-onderbalk-links { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 1024px) { .gk-voet-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .gk-voet-grid { grid-template-columns: 1fr; gap: 32px; } .gk-voet { padding-top: 56px; } }

/* ---------- Diversen ---------- */
.screen-reader-text:focus { background: #fff; color: var(--contrast); }
.gk-gerelateerd .gk-sectie-titel { margin-bottom: 28px; }
.gk-midden { text-align: center; }
.gk-knoppen-midden { justify-content: center; margin-top: 36px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--gk-kop-hoogte) + 24px); }

/* ---------- Agency-stijl: koppen, quote, fotoraster, kaart-cta ---------- */
h1, h2, h3, h4, .gk-postkaart-titel, .gk-blok-kop, .gk-voet-kop, .gk-cat-tekst strong { font-family: "Poppins", sans-serif; }
.gk-sectie-titel, .entry-content .gk-sectie-titel { font-weight: 700; color: var(--navy); }
.gk-sectie-kop p { font-size: 17px; }
.gk-quote { max-width: 820px; margin: 0 auto; text-align: center; }
.gk-quote blockquote { margin: 0; padding: 0; border: 0; font-style: normal; }
.gk-quote .gk-quote-tekst { font-family: "Poppins", sans-serif; font-weight: 600; font-size: clamp(21px, 2.4vw, 28px); line-height: 1.4; color: var(--navy); margin: 0 0 18px; }
.gk-quote .gk-quote-tekst::before { content: "\201C"; display: block; font-size: 72px; line-height: .6; color: var(--oranje); margin-bottom: 14px; }
.gk-quote .gk-quote-bron { font-size: 15px; font-weight: 600; color: var(--contrast-3); margin: 0; text-transform: uppercase; letter-spacing: .08em; }
.gk-fotoraster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.gk-fototegel { position: relative; display: block; aspect-ratio: 1/1; overflow: hidden; border-radius: var(--gk-radius-klein); color: #fff; text-decoration: none; background: var(--navy); }
.gk-fototegel img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s, opacity .3s; }
.gk-fototegel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 35, 64, 0) 45%, rgba(27, 35, 64, .88) 100%); }
.gk-fototegel span { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; font-family: "Poppins", sans-serif; font-weight: 600; font-size: 18px; line-height: 1.3; }
.gk-fototegel span small { display: block; font-family: "Open Sans", sans-serif; font-weight: 400; font-size: 14px; opacity: .85; margin-top: 2px; }
.gk-fototegel:hover img { transform: scale(1.06); }
.entry-content a.gk-fototegel, .entry-content a.gk-fototegel:hover { color: #fff; text-decoration: none; }
@media (max-width: 900px) { .gk-fotoraster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gk-band { background: var(--base-3); border-top: 1px solid var(--base); }
.gk-band .gk-cta { background: transparent; color: var(--contrast-2); padding: 0; }
.gk-band .gk-cta::after { display: none; }
.gk-band .gk-cta h2 { color: var(--accent); }
.site-footer .gk-voet-kop { font-weight: 500; font-size: 19px; }
/* knopwrapper van core/button niet zelf als knop stylen */
.wp-block-button.gk-knop, .wp-block-button.gk-knop:hover { background: transparent !important; padding: 0 !important; box-shadow: none !important; transform: none !important; border-radius: 0; }
.wp-block-button.gk-knop .wp-block-button__link { padding: 15px 28px; }
.gk-hero-tekst { max-width: 760px; }
.gk-hero h1 { font-size: clamp(34px, 4.4vw, 54px); }
.gk-kaart h3 { margin-top: 6px; }
