/* Hedendaags Realisme: huisstijl volgens ontwerp B3.
   Regel: kunstwerken worden nooit bijgesneden (geen object-fit: cover, geen vaste verhouding). */
:root {
  --papier: #efebe4;
  --inkt: #1b1a17;
  --accent: #b8482a;
  --wand: #e2ddd3;
  --lijn: #b9b2a5;
  --zacht: #4f4a41;
  --donker-tekst: #efebe4;
  --donker-zacht: #e2ddd3;
  --kop: Fraunces, Georgia, serif;
  --tekst: "Inter Tight", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 16px; }
body { margin: 0; background: var(--papier); color: var(--inkt); font-family: var(--tekst); font-size: 18px; line-height: 1.55; }
a { color: var(--inkt); }
a:hover { color: #000; text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--kop); letter-spacing: -0.02em; line-height: 1.05; }
h1 { font-weight: 400; font-size: clamp(40px, 6vw, 72px); margin: 0 0 16px; }
h2 { font-weight: 600; font-size: clamp(28px, 3.5vw, 44px); margin: 0 0 16px; }
.breed { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }
.overslaan { position: absolute; left: -9999px; }
.overslaan:focus { left: 16px; top: 16px; background: #fff; padding: 12px; z-index: 10; }

/* Kop en voet */
.kop { border-bottom: 2px solid var(--inkt); }
.kop-rij { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.merk { font-family: var(--kop); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; text-decoration: none; padding: 10px 0; }
.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; font-size: 17px; font-weight: 500; }
.menu a { text-decoration: none; padding: 12px; min-height: 44px; display: inline-flex; align-items: center; }
.menu a:hover { text-decoration: underline; text-underline-offset: 4px; }
.menu-zoek { width: 44px; justify-content: center; }
.voet { border-top: 2px solid var(--inkt); }
.voet-rij { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; font-size: 17px; }
.voet-links { display: flex; flex-wrap: wrap; }
.voet-links a { padding: 12px 10px; }

/* Partners */
.partners { border-top: 2px solid var(--inkt); background: #e8e3da; }
.partners-rij { display: flex; flex-direction: column; gap: 20px; padding-top: 28px; padding-bottom: 28px; }
.partner-hoofd { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.partner-hoofd-beeld { flex: 0 0 auto; }
.partner-hoofd-beeld img { width: 220px; height: auto; display: block; box-shadow: 0 10px 28px rgba(27, 26, 23, 0.18); }
.partner-hoofd-tekst { flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; }
.partner-hoofd-tekst strong { font-family: var(--kop); font-size: clamp(28px, 3.5vw, 40px); font-weight: 600; line-height: 1.05; }
.partner-hoofd-tekst p { margin: 0; font-size: 19px; }
.partner-knoppen { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 8px !important; }
.partner-over { font-weight: 600; padding: 12px 0; }
.partners-ook { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: center; border-top: 1px solid var(--lijn); padding-top: 16px; }
.partners-ook .partners-label { flex: 0 0 auto; }
.partners-label { flex: 0 0 auto; align-self: center; font-size: 15px; font-weight: 600; color: var(--zacht); min-width: 90px; }
.partner { flex: 0 1 auto; display: flex; gap: 14px; align-items: center; padding: 8px 0; min-height: 44px; text-decoration: none; }
.partner:hover .partner-url { text-decoration-thickness: 2px; }
.partner img { width: 56px; height: 56px; object-fit: contain; flex: 0 0 auto; }
.partner-groot { flex: 2 1 380px; }
.partner-groot img { width: 120px; height: 120px; }
.partner-info { display: flex; flex-direction: column; gap: 2px; }
.partners-ook .partner-tekst { display: none; }
.partner-info strong { font-family: var(--kop); font-size: 19px; }
.partner-tekst { font-size: 17px; line-height: 1.4; }
.partner-url { font-size: 16px; font-weight: 600; text-decoration: underline; }

/* Knoppen */
.knop, .knop-lijn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; font-family: inherit; font-size: 17px; font-weight: 600; cursor: pointer; text-decoration: none; }
.knop { background: var(--inkt); color: #fff; border: 0; }
.knop:hover { background: #000; color: #fff; }
.knop-lijn { background: transparent; color: var(--inkt); border: 2px solid var(--inkt); border-radius: 999px; }

/* Kunstenaar- en galeriepagina */
.kruimel { padding: 20px 0 0; font-size: 16px; }
.kruimel a { padding: 12px 0; display: inline-block; }
.kunstenaar-kop { display: flex; flex-wrap: wrap; gap: 40px; padding: 16px 0 48px; border-bottom: 2px solid var(--inkt); }
.kunstenaar-intro { flex: 3 1 480px; max-width: 760px; }
.kunstenaar-portret { flex: 1 1 260px; }
.portret, .galerie-foto { display: block; max-height: 520px; width: auto; margin-left: auto; }
.genres { font-weight: 600; margin-top: 0; }
.adres { font-size: 18px; }
.werken-sectie { padding: 48px 0 72px; }
.aantal { font-weight: 300; }
.werken { columns: 3 300px; column-gap: 28px; }
.werk { break-inside: avoid; margin: 0 0 28px; }
.werk-link { display: block; background: var(--wand); padding: 16px; }
.werk-beeld { display: block; width: auto; max-width: 100%; height: auto; max-height: min(80vh, 700px); margin: 0 auto; }
.werk figcaption { padding-top: 10px; font-size: 16px; line-height: 1.4; }
.werk-titel { font-family: var(--kop); font-style: italic; font-size: 18px; }

/* Lightbox: altijd het hele werk */
.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100vh; height: 100dvh; background: rgba(27, 26, 23, 0.96); color: var(--donker-tekst); }
.lightbox::backdrop { background: rgba(27, 26, 23, 0.9); }
.lightbox figure { margin: 0; height: calc(100vh - 140px); height: calc(100dvh - 140px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; }
.lightbox-beeld { max-width: 100%; max-height: calc(100vh - 200px); max-height: calc(100dvh - 200px); width: auto; height: auto; object-fit: contain; }
.lightbox-tekst { padding-top: 12px; font-size: 17px; text-align: center; }
.lightbox button { min-height: 48px; padding: 0 20px; background: transparent; color: var(--donker-tekst); border: 2px solid var(--donker-tekst); font: 600 17px var(--tekst); cursor: pointer; }
.lightbox-sluit { position: absolute; top: 16px; right: 16px; }
.lightbox-knoppen { display: flex; gap: 12px; justify-content: center; }

/* Lijsten en overzichten */
.lijst { padding-top: 40px; padding-bottom: 72px; }
.lijst-intro { font-size: 19px; max-width: 680px; }
.filter { display: flex; flex-direction: column; gap: 8px; max-width: 420px; margin: 24px 0 16px; }
.filter label { font-weight: 600; }
.filter input { border: 2px solid var(--inkt); background: #fff; padding: 13px 14px; font: inherit; }
.az { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.letter { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--inkt); font-weight: 600; text-decoration: none; }
.letter[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.letter-leeg { border-color: var(--lijn); color: #8a8478; }
.genres-rij { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.genre-knop { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--inkt); display: inline-flex; align-items: center; text-decoration: none; background: transparent; font: inherit; cursor: pointer; color: var(--inkt); }
.genre-knop[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.letter-kop { border-bottom: 2px solid var(--inkt); padding-bottom: 6px; margin-top: 32px; }
.kaarten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.kaart a { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.kaart-beeld { display: flex; align-items: center; justify-content: center; height: 220px; background: var(--wand); padding: 12px; }
.kaart-beeld img { max-height: 196px; width: auto; max-width: 100%; }
.kaart-naam { font-family: var(--kop); font-size: 20px; font-weight: 600; }
.kaart a:hover .kaart-naam { text-decoration: underline; }
.kaart-genre { font-size: 16px; color: var(--zacht); }
.gal-lijst { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); column-gap: 40px; }
.gal-lijst li { border-bottom: 1px solid var(--lijn); }
.gal-lijst a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; text-decoration: none; }
.gal-lijst a:hover .gal-naam { text-decoration: underline; }
.gal-naam { font-family: var(--kop); font-size: 22px; }
.gal-plaats { font-size: 17px; }
[hidden] { display: none !important; }

/* Tekstpagina's */
.tekst-pagina { max-width: 760px; padding: 40px 0 72px; }
.prijzen { border-collapse: collapse; width: 100%; margin: 16px 0; }
.prijzen td { border-bottom: 1px solid var(--lijn); padding: 12px 0; vertical-align: top; }
.prijzen td:last-child { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 16px; }

/* Homepage */
.hero { display: flex; flex-wrap: wrap; align-items: stretch; }
.hero-tekst { flex: 1 1 420px; min-width: 0; padding: 48px 48px 48px 0; display: flex; flex-direction: column; justify-content: center; gap: 32px; }
.hero-kop { margin: 0; font-size: clamp(44px, 6vw, 80px); line-height: 0.98; letter-spacing: -0.03em; }
.hero-kop em { color: var(--accent); }
.hero-intro { margin: 0; font-size: 19px; max-width: 480px; }
.zoek { position: relative; display: flex; flex-direction: column; gap: 10px; }
.zoek label { font-weight: 600; }
.zoek-veld { display: flex; align-items: center; border: 2px solid var(--inkt); background: #fff; }
.zoek-veld svg { margin: 0 4px 0 16px; flex: 0 0 auto; }
.zoek-veld input { flex: 1; width: 100%; min-width: 0; border: 0; background: transparent; padding: 16px 12px; font: inherit; font-size: 19px; color: var(--inkt); }
.zoek-veld input:focus-visible { outline: none; }
.zoek-veld:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.zoek-veld .knop { align-self: stretch; min-height: 56px; }
.suggesties { position: absolute; left: 0; right: 0; top: 100%; margin-top: 6px; background: #fff; border: 2px solid var(--inkt); box-shadow: 0 16px 32px rgba(27, 26, 23, 0.18); z-index: 5; padding: 8px 0; max-height: 60vh; overflow: auto; }
.sugg-groep { margin: 0; padding: 8px 18px 4px; font-size: 15px; font-weight: 600; color: var(--zacht); }
.suggesties a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 18px; text-decoration: none; min-height: 44px; align-items: center; }
.suggesties a:hover, .suggesties a:focus { background: var(--papier); text-decoration: underline; }
.sugg-meta { font-size: 15px; color: var(--zacht); }
.sugg-leeg { margin: 0; padding: 12px 18px; }
.hero-werk { flex: 1 1 540px; margin: 0; border-left: 2px solid var(--inkt); display: flex; flex-direction: column; }
.hero-wand { height: min(640px, 72vh); box-sizing: border-box; padding: 40px; background: var(--wand); display: flex; align-items: center; justify-content: center; }
.hero-link { display: flex; align-items: center; justify-content: center; max-width: 100%; max-height: 100%; }
.hero-beeld { display: block; max-width: 100%; max-height: calc(min(640px, 72vh) - 80px); width: auto; height: auto; transition: opacity .25s; box-shadow: 0 18px 40px rgba(27, 26, 23, 0.28); }
.hero-onder { min-height: 7.5em; box-sizing: border-box; padding: 14px 0 14px 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border-top: 2px solid var(--inkt); font-size: 17px; }
.hero-titel { font-family: var(--kop); }
.hero-detail { font-size: 16px; }
.hero-knoppen { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hero-meer { font-weight: 600; padding: 12px 6px; }
.ontdek { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.ontdek-tekst { flex: 1 1 360px; }
.ontdek-tekst p { font-size: 19px; max-width: 440px; }
.ontdek-kaart { flex: 1 1 520px; display: flex; flex-wrap: wrap; background: #fff; border: 2px solid var(--inkt); text-decoration: none; }
.ontdek-beeld { flex: 1 1 240px; height: 300px; padding: 20px; background: var(--wand); display: flex; align-items: center; justify-content: center; }
.ontdek-img { max-width: 100%; max-height: 260px; width: auto; height: auto; }
.ontdek-info { flex: 1 1 220px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.ontdek-genre { font-weight: 600; }
.ontdek-naam { font-family: var(--kop); font-size: 34px; font-weight: 600; line-height: 1.05; }
.ontdek-cta { font-weight: 600; text-decoration: underline; }
.donker { background: var(--inkt); color: var(--donker-tekst); }
.donker a { color: var(--donker-tekst); }
.donker a:hover { color: #fff; }
.muur-sectie { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 24px; }
.muur-kop { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }
.muur-uitleg { color: var(--donker-zacht); max-width: 620px; margin: 0; }
.filter-donker { margin: 0; flex: 0 1 340px; }
.filter-donker input { border-color: var(--donker-tekst); background: #26241f; color: #fff; }
.donker .letter { border-color: #6d685e; color: var(--donker-tekst); background: transparent; font: inherit; font-weight: 600; cursor: pointer; }
.donker .letter-leeg { border-color: #3b3833; color: #8a8478; cursor: default; }
.donker .letter[aria-pressed="true"], .donker .genre-knop[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.donker .genre-knop { border-color: #6d685e; color: var(--donker-tekst); }
.donker .genres-rij { margin-bottom: 0; }
.muur-telling { margin: 0; font-size: 16px; color: var(--donker-zacht); }
.muur { list-style: none; margin: 0; padding: 0; font-family: var(--kop); font-size: 24px; line-height: 1.75; }
.muur li { display: inline-block; white-space: nowrap; }
.muur li::after { content: "·"; color: #a09a8e; margin: 0 0.55em; }
.muur li.laatste::after { content: none; }
.muur a { text-decoration: none; white-space: nowrap; display: inline-block; padding: 4px 0; line-height: 1.4; }
.muur a:hover { text-decoration: underline; }
.muur-voet { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; border-top: 1px solid #4a463e; padding-top: 20px; }
.muur-voet a { font-weight: 600; padding: 12px 4px; }
.knop-licht { min-height: 48px; padding: 0 20px; border: 2px solid var(--donker-tekst); background: transparent; color: var(--donker-tekst); font: 600 17px var(--tekst); cursor: pointer; }
.niets { font-size: 18px; }
.galeries-home { padding-top: 64px; padding-bottom: 72px; }
.galeries-kop { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.galeries-kop a { font-weight: 600; padding: 12px 0; }
@media (max-width: 720px) {
  .hero-tekst { padding: 32px 0; }
  .hero-werk { border-left: 0; border-top: 2px solid var(--inkt); }
  .hero-wand { padding: 16px; height: min(440px, 60vh); }
  .hero-beeld { max-height: calc(min(440px, 60vh) - 32px); }
  .hero-onder { padding-left: 0; }
  .muur { font-size: 21px; }
}

/* Galeries en genres als blokken */
.blokken { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.blokken a { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 18px 20px; background: #fff; border: 2px solid var(--inkt); text-decoration: none; }
.blokken a:hover { background: var(--wand); }
.blokken a:hover .blok-naam { text-decoration: underline; }
.blok-naam { font-family: var(--kop); font-size: 22px; font-weight: 600; line-height: 1.15; }
.plaats { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--inkt); color: var(--papier); font-size: 15px; font-weight: 600; }

/* Kaart van de galeries */
.kaart-nl { height: min(640px, 75vh); margin: 24px 0 6px; border: 2px solid var(--inkt); background: var(--wand); }
.kaart-nl .leaflet-tile-pane { filter: grayscale(1) sepia(0.15) contrast(0.95) brightness(1.03); }
.kaart-punt { background: var(--accent); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px var(--inkt); }
.kaart-nl .leaflet-popup-content { font: 17px/1.4 var(--tekst); }
.kaart-nl .leaflet-popup-content a { font-family: var(--kop); font-size: 19px; font-weight: 600; color: var(--inkt); }
.kaart-bron { font-size: 14px; margin: 0 0 8px; }

/* Naar boven */
.naar-boven { position: fixed; right: 20px; bottom: 20px; z-index: 20; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; background: var(--inkt); color: #fff; border: 2px solid var(--papier); border-radius: 999px; font-weight: 600; text-decoration: none; box-shadow: 0 6px 18px rgba(27, 26, 23, 0.25); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.naar-boven:hover { color: #fff; background: #000; }
.naar-boven.zichtbaar, .naar-boven:focus-visible { opacity: 1; pointer-events: auto; transform: none; }
@media (prefers-reduced-motion: reduce) { .naar-boven { transition: none; } html { scroll-behavior: auto; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (max-width: 720px) { .naar-boven span { display: none; } .naar-boven { padding: 0; width: 48px; justify-content: center; } }
.ondertoon { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--lijn); font-size: 16px; color: var(--zacht); }
.partner-hoofd-tekst .partners-label { align-self: flex-start; min-width: 0; }
.hero-info { flex: 1 1 auto; min-width: 0; }
.hero-info > * { display: block; height: 1.5em; line-height: 1.5em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-info br { display: none; }
@media (max-width: 720px) { .hero-info { flex-basis: 100%; } .hero-knoppen { flex-wrap: nowrap; width: 100%; } .hero-meer { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .hero-knoppen .knop-lijn { flex: 0 0 auto; } }
/* Hero-onderschrift altijd even hoog: lange titels worden afgekapt met ..., knoppen blijven naast de tekst */
@media (min-width: 721px) {
  .hero-onder { flex-wrap: nowrap; height: 8em; min-height: 0; }
  .hero-knoppen { flex: 0 0 auto; flex-wrap: nowrap; }
}

/* Search-kruisje in huisstijl */
input[type="search"]::-webkit-search-cancel-button { filter: grayscale(1); opacity: .7; }

/* Bio inklappen */
.meer summary { cursor: pointer; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; }
.meer[open] summary { display: none; }

/* Genreblokken met een werk */
.blokken-beeld .kaart-beeld { width: 100%; height: 170px; box-sizing: border-box; }
.blokken-beeld .kaart-beeld img { max-height: 146px; }

/* Lightbox-teller */
.lightbox-teller { align-self: center; font-size: 16px; min-width: 4em; text-align: center; }

/* ---------- Mobiel ---------- */
@media (max-width: 720px) {
  .kop-rij { flex-wrap: nowrap; flex-direction: column; align-items: stretch; gap: 0; padding-top: 4px; padding-bottom: 0; }
  .merk { font-size: 18px; padding: 8px 0 2px; }
  .menu { width: 100%; justify-content: space-between; gap: 0; flex-wrap: nowrap; font-size: 16px; }
  .menu a { padding: 12px 4px; }
  .menu-zoek { width: 44px; }

  .hero { flex-direction: column; }
  .hero-werk { order: -1; flex-basis: auto; border-left: 0; border-top: 0; border-bottom: 2px solid var(--inkt); margin: 0 -16px; }
  .hero-wand { height: min(360px, 48vh); padding: 14px; }
  .hero-beeld { max-height: calc(min(360px, 48vh) - 28px); }
  .hero-onder { padding: 10px 16px; height: auto; }
  .hero-tekst { flex-basis: auto; padding: 24px 0 32px; gap: 20px; }
  .hero-kop { font-size: 40px; }
  .hero-intro { font-size: 17px; }

  .kaarten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .kaart-beeld { height: 150px; padding: 8px; }
  .kaart-beeld img { max-height: 134px; }
  .kaart-naam { font-size: 17px; }
  .kaart-genre { font-size: 14px; }

  .blokken { grid-template-columns: 1fr; gap: 10px; }
  .blokken a { flex-direction: row; align-items: center; justify-content: space-between; padding: 12px 14px; gap: 10px; }
  .blok-naam { font-size: 19px; }
  .blokken-beeld { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blokken-beeld a { flex-direction: column; align-items: flex-start; }
  .blokken-beeld .kaart-beeld { height: 130px; }
  .blokken-beeld .kaart-beeld img { max-height: 114px; }

  .kaart-nl { height: 52vh; }
  .kaart-nl .leaflet-control-zoom a { width: 44px; height: 44px; line-height: 44px; font-size: 22px; }

  .kunstenaar-kop { gap: 24px; padding-bottom: 32px; }
  .kunstenaar-portret { order: -1; flex-basis: 100%; }
  .portret, .galerie-foto { margin: 0 auto; max-height: 320px; }
  .werken { columns: 1; }

  .muur { font-size: 20px; line-height: 1.5; }
  .muur a { padding: 8px 0; }

  .partners-rij { padding-top: 24px; padding-bottom: 24px; gap: 16px; }
  .partner-hoofd { display: grid; grid-template-columns: 50% 1fr; gap: 4px 16px; align-items: start; }
  .partner-hoofd-beeld img { width: 100%; box-shadow: 0 6px 16px rgba(27, 26, 23, 0.16); }
  .partner-hoofd-tekst { display: contents; }
  .partner-hoofd-beeld { grid-column: 1; grid-row: 1 / span 2; }
  .partner-hoofd-tekst .partners-label { grid-column: 2; grid-row: 1; align-self: end; margin-top: 8px; }
  .partner-hoofd-tekst strong { grid-column: 2; grid-row: 2; align-self: start; font-size: 26px; }
  .partner-hoofd-tekst p:not(.partner-knoppen) { grid-column: 1 / -1; grid-row: 3; font-size: 17px; margin-top: 10px !important; }
  .partner-knoppen { grid-column: 1 / -1; grid-row: 4; margin-top: 6px !important; }
  .partner-knoppen .knop { flex: 1 1 100%; justify-content: center; }
  .partners-ook { flex-direction: column; align-items: stretch; gap: 0; }
  .partners-ook .partners-label { padding-bottom: 4px; align-self: flex-start; }
  .partner { border-bottom: 1px solid var(--lijn); padding: 10px 0; }
  .partner:last-child { border-bottom: 0; }
}
.kaart-tip { font-size: 16px; margin: 0 0 8px; }
.lightbox figure { height: auto; max-height: calc(100dvh - 110px); }
.lightbox { display: none; }
.lightbox[open] { display: flex; flex-direction: column; justify-content: center; }
