/* Lettertypes, zelf meegeleverd (geen verbinding met Google nodig) */
@font-face { font-family: "Delius"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/delius-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/source-sans-3-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/source-sans-3-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/source-sans-3-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/source-sans-3-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Kleuren uit het logo */
  --terracotta: #C8765D;
  --blauwgroen: #1E4656;
  --goud: #D4934A;
  --creme: #F8F5F1;

  --achter: var(--creme);
  --kaart-achter: #ffffff;
  --tekst: #23343b;
  --zacht: #6b7378;
  --rand: #e6dfd6;
  --accent: var(--terracotta);
  --accent-donker: #a95c45;
  --gevaar: #a33a2e;
  --kop: var(--blauwgroen);
  --schaduw: 0 8px 30px rgba(30,70,86,.18);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: var(--tekst);
  background: var(--achter);
  display: flex; flex-direction: column;
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

header {
  height: 64px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px; background: var(--creme); color: var(--blauwgroen); gap: 10px;
  border-bottom: 1px solid var(--rand);
  z-index: 1000;
}
.merk { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; color: inherit; }
.merk-icoon { width: 40px; height: 46px; flex: 0 0 auto; }
.merk-tekst { min-width: 0; }
.merk h1 {
  overflow: hidden; text-overflow: ellipsis;
  font-family: "Delius", "Comic Neue", cursive; font-weight: normal;
  font-size: 1.45rem; line-height: 1.1; margin: 0; white-space: nowrap;
}
.merk .t1 { color: var(--terracotta); }
.merk .t2 { color: var(--blauwgroen); font-weight: bold; }
.ondertitel { margin: 2px 0 0; font-size: .82rem; color: var(--blauwgroen); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
nav { display: flex; gap: 6px; flex: 0 0 auto; }
nav button {
  background: transparent; color: var(--blauwgroen); border: 1px solid var(--blauwgroen);
  border-radius: 8px; padding: 7px 12px; font-size: .92rem; white-space: nowrap;
}
nav button.primair { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
@media (max-width: 900px) { .ondertitel { display: none; } }
@media (max-width: 520px) {
  header { height: 56px; padding: 0 10px; }
  .merk-icoon { width: 32px; height: 37px; }
  .merk h1 { font-size: 1.1rem; }
  nav button .lang { display: none; }
  #btnToevoegen { font-size: 1.2rem; padding: 2px 13px; }
}
@media (max-width: 330px) { .merk-tekst { display: none; } }

main { position: relative; flex: 1 1 auto; min-height: 0; }
#kaart { position: absolute; inset: 0; }
body.kiezen #kaart { cursor: crosshair; }

#zoekvak { position: absolute; top: 10px; left: 56px; right: 10px; max-width: 420px; z-index: 600; }
#zoekbalk { display: flex; box-shadow: var(--schaduw); border-radius: 8px; overflow: hidden; }
#zoekResultaten {
  margin-top: 6px; background: #fff; border-radius: 10px; box-shadow: var(--schaduw);
  max-height: 60vh; overflow-y: auto; padding: 6px 0;
}
#zoekResultaten h4 { margin: 8px 14px 4px; font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; color: var(--zacht); }
.zoek-item {
  display: flex; gap: 10px; align-items: center; width: 100%; text-align: left;
  background: none; border: 0; padding: 9px 14px; color: var(--tekst); font-size: .95rem;
}
.zoek-item:hover, .zoek-item:focus { background: #faf6ee; outline: none; }
.zoek-item img { width: 22px; height: 26px; flex: 0 0 auto; }
.zoek-pijl { width: 22px; text-align: center; flex: 0 0 auto; }
.zoek-leeg { margin: 8px 14px; }
#zoekbalk input { flex: 1; border: 0; border-radius: 0; margin: 0; padding: 0 12px; min-width: 0; height: 44px; background: #fff; }
#zoekbalk button { height: 44px; }
#zoekbalk button { border: 0; background: var(--kop); color: #fff; padding: 0 14px; }

.banner {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 20px;
  background: var(--kop); color: #fff; padding: 10px 14px; border-radius: 8px;
  z-index: 600; display: flex; gap: 12px; align-items: center; box-shadow: var(--schaduw);
  width: max-content; max-width: calc(100% - 32px);
}
.banner button { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 6px; padding: 4px 10px; }
.banner.waarschuwing { background: var(--gevaar); top: 64px; bottom: auto; }

.verborgen { display: none !important; }

/* Kaarsjes op de kaart */
.kaars-marker { background: none; border: none; }
.kaars-marker span {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: 2px solid var(--accent);
  font-size: 18px; box-shadow: 0 2px 6px rgba(30,70,86,.35);
}
.marker-cluster { background: rgba(200,118,93,.25); border-radius: 50%; }
.marker-cluster div {
  width: 30px; height: 30px; margin: 5px; border-radius: 50%;
  background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center;
  font: bold 13px system-ui, sans-serif;
}
.marker-cluster-medium div { width: 34px; height: 34px; }
.marker-cluster-large div { width: 40px; height: 40px; font-size: 12px; }
.marker-cluster.groep-herdenking { background: rgba(255,196,84,.55); box-shadow: 0 0 14px 4px rgba(255,196,84,.55); }

/* Zijpaneel / onderpaneel */
#paneel {
  position: absolute; z-index: 700; background: var(--kaart-achter);
  top: 0; right: 0; bottom: 0; width: 400px; max-width: 100%;
  overflow-y: auto; padding: 20px 20px 32px; box-shadow: var(--schaduw);
}
@media (max-width: 700px) {
  #paneel { top: auto; left: 0; width: 100%; max-height: 72%; border-radius: 16px 16px 0 0; }
  nav button { padding: 6px 8px; font-size: .85rem; }
}
.sluit {
  position: absolute; top: 8px; right: 10px; background: none; border: 0;
  font-size: 28px; line-height: 1; color: var(--zacht);
}
.plek-foto { width: 100%; max-height: 300px; object-fit: cover; border-radius: 10px; margin-top: 18px; }
#paneel h2 { margin: 14px 0 4px; font-family: "Delius", cursive; font-weight: normal; font-size: 1.6rem; color: var(--blauwgroen); }
.modal-inhoud h2 { font-family: "Delius", cursive; color: var(--blauwgroen); }
.meta { color: var(--zacht); margin: 0 0 12px; }
.plek-tekst { white-space: pre-wrap; line-height: 1.5; }
.kaars-blok {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px; background: #faf6ee; border: 1px solid var(--rand); border-radius: 10px; margin: 16px 0;
}
.kaars-knop { background: var(--accent); color: #fff; border: 0; border-radius: 8px; padding: 8px 14px; }
.kaars-knop:disabled { background: #d9c3a3; cursor: default; }
#paneel h3 { font-weight: normal; border-bottom: 1px solid var(--rand); padding-bottom: 4px; }
.condo-lijst { list-style: none; padding: 0; margin: 0; }
.condo-lijst li { border-bottom: 1px solid var(--rand); padding: 10px 0; }
.condo-lijst li p { margin: 0 0 4px; white-space: pre-wrap; }
.leeg { color: var(--zacht); font-style: italic; }
.klein { font-size: .85rem; color: var(--zacht); }
.klein a, a { color: var(--accent-donker); }
.reactie-acties { display: flex; gap: 14px; margin-top: 2px !important; }
.reactie-acties:empty { display: none; }
.paneel-voet { margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }

/* Knoppen en formulieren */
button.primair { background: var(--accent); color: #fff; border: 0; border-radius: 8px; padding: 9px 16px; }
button.primair:hover { background: var(--accent-donker); }
button.primair:disabled { opacity: .6; }
button.gevaar { background: none; color: var(--gevaar); border: 1px solid var(--gevaar); border-radius: 8px; padding: 7px 12px; }
button.link { background: none; border: 0; color: var(--zacht); text-decoration: underline; padding: 0; }
button.tweede { background: none; border: 1px solid var(--rand); border-radius: 8px; padding: 7px 12px; color: var(--tekst); }

form label { display: block; margin-bottom: 12px; font-size: .95rem; }
form input:not([type=checkbox]), form textarea, form select {
  display: block; width: 100%; margin-top: 4px; padding: 9px 10px;
  border: 1px solid var(--rand); border-radius: 8px; background: #fff; color: var(--tekst);
}
form textarea { min-height: 90px; resize: vertical; }
.vinkje { display: flex; gap: 8px; align-items: flex-start; }
.vinkje input { margin-top: 4px; }
.let-op { background: #fbf1e3; border-left: 3px solid var(--accent); padding: 8px 10px; font-size: .88rem; border-radius: 4px; margin-bottom: 12px; }
#formCondo textarea { min-height: 70px; margin-bottom: 8px; }

/* Venster (modal) */
#modal {
  position: fixed; inset: 0; background: rgba(20,20,20,.5); z-index: 2000;
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.modal-inhoud {
  position: relative; background: var(--kaart-achter); border-radius: 12px; padding: 46px 22px 22px;
  width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; box-shadow: var(--schaduw);
}
.modal-inhoud h2 { margin-top: 0; font-weight: normal; }
.modal-inhoud > .sluit { top: 10px; right: 12px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.modal-inhoud > .sluit:hover { background: var(--achter); }
.tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.tabs button { flex: 1; background: none; border: 1px solid var(--rand); border-radius: 8px; padding: 8px; }
.tabs button.actief { background: var(--kop); color: #fff; border-color: var(--kop); }

.beheer-item { border: 1px solid var(--rand); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
.beheer-item p { margin: 0 0 6px; }
.beheer-knoppen { display: flex; gap: 8px; flex-wrap: wrap; }

#toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 40px);
  background: var(--kop); color: #fff; padding: 10px 16px; border-radius: 8px;
  opacity: 0; transition: all .25s; z-index: 3000; pointer-events: none; max-width: calc(100% - 32px);
}
#toast.zichtbaar { opacity: 1; transform: translate(-50%, 0); }

/* Onzichtbare valstrik voor robots */
.vangnet { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Robotcontrole (Turnstile) */
.ts { margin: 6px 0 12px; min-height: 0; }

#formReactie textarea { min-height: 70px; margin-bottom: 8px; }
#formReactie label { margin-bottom: 8px; }

.label { display: inline-block; background: #fbe3dc; color: var(--gevaar); border-radius: 999px; padding: 1px 8px; font-size: .78rem; }
.knoppenrij { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 4px; }
a.knop { display: inline-flex; align-items: center; text-decoration: none; }
a.knop.tweede { border: 1px solid var(--blauwgroen); color: var(--blauwgroen); border-radius: 8px; padding: 7px 12px; }

/* Tekstpagina (privacy) */
body.tekstpagina { display: block; height: auto; }
body.tekstpagina header { position: sticky; top: 0; }
body.tekstpagina article { max-width: 720px; margin: 0 auto; padding: 24px 16px 60px; line-height: 1.6; }
body.tekstpagina article h2 { font-family: "Delius", cursive; font-weight: normal; color: var(--blauwgroen); font-size: 1.8rem; margin-bottom: 0; }
body.tekstpagina article h3 { color: var(--blauwgroen); margin-top: 28px; }
body.tekstpagina li { margin-bottom: 6px; }

/* Herstelcode */
.herstelcode {
  font: 600 1.5rem/1.2 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: 2px;
  text-align: center; background: #faf6ee; border: 2px dashed var(--terracotta); border-radius: 10px;
  padding: 14px 10px; margin: 12px 0; color: var(--blauwgroen); user-select: all;
}
.zoekrij { display: flex; gap: 8px; margin-bottom: 12px; }
.zoekrij input { flex: 1; margin-top: 0 !important; }

/* ================= Beheerportaal ================= */
body.beheerpagina { display: block; height: auto; min-height: 100%; }
body.beheerpagina header { position: sticky; top: 0; }
.beheer-layout { display: flex; max-width: 1200px; margin: 0 auto; gap: 24px; padding: 20px 16px 60px; align-items: flex-start; }
.beheer-menu { flex: 0 0 210px; position: sticky; top: 84px; display: flex; flex-direction: column; gap: 2px; }
.beheer-menu a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; border-radius: 8px; color: var(--blauwgroen); text-decoration: none; font-weight: 600;
}
.beheer-menu a:hover { background: #efe9e1; }
.beheer-menu a.actief { background: var(--blauwgroen); color: #fff; }
.teller:empty { display: none; }
.teller { background: var(--terracotta); color: #fff; border-radius: 999px; font-size: .75rem; padding: 1px 8px; }
.beheer-inhoud { flex: 1; min-width: 0; }
.beheer-inhoud h2 { font-family: "Delius", cursive; font-weight: normal; color: var(--blauwgroen); font-size: 1.7rem; margin: 0 0 6px; }
.beheer-inhoud h3 { color: var(--blauwgroen); margin: 26px 0 10px; }
.beheer-inhoud > .klein { max-width: 700px; }

@media (max-width: 800px) {
  .beheer-layout { flex-direction: column; gap: 12px; padding-top: 0; }
  .beheer-menu {
    position: sticky; top: 56px; z-index: 900; flex: none; width: calc(100% + 32px); margin: 0 -16px;
    flex-direction: row; overflow-x: auto; background: var(--creme); padding: 8px 16px; border-bottom: 1px solid var(--rand);
  }
  .beheer-menu a { white-space: nowrap; padding: 8px 12px; gap: 6px; }
  .beheer-layout { align-items: stretch; }
  /* Zacht vervagend randje: laat zien dat het menu verder gaat */
  .beheer-menu { scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); }
  .beheer-menu::-webkit-scrollbar { display: none; }
  .beheer-menu.aan-eind { -webkit-mask-image: none; mask-image: none; }
  .beheer-menu.niet-begin.aan-eind { -webkit-mask-image: linear-gradient(to left, #000 82%, transparent); mask-image: linear-gradient(to left, #000 82%, transparent); }
  .beheer-menu.niet-begin:not(.aan-eind) { -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 82%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 82%, transparent); }
  .beheer-inhoud h2 { font-size: 1.45rem; }
}
@media (max-width: 520px) {
  body.beheerpagina header { height: 50px; }
  body.beheerpagina .merk-icoon { width: 26px; height: 30px; }
  body.beheerpagina .merk h1 { font-size: 1rem; }
  body.beheerpagina nav a.knop.tweede { padding: 5px 10px; font-size: .88rem; }
  body.beheerpagina .beheer-menu { top: 50px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
  .stat { padding: 10px 12px; }
  .stat b { font-size: 1.45rem; }
  .stat span { font-size: .82rem; line-height: 1.25; }
  .klein-stats .stat b { font-size: 1.2rem; }
  .beheer-inhoud h3 { margin: 18px 0 8px; }
}

.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 14px; }
.stat {
  background: #fff; border: 1px solid var(--rand); border-radius: 12px; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--tekst);
}
.stat b { font-size: 1.8rem; color: var(--blauwgroen); font-weight: 600; }
.stat span { color: var(--zacht); font-size: .9rem; }
.stat.klikbaar:hover { border-color: var(--terracotta); }
.klein-stats .stat b { font-size: 1.4rem; }
.aandacht { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.aandacht a {
  background: #fbf1e3; border-left: 4px solid var(--terracotta); border-radius: 8px; padding: 12px 14px;
  color: var(--tekst); text-decoration: none; font-weight: 600;
}
.goed { color: #2f6b4f; font-weight: 600; }

.filterbalk { display: flex; gap: 8px; margin: 14px 0; flex-wrap: wrap; }
.filterbalk input { flex: 1 1 220px; margin: 0 !important; }
.filterbalk select { flex: 0 0 auto; width: auto !important; margin: 0 !important; }

.item { background: #fff; border: 1px solid var(--rand); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.item p { margin: 6px 0; }
.item-kop { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.item-tekst { white-space: pre-wrap; }
.item.met-foto { display: flex; gap: 14px; align-items: flex-start; }
.item.met-foto > div:last-child { flex: 1; min-width: 0; }
.item.met-foto img, .geen-foto { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.geen-foto { background: #faf6ee; display: flex; align-items: center; justify-content: center; font-size: 28px; }
@media (max-width: 520px) { .item.met-foto img, .geen-foto { width: 60px; height: 60px; } }
.meer-rij { text-align: center; margin: 14px 0; }

.label.rood { background: #fbe3dc; color: var(--gevaar); }
.label.goud { background: #fbf1e3; color: #94601f; }
.label.blauw { background: #e2ecef; color: var(--blauwgroen); }
.label.groen { background: #e1f1e8; color: #2f6b4f; }
.label { background: #eee8df; color: var(--zacht); }

.kaartje { background: #fff; border: 1px solid var(--rand); border-radius: 12px; padding: 18px; max-width: 700px; }
.kaartje h3:first-child { margin-top: 0; }
.kaartje.smal { max-width: 420px; margin: 40px auto; text-align: center; }
a.knop.primair { background: var(--terracotta); color: #fff; border-radius: 8px; padding: 9px 16px; }
.knoppenrij a.knop.tweede, .knoppenrij button { font-size: .92rem; }

/* Speld op de kaart */
.speld-marker { filter: drop-shadow(0 2px 3px rgba(30,70,86,.45)); }

/* Belletje en meldingen */
nav button.icoon-knop { padding: 6px 9px; display: inline-flex; align-items: center; }
nav button.account-knop { display: inline-flex; align-items: center; }
nav button.account-knop .kort { display: none; }
@media (max-width: 520px) {
  nav button.account-knop { padding: 6px 9px; }
  nav button.account-knop .kort { display: block; }
}
nav button.bel { position: relative; padding: 6px 9px; display: inline-flex; align-items: center; }
nav button.bel .teller { position: absolute; top: -6px; right: -6px; font-size: .7rem; min-width: 18px; text-align: center; }
.meldingen-lijst { list-style: none; margin: 0 0 16px; padding: 0; }
.meldingen-lijst li a { display: flex; gap: 10px; padding: 10px 6px; border-bottom: 1px solid var(--rand); color: var(--tekst); text-decoration: none; }
.meldingen-lijst li.nieuw a { background: #faf6ee; font-weight: 600; }
.meldingen-lijst .mic { flex: 0 0 22px; text-align: center; }
.push-blok { background: #f3efe8; border-radius: 10px; padding: 12px 14px; margin-top: 8px; }
.push-blok p { margin: 6px 0 10px; }

/* Definitief verwijderen */
button.gevaar-vol { background: var(--gevaar); color: #fff; border: 0; border-radius: 8px; padding: 9px 16px; }
button.gevaar-vol:disabled { opacity: .4; cursor: not-allowed; }
#formDelete .knoppenrij { justify-content: flex-end; margin-top: 4px; }

/* Steun deze site */
.onder-knoppen { position: absolute; left: 12px; bottom: 26px; z-index: 500; display: flex; gap: 8px; align-items: center; }
body.kiezen .onder-knoppen { display: none; }
.taal-knop {
  background: #fff; color: var(--blauwgroen); border: 1px solid var(--rand); border-radius: 999px;
  padding: 8px 12px; font-weight: 600; box-shadow: var(--schaduw);
}
.steun-knop {
  background: #fff; color: var(--terracotta); border: 1px solid var(--terracotta); border-radius: 999px;
  padding: 8px 14px; font-weight: 600; box-shadow: var(--schaduw);
}
.steun-knop:hover { background: var(--terracotta); color: #fff; }
body.kiezen .steun-knop { display: none; }
a.knop.paypal {
  display: flex; justify-content: center; background: #ffc439; color: #111; font-weight: 600;
  border-radius: 999px; padding: 12px 18px; margin: 14px 0 10px; text-decoration: none;
}
a.knop.paypal:hover { filter: brightness(.95); }

/* Medebeheer en aanpassen */
button.klein-knop { font-size: .88rem; padding: 5px 12px; margin-top: 4px; }
.familie-blok { background: #f3efe8; border-radius: 12px; padding: 12px 14px; margin-top: 20px; }
.familie-blok h3 { border: 0; margin: 0 0 4px; padding: 0; font-size: 1.05rem; }
.familie-blok h4 { margin: 14px 0 6px; color: var(--blauwgroen); }
.leden { list-style: none; padding: 0; margin: 8px 0; }
.leden li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--rand); flex-wrap: wrap; }
.leden-knoppen { display: flex; gap: 12px; }
.verzoek { background: #fff; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.verzoek p { margin: 2px 0 6px; }
.familie-vraag { margin-top: 18px; }
.foto-nu { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.foto-nu img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.dubbel-lijst { list-style: none; padding: 0; margin: 12px 0 16px; }
.dubbel-lijst li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; background: #faf6ee; border-radius: 10px; margin-bottom: 8px; }

/* Portaal: dubbele gedenkplekken */
.dubbel-paar { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.dubbel-kant { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
.dubbel-kant img, .dubbel-kant .geen-foto { width: 100%; height: 120px; object-fit: cover; border-radius: 10px; }
.dubbel-of { align-self: center; color: var(--zacht); font-weight: 600; }


/* ================= Filter op soort ================= */
#filterbalk { display: flex; gap: 6px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
#filterbalk::-webkit-scrollbar { display: none; }
#filterbalk button {
  flex: 0 0 auto; background: rgba(255,255,255,.95); color: var(--blauwgroen); border: 1px solid var(--rand);
  border-radius: 999px; padding: 5px 12px; font-size: .85rem; box-shadow: 0 2px 6px rgba(30,70,86,.15);
}
#filterbalk button.actief { background: var(--blauwgroen); color: #fff; border-color: var(--blauwgroen); }
#filterbalk .filter-knop { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; font-size: .8rem; opacity: .9; }
#filterbalk .filter-knop[aria-expanded="true"] { opacity: 1; }
#zoekResultaten:not(.verborgen) + #filterbalk { display: none; }

/* ================= Herdenkingsdag ================= */
@keyframes gloed {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(212,147,74,.9)) drop-shadow(0 2px 3px rgba(30,70,86,.45)); }
  50% { filter: drop-shadow(0 0 14px rgba(212,147,74,1)) drop-shadow(0 2px 3px rgba(30,70,86,.45)); }
}
.speld-marker.herdenking { animation: gloed 2.4s ease-in-out infinite; }
.herdenking-dag { background: #fbf1e3; border-radius: 10px; padding: 8px 12px; margin: 14px 0 0; color: #94601f; font-weight: 600; }

/* ================= Fotoalbum ================= */
.album .plek-foto { cursor: zoom-in; }
.album-strook { display: flex; gap: 6px; margin-top: 6px; overflow-x: auto; }
.album-strook img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; cursor: zoom-in; flex: 0 0 auto; }
.foto-groot img { width: 100%; max-height: 70vh; object-fit: contain; border-radius: 8px; background: #f3efe8; }
.foto-nav { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 10px; }
.foto-nav button { font-size: 1.3rem; padding: 2px 16px; }
.extra-fotos { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.extra-foto { position: relative; }
.extra-foto img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; display: block; }
.extra-foto .weg {
  position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--gevaar); color: #fff; border: 2px solid #fff; line-height: 1; font-size: 16px; padding: 0;
}
.twee-kolom { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 420px) { .twee-kolom { grid-template-columns: 1fr; gap: 0; } }

/* ================= Knoppen bij een gedenkplek ================= */
.plek-knoppen { margin: 8px 0 0; }
.plek-knoppen button.actief { background: #e1f1e8; border-color: #b8dcc6; color: #2f6b4f; }

/* ================= Delen en QR ================= */
.deel-knoppen { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
a.knop.deel { border: 1px solid var(--rand); border-radius: 8px; padding: 8px 14px; text-decoration: none; color: var(--tekst); background: #fff; }
a.knop.deel.whatsapp { background: #25D366; border-color: #25D366; color: #fff; }
a.knop.deel.facebook { background: #1877F2; border-color: #1877F2; color: #fff; }
.qr-blok { display: flex; gap: 14px; align-items: center; }
.qr-code { flex: 0 0 140px; background: #fff; border: 1px solid var(--rand); border-radius: 10px; padding: 6px; }
.qr-code svg { width: 100%; height: auto; display: block; }
@media (max-width: 420px) { .qr-blok { flex-direction: column; align-items: flex-start; } }

/* ================= Taal kiezen ================= */
.taal-keuze { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.taal-keuze button { padding: 10px; border-radius: 8px; }


/* ================= Van rechts naar links (Arabisch) ================= */
[dir=rtl] body { font-family: "Source Sans 3", "Segoe UI", Tahoma, "Noto Naskh Arabic", sans-serif; }
[dir=rtl] .sluit, [dir=rtl] .modal-inhoud > .sluit { right: auto; left: 10px; }
[dir=rtl] .let-op { border-left: 0; border-right: 3px solid var(--accent); }
[dir=rtl] .zoek-item { text-align: right; }
[dir=rtl] #filterbalk, [dir=rtl] .knoppenrij, [dir=rtl] .deel-knoppen { direction: rtl; }
[dir=rtl] .reactie-acties, [dir=rtl] .plek-knoppen { direction: rtl; }
[dir=rtl] .leaflet-control-attribution { direction: ltr; }
[dir=rtl] .herstelcode, [dir=rtl] input[type=email], [dir=rtl] input[name=code] { direction: ltr; }
[dir=rtl] .merk { direction: ltr; }
