/*
 * Grenswonen — frontend.
 *
 * Huisstijl naar het Resido-referentieontwerp (shreethemes, home-2), met
 * PT Sans en blauw #0058a5 als actiekleur, navy (#00305c) als tweede kleur,
 * lichtgrijze secties en witte kaarten met zachte randen. PT Sans is zelf
 * gehost (assets/vendor/pt-sans/) — geen CDN-verzoek tijdens runtime.
 * Er zijn alleen gewichten 400 en 700; gebruik geen tussengewichten.
 *
 * Basisregels staan in :where() zodat elke componentklasse ze zonder
 * specificiteitsgevecht overschrijft. Functionele statuskleuren (verkocht,
 * nieuw, verlaagd, onder bod) zijn informatie, geen merkidentiteit.
 */

@font-face {
	font-family: 'PT Sans';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../vendor/pt-sans/pt-sans-400.woff2') format('woff2');
}
@font-face {
	font-family: 'PT Sans';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../vendor/pt-sans/pt-sans-700.woff2') format('woff2');
}

:root {
	--gw-blue: #0058a5;
	--gw-blue-dark: #004580;
	--gw-blue-soft: rgba(0, 88, 165, .1);
	--gw-navy: #00305c;
	--gw-navy-dark: #00233f;
	--gw-dark: #13293d;
	--gw-heading: #192839;
	--gw-ink: #40566d;
	--gw-muted: #768ea7;
	--gw-gray: #edf1fb;
	--gw-gray-light: #f4f7fc;
	--gw-line: #e5ebf3;
	--gw-red: #e23c1f;
	--gw-red-soft: rgba(226, 60, 31, .1);
	--gw-green: #009868;
	--gw-green-soft: rgba(0, 152, 104, .1);
	--gw-accent: var(--gw-blue);
	--gw-accent-soft: var(--gw-blue-soft);
	--gw-radius: 10px;
	--gw-radius-sm: 6px;
	--gw-shadow: 0 2px 14px rgba(25, 40, 57, .06);
	--gw-shadow-hover: 0 14px 34px rgba(25, 40, 57, .12);
	--gw-font: 'PT Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ------------------------------------------------------------------ basis */

:where(body.gw-site) {
	background: #fff;
	color: var(--gw-ink);
	font-family: var(--gw-font);
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}
:where(.gw-site) *, :where(.gw-site) *::before, :where(.gw-site) *::after { box-sizing: border-box; }
:where(.gw-site) :is(h1, h2, h3, h4) {
	color: var(--gw-heading);
	font-family: var(--gw-font);
	font-weight: 700;
	letter-spacing: -.01em;
	line-height: 1.25;
}
:where(.gw-site) a { color: var(--gw-blue); text-decoration: none; }
:where(.gw-site) a:hover { color: var(--gw-blue-dark); }
:where(.gw-site) img { height: auto; max-width: 100%; }
:where(.gw-site) :is(input, select, textarea, button) { font: inherit; }

.gw-site [hidden] { display: none !important; }
.gw-site :focus-visible { outline: 2px solid var(--gw-blue); outline-offset: 2px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px;
}
.gw-skip {
	background: var(--gw-navy); color: #fff; left: 12px; padding: 10px 16px;
	position: absolute; top: -60px; z-index: 1000;
}
.gw-skip:focus { color: #fff; top: 12px; }

.gw-wrap {
	margin-left: auto;
	margin-right: auto;
	max-width: 1320px;
	padding-left: 24px;
	padding-right: 24px;
	width: 100%;
}

.gw-icon { display: inline-block; flex-shrink: 0; height: 20px; vertical-align: middle; width: 20px; }
.gw-icon--sm { height: 16px; width: 16px; }
.gw-icon--xs { height: 14px; width: 14px; }

/* ----------------------------------------------------------------- header */

.gw-header {
	background: #fff;
	border-bottom: 1px solid var(--gw-line);
	position: sticky;
	top: 0;
	z-index: 50;
}
.admin-bar .gw-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .gw-header { top: 0; position: relative; } }

.gw-header__inner { align-items: center; display: flex; gap: 32px; min-height: 80px; }

.gw-logo { align-items: center; color: var(--gw-heading); display: inline-flex; gap: 10px; }
.gw-logo:hover { color: var(--gw-heading); }
.gw-logo__mark { color: var(--gw-blue); height: 38px; width: 38px; }
.gw-logo__tekst { font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.gw-logo__tld { color: var(--gw-blue); }

.gw-nav { align-items: center; display: flex; flex: 1; gap: 28px; justify-content: space-between; }
.gw-nav__lijst { align-items: center; display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.gw-nav__lijst > li { position: relative; }
.gw-nav__lijst a,
.gw-nav__knop {
	align-items: center; background: none; border: 0; border-radius: var(--gw-radius-sm);
	color: var(--gw-heading); cursor: pointer; display: inline-flex; font-size: .95rem;
	font-weight: 700; gap: 4px; padding: 10px 12px;
}
.gw-nav__lijst a:hover, .gw-nav__knop:hover,
.gw-nav__lijst a[aria-current="page"], .gw-nav__lijst .current-menu-item > a { color: var(--gw-blue); }

.gw-nav__sub {
	background: #fff; border-radius: var(--gw-radius); box-shadow: 0 16px 40px rgba(25, 40, 57, .14);
	left: 0; list-style: none; margin: 0; min-width: 240px; opacity: 0; padding: 8px;
	position: absolute; top: 100%; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease;
	visibility: hidden; z-index: 60;
}
.gw-nav__dropdown:hover .gw-nav__sub,
.gw-nav__dropdown:focus-within .gw-nav__sub { opacity: 1; transform: none; visibility: visible; }
.gw-nav__sub a { display: flex; justify-content: space-between; width: 100%; }
.gw-nav__sub a span { color: var(--gw-muted); font-size: .82rem; }
.gw-nav__sub a:hover { background: var(--gw-gray-light); }

.gw-header__cta {
	align-items: center; background: var(--gw-blue); border-radius: var(--gw-radius-sm); color: #fff;
	display: inline-flex; font-size: .92rem; font-weight: 700; gap: 8px; padding: 12px 20px;
	transition: background-color .15s ease; white-space: nowrap;
}
.gw-header__cta:hover { background: var(--gw-blue-dark); color: #fff; }
.gw-header__cta .gw-icon { height: 18px; width: 18px; }

/* Op de voorpagina ligt de balk over de blauwe hero. */
.gw-header--hero { background: var(--gw-blue); border-bottom-color: rgba(255, 255, 255, .14); }
.gw-header--hero .gw-logo, .gw-header--hero .gw-logo:hover { color: #fff; }
.gw-header--hero .gw-logo__mark { color: #fff; }
.gw-header--hero .gw-logo__tld { color: rgba(255, 255, 255, .7); }
.gw-header--hero .gw-nav__lijst > li > a,
.gw-header--hero .gw-nav__knop { color: #fff; }
.gw-header--hero .gw-nav__lijst > li > a:hover,
.gw-header--hero .gw-nav__knop:hover { color: rgba(255, 255, 255, .78); }
.gw-header--hero .gw-header__cta { background: #fff; color: var(--gw-heading); }
.gw-header--hero .gw-header__cta:hover { background: var(--gw-gray); color: var(--gw-heading); }

.gw-nav-toggle-cb { position: absolute; left: -9999px; }
.gw-nav-toggle, .gw-nav__sluit { display: none; }

@media (max-width: 959.98px) {
	.gw-header__inner { justify-content: space-between; min-height: 68px; }
	.gw-nav-toggle, .gw-nav__sluit {
		align-items: center; border-radius: var(--gw-radius-sm); cursor: pointer; display: flex;
		height: 44px; justify-content: center; width: 44px;
	}
	.gw-nav-toggle { color: inherit; }
	.gw-header--hero .gw-nav-toggle { color: #fff; }
	.gw-nav-toggle .gw-icon, .gw-nav__sluit .gw-icon { height: 26px; width: 26px; }
	.gw-nav {
		align-items: stretch; background: #fff; bottom: 0; flex-direction: column; gap: 18px;
		justify-content: flex-start; max-width: 340px; overflow-y: auto; padding: 72px 20px 24px;
		position: fixed; right: 0; top: 0; transform: translateX(100%); transition: transform .2s ease;
		width: 86vw; z-index: 200;
	}
	.gw-nav-toggle-cb:checked ~ .gw-nav { box-shadow: -20px 0 60px rgba(0, 0, 0, .25); transform: none; }
	.gw-nav__sluit { color: var(--gw-heading); position: absolute; right: 12px; top: 12px; }
	.gw-nav__lijst { align-items: stretch; flex-direction: column; gap: 0; }
	.gw-nav__lijst > li { border-bottom: 1px solid var(--gw-line); }
	.gw-header--hero .gw-nav__lijst > li > a,
	.gw-header--hero .gw-nav__knop,
	.gw-nav__lijst a, .gw-nav__knop { color: var(--gw-heading); padding: 14px 4px; width: 100%; }
	.gw-nav__sub { box-shadow: none; opacity: 1; padding: 0 0 8px 12px; position: static; transform: none; visibility: visible; }
	.gw-header--hero .gw-header__cta { background: var(--gw-blue); color: #fff; }
	.gw-header__cta { justify-content: center; }
}

/* ------------------------------------------------------------ titelbalk */

.gw-paginatitel { background: var(--gw-gray); padding: 44px 0 48px; }
.gw-paginatitel__titel { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 700; margin: 0 0 10px; }
.gw-paginatitel__lead { color: var(--gw-ink); font-size: 1.05rem; margin: 0; max-width: 70ch; }
.gw-paginatitel__intro { color: var(--gw-ink); max-width: 78ch; }
.gw-paginatitel__intro p { margin: 0 0 10px; }
.gw-paginatitel__meta { color: var(--gw-muted); font-size: .88rem; margin: 10px 0 0; }
.gw-paginatitel__terug { margin: 12px 0 0; }
.gw-paginatitel .gw-ad-slot { margin-bottom: 0; }

.gw-breadcrumb { color: var(--gw-muted); font-size: .88rem; margin-bottom: 14px; }
.gw-breadcrumb a { color: var(--gw-ink); }
.gw-breadcrumb a:hover { color: var(--gw-blue); }
.gw-breadcrumb span { margin: 0 4px; }
.gw-breadcrumb > span:last-child { color: var(--gw-blue); }

.gw-pagina { padding: 48px 0 72px; }

/* ---------------------------------------------------------------- knoppen */

.gw-btn {
	align-items: center; border: 1px solid transparent; border-radius: var(--gw-radius-sm); cursor: pointer;
	display: inline-flex; font-size: .95rem; font-weight: 700; gap: 8px; justify-content: center;
	min-height: 46px; padding: 10px 22px; text-align: center; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.gw-btn--primary { background: var(--gw-blue); color: #fff; }
.gw-btn--primary:hover { background: var(--gw-blue-dark); color: #fff; }
.gw-btn--navy { background: var(--gw-navy); color: #fff; }
.gw-btn--navy:hover { background: var(--gw-navy-dark); color: #fff; }
.gw-btn--tekst { background: #fff; border-color: var(--gw-line); color: var(--gw-heading); }
.gw-btn--tekst:hover { border-color: var(--gw-blue); color: var(--gw-blue); }
.gw-btn--groot { font-size: 1rem; min-height: 56px; padding: 14px 48px; }
.gw-btn--klein { font-size: .85rem; min-height: 36px; padding: 6px 22px; }
.gw-btn--blok { width: 100%; }

/* ---------------------------------------------------------------- labels */

.gw-label {
	border-radius: 4px; display: inline-block; font-size: .74rem; font-weight: 700;
	line-height: 1.2; padding: 5px 10px;
}
.gw-label--koop, .gw-label--erfpacht { background: var(--gw-red-soft); color: var(--gw-red); }
.gw-label--huur { background: var(--gw-green-soft); color: var(--gw-green); }
.gw-label--type { background: var(--gw-blue-soft); color: var(--gw-blue); }

.gw-badge {
	align-items: center; background: var(--gw-dark); border-radius: 4px; color: #fff; display: inline-flex;
	font-size: .72rem; font-weight: 700; gap: 5px; letter-spacing: .01em; padding: 4px 10px;
}
.gw-badge--nieuw { background: var(--gw-green); }
.gw-badge--verlaagd { background: var(--gw-red); }
.gw-badge--verkocht { background: #b32d2e; }
.gw-badge--onder_bod { background: #dba617; color: var(--gw-dark); }

/* ------------------------------------------------------------ woningkaart */

.gw-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }

.gw-card {
	background: #fff; border: 1px solid var(--gw-line); border-radius: var(--gw-radius);
	padding: 14px; position: relative; transition: box-shadow .2s ease, transform .2s ease;
}
.gw-card:hover { box-shadow: var(--gw-shadow-hover); transform: translateY(-3px); }
.gw-card__link { color: inherit; display: block; }
.gw-card__link:hover { color: inherit; }

.gw-card__media { aspect-ratio: 3 / 2; background: var(--gw-gray); border-radius: 8px; overflow: hidden; position: relative; }
.gw-card__media img { display: block; height: 100%; object-fit: cover; transition: transform .4s ease; width: 100%; }
.gw-card:hover .gw-card__media img { transform: scale(1.04); }
.gw-card__placeholder { align-items: center; color: var(--gw-muted); display: flex; height: 100%; justify-content: center; }
.gw-card__placeholder .gw-icon { height: 44px; opacity: .5; width: 44px; }

.gw-card__signalen { display: flex; flex-wrap: wrap; gap: 6px; left: 12px; position: absolute; top: 12px; }
.gw-card__signalen--single { margin-bottom: 12px; position: static; }

.gw-favoriet-knop {
	align-items: center; background: rgba(255, 255, 255, .95); border: 0; border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .12); color: var(--gw-muted); cursor: pointer; display: flex;
	height: 40px; justify-content: center; position: absolute; right: 24px; top: 24px; width: 40px; z-index: 5;
}
.gw-favoriet-knop .gw-icon { height: 20px; width: 20px; }
.gw-favoriet-knop:hover { color: var(--gw-red); }
.gw-favoriet-knop.is-actief { color: var(--gw-red); }
.gw-favoriet-knop.is-actief .gw-icon { fill: currentColor; }
.gw-favoriet-knop--single {
	border: 1px solid var(--gw-line); border-radius: var(--gw-radius-sm); box-shadow: none; font-size: .9rem;
	gap: 6px; height: auto; min-height: 44px; padding: 8px 16px; position: static; width: auto;
}

.gw-card__body { padding: 16px 4px 2px; }
.gw-card__labels { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.gw-card__title { font-size: 1.12rem; font-weight: 700; line-height: 1.35; margin: 0 0 4px; }
.gw-card:hover .gw-card__title { color: var(--gw-blue); }
.gw-card__place { align-items: center; color: var(--gw-muted); display: flex; font-size: .9rem; gap: 5px; margin: 0 0 16px; }

.gw-card__facts {
	color: var(--gw-ink); display: flex; flex-wrap: wrap; font-size: .86rem; gap: 8px 10px;
	justify-content: space-between; list-style: none; margin: 0 0 14px; padding: 0;
}
.gw-card__facts li { align-items: center; display: flex; gap: 6px; white-space: nowrap; }
.gw-card__fact-icon {
	align-items: center; background: var(--gw-gray); border-radius: 50%; color: var(--gw-navy);
	display: inline-flex; height: 28px; justify-content: center; width: 28px;
}
.gw-card__fact-icon .gw-icon { height: 15px; width: 15px; }

.gw-card__border {
	align-items: center; background: var(--gw-gray-light); border-radius: var(--gw-radius-sm); color: var(--gw-navy);
	display: flex; font-size: .84rem; gap: 6px; margin: 0 0 14px; padding: 7px 10px;
}

.gw-card__footer { align-items: center; border-top: 1px solid var(--gw-line); display: flex; justify-content: space-between; padding-top: 14px; }
.gw-card__price { color: var(--gw-heading); font-size: 1.35rem; font-weight: 700; margin: 0; }
.gw-card__price small { color: var(--gw-muted); font-size: .85rem; font-weight: 400; }
.gw-card__price-was { color: var(--gw-muted); font-size: .85rem; font-weight: 400; margin-left: 6px; text-decoration: line-through; }
.gw-card__go {
	align-items: center; background: var(--gw-blue-soft); border-radius: 50%; color: var(--gw-blue);
	display: inline-flex; height: 38px; justify-content: center; transition: background-color .15s ease, color .15s ease; width: 38px;
}
.gw-card:hover .gw-card__go { background: var(--gw-blue); color: #fff; }

.gw-card.is-gemarkeerd { box-shadow: 0 0 0 3px var(--gw-blue); }

/* ----------------------------------------------------------- sectiekoppen */

.gw-sectiekop { margin: 0 auto 40px; max-width: 760px; text-align: center; }
.gw-sectiekop h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 10px; }
.gw-sectiekop p { color: var(--gw-ink); margin: 0; }

/* ------------------------------------------------------------- gidskaarten */

.gw-gidskaarten { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.gw-gidskaart {
	background: #fff; border: 1px solid var(--gw-line); border-radius: 16px; display: flex;
	flex-direction: column; padding: 32px; transition: box-shadow .2s ease, transform .2s ease;
}
.gw-gidskaart:hover { box-shadow: var(--gw-shadow-hover); transform: translateY(-3px); }
.gw-gidskaart__kop { align-items: center; display: flex; justify-content: space-between; margin-bottom: 22px; }
.gw-gidskaart__icoon {
	align-items: center; background: var(--gw-blue-soft); border-radius: 50%; color: var(--gw-blue);
	display: inline-flex; height: 52px; justify-content: center; width: 52px;
}
.gw-gidskaart__icoon .gw-icon { height: 24px; width: 24px; }
.gw-gidskaart__badge {
	background: var(--gw-green); border-radius: 20px; color: #fff; font-size: .72rem;
	font-weight: 700; letter-spacing: .03em; padding: 5px 14px; text-transform: uppercase;
}
.gw-gidskaart h2, .gw-gidskaart h3 { font-size: 1.25rem; font-weight: 700; margin: 0 0 12px; }
.gw-gidskaart h2 a, .gw-gidskaart h3 a { color: var(--gw-heading); }
.gw-gidskaart h2 a:hover, .gw-gidskaart h3 a:hover { color: var(--gw-blue); }
.gw-gidskaart p { color: var(--gw-ink); flex: 1; margin: 0 0 24px; }

/* ------------------------------------------------------------ zoekpagina */

.gw-layout.gw-layout--zoeken { display: grid; gap: 30px; }
@media (min-width: 960px) { .gw-layout.gw-layout--zoeken { grid-template-columns: 320px minmax(0, 1fr); } }

.gw-resultaten__top {
	align-items: center; background: #fff; border: 1px solid var(--gw-line); border-radius: var(--gw-radius);
	display: flex; flex-wrap: wrap; gap: 12px 18px; justify-content: space-between; margin-bottom: 24px; padding: 12px 18px;
}
.gw-count { color: var(--gw-ink); margin: 0; }
.gw-count strong { color: var(--gw-heading); }
.gw-link-favorieten { font-size: .92rem; margin-left: auto; white-space: nowrap; }
.gw-resultaten__top .gw-btn { min-height: 40px; padding: 6px 16px; }
.gw-empty, .gw-leeg { color: var(--gw-ink); padding: 32px 0; }

.gw-pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.gw-pager__item {
	align-items: center; border: 1px solid var(--gw-line); border-radius: 50%; color: var(--gw-heading);
	display: inline-flex; height: 44px; justify-content: center; width: 44px;
}
.gw-pager__item:hover { border-color: var(--gw-blue); color: var(--gw-blue); }
.gw-pager__item.is-current { background: var(--gw-blue); border-color: var(--gw-blue); color: #fff; }

/* Filters: witte zijbalk met grijze invoervelden, zoals de Resido-sidebar. */
.gw-filters-toggle-cb { position: absolute; left: -9999px; }
.gw-filters-toggle {
	align-items: center; background: #fff; border: 1px solid var(--gw-line); border-radius: var(--gw-radius-sm);
	color: var(--gw-heading); cursor: pointer; display: inline-flex; font-weight: 700; gap: 8px; padding: 10px 18px;
}
.gw-filters-toggle__badge { background: var(--gw-blue); border-radius: 10px; color: #fff; font-size: .76rem; padding: 1px 8px; }
@media (min-width: 960px) { .gw-filters-toggle { display: none; } }

.gw-filters { background: #fff; border: 1px solid var(--gw-line); border-radius: var(--gw-radius); display: none; padding: 24px; }
@media (min-width: 960px) { .gw-filters { align-self: start; display: block; } }

.gw-filters-toggle-cb:checked ~ .gw-filters { display: block; }
.gw-filters__sluit { display: none; }
@media (max-width: 959.98px) {
	.gw-filters { border-radius: 0; bottom: 0; left: 0; overflow-y: auto; position: fixed; right: 0; top: 0; z-index: 300; }
	.gw-filters__sluit {
		align-items: center; background: var(--gw-gray); border-radius: 50%; color: var(--gw-heading); cursor: pointer;
		display: flex; font-size: 1.4rem; height: 44px; justify-content: center; line-height: 1;
		position: absolute; right: 12px; top: 12px; width: 44px; z-index: 1;
	}
}

.gw-filters__form { display: flex; flex-direction: column; gap: 20px; }
.gw-filters__group { border: 0; display: flex; flex-direction: column; gap: 8px; margin: 0; min-width: 0; padding: 0; }
.gw-filters__group label:not(.gw-filters__checkbox),
.gw-filters__group legend,
.gw-filters__label { color: var(--gw-heading); font-size: .92rem; font-weight: 700; padding: 0; }
.gw-filters__group legend { margin-bottom: 8px; }

.gw-filters input[type="text"],
.gw-filters input[type="number"],
.gw-filters input[type="email"],
.gw-filters select,
.gw-form__group input,
.gw-form__group textarea,
.gw-form__group select {
	background: var(--gw-gray); border: 1px solid var(--gw-gray); border-radius: var(--gw-radius-sm);
	color: var(--gw-heading); min-height: 48px; min-width: 0; padding: 10px 14px; width: 100%;
}
.gw-filters input:focus, .gw-filters select:focus,
.gw-form__group input:focus, .gw-form__group textarea:focus, .gw-form__group select:focus {
	background: #fff; border-color: var(--gw-blue); outline: none;
}
.gw-filters ::placeholder, .gw-form ::placeholder { color: var(--gw-muted); }
.gw-filters__range { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }

.gw-filters__checkbox {
	align-items: center; color: var(--gw-ink); cursor: pointer; display: flex; font-size: .92rem; font-weight: 400;
	gap: 10px; padding: 3px 0;
}
.gw-filters__checkbox input { accent-color: var(--gw-blue); flex-shrink: 0; height: 18px; margin: 0; width: 18px; }
.gw-filters__checkbox .gw-filters__count { margin-left: auto; }
.gw-filters__checkbox.is-leeg { color: #aab8c7; cursor: default; }
.gw-filters__count { color: var(--gw-muted); font-size: .8rem; }
.gw-filters__actions { display: flex; flex-direction: column; gap: 10px; }
.gw-filters__actions .gw-btn--primary { width: 100%; }

.gw-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gw-chips:empty { display: none; }
.gw-chip {
	align-items: center; background: var(--gw-blue-soft); border-radius: 20px; color: var(--gw-blue);
	display: inline-flex; font-size: .84rem; gap: 4px; padding: 3px 4px 3px 12px;
}
.gw-chip__remove {
	align-items: center; background: none; border: 0; color: inherit; cursor: pointer; display: inline-flex;
	font-size: 1.05rem; justify-content: center; line-height: 1; min-height: 28px; min-width: 28px;
}

.gw-suggesties {
	background: #fff; border: 1px solid var(--gw-line); border-radius: var(--gw-radius-sm);
	box-shadow: 0 12px 30px rgba(25, 40, 57, .14); list-style: none; margin: 4px 0 0;
	max-height: 260px; overflow-y: auto; padding: 6px; position: relative; z-index: 20;
}
.gw-suggesties li { margin: 0; }
.gw-suggesties button {
	background: none; border: 0; border-radius: 4px; color: var(--gw-heading); cursor: pointer;
	display: block; padding: 8px 10px; text-align: left; width: 100%;
}
.gw-suggesties button:hover { background: var(--gw-gray-light); color: var(--gw-blue); }

.gw-alert { border-top: 1px solid var(--gw-line); margin-top: 24px; padding-top: 20px; scroll-margin-top: 110px; }
.gw-alert h2 { font-size: 1.05rem; margin: 0 0 4px; }

.gw-recent-bekeken { margin-bottom: 28px; }
.gw-recent-bekeken h2 { font-size: 1rem; margin: 0 0 12px; }
.gw-recent-bekeken__lijst { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; }
.gw-recent-bekeken__item {
	background: #fff; border: 1px solid var(--gw-line); border-radius: var(--gw-radius); color: inherit;
	flex: 0 0 160px; overflow: hidden; padding: 6px;
}
.gw-recent-bekeken__item img { aspect-ratio: 4 / 3; border-radius: 6px; display: block; object-fit: cover; width: 100%; }
.gw-recent-bekeken__titel, .gw-recent-bekeken__prijs {
	color: var(--gw-heading); display: block; font-size: .8rem; overflow: hidden; padding: 6px 4px 0; text-overflow: ellipsis; white-space: nowrap;
}
.gw-recent-bekeken__prijs { font-weight: 700; padding-bottom: 4px; padding-top: 2px; }

.gw-specs.gw-gebied__cijfers {
	background: #fff; border: 1px solid var(--gw-line); border-radius: var(--gw-radius);
	column-gap: 28px; margin: 0 0 30px; padding: 6px 20px;
}
@media (min-width: 640px) { .gw-gebied__cijfers { columns: 2; } }
@media (min-width: 960px) { .gw-gebied__cijfers { columns: 3; } }
.gw-gebied__cijfers > div { break-inside: avoid; }

/* ----------------------------------------------------------------- kaart */

.gw-map-wrap { margin-bottom: 24px; }
.gw-map { border: 1px solid var(--gw-line); border-radius: var(--gw-radius); height: 300px; width: 100%; z-index: 1; }
@media (min-width: 720px) { .gw-map { height: 460px; } }
.gw-map-placeholder {
	align-items: center; background: var(--gw-gray-light); border: 1px dashed #c9d6e8; border-radius: var(--gw-radius);
	display: flex; flex-direction: column; gap: 12px; height: 200px; justify-content: center; padding: 20px; text-align: center;
}
.gw-map-placeholder p { color: var(--gw-ink); margin: 0; max-width: 46ch; }
.gw-map-popup { color: inherit; display: block; }
.gw-map-popup strong { display: block; margin-bottom: 2px; }

/* -------------------------------------------------------------- detailpagina */

.gw-single { background: var(--gw-gray-light); }

.gw-single__header {
	align-items: flex-end; display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; margin: 22px 0 24px;
}
.gw-single__title { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; margin: 0 0 8px; }
.gw-single__place { color: var(--gw-ink); margin: 0; }
.gw-single__looptijd { color: var(--gw-muted); font-size: .9rem; margin: 6px 0 0; }
.gw-single__price-block { align-items: flex-end; display: flex; flex-direction: column; gap: 10px; }
.gw-single__price { color: var(--gw-blue); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin: 0; white-space: nowrap; }

.gw-gallery { display: grid; gap: 10px; grid-template-columns: repeat(4, 1fr); margin-bottom: 30px; }
.gw-gallery__item { border-radius: var(--gw-radius); margin: 0; overflow: hidden; }
.gw-gallery__item img { aspect-ratio: 4 / 3; display: block; object-fit: cover; transition: transform .4s ease; width: 100%; }
.gw-gallery__item:hover img { transform: scale(1.03); }
.gw-gallery__item--main { grid-column: span 4; }
.gw-gallery__item figcaption { color: var(--gw-muted); font-size: .78rem; padding: 4px 2px 0; }
.gw-gallery__open { background: none; border: 0; cursor: zoom-in; display: block; margin: 0; overflow: hidden; padding: 0; position: relative; width: 100%; }
.gw-gallery__meer {
	align-items: center; background: rgba(0, 48, 92, .6); color: #fff; display: flex; font-size: 1rem; font-weight: 700;
	height: 100%; inset: 0; justify-content: center; position: absolute; width: 100%;
}
@media (min-width: 720px) {
	.gw-gallery__item--main { grid-column: span 2; grid-row: span 2; }
	.gw-gallery__item--main img { aspect-ratio: auto; height: 100%; }
}

.gw-lightbox {
	background: rgba(0, 0, 0, .92); border: 0; max-height: none; max-width: none; overflow-y: auto; padding: 0; width: 100%;
	/* 100% alleen als fallback: in de top-layer van <dialog> resolvet een
	   percentage tegen de maximale (adresbalk-inklapbare) iOS Safari-viewport,
	   niet de daadwerkelijk zichtbare. */
	height: 100%;
	height: 100dvh;
}
.gw-lightbox::backdrop { background: rgba(0, 0, 0, .92); }
.gw-lightbox img { display: block; left: 50%; max-height: 88vh; max-width: 92vw; position: absolute; top: 50%; transform: translate(-50%, -50%); }
.gw-lightbox__sluit, .gw-lightbox__nav {
	background: rgba(255, 255, 255, .12); border: 0; border-radius: 50%; color: #fff; cursor: pointer;
	font-size: 1.6rem; height: 44px; line-height: 1; position: absolute; width: 44px;
}
.gw-lightbox__sluit:hover, .gw-lightbox__nav:hover { background: rgba(255, 255, 255, .22); }
.gw-lightbox__sluit { right: 16px; top: 16px; }
.gw-lightbox__nav--vorige { left: 16px; top: 50%; transform: translateY(-50%); }
.gw-lightbox__nav--volgende { right: 16px; top: 50%; transform: translateY(-50%); }
.gw-lightbox__caption { bottom: 16px; color: #fff; font-size: .84rem; left: 0; margin: 0; position: absolute; text-align: center; width: 100%; }
.gw-lightbox__counter { color: rgba(255, 255, 255, .65); margin-left: 8px; }

.gw-layout { display: grid; gap: 30px; }
@media (min-width: 960px) { .gw-layout { grid-template-columns: minmax(0, 1fr) 380px; } }

/* Elk inhoudsblok als eigen witte kaart op de grijze achtergrond. */
.gw-main > .gw-block,
.gw-main > .gw-ad-slot { background: #fff; border: 1px solid var(--gw-line); border-radius: var(--gw-radius); margin: 0 0 24px; padding: 26px 28px; }
.gw-main > .gw-ad-slot:empty { display: none; }
.gw-block { margin-bottom: 34px; }
.gw-block h2 { font-size: 1.2rem; font-weight: 700; margin: 0 0 16px; }
.gw-main > .gw-block h2 { border-bottom: 1px solid var(--gw-line); margin: -4px -28px 18px; padding: 0 28px 16px; }
.gw-main > .gw-block h2 ~ h2 { border-bottom: 0; margin: 22px 0 10px; padding: 0; }
.gw-block h3 { font-size: .98rem; font-weight: 700; margin: 18px 0 8px; }
.gw-block p { line-height: 1.75; }

.gw-notice {
	background: #fcf6e5; border-left: 3px solid #dba617; border-radius: 0 var(--gw-radius-sm) var(--gw-radius-sm) 0;
	color: #5a4a12; font-size: .9rem; margin: 0 0 16px; padding: 10px 14px;
}
.gw-notice--ok { background: #e6f5ef; border-left-color: var(--gw-green); color: #0d5b41; }

.gw-specs { display: grid; gap: 0 32px; margin: 0; }
@media (min-width: 640px) { .gw-main .gw-specs:not(.gw-specs--tight) { grid-template-columns: 1fr 1fr; } }
.gw-specs > div { border-bottom: 1px solid var(--gw-line); display: flex; gap: 16px; justify-content: space-between; padding: 10px 0; }
.gw-specs dt { color: var(--gw-ink); margin: 0; }
.gw-specs dd { color: var(--gw-heading); font-weight: 700; margin: 0; text-align: right; }
.gw-specs--tight > div { font-size: .9rem; padding: 7px 0; }

.gw-glossarium .gw-specs > div { align-items: flex-start; flex-direction: column; gap: 2px; }
.gw-glossarium dt { color: var(--gw-heading); font-weight: 700; }
.gw-glossarium dt .gw-glossarium__nl { color: var(--gw-muted); font-weight: 400; }
.gw-glossarium dd { color: var(--gw-ink); font-weight: 400; text-align: left; }

.gw-taglist { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 4px; padding: 0; }
.gw-taglist li { background: var(--gw-gray); border-radius: 20px; color: var(--gw-heading); font-size: .88rem; padding: 6px 14px; }
.gw-taglist a { color: var(--gw-heading); }
.gw-taglist a:hover { color: var(--gw-blue); }

.gw-floorplans { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.gw-floorplans figure { margin: 0; }
.gw-floorplans img { border: 1px solid var(--gw-line); border-radius: var(--gw-radius-sm); width: 100%; }
.gw-floorplans figcaption { color: var(--gw-muted); font-size: .8rem; padding-top: 4px; }

.gw-insight { background: var(--gw-blue-soft); border-left: 3px solid var(--gw-blue); border-radius: 0 var(--gw-radius) var(--gw-radius) 0; padding: 18px 22px; }
.gw-main > .gw-block .gw-insight h2 { border: 0; margin: 0 0 8px; padding: 0; }
.gw-insight h2 { font-size: 1.05rem; margin: 0 0 8px; }
.gw-insight p { margin: 0; }
.gw-insight p + p { margin-top: 10px; }

/* Zijkant */
.gw-side { display: flex; flex-direction: column; gap: 24px; }
.gw-panel { background: #fff; border: 1px solid var(--gw-line); border-radius: var(--gw-radius); padding: 24px; }
.gw-panel h2 { font-size: 1.1rem; font-weight: 700; margin: 0 0 14px; }
.gw-panel--accent { background: var(--gw-navy); border-color: var(--gw-navy); color: rgba(255, 255, 255, .85); }
.gw-panel--accent h2, .gw-panel--accent .gw-distance strong { color: #fff; }
.gw-panel--accent .gw-distances li { border-top-color: rgba(255, 255, 255, .14); }
.gw-panel--accent .gw-distances span, .gw-panel--accent .gw-footnote { color: rgba(255, 255, 255, .65); }
.gw-panel p { margin: 0 0 6px; }

.gw-distance { font-size: 1.05rem; margin: 0 0 10px; }
.gw-distance strong { color: var(--gw-blue); font-size: 1.3rem; font-weight: 700; }
.gw-distances { list-style: none; margin: 0; padding: 0; }
.gw-distances li { border-top: 1px solid var(--gw-line); display: flex; font-size: .92rem; justify-content: space-between; gap: 12px; padding: 8px 0; }
.gw-distances span { color: var(--gw-muted); white-space: nowrap; }

.gw-costs { margin: 0; }
.gw-costs > div { align-items: baseline; display: flex; font-size: .92rem; gap: 12px; justify-content: space-between; padding: 6px 0; }
.gw-costs dt { color: var(--gw-ink); hyphens: auto; margin: 0; min-width: 0; }
.gw-costs dd { color: var(--gw-heading); margin: 0; text-align: right; white-space: nowrap; }
.gw-costs__total { border-top: 1px solid var(--gw-line); font-weight: 700; margin-top: 6px; padding-top: 10px !important; }
.gw-costs__total dt, .gw-costs__total dd { color: var(--gw-heading); }

.gw-agent { margin: 0 0 4px; }
.gw-footnote { color: var(--gw-muted); font-size: .8rem; line-height: 1.55; margin: 8px 0 0; }
.gw-disclaimer { color: var(--gw-muted); font-size: .8rem; line-height: 1.6; margin: 0; }

/* Formulieren */
.gw-form { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.gw-form__group { display: flex; flex-direction: column; gap: 6px; }
.gw-form__group label { color: var(--gw-heading); font-size: .88rem; font-weight: 700; }
.gw-form__group textarea { resize: vertical; }
/* Blok met een absoluut geplaatst vakje: bij flex werd elk tekststuk rond de link een eigen kolom. */
.gw-form .gw-form__checkbox { color: var(--gw-ink); display: block; font-size: .84rem; font-weight: 400; line-height: 1.5; padding-left: 28px; position: relative; }
.gw-form__checkbox input { accent-color: var(--gw-blue); height: 18px; left: 0; margin: 0; position: absolute; top: 1px; width: 18px; }
.gw-form .gw-btn { width: 100%; }

/* Gebieden, FAQ en "verder kijken" */
.gw-hero__terug { margin: 24px 0 0; }

.gw-further, .gw-related, .gw-faq { border-top: 1px solid var(--gw-line); margin-top: 48px; padding-top: 32px; }
.gw-single .gw-related { border-top: 0; }
.gw-further h2, .gw-related h2, .gw-faq h2 { font-size: 1.45rem; margin: 0 0 16px; }
.gw-further h3 { font-size: 1rem; font-weight: 700; margin: 20px 0 10px; }
.gw-further__up { margin: 0 0 4px; }
.gw-further__up span { color: var(--gw-muted); }
.gw-further__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.gw-further__list li { background: var(--gw-gray); border-radius: 20px; font-size: .88rem; padding: 6px 14px; }
.gw-further__list a { color: var(--gw-heading); }
.gw-further__list a:hover { color: var(--gw-blue); }
.gw-further__list span { color: var(--gw-muted); margin-left: 4px; }
.gw-related__note { color: var(--gw-ink); font-size: .95rem; margin: -8px 0 20px; }

.gw-faq__item { background: #fff; border: 1px solid var(--gw-line); border-radius: var(--gw-radius); margin-bottom: 10px; padding: 16px 20px; }
.gw-faq__item summary { color: var(--gw-heading); cursor: pointer; font-weight: 700; list-style: none; }
.gw-faq__item summary::-webkit-details-marker { display: none; }
.gw-faq__item summary::before {
	align-items: center; background: var(--gw-blue-soft); border-radius: 50%; color: var(--gw-blue); content: '+';
	display: inline-flex; font-weight: 700; height: 24px; justify-content: center; margin-right: 12px; width: 24px;
}
.gw-faq__item[open] summary::before { content: '−'; }
.gw-faq__item p { color: var(--gw-ink); line-height: 1.7; margin: 12px 0 0 36px; }

/* Advertenties: vaste minimumhoogtes, ook zonder geladen advertentie (CLS-budget). */
.gw-ad-slot { display: block; margin: 20px 0; overflow: hidden; }
.gw-ad-slot--lijst { grid-column: 1 / -1; min-height: 250px; }
.gw-ad-slot--detail_boven { min-height: 100px; }
.gw-ad-slot--detail_na_beschrijving { min-height: 250px; }
.gw-ad-slot--landing { min-height: 100px; }
@media (min-width: 720px) {
	.gw-ad-slot--detail_boven { min-height: 90px; }
	.gw-ad-slot--detail_na_beschrijving { min-height: 280px; }
}

/* Gidsen en gewone pagina's */
.gw-gids__artikel { margin: 0 auto; max-width: 780px; }
.gw-gids__uitgelicht { margin: 0 0 28px; }
.gw-gids__uitgelicht img { border-radius: var(--gw-radius); width: 100%; }
.gw-gids__inhoud { color: var(--gw-ink); font-size: 1.05rem; line-height: 1.8; }
.gw-gids__inhoud h2 { font-size: 1.45rem; margin: 36px 0 12px; }
.gw-gids__inhoud h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.gw-gids__inhoud p { margin: 0 0 16px; }
.gw-gids__inhoud ul, .gw-gids__inhoud ol { margin: 0 0 16px; padding-left: 22px; }
.gw-gids__inhoud a { text-decoration: underline; text-underline-offset: 2px; }
.gw-gids .gw-disclaimer { border-top: 1px solid var(--gw-line); margin-top: 32px; padding-top: 18px; }

/* ------------------------------------------------------ call-to-action */

.gw-cta { background: var(--gw-blue); color: #fff; padding: 46px 0; }
.gw-cta__inner { align-items: center; display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; }
.gw-cta__titel { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 700; margin: 0 0 6px; }
.gw-cta__tekst { color: rgba(255, 255, 255, .9); margin: 0; }
.gw-cta__knop {
	background: #fff; border-radius: 40px; box-shadow: 0 0 0 5px rgba(255, 255, 255, .2); color: var(--gw-heading);
	font-weight: 700; padding: 16px 40px; transition: box-shadow .15s ease;
}
.gw-cta__knop:hover { box-shadow: 0 0 0 8px rgba(255, 255, 255, .25); color: var(--gw-blue); }

/* ----------------------------------------------------------------- footer */

.gw-sitefooter { background: #fff; color: var(--gw-ink); font-size: .95rem; }
.gw-sitefooter__grid { display: grid; gap: 36px 40px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); padding-bottom: 56px; padding-top: 64px; }
@media (min-width: 960px) { .gw-sitefooter__grid { grid-template-columns: 1.6fr repeat(4, 1fr); } }
.gw-sitefooter__merk p { color: var(--gw-ink); margin: 16px 0 0; max-width: 34ch; }
.gw-logo--footer .gw-logo__tekst { font-size: 1.6rem; }
.gw-sitefooter__kop { font-size: 1rem; font-weight: 700; margin: 8px 0 18px; }
.gw-sitefooter__lijst { list-style: none; margin: 0; padding: 0; }
.gw-sitefooter__lijst li { margin-bottom: 10px; }
.gw-sitefooter__lijst a { color: var(--gw-ink); }
.gw-sitefooter__lijst a:hover { color: var(--gw-blue); }
.gw-sitefooter__bodem { border-top: 1px solid var(--gw-line); }
.gw-sitefooter__bodem-inner { display: flex; flex-wrap: wrap; font-size: .88rem; gap: 6px 24px; justify-content: space-between; padding-bottom: 22px; padding-top: 22px; }
.gw-sitefooter__bodem p { margin: 0; }

/* Vangnetfooter (Frontend\Footer) voor pagina's buiten de eigen templates. */
.gw-footer { border-top: 1px solid var(--gw-line); color: var(--gw-muted); font-size: .84rem; margin-top: 48px; padding: 20px 24px; text-align: center; }
.gw-footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; margin: 0 auto; max-width: 1200px; }
.gw-footer__links a { color: var(--gw-blue); }
