/* GPL Canvas — section blocks ==============================================================
 * One clearly-headed group per section type, mirroring suprevo/sections/*.php. Hand-written
 * on the --gpl-* tokens (theme.css). Section BACKGROUND presets + card tones are in suprevo.css.
 * ========================================================================================= */

/* Shared inner wrapper for blocks that don't use .container-gpl directly (same container box). */
.block-cards__inner,
.block-text__inner,
.block-text-image__inner,
.block-stats__inner,
.block-accordion__inner,
.block-contact-form__inner {
	width: 100%;
	max-width: 80rem;
	margin-inline: auto;
	padding-inline: 1.25rem;
}
@media (min-width: 640px) {
	.block-cards__inner,
	.block-text__inner,
	.block-text-image__inner,
	.block-stats__inner,
	.block-accordion__inner,
	.block-contact-form__inner { padding-inline: 2rem; }
}
.block-accordion__inner,
.block-contact-form__inner { max-width: 48rem; } /* FAQs + forms read best narrow */

/* --- Hero (full-bleed image + yellow overlay band) --------------------------------------- */
.block-hero--overlay {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	min-height: clamp(18rem, 42vh, 27rem);
}
.block-hero--overlay .block-hero__bg { position: absolute; inset: 0; z-index: -20; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.block-hero--overlay .block-hero__overlay { position: absolute; inset: 0; z-index: -10; }
.block-hero--overlay .block-hero__inner { position: relative; width: 100%; padding-top: 5rem; padding-bottom: 2.5rem; }
.block-hero--overlay .block-hero__content { max-width: 60rem; }
.block-hero--overlay .block-hero__title { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.08; }
.block-hero__eyebrow { margin-bottom: 1rem; display: inline-flex; align-items: center; gap: .75rem; font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .025em; }
.block-hero__intro { margin-top: 1.25rem; max-width: 46ch; font-size: 1.125rem; }
@media (min-width: 640px) { .block-hero__intro { font-size: 1.25rem; } }
.block-hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
/* On the yellow hero overlay the default gold/outline buttons wash out. Give both strong,
   readable contrast: primary → dark slate fill, secondary → solid white with dark text. */
.block-hero__actions .btn--accent { background-color: var(--gpl-slate-900, #232d33); color: #fff; }
.block-hero__actions .btn--accent:hover { background-color: var(--gpl-slate-800, #2f3c44); color: #fff; }
.block-hero__actions .btn--outline { background-color: #fff; border-color: #fff; color: var(--gpl-slate-900, #232d33); }
.block-hero__actions .btn--outline:hover { background-color: var(--gpl-slate-900, #232d33); border-color: var(--gpl-slate-900, #232d33); color: #fff; }
.block-hero--yellow .block-hero__overlay { background: linear-gradient(to top, rgba(237, 190, 65, .97) 0%, rgba(237, 190, 65, .9) 30%, rgba(237, 190, 65, .35) 64%, rgba(237, 190, 65, 0) 100%); }
.block-hero--yellow .block-hero__title { color: #fff; text-shadow: 0 2px 6px rgba(120, 84, 21, .35); max-width: 774px; }
.block-hero--yellow .block-hero__eyebrow { color: #fff; }
.block-hero--yellow .block-hero__intro { color: #fff; text-shadow: 0 1px 4px rgba(120, 84, 21, .3); }

/* Solid hero — used on sub-pages with no cover image: a compact slate band, white text. */
.block-hero--solid {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(13rem, 28vh, 18rem);
	background: var(--gpl-color-primary, #3c4d57);
}
.block-hero--solid .block-hero__inner { width: 100%; padding-top: 4rem; padding-bottom: 2.5rem; }
.block-hero--solid .block-hero__content { max-width: 60rem; }
.block-hero--solid .block-hero__title { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; color: #fff; }
.block-hero--solid .block-hero__eyebrow { color: var(--gpl-color-accent, #ecbe41); }
.block-hero--solid .block-hero__intro { color: rgba(255, 255, 255, .85); }
.block-hero--solid .block-hero__actions .btn--accent { background-color: var(--gpl-color-accent, #ecbe41); color: var(--gpl-slate-900, #232d33); }
.block-hero--solid .block-hero__actions .btn--outline { background-color: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }

/* --- Cards ("Ons aanbod" / features grid) ------------------------------------------------ */
.block-cards__header { max-width: 42rem; margin-inline: auto; margin-bottom: 3rem; text-align: center; }
/* Cards wrap as a CENTRED flex row (not a grid): an incomplete row — 2 cards in a 3-column band, or
 * the 4th/5th card — sits in the middle instead of hugging the left edge, at the same card width
 * as a full row. Items stretch, so each row keeps equal-height cards. 1 → 2 → 3 per row. */
.block-cards__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.block-cards__grid > * { flex: 0 0 100%; min-width: 0; }
@media (min-width: 640px) { .block-cards__grid > * { flex-basis: calc((100% - 1.5rem) / 2); } }
@media (min-width: 1024px) { .block-cards__grid > * { flex-basis: calc((100% - 3rem) / 3); } }
.card {
	display: flex; flex-direction: column; height: 100%; overflow: hidden;
	border-radius: var(--gpl-radius-lg); background-color: var(--gpl-color-surface);
	border: 1px solid rgba(35, 45, 51, .05);
	box-shadow: 0 1px 2px rgba(35, 45, 51, .04), 0 14px 30px -20px rgba(35, 45, 51, .32);
	transition: box-shadow .3s ease, transform .3s ease;
}
/* Photo frame — a fixed 4:3 crop so any real photo sits consistently in the card's clipped
   corners; on hover the card lifts and the image zooms together for a tactile, editorial feel.
   (Built to make real photography read as premium; degrades cleanly to any image.) */
.card__media { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background-color: var(--gpl-slate-100); transition: transform .55s cubic-bezier(.2, .6, .2, 1); }
.card__body { display: flex; flex: 1 1 0%; flex-direction: column; gap: .75rem; padding: 1.5rem; }
.card__title { font-size: 1.25rem; }
.card.is-linked { position: relative; }
.card.has-media:hover, .card.is-linked:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(35, 45, 51, .05), 0 26px 44px -22px rgba(35, 45, 51, .42); }
.card.has-media:hover .card__media { transform: scale(1.05); }
.card.is-linked .stretched-link::after { content: ""; position: absolute; inset: 0; }
@media (prefers-reduced-motion: reduce) {
	.card__media, .card.has-media:hover, .card.has-media:hover .card__media { transition: none; }
	.card.has-media:hover, .card.has-media:hover .card__media { transform: none; }
}

/* --- Call to action (slate panel; recoloured per bg-preset in suprevo.css) ---------------- */
.block-cta__inner {
	display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
	width: 100%; max-width: 80rem; margin-inline: auto;
	padding: 3.5rem 1.25rem; border-radius: var(--gpl-radius-lg);
	background-color: var(--gpl-color-primary); color: #fff; text-align: center;
}
@media (min-width: 640px) { .block-cta__inner { padding-inline: 3rem; } }
.block-cta__title { color: #fff; }
.block-cta__text { max-width: 42rem; font-size: 1.125rem; color: var(--gpl-slate-100); }

/* --- Text + image (media_text) & text (rich_text) ---------------------------------------- */
.block-text-image__inner { display: grid; align-items: center; gap: 2.5rem; }
@media (min-width: 1024px) {
	.block-text-image__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.block-text-image--reverse .block-text-image__media { order: -1; }
}
/* A controlled 5:4 crop keeps the two-column balance whatever ratio the real photo arrives in;
   the softer, deeper shadow matches the card family so imagery reads as one system. */
.block-text-image__media img { width: 100%; aspect-ratio: 5 / 4; border-radius: var(--gpl-radius-lg); object-fit: cover; box-shadow: 0 18px 40px -22px rgba(35, 45, 51, .45); }

/* Rich-text content (prose-gpl) — used by rich_text, media_text bodies, accordion answers. */
.prose-gpl { font-size: 1rem; line-height: 1.75; color: var(--gpl-prose-body); }
.prose-gpl > * + * { margin-top: 1.25rem; }
.prose-gpl a { color: var(--gpl-color-primary); text-decoration: underline; text-underline-offset: 2px; }
.prose-gpl a:hover { color: var(--gpl-color-accent); }
.prose-gpl :where(ul) { padding-left: 1.25rem; list-style: disc; }
.prose-gpl :where(ol) { padding-left: 1.25rem; list-style: decimal; }
.prose-gpl :where(li) { margin-top: .5rem; }
.prose-gpl :where(strong) { font-weight: 700; color: var(--gpl-color-ink); }
.prose-gpl :where(blockquote) { border-left: 3px solid var(--gpl-color-accent); padding-left: 1rem; font-style: italic; color: var(--gpl-slate-600); }
.prose-gpl :where(h2, h3, h4) { font-family: var(--gpl-head-font); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--gpl-color-ink); }
.prose-gpl :where(h2) { margin-top: 2rem; font-size: 1.6rem; }
.prose-gpl :where(h3) { margin-top: 1.5rem; font-size: 1.3rem; }

/* --- Stats (dark "in cijfers" band; white metric cards) ---------------------------------- */
.block-stats__grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .block-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .block-stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.block-stats .stat { padding: 1.5rem; border-radius: var(--gpl-radius); background-color: #fff; text-align: center; box-shadow: 0 0 0 1px rgba(35, 45, 51, .05); }
.block-stats .stat__value { display: block; font-family: var(--gpl-head-font); font-size: 2.25rem; font-weight: 700; color: var(--gpl-color-clay); }
.block-stats .stat__label { display: block; margin-top: .5rem; color: var(--gpl-slate-600); }

/* --- Accordion / FAQ --------------------------------------------------------------------- */
.block-accordion .accordion-item { border-bottom: 1px solid var(--gpl-slate-200); }
.block-accordion .accordion-trigger { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; padding-block: 1.25rem; text-align: left; font-family: var(--gpl-head-font); font-size: 1.125rem; font-weight: 600; color: var(--gpl-color-primary); }
.block-accordion .accordion-icon { width: 1.5rem; height: 1.5rem; flex-shrink: 0; color: var(--gpl-color-clay); transition: transform .2s; }
.block-accordion .accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.block-accordion .accordion-panel { overflow: hidden; padding-bottom: 1.25rem; padding-right: 2rem; color: var(--gpl-color-primary); }
.block-accordion .accordion-panel[hidden] { display: none; }

/* --- News ("Nieuws uit het centrum") ------------------------------------------------------ */
.block-news { padding-block: 4rem; }
@media (min-width: 640px) { .block-news { padding-block: 5rem; } }
@media (min-width: 1024px) { .block-news { padding-block: 6rem; } }
.block-news__inner { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 640px) { .block-news__inner { padding-inline: 2rem; } }
.block-news__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2.5rem; }
.block-news__eyebrow { display: inline-flex; align-items: center; gap: .625rem; margin: 0 0 .5rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gpl-color-clay); }
.brand-rule { display: inline-block; width: 1.75rem; height: .28rem; border-radius: 999px; background: var(--gpl-color-accent); }
.block-news__title { font-size: clamp(1.6rem, 3vw, 1.9rem); }
.block-news__all { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--gpl-color-primary); }
.block-news__all:hover { text-decoration: underline; }
.block-news__grid { display: grid; gap: 1.75rem; list-style: none; margin: 0; padding: 0; grid-template-columns: 1fr; }
@media (min-width: 640px) { .block-news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .block-news__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.news-card { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; background-color: var(--gpl-color-surface); border-radius: var(--gpl-radius-lg); box-shadow: 0 14px 30px -18px rgba(35, 45, 51, .35); transition: box-shadow .2s, transform .2s; }
.news-card:hover { transform: translateY(-3px); box-shadow: 0 24px 42px -20px rgba(35, 45, 51, .45); }
.news-card__media { position: relative; display: block; aspect-ratio: 4 / 3; background-color: var(--gpl-slate-100); }
.news-card__img, .news-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Branded fallback for a post with no featured image. `contain` (not the `cover` above) so the
   wordmark keeps its 25% side margin even if .news-card__media ever loses its fixed 4/3 ratio —
   cover would crop it. The plate's own colour matches --gpl-slate-100, so the letterboxing that
   `contain` leaves is invisible. Needs BOTH classes: the `.news-card__img img` rule above scores
   (0,1,1), so a lone `.news-card__placeholder` (0,1,0) would lose and silently stay `cover`. */
.news-card__img .news-card__placeholder { object-fit: contain; }
body.a11y-contrast .news-card__placeholder { filter: grayscale(1) contrast(1.4); }
.news-card__date { position: absolute; left: 1.25rem; bottom: 0; transform: translateY(50%); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 3.5rem; padding: .5rem .35rem; border-radius: 1rem 1rem 1rem .5rem; background: var(--gpl-color-accent); color: var(--gpl-slate-900); box-shadow: 0 8px 16px -6px rgba(35, 45, 51, .5); line-height: 1; }
.news-card__day { font-family: var(--gpl-head-font); font-size: 1.35rem; font-weight: 800; }
.news-card__mon { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .025em; }
.news-card__body { display: flex; flex: 1 1 0%; flex-direction: column; gap: .5rem; padding: 1.75rem 1.5rem 1.5rem; }
.news-card__cat { margin: 0; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gpl-color-clay); }
.news-card__title { font-size: 1.25rem; }
.news-card__title a { color: var(--gpl-color-ink); }
.news-card__title a:hover { color: var(--gpl-slate-900); }
.news-card__excerpt { margin: 0; color: var(--gpl-slate-600); }
.news-card__more { display: inline-flex; align-items: center; gap: .375rem; margin-top: auto; padding-top: .5rem; font-weight: 600; color: var(--gpl-color-primary); }
.news-card .stretched-link::after { content: ""; position: absolute; inset: 0; }
.blob-arrow { display: inline-block; }

/* --- Gallery ("Een kijkje binnen") -------------------------------------------------------- */
.block-gallery { padding-block: 4rem; }
@media (min-width: 640px) { .block-gallery { padding-block: 5rem; } }
@media (min-width: 1024px) { .block-gallery { padding-block: 6rem; } }
.block-gallery__inner { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 640px) { .block-gallery__inner { padding-inline: 2rem; } }
.block-gallery__head { margin-bottom: 2rem; }
.block-gallery__eyebrow { display: inline-flex; align-items: center; gap: .625rem; margin: 0 0 .5rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gpl-color-clay); }
.block-gallery__title { font-size: clamp(1.6rem, 3vw, 1.9rem); }
.block-gallery__intro { margin-top: 1rem; max-width: 44rem; }
.block-gallery__grid { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .block-gallery__grid--three, .block-gallery__grid--four { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .block-gallery__grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.block-gallery__figure { margin: 0; overflow: hidden; border-radius: var(--gpl-radius); background-color: var(--gpl-slate-100); }
.block-gallery__img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .3s ease; }
.block-gallery__figure:hover .block-gallery__img { transform: scale(1.04); }
.block-gallery__caption { margin-top: .5rem; padding: 0 .25rem .25rem; font-size: .8rem; color: var(--gpl-slate-500); }

/* Gallery thumbnail trigger (a real button — keeps keyboard focus + a11y) */
.block-gallery__open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.block-gallery__open:focus-visible { outline: 3px solid var(--gpl-color-accent); outline-offset: 3px; }

/* --- Gallery lightbox (accessible modal) -------------------------------------------------- */
html.gpl-lightbox-open { overflow: hidden; }
.gpl-lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; }
.gpl-lightbox[hidden] { display: none; }
.gpl-lightbox__backdrop { position: absolute; inset: 0; background: rgba(20, 26, 30, .92); cursor: zoom-out; }
.gpl-lightbox__dialog { position: relative; z-index: 1; display: flex; align-items: center; gap: .5rem; width: min(96vw, 1100px); max-height: 92vh; padding: 0 clamp(.5rem, 4vw, 3.5rem); }
.gpl-lightbox__figure { margin: 0; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.gpl-lightbox__img { max-width: 100%; max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6); background: #0d1113; }
.gpl-lightbox__caption { margin: 0; color: #e7ecee; font-size: .95rem; text-align: center; max-width: 60ch; }
.gpl-lightbox__caption:empty { display: none; }
.gpl-lightbox__btn { flex: none; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background-color .2s; }
.gpl-lightbox__btn:hover, .gpl-lightbox__btn:focus-visible { background: rgba(255, 255, 255, .26); }
.gpl-lightbox__btn:focus-visible { outline: 3px solid var(--gpl-color-accent); outline-offset: 2px; }
.gpl-lightbox__close { position: absolute; top: -3.2rem; right: clamp(.5rem, 4vw, 3.5rem); width: 42px; height: 42px; font-size: 1.15rem; }
.gpl-lightbox__counter { position: absolute; bottom: -2.4rem; left: 50%; transform: translateX(-50%); color: #b7c0c4; font-size: .8rem; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .gpl-lightbox__close { top: -3rem; } .gpl-lightbox__btn { width: 40px; height: 40px; } }
@media (prefers-reduced-motion: reduce) { .gpl-lightbox__btn { transition: none; } }

/* --- Slider (Swiper-powered hero carousel) ------------------------------------------------ */
.block-slider { position: relative; }
.block-slider__swiper { position: relative; overflow: hidden; }
.block-slide { position: relative; }
.block-slide__bg { position: absolute; inset: 0; }
.block-slide__img, .block-slide__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.block-slide__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,26,30,.78) 0%, rgba(20,26,30,.5) 45%, rgba(20,26,30,.12) 100%); }
.block-slide__inner { position: relative; z-index: 1; width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: 1.25rem; min-height: clamp(22rem, 52vw, 34rem); display: flex; align-items: center; }
@media (min-width: 640px) { .block-slide__inner { padding-inline: 2rem; } }
.block-slide__panel { max-width: 40rem; padding-block: 3rem; color: #fff; }
.block-slide__eyebrow { display: inline-flex; align-items: center; gap: .625rem; margin: 0 0 .75rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #fff; }
.block-slide__eyebrow .brand-rule { background: var(--gpl-color-accent); }
.block-slide__title { font-size: clamp(1.9rem, 4vw, 3rem); color: #fff; margin: 0; }
.block-slide__text { margin: 1rem 0 0; font-size: 1.1rem; max-width: 34rem; color: rgba(255,255,255,.92); }
.block-slide__panel .btn { margin-top: 1.5rem; }

/* Controls — brand the Swiper pagination + custom nav arrows */
.block-slider .swiper-pagination { position: absolute; z-index: 2; bottom: 1rem; }
.block-slider .swiper-pagination-bullet { width: 9px; height: 9px; background: #fff; opacity: .45; transition: opacity .2s; }
.block-slider .swiper-pagination-bullet-active { opacity: 1; background: var(--gpl-color-accent); }
.block-slider__nav { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; transition: background-color .2s; }
.block-slider__nav:hover, .block-slider__nav:focus-visible { background: rgba(255,255,255,.34); }
.block-slider__nav:focus-visible { outline: 3px solid var(--gpl-color-accent); outline-offset: 2px; }
.block-slider__nav--prev { left: 1rem; }
.block-slider__nav--next { right: 1rem; }
.block-slider__nav.swiper-button-disabled { opacity: .35; cursor: default; }
@media (max-width: 640px) { .block-slider__nav { width: 40px; height: 40px; font-size: 1.4rem; } }
@media (prefers-reduced-motion: reduce) { .block-slider__nav, .block-slider .swiper-pagination-bullet { transition: none; } }

/* --- Hero quick-links panel ("Snel naar…", overlaps the hero on desktop) ------------------
 * The panel is a SIBLING of .block-hero (hero.php), so it escapes the hero's overflow:hidden.
 * Mobile: a normal card below the hero. Desktop (≥1024px): absolutely positioned to the
 * container's right edge and hangs BELOW the hero into the next section — the overlap is
 * contained in this one section, never a cross-section negative margin. Offsets (bottom / width)
 * are the visual tuning knobs. */
.block-hero-wrap { position: relative; }
/* The engine wraps every section in .sv-section > .sv-container; let the hero's escape so the
 * panel can overhang the next section. */
.sv-section--hero, .sv-section--hero > .sv-container { overflow: visible; }

.hero-quicklinks { position: relative; isolation: isolate; overflow: hidden;
  margin: 1.25rem 1.25rem 0; padding: 1.4rem 1.5rem 1rem;
  background: #fff; border-radius: var(--gpl-radius-lg); box-shadow: 0 24px 50px -26px rgba(35,45,51,.5); }
.hero-quicklinks__title { margin: 0 0 .5rem; font-family: var(--gpl-head-font); font-size: .8rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .07em; color: var(--gpl-slate-500); }
/* The list is a standard wp_nav_menu (ul.hero-quicklinks__list > li > a) — style structurally. */
.hero-quicklinks__list { display: flex; flex-direction: column; }
.hero-quicklinks__list li { border-bottom: 1px solid rgba(35,45,51,.08); }
.hero-quicklinks__list li:last-child { border-bottom: 0; }
.hero-quicklinks__list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px;
  padding: .7rem .25rem; font-size: 1.05rem; font-weight: 700; color: var(--gpl-color-primary); transition: color .18s, padding .18s; }
.hero-quicklinks__list a::after { content: "\2192"; flex: none; color: var(--gpl-color-accent-dark); font-size: 1.15rem; transition: transform .18s; }
.hero-quicklinks__list a:hover { color: var(--gpl-slate-900); padding-left: .55rem; }
.hero-quicklinks__list a:hover::after { transform: translateX(3px); }
/* Decorative brand rings in the corner (matches the custom theme's arc graphic). */
.hero-quicklinks__deco { position: absolute; z-index: -1; right: -3.25rem; top: -3.25rem; width: 11rem; height: 11rem; border-radius: 50%;
  background:
    radial-gradient(circle at center, transparent 37%, rgba(236,190,65,.22) 37% 45%, transparent 45%),
    radial-gradient(circle at center, transparent 51%, rgba(143,88,72,.15) 51% 59%, transparent 59%),
    radial-gradient(circle at center, transparent 65%, rgba(60,77,87,.13) 65% 73%, transparent 73%); }

@media (min-width: 1024px) {
  .block-hero-wrap.has-quicklinks { z-index: 3; }
  .hero-quicklinks { position: absolute; z-index: 5; margin: 0; width: 22rem;
    right: max(2rem, calc((100% - 80rem) / 2 + 2rem)); bottom: -3.25rem; }
}

/* --- Features TILES variant (coloured shortcut tiles + circular arrow, left header) ------- */
.block-cards__header--left { max-width: 46rem; margin-inline: 0; text-align: left; }
.block-cards--tiles .block-cards__grid--tiles { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .block-cards--tiles .block-cards__grid--tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .block-cards--tiles .block-cards__grid--tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 1.75rem; min-height: 12.5rem;
  padding: 1.5rem; border-radius: var(--gpl-radius); background: var(--gpl-color-surface);
  border: 1px solid rgba(35,45,51,.05); box-shadow: 0 1px 2px rgba(35,45,51,.06); transition: box-shadow .2s, transform .2s; }
.tile.is-linked:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(35,45,51,.35); }
.tile .stretched-link::after { content: ""; position: absolute; inset: 0; }
.tile__title { font-size: 1.2rem; color: var(--gpl-color-primary); }
.tile__title a { color: inherit; }
.tile__text { margin-top: .4rem; font-size: .9rem; line-height: 1.5; color: var(--gpl-slate-600); }
.tile__go { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 9999px;
  background: var(--gpl-color-accent); color: var(--gpl-slate-900); box-shadow: 0 6px 14px -6px rgba(214,163,31,.6); transition: background-color .2s; }
.tile.is-linked:hover .tile__go { background: var(--gpl-color-accent-dark); }
/* Tone tiles reuse the sv-tone palette (same hexes as .card in suprevo.css). */
.tile.sv-tone { box-shadow: none; border-color: transparent; }
.tile.sv-tone--mint  { background-color: #dcefe4; }
.tile.sv-tone--lucht { background-color: #dbeaf2; }
.tile.sv-tone--zand  { background-color: #f4ead7; }
.tile.sv-tone--roze  { background-color: #f6e2e4; }
.tile.sv-tone .tile__title { color: #2c3940; }
/* Spoed (rose) tile: clay arrow, matching the custom theme. */
.tile.sv-tone--roze .tile__go { background-color: var(--gpl-color-clay); color: #fff; }

/* --- Search referral (external-site search panels) --------------------------------------- *
 * Two side-by-side cards (stacking under 900px); each refers the visitor to an external search
 * site via a GET <form>. The card background is per-item (tone). */
.block-search-referral__inner { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 640px) { .block-search-referral__inner { padding-inline: 2rem; } }
.block-search-referral__grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .block-search-referral__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Each panel is a card — the search bar is pushed to the bottom so both cards' fields align. */
.block-search-referral__item {
	display: flex; flex-direction: column; height: 100%;
	padding: 2rem; border-radius: var(--gpl-radius-lg);
	border: 1px solid rgba(35, 45, 51, .06);
}
@media (min-width: 640px) { .block-search-referral__item { padding: 2.5rem; } }

/* Tones — card backgrounds (blue = health info, neutral = medication, per source). */
.block-search-referral__item--blue  { background-color: #e4eff6; }
.block-search-referral__item--white { background-color: var(--gpl-color-surface, #fff); }
.block-search-referral__item--mint  { background-color: #dcefe4; }
/* Neutral: warm grey carrying the source design's subtle dot texture. */
.block-search-referral__item--neutral {
	background-color: #ecebe4;
	background-image: radial-gradient(rgba(35, 45, 51, .08) 1px, transparent 1.4px);
	background-size: 14px 14px;
}

/* Head: intro (left) + logo (right); logo drops below the title on the narrowest cards. */
.block-search-referral__head { display: grid; gap: 1rem 1.5rem; align-items: start; grid-template-columns: minmax(0, 1fr) auto; }
.block-search-referral__title { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin: 0 0 .85rem; }
.block-search-referral__title a { color: var(--gpl-color-primary); text-decoration: none; }
.block-search-referral__title a:hover { color: var(--gpl-color-accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.block-search-referral__question { margin: 0 0 .85rem; font-weight: 700; color: var(--gpl-color-ink); }
.block-search-referral__body { max-width: 54ch; }
.block-search-referral__logo { justify-self: end; }
.block-search-referral__logo-img { max-height: 3.25rem; width: auto; }

/* Search bar — field + submit; margin-top:auto pins it to the card's foot. Opens in a new tab. */
.block-search-referral__form { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: auto; padding-top: 1.75rem; }
.block-search-referral__input {
	flex: 1 1 12rem; min-height: 3.25rem; padding: .75rem 1.25rem;
	border: 1px solid rgba(35, 45, 51, .14); border-radius: 12px;
	background: #fff; color: var(--gpl-color-ink); font-size: 1rem;
	box-shadow: 0 1px 2px rgba(35, 45, 51, .04);
}
.block-search-referral__input::placeholder { color: var(--gpl-slate-500); }
.block-search-referral__input:focus-visible { outline: 3px solid var(--gpl-color-accent); outline-offset: 1px; border-color: transparent; }
/* Rectangular submit (matches the field + the source design), overriding the pill .btn radius. */
.block-search-referral__submit { flex: 0 0 auto; min-height: 3.25rem; padding-inline: 1.75rem; border-radius: 12px; }
@media (max-width: 560px) { .block-search-referral__submit { flex: 1 1 100%; } }
