/*
Theme Name: Huurwoningplatform
Theme URI: https://huurwoningplatform.nl
Author: Huurwoningplatform.nl
Description: Snel en toegankelijk huurwoningplatform voor actueel regionaal aanbod.
Version: 1.1.0
Text Domain: huurwoningplatform
*/

:root {
  --ink: #172c3f;
  --muted: #647481;
  --paper: #ffffff;
  --canvas: #f4f7f8;
  --brand: #e83e78;
  --brand-dark: #c92c63;
  --navy: #123651;
  --mint: #dff4ee;
  --line: #dfe7eb;
  --shadow: 0 18px 45px rgba(23, 44, 63, .1);
  --radius: 18px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; }
button, .button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: #fff; padding: 10px; }
.skip-link:focus { left: 8px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(223,231,235,.85); backdrop-filter: blur(12px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -.035em; font-size: 1.2rem; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; color: #fff; background: var(--brand); border-radius: 12px 12px 12px 4px; box-shadow: 0 8px 20px rgba(232,62,120,.25); }
.brand-mark svg { width: 22px; }
.brand span span { color: var(--brand); }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: .95rem; font-weight: 700; }
.main-nav a { text-decoration: none; }
.main-nav a:hover, .main-nav a:focus { color: var(--brand); }
.mobile-label { display: none; }

.hero { overflow: hidden; position: relative; color: #fff; background: linear-gradient(125deg, #123651 0%, #194965 58%, #21677a 100%); }
.hero::after { content: ""; position: absolute; width: 560px; height: 560px; right: -230px; top: -260px; border-radius: 50%; border: 85px solid rgba(223,244,238,.1); }
.hero-inner { position: relative; z-index: 1; padding: 78px 0 92px; }
.eyebrow { margin: 0 0 12px; color: #9bd9c8; font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: .99; letter-spacing: -.06em; }
.hero-copy { max-width: 660px; margin: 24px 0 34px; color: #dce9ee; font-size: 1.1rem; }
.quick-search { display: grid; grid-template-columns: minmax(230px, 1.5fr) minmax(180px, .8fr) auto; gap: 10px; max-width: 820px; padding: 11px; background: #fff; border-radius: 15px; box-shadow: var(--shadow); }
.quick-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.quick-search input, .quick-search select { width: 100%; min-height: 52px; border: 0; border-radius: 10px; padding: 0 15px; color: var(--ink); background: #f0f4f5; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 0; border-radius: 11px; padding: 0 22px; color: #fff; background: var(--brand); font-weight: 800; text-decoration: none; transition: transform .15s, background .15s; }
.button:hover, .button:focus { background: var(--brand-dark); transform: translateY(-1px); }
.button-outline { color: var(--navy); background: #fff; border: 1px solid var(--line); }
.button-outline:hover { color: #fff; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 26px; color: #dce9ee; font-size: .88rem; }
.hero-meta strong { color: #fff; }

.listing-section { padding: 72px 0 90px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-heading h2, .archive-hero h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -.045em; }
.section-heading p { margin: 8px 0 0; color: var(--muted); }
.listing-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 30px; align-items: start; }
.filters { position: sticky; top: 100px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 35px rgba(23,44,63,.06); }
.filters h2 { margin: 0 0 17px; font-size: 1.15rem; }
.filter-field { margin-bottom: 17px; }
.filter-field label { display: block; margin-bottom: 6px; font-size: .84rem; font-weight: 800; }
.filter-field input, .filter-field select { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 9px; padding: 0 11px; background: #fff; }
.filter-actions { display: grid; gap: 9px; }
.clear-filters { text-align: center; color: var(--muted); font-size: .85rem; }
.results-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.results-count { font-weight: 800; }
.results-count span { color: var(--brand); }
.sort-form select { border: 1px solid var(--line); border-radius: 9px; min-height: 42px; padding: 0 38px 0 12px; background: #fff; }
.property-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.property-card { overflow: hidden; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(23,44,63,.07); transition: transform .18s, box-shadow .18s; }
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-image { display: block; aspect-ratio: 4/3; overflow: hidden; background: linear-gradient(145deg, #d9e9ec, #eff5f6); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.property-card:hover .card-image img { transform: scale(1.035); }
.card-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #7c979e; }
.card-placeholder svg { width: 55px; }
.card-badge { position: absolute; left: 13px; top: 13px; padding: 6px 10px; color: #194239; background: var(--mint); border-radius: 999px; font-size: .72rem; font-weight: 800; }
.card-content { padding: 18px; }
.card-location { margin: 0 0 4px; color: var(--brand); font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.card-title { margin: 0; font-size: 1.08rem; line-height: 1.25; letter-spacing: -.02em; }
.card-title a { text-decoration: none; }
.card-price { margin: 13px 0 10px; font-size: 1.25rem; font-weight: 850; }
.card-price small { color: var(--muted); font-size: .72rem; font-weight: 500; }
.card-features { display: flex; flex-wrap: wrap; gap: 7px 13px; margin: 0; padding: 13px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; list-style: none; }
.card-source { margin: 13px 0 0; color: var(--muted); font-size: .7rem; }
.empty-state { grid-column: 1/-1; padding: 50px 25px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.pagination { margin-top: 35px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 7px; }
.pagination .page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 9px; background: #fff; text-decoration: none; }
.pagination .current { color: #fff; background: var(--navy); }

.archive-hero { padding: 58px 0 38px; background: #fff; border-bottom: 1px solid var(--line); }
.archive-hero p { max-width: 660px; margin: 15px 0 0; color: var(--muted); }
.detail { padding: 48px 0 90px; }
.breadcrumbs { margin-bottom: 25px; color: var(--muted); font-size: .82rem; }
.breadcrumbs a { color: var(--brand); text-decoration: none; }
.detail-title-row { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 28px; }
.detail-title-row h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.7rem); line-height: 1; letter-spacing: -.05em; }
.detail-place { margin: 10px 0 0; color: var(--muted); }
.detail-price { white-space: nowrap; font-size: 1.8rem; font-weight: 850; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, 230px); gap: 10px; overflow: hidden; margin-bottom: 34px; border-radius: 22px; background: #dbe7ea; }
.gallery figure { margin: 0; min-width: 0; overflow: hidden; }
.gallery figure:first-child { grid-row: 1 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.detail-card { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.detail-card h2 { margin-top: 0; letter-spacing: -.025em; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.facts li { padding: 15px; background: #f2f6f7; border-radius: 11px; }
.facts small { display: block; color: var(--muted); font-size: .7rem; }
.facts strong { font-size: .98rem; }
.apply-card { position: sticky; top: 100px; }
.apply-card .button { width: 100%; margin: 15px 0; }
.apply-note { color: var(--muted); font-size: .78rem; }
.source-box { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .82rem; }

.trust-section { padding: 68px 0; color: #fff; background: var(--navy); }
.trust-grid { display: grid; grid-template-columns: 1.15fr repeat(3, 1fr); gap: 34px; }
.trust-grid h2 { margin: 0; font-size: 2rem; letter-spacing: -.04em; }
.trust-item { color: #cbdbe3; }
.trust-item strong { display: block; margin-bottom: 7px; color: #fff; }
.site-footer { padding: 34px 0; color: #aebec8; background: #0c293e; font-size: .82rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; }
.footer-inner a { color: #fff; }

@media (max-width: 1000px) {
  .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listing-layout { grid-template-columns: 220px minmax(0, 1fr); }
  .detail-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }
  .main-nav a:not(.button) { display: none; }
  .header-inner { min-height: 68px; gap: 10px; }
  .brand { font-size: .92rem; }
  .main-nav .button { min-height: 42px; padding-inline: 15px; }
  .desktop-label { display: none; }
  .mobile-label { display: inline; }
  .hero-inner { padding: 54px 0 66px; }
  .quick-search { grid-template-columns: 1fr; }
  .hero-meta { gap: 10px 18px; }
  .listing-section { padding: 50px 0 65px; }
  .listing-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.is-open { display: block; }
  .filter-toggle { display: inline-flex !important; }
  .property-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: start; flex-direction: column; }
  .detail-title-row { align-items: start; flex-direction: column; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 290px 130px; }
  .gallery figure:first-child { grid-column: 1 / 3; grid-row: 1; }
  .detail-grid { grid-template-columns: 1fr; }
  .apply-card { position: static; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}
@media (min-width: 761px) { .filter-toggle { display: none !important; } }

/* Lokale Huurwoningen design language */
:root {
  --legacy-pink: #e0447b;
  --legacy-pink-dark: #b7275b;
  --legacy-mint: #e7f3f2;
  --legacy-text: #212121;
  --legacy-muted: #707070;
  --legacy-line: #dedede;
}
body { color: var(--legacy-text); background: #fff; font-family: "Nunito Sans", Arial, sans-serif; }
.container { width: min(1220px, calc(100% - 32px)); }
.utility-bar { height: 32px; color: #777; background: #fff; font-size: 12px; }
.utility-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.utility-inner a { color: inherit; text-decoration: none; }
.site-header { position: relative; top: auto; background: #fff; border: 0; backdrop-filter: none; }
.header-inner { min-height: 110px; display: grid; grid-template-columns: 290px 1fr 200px; gap: 25px; }
.brand { align-items: flex-start; flex-direction: column; gap: 0; color: var(--legacy-text); font-size: inherit; letter-spacing: 0; }
.brand-name { font-size: 25px; font-weight: 800; line-height: 1.1; }
.brand-dot { color: var(--legacy-pink); }
.brand-subtitle { margin-top: 6px; color: #777; font-size: 13px; font-weight: 400; letter-spacing: 0; }
.main-nav { justify-content: center; gap: 30px; font-size: 16px; font-weight: 600; }
.main-nav a { position: relative; padding: 18px 0; }
.main-nav a:hover, .main-nav a:focus { color: var(--legacy-text); }
.main-nav a.current::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--legacy-pink); }
.header-cta { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 0 26px; color: #fff; background: var(--legacy-pink); border-radius: 999px; font-weight: 700; text-decoration: none; }
.header-cta svg { width: 20px; }
.header-cta:hover { background: var(--legacy-pink-dark); }

.legacy-hero { min-height: 427px; display: flex; align-items: center; color: #fff; background-position: center; background-size: cover; }
.legacy-hero-content { padding-block: 55px; }
.legacy-hero-content > p { margin: 0 0 14px; font-size: 18px; }
.legacy-hero h1 { max-width: 590px; margin: 0 0 28px; font-size: clamp(46px, 5vw, 60px); font-weight: 800; line-height: 1; letter-spacing: 0; }
.pill-button { display: inline-flex; min-height: 48px; align-items: center; gap: 20px; padding: 8px 28px; color: #fff; background: var(--legacy-pink); border-radius: 999px; font-weight: 700; text-decoration: none; }
.pill-button:hover { background: var(--legacy-pink-dark); }
.pill-button span { font-size: 20px; }

.shortcut-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 45px 60px; }
.shortcut-grid a { min-height: 105px; display: flex; flex-direction: column; align-items: flex-start; padding: 0 30px; border-right: 1px solid #e5e5e5; text-decoration: none; }
.shortcut-grid a:first-child { padding-left: 0; }
.shortcut-grid a:last-child { padding-right: 0; border-right: 0; }
.shortcut-icon { width: 37px; height: 37px; display: grid; place-items: center; margin-bottom: 14px; color: var(--legacy-pink); }
.shortcut-icon svg { width: 34px; height: 34px; }
.shortcut-grid strong { font-size: 18px; }
.shortcut-grid small { margin-top: 5px; color: var(--legacy-muted); font-size: 14px; }

.legacy-listing, .archive-legacy { padding: 72px 0 90px; background: #fff; }
.archive-legacy { padding-top: 58px; }
.legacy-intro { padding-bottom: 30px; border-bottom: 1px solid var(--legacy-line); }
.legacy-intro.compact h1, .legacy-intro h2 { margin: 0 0 14px; font-size: clamp(42px, 5vw, 60px); font-weight: 800; line-height: 1.08; letter-spacing: 0; }
.legacy-intro.compact h1 { font-size: clamp(38px, 4vw, 52px); }
.legacy-intro > p:last-child { margin: 0; color: var(--legacy-muted); font-size: 17px; }
.legacy-kicker { margin: 0 0 12px !important; color: #699f99 !important; font-size: 13px !important; font-weight: 700; letter-spacing: .03em; }
.listing-count-row { min-height: 125px; display: flex; align-items: center; justify-content: space-between; }
.listing-count-row div { display: flex; align-items: baseline; gap: 18px; }
.listing-count-row strong { font-size: 24px; }
.listing-count-row span { color: var(--legacy-muted); }
.listing-count-row a { color: var(--legacy-pink-dark); font-weight: 700; }

.filters { position: static; display: block; margin: 0 0 34px; padding: 25px 24px 23px; background: var(--legacy-mint); border: 0; border-radius: 0; box-shadow: none; }
.filter-head { display: flex; align-items: start; justify-content: space-between; margin-bottom: 18px; }
.filter-head h2 { margin: 0; font-size: 18px; }
.filter-head h2::first-letter { color: var(--legacy-pink); }
.filter-head p { margin: 5px 0 0; color: var(--legacy-muted); font-size: 13px; }
.clear-filters { color: var(--legacy-text); font-size: 14px; text-decoration: none; }
.filter-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.filter-field { margin: 0; }
.filter-field label { margin-bottom: 7px; color: #666; font-size: 13px; font-weight: 600; }
.filter-field select, .filter-field input { min-height: 42px; border: 1px solid #cacaca; border-radius: 0; padding: 0 12px; color: #555; background-color: #fff; }
.filter-submit { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.filter-toggle { display: none; }

.legacy-results-heading { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 16px 0; border-bottom: 1px solid var(--legacy-line); }
.legacy-results-heading p { margin: 0 0 6px; color: #69a49e; font-size: 12px; font-weight: 700; }
.legacy-results-heading h2 { margin: 0 0 3px; font-size: 26px; }
.legacy-results-heading span { color: var(--legacy-muted); font-size: 14px; }
.sort-form select { min-width: 205px; min-height: 42px; border: 1px solid #cacaca; border-radius: 0; color: #555; background-color: #fff; }

.property-grid.legacy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 20px; padding-top: 28px; }
.legacy-grid .property-card { overflow: visible; background: #fff; border: 0; border-radius: 0; box-shadow: none; }
.legacy-grid .property-card:hover { transform: none; box-shadow: none; }
.legacy-grid .card-image { position: relative; aspect-ratio: 1.55/1; background: #edf2f1; border-radius: 0; }
.legacy-grid .card-image img { width: 100%; height: 100%; object-fit: cover; }
.legacy-grid .property-card:hover .card-image img { transform: none; }
.card-type-badge { position: absolute; z-index: 2; left: 12px; top: 0; padding: 7px 12px; color: #fff; background: var(--legacy-pink); font-size: 13px; font-weight: 700; }
.legacy-grid .card-content { padding: 20px 0 0; }
.legacy-grid .card-location { margin: 0 0 10px; color: var(--legacy-muted); font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.legacy-grid .card-title { min-height: 62px; margin: 0 0 10px; font-size: 25px; font-weight: 800; line-height: 1.23; letter-spacing: 0; }
.card-address, .card-date { margin: 0 0 8px; color: #888; font-size: 13px; }
.legacy-grid .card-features { min-height: 44px; gap: 10px 18px; margin: 12px 0 0; padding: 0 0 12px; border-bottom: 1px solid var(--legacy-line); border-top: 0; color: #666; font-size: 13px; }
.card-price-row { min-height: 70px; display: flex; align-items: center; justify-content: space-between; }
.legacy-grid .card-price { display: flex; flex-direction: column; margin: 0; color: var(--legacy-pink-dark); font-size: 24px; font-weight: 800; }
.legacy-grid .card-price small { color: #777; font-size: 12px; font-weight: 400; }
.card-arrow { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; background: var(--legacy-pink); font-size: 22px; text-decoration: none; }
.more-listings { margin: 35px 0 0; text-align: center; }

.legacy-about { padding: 65px 0; border-top: 1px solid var(--legacy-line); }
.legacy-about h2 { margin: 0 0 10px; font-size: 30px; }
.legacy-about p { max-width: 830px; color: var(--legacy-muted); }
.legacy-about a { color: var(--legacy-pink-dark); font-weight: 700; }
.site-footer { padding: 60px 0; color: #5f5f5f; background: #f5f5f3; font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: 1.1fr .7fr 1.5fr; gap: 70px; }
.footer-brand strong { color: var(--legacy-text); font-size: 20px; }
.footer-brand strong span { color: var(--legacy-pink); }
.footer-title { display: block; margin-bottom: 12px; color: var(--legacy-text); font-size: 12px; }
.footer-inner nav { display: grid; gap: 8px; }
.footer-inner a { color: var(--legacy-text); text-decoration: none; }

.card-location a, .detail-place a, .detail .eyebrow a { color: inherit; text-decoration-color: var(--legacy-pink); text-underline-offset: 3px; }
.card-location a:hover, .detail-place a:hover, .detail .eyebrow a:hover { color: var(--legacy-pink-dark); }
.place-archive .breadcrumbs, .cities-page .breadcrumbs, .map-page .breadcrumbs { margin-bottom: 34px; }
.cities-page, .map-page { padding: 58px 0 90px; }
.cities-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 38px; background: var(--legacy-line); border: 1px solid var(--legacy-line); }
.city-card { position: relative; min-height: 115px; display: flex; flex-direction: column; justify-content: center; padding: 24px 62px 24px 26px; color: var(--legacy-text); background: #fff; text-decoration: none; }
.city-card:hover { color: #fff; background: var(--legacy-pink); }
.city-card span { font-size: 20px; font-weight: 800; }
.city-card strong { margin-top: 5px; color: var(--legacy-muted); font-size: 13px; font-weight: 400; }
.city-card:hover strong { color: #fff; }
.city-card i { position: absolute; right: 26px; color: var(--legacy-pink); font-size: 25px; font-style: normal; }
.city-card:hover i { color: #fff; }
.map-page { padding-bottom: 0; }
.map-shell { position: relative; margin-top: 38px; }
.woningkaart { width: 100%; height: min(690px, 72vh); min-height: 520px; background: #e8efee; }
.map-legend { position: absolute; z-index: 500; right: 24px; bottom: 24px; padding: 12px 16px; background: #fff; box-shadow: 0 5px 25px rgba(0,0,0,.14); font-size: 13px; }
.map-legend span { width: 13px; height: 13px; display: inline-block; margin-right: 7px; border: 2px solid #fff; border-radius: 50%; background: var(--legacy-pink); box-shadow: 0 0 0 1px #ccc; vertical-align: -2px; }
.map-popup { display: grid; gap: 5px; font-family: "Nunito Sans", Arial, sans-serif; }
.map-popup img { width: 100%; height: 120px; margin-bottom: 5px; object-fit: cover; }
.map-popup small { color: var(--legacy-muted); }
.map-popup strong { font-size: 16px; line-height: 1.25; }
.map-popup span { color: var(--legacy-pink-dark); font-weight: 800; }
.map-popup a { margin-top: 5px; color: var(--legacy-pink-dark); font-weight: 800; }

@media (max-width: 1000px) {
  .header-inner { grid-template-columns: 240px 1fr 170px; }
  .main-nav { gap: 18px; font-size: 14px; }
  .filter-grid { grid-template-columns: repeat(3, 1fr); }
  .property-grid.legacy-grid { grid-template-columns: repeat(2, 1fr); }
  .cities-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .utility-bar { display: none; }
  .header-inner { min-height: 78px; display: flex; gap: 12px; }
  .brand { font-size: inherit; }
  .brand-name { font-size: 19px; }
  .brand-subtitle { font-size: 11px; }
  .main-nav { display: none; }
  .header-cta { min-height: 42px; margin-left: auto; padding: 0 15px; font-size: 13px; }
  .header-cta svg { width: 17px; }
  .legacy-hero { min-height: 430px; background-position: 58% center; }
  .legacy-hero-content > p { font-size: 16px; }
  .legacy-hero h1 { font-size: 43px; }
  .shortcut-grid { grid-template-columns: 1fr 1fr; padding-block: 30px 42px; }
  .shortcut-grid a { min-height: 125px; padding: 18px; border-bottom: 1px solid #e5e5e5; }
  .shortcut-grid a:nth-child(odd) { padding-left: 0; }
  .shortcut-grid a:nth-child(even) { border-right: 0; }
  .legacy-listing, .archive-legacy { padding: 45px 0 65px; }
  .legacy-intro h2, .legacy-intro.compact h1 { font-size: 38px; }
  .listing-count-row { min-height: 100px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 10px; }
  .filters { display: none; padding: 20px 16px; }
  .filters.is-open, .home .filters { display: block; }
  .filter-toggle { display: inline-flex; margin: 0 0 15px; border: 0; padding: 10px 16px; color: #fff; background: var(--legacy-pink); font-weight: 700; }
  .filter-grid { grid-template-columns: 1fr; }
  .filter-submit { position: static; width: 100%; height: 44px; margin-top: 16px; clip: auto; border: 0; color: #fff; background: var(--legacy-pink); font-weight: 700; }
  .legacy-results-heading { align-items: flex-start; flex-direction: column; padding-block: 22px; }
  .sort-form, .sort-form select { width: 100%; }
  .property-grid.legacy-grid { grid-template-columns: 1fr; }
  .legacy-grid .card-title { min-height: auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .cities-page, .map-page { padding-top: 42px; }
  .cities-grid { grid-template-columns: 1fr; }
  .woningkaart { min-height: 500px; height: 68vh; }
  .map-legend { right: 12px; bottom: 12px; }
}

