/* mockup-refinements.css
   Aanvullende UI/UX-laag richting de nieuwe mockups (Documents/TimeLine/*.dc.html).
   Laadt NA concept.css. Gebruikt uitsluitend Codex' bestaande kleur-tokens
   (geen nieuwe kleuren, geen nieuwe fonts). Bewust per scherm gescoped, zodat
   het makkelijk te reviewen én terug te draaien is (1 bestand + 1 <link>).
   Schermen: "Foto's toevoegen" (#upload-modal), "Kring beheren" (#ruimte-beheer-modal).
   — Claude, 2026-06-23
*/

/* Gedeelde modal-look richting mockup */
#upload-modal .modal-kaart,
#ruimte-beheer-modal .modal-kaart {
  border-radius: 24px;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 18px 50px rgba(41, 35, 29, .22);
}
#upload-modal .modal-kaart {
  width: min(94vw, 680px);
  max-height: min(90vh, 860px);
  overflow: auto;
}
#ruimte-beheer-modal .modal-kaart {
  width: min(92vw, 560px);
  max-height: min(86vh, 820px);
  overflow: auto;
}
#upload-modal .modal-header h2,
#ruimte-beheer-modal .modal-header h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  letter-spacing: -.01em;
  color: var(--kleur-tekst);
}
#upload-modal .modal-header {
  align-items: flex-start;
  gap: 16px;
}
#upload-modal .upload-modal-sub {
  max-width: 460px;
  margin: 5px 0 0;
  color: var(--kleur-sub);
  font-size: 14px;
  line-height: 1.45;
}

/* ============ Foto's toevoegen — #upload-modal ============ */

/* Dropzone: zachter en warmer, meer "foto eerst" */
#upload-modal .upload-dropzone {
  border: 1.5px dashed var(--kleur-rand);
  border-radius: 18px;
  padding: 2rem 1.25rem;
  background: var(--kleur-achtergrond);
}
#upload-modal .upload-dropzone .btn-secundair {
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
}

/* Foto-eerst: gekozen foto's groot tonen, eerste het grootst */
#upload-modal .upload-wachtrij {
  gap: 10px;
  margin-top: 1.1rem;
}
#upload-modal .wachtrij-item {
  width: 124px;
  height: 124px;
  border-radius: 16px;
  box-shadow: 0 3px 12px rgba(41, 35, 29, .16);
}
#upload-modal .wachtrij-item:first-child {
  width: 100%;
  height: clamp(220px, 42vw, 330px);
}
#upload-modal .wachtrij-item img,
#upload-modal .wachtrij-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Velden ("Bewaren als" e.d.): hogere raakvlakken, rustiger labels */
#upload-modal select,
#upload-modal input[type="text"],
#upload-modal input[type="number"] {
  min-height: 48px;
  border-radius: 13px;
}
#upload-modal .meta-veld > label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--kleur-sub);
}

/* Brede sticky deelknop onderaan, petrol pill — de duidelijkste mockup-stap */
#upload-modal .modal-voet {
  display: flex;
  flex-direction: column-reverse;
  align-items: stretch;
  gap: 8px;
  position: sticky;
  bottom: -1.25rem;
  margin: 1.25rem -1.5rem -1.25rem;
  padding: 1rem 1.5rem 1.25rem;
  background: linear-gradient(to top, var(--kleur-kaart) 80%, transparent);
}
#upload-modal #upload-voortgang {
  text-align: center;
}
#upload-modal #upload-btn {
  width: 100%;
  background: var(--kleur-accent-donker);
  color: #fff;
  border: none;
  border-radius: 28px;
  padding: 0 24px;
  min-height: 56px;
  font-size: 16.5px;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(40, 72, 76, .30);
  white-space: normal;
}
#upload-modal #upload-btn:hover {
  background: var(--kleur-accent);
  opacity: 1;
}

/* ============ Kring beheren — #ruimte-beheer-modal ============ */

/* Ledenlijst als rustige rijen-kaart (rijen >= 60px, zachte scheiding) */
#ruimte-beheer-modal #ruimte-beheer-leden {
  border: 1px solid var(--kleur-rand);
  border-radius: 16px;
  overflow: hidden;
  background: var(--kleur-kaart);
}
#ruimte-beheer-modal .ruimte-beheer-lid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--kleur-rand);
}
#ruimte-beheer-modal .ruimte-beheer-lid:last-child {
  border-bottom: none;
}
#ruimte-beheer-modal .ruimte-beheer-lid-info {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
#ruimte-beheer-modal .ruimte-beheer-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  background: var(--kleur-groen-zacht);
  color: var(--kleur-accent-donker);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
}
#ruimte-beheer-modal .ruimte-beheer-avatar.beheerder {
  background: var(--kleur-accent-donker);
  color: #fff;
}
#ruimte-beheer-modal .ruimte-beheer-lid strong {
  font-size: 15.5px;
  font-weight: 600;
}
#ruimte-beheer-modal .ruimte-beheer-naam {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#ruimte-beheer-modal .ruimte-beheer-lid small,
#ruimte-beheer-modal .ruimte-beheer-hint {
  color: var(--kleur-sub);
  font-size: 12px;
  line-height: 1.35;
}
#ruimte-beheer-modal .ruimte-beheer-hint {
  margin: 0 0 10px;
}
#ruimte-beheer-modal .ruimte-beheer-acties {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
#ruimte-beheer-modal .ruimte-beheer-acties .btn-sm {
  min-height: 38px;
}

/* Labels + velden gelijk aan upload */
#ruimte-beheer-modal .meta-veld > label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--kleur-sub);
}
#ruimte-beheer-modal select {
  min-height: 48px;
  border-radius: 13px;
}

/* Knoppen als pill, consistent met de mockup */
#ruimte-beheer-modal .btn-secundair {
  border-radius: 999px;
  font-weight: 600;
}

@media (max-width: 560px) {
  #ruimte-beheer-modal .ruimte-beheer-lid {
    align-items: flex-start;
    flex-direction: column;
  }
  #ruimte-beheer-modal .ruimte-beheer-acties {
    width: 100%;
    justify-content: flex-end;
  }
}

/* "Met wie deel je dit?" — ruimtekiezer als avatar-chips (R2) */
#upload-modal .deel-kiezer {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 3px 2px 8px;
  scroll-snap-type: x proximity;
}
#upload-modal .deel-optie {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 72px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  scroll-snap-align: start;
}
#upload-modal .deel-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--kleur-groen-zacht);
  color: var(--kleur-accent-donker);
  font-size: 24px;
}
#upload-modal .deel-optie.actief .deel-avatar {
  background: var(--kleur-accent-donker);
  color: #fff;
  box-shadow: 0 0 0 3px var(--kleur-kaart), 0 0 0 5px var(--kleur-accent-donker);
}
#upload-modal .deel-naam {
  max-width: 72px;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  color: var(--kleur-sub);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#upload-modal .deel-optie.actief .deel-naam {
  color: var(--kleur-tekst);
  font-weight: 600;
}
#upload-modal .deel-laden {
  font-size: 13px;
  color: var(--kleur-sub);
}
#upload-modal .upload-deel-samenvatting {
  margin: 9px 0 0;
  padding: 9px 11px;
  border: 1px solid var(--kleur-rand);
  border-radius: 10px;
  background: var(--kleur-achtergrond);
  color: var(--kleur-sub);
  font-size: 12px;
  line-height: 1.45;
}

/* Foto's gekozen: dropzone verdwijnt, alleen de foto's + "meer toevoegen" */
#upload-modal.heeft-fotos #dropzone {
  display: none;
}
#upload-modal .upload-meer {
  display: none;
}
#upload-modal.heeft-fotos .upload-meer {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 9px 16px;
  border: 1px dashed var(--kleur-rand);
  border-radius: 999px;
  background: transparent;
  color: var(--kleur-accent-donker);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
#upload-modal.heeft-fotos .upload-meer:hover {
  border-color: var(--kleur-accent);
  background: var(--kleur-achtergrond);
}

/* Titel als bijschrift: groot, randloos, serif — alleen als er foto's zijn */
#upload-modal .upload-titel {
  display: none;
}
#upload-modal.heeft-fotos .upload-titel {
  display: block;
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--kleur-rand);
  outline: none;
  background: transparent;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--kleur-tekst);
  padding: 0 0 8px;
  margin: 0 0 14px;
}
#upload-modal .upload-titel::placeholder {
  color: var(--kleur-sub);
}

@media (max-width: 720px) {
  #upload-modal {
    align-items: flex-end;
  }
  #upload-modal .modal-kaart {
    width: 100vw;
    max-width: 100vw !important;
    max-height: 94vh;
    border-radius: 22px 22px 0 0;
    padding: 1.15rem 1rem 1rem;
  }
  #upload-modal .modal-header h2 {
    font-size: 24px;
  }
  #upload-modal .upload-modal-sub {
    font-size: 13px;
  }
  #upload-modal .wachtrij-item {
    width: 92px;
    height: 92px;
    border-radius: 14px;
  }
  #upload-modal .wachtrij-item:first-child {
    height: min(48vh, 300px);
  }
  #upload-modal .modal-voet {
    bottom: -1rem;
    margin: 1rem -1rem -1rem;
    padding: .85rem 1rem 1rem;
  }
  #upload-modal #upload-btn {
    min-height: 54px;
    font-size: 15px;
  }
}

/* ============ Nieuwe kring/ruimte — #ruimte-modal ============ */
#ruimte-modal .modal-kaart {
  border-radius: 24px;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 18px 50px rgba(41, 35, 29, .22);
}
#ruimte-modal .modal-header h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  letter-spacing: -.01em;
  color: var(--kleur-tekst);
}
#ruimte-modal .geb-soort-keuze {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
#ruimte-modal .geb-soort-opt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px;
  border: 2px solid var(--kleur-rand);
  border-radius: 16px;
  background: var(--kleur-kaart);
  cursor: pointer;
  text-align: left;
}
#ruimte-modal .geb-soort-opt i {
  font-size: 24px;
  color: var(--kleur-sub);
}
#ruimte-modal .geb-soort-opt span {
  font-size: 15px;
  font-weight: 600;
  color: var(--kleur-tekst);
}
#ruimte-modal .geb-soort-opt.actief {
  border-color: var(--kleur-accent-donker);
  background: var(--kleur-accent-zacht);
}
#ruimte-modal .geb-soort-opt.actief i {
  color: var(--kleur-accent-donker);
}
#ruimte-modal .meta-veld > label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--kleur-sub);
}
#ruimte-modal input[type="text"] {
  min-height: 48px;
  border-radius: 13px;
}
#ruimte-modal .btn-secundair {
  border-radius: 999px;
  font-weight: 600;
}
#ruimte-modal #ruimte-submit {
  width: 100%;
  background: var(--kleur-accent-donker);
  color: #fff;
  border: none;
  border-radius: 28px;
  min-height: 54px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(40, 72, 76, .30);
}
#ruimte-modal #ruimte-submit:hover {
  background: var(--kleur-accent);
  opacity: 1;
}

/* ============ Sidebar: minder ruis + prominente 'Nieuwe ruimte' ============ */

/* Geavanceerde filters (Tijdlijn/Zichtbaarheid) onder een dropdown */
.sidebar-meer {
  margin: 2px 0 6px;
}
.sidebar-meer > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--kleur-sub);
  border-radius: 10px;
}
.sidebar-meer > summary::-webkit-details-marker {
  display: none;
}
.sidebar-meer > summary::after {
  content: "\25be";
  margin-left: auto;
  font-size: 11px;
}
.sidebar-meer[open] > summary::after {
  content: "\25b4";
}
.sidebar-meer > summary:hover {
  background: var(--kleur-groen-zacht);
}

/* Prominente 'Nieuwe ruimte maken' onderaan (mockup: dashed pill-knop) */
.sidebar-nieuwe-ruimte {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin-top: 14px;
  padding: 12px 16px;
  border: 1px dashed var(--kleur-rand);
  border-radius: 14px;
  background: transparent;
  color: var(--kleur-accent-donker);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}
.sidebar-nieuwe-ruimte:hover {
  border-color: var(--kleur-accent);
  background: var(--kleur-achtergrond);
}

/* Sidebar leesbaarder — conform UI-UX: body >=15px, sectiekop 13px (was 12/9px) */
.filter-sidebar .sidebar-item {
  font-size: 15px;
  /* Tellingen zijn weg -> niet meer uit elkaar trekken; icoon + naam links uitlijnen */
  justify-content: flex-start;
}
.filter-sidebar .sidebar-item small {
  font-size: 13px;
}
.filter-sidebar .sidebar-label {
  font-size: 13px;
  letter-spacing: .08em;
}
.filter-sidebar #ruimte-navigatie-lijst {
  display: grid;
  gap: 5px;
}
.filter-sidebar .sidebar-label-rij {
  min-height: 32px;
  margin-bottom: 6px;
}
.filter-sidebar .sidebar-label-rij .sidebar-mini-knop {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--kleur-kaart);
}
.filter-sidebar .ruimte-nav-rij {
  border-radius: 12px;
  transition: background .15s ease, box-shadow .15s ease;
}
.filter-sidebar .ruimte-nav-rij.beheerbaar {
  grid-template-columns: minmax(0, 1fr) 32px;
  gap: 4px;
}
.filter-sidebar .ruimte-nav-rij.actief {
  background: var(--kleur-accent-zacht);
}
.filter-sidebar .ruimte-nav-rij.actief .sidebar-item.actief {
  background: transparent;
}
.filter-sidebar .ruimte-nav-rij .sidebar-item {
  min-height: 44px;
  border-radius: 12px;
}
.filter-sidebar .ruimte-nav-rij .sidebar-item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.filter-sidebar .ruimte-nav-rij:not(.actief) .ruimte-beheer-knop {
  opacity: .56;
  pointer-events: auto;
}
.filter-sidebar .ruimte-nav-rij:hover,
.filter-sidebar .ruimte-nav-rij:focus-within {
  background: rgba(223, 235, 229, .55);
}
.filter-sidebar .ruimte-nav-rij:hover .ruimte-beheer-knop,
.filter-sidebar .ruimte-nav-rij:focus-within .ruimte-beheer-knop,
.filter-sidebar .ruimte-nav-rij.actief .ruimte-beheer-knop {
  opacity: 1;
}
.filter-sidebar .ruimte-beheer-knop {
  width: 32px;
  height: 32px;
  border-radius: 999px;
}
.mobiel-ruimte-rij .filter-chip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mobiel-ruimte-beheer {
  border-radius: 999px;
  color: var(--kleur-accent-donker);
}
.mobiele-filterkaart {
  max-height: min(88vh, 760px);
  overflow: auto;
}
.mobiele-filterkaart .modal-header {
  align-items: flex-start;
}
.mobiele-filterkaart .modal-header h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  letter-spacing: 0;
}
.mobiele-filter-sectie {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(232, 221, 200, .62);
}
.mobiele-filter-sectie:last-of-type {
  border-bottom: 0;
}
.mobiele-filter-label-secundair {
  margin-top: 14px;
}
.mobiele-filter-acties {
  gap: 10px;
}
.mobiel-ruimte-knop {
  min-height: 58px;
  flex-direction: column;
  gap: 5px;
  border-radius: 14px;
  background: rgba(255, 254, 250, .84);
  font-size: 13px;
  font-weight: 700;
}
.mobiel-ruimte-knop i {
  font-size: 19px;
}
.mobiele-filterkaart .mobiel-ruimte-lijst {
  gap: 6px;
}

@media (max-width: 600px) {
  body.app-actief {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
  body.app-actief .bottomnav {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    height: calc(68px + env(safe-area-inset-bottom));
    padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
    gap: 4px;
    background: rgba(255, 254, 250, .96);
    border-top: 1px solid var(--kleur-rand);
    box-shadow: 0 -10px 30px rgba(41, 35, 29, .12);
  }
  body.app-actief .bn-item {
    width: auto;
    min-width: 0;
    min-height: 52px;
    padding: 5px 2px;
    border-radius: 14px;
    font-size: 11px;
    line-height: 1.05;
    overflow: hidden;
  }
  body.app-actief .bn-item i {
    font-size: 22px;
  }
  body.app-actief .bn-item.actief {
    background: var(--kleur-groen-zacht);
    color: var(--kleur-accent-donker);
  }
  body.app-actief .bn-camera {
    width: 56px;
    height: 56px;
    justify-self: center;
    align-self: center;
    background: var(--kleur-accent-donker);
    box-shadow: 0 8px 20px rgba(40, 72, 76, .28);
  }
  body.app-actief .tijdlijn-wrap {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }
  #filter-pagina-modal {
    align-items: flex-end;
  }
  #filter-pagina-modal .mobiele-filterkaart {
    width: 100vw;
    max-width: 100vw;
    max-height: 92vh;
    border-radius: 22px 22px 0 0;
    padding: 1.15rem 1rem 1rem;
  }
  #filter-pagina-modal .mobiele-filter-toepassen {
    position: sticky;
    bottom: -1rem;
    min-height: 52px;
    margin: 1rem -1rem -1rem;
    border-radius: 0;
  }
}

/* Dun, subtiel scroll-lijntje in de sidebar zodat het niet tegen de
   inklap-knop aandringt; en de knop iets meer lucht van de rand. */
.filter-sidebar .sidebar-inhoud {
  scrollbar-width: thin;
  scrollbar-color: var(--kleur-rand) transparent;
}
.filter-sidebar .sidebar-inhoud::-webkit-scrollbar {
  width: 6px;
}
.filter-sidebar .sidebar-inhoud::-webkit-scrollbar-thumb {
  background: var(--kleur-rand);
  border-radius: 3px;
}
.filter-sidebar .sidebar-inhoud::-webkit-scrollbar-track {
  background: transparent;
}
.filter-sidebar:not(.ingeklapt) .sidebar-toggle {
  right: 16px;
}

/* ============ Sidebar live-polish: gestroomlijnder sticky menu ============ */
.filter-sidebar {
  background: rgba(255, 254, 250, .97);
  border-right-color: rgba(223, 233, 226, .78);
}

.filter-sidebar .sidebar-inhoud {
  padding: 34px 18px 30px;
}

.filter-sidebar .sidebar-identiteit {
  padding: 0 4px 22px;
  border-bottom: 1px solid rgba(223, 233, 226, .74);
}

.filter-sidebar .sidebar-identiteit h2 {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.filter-sidebar .sidebar-privacy {
  max-width: 100%;
  line-height: 1.25;
}

.filter-sidebar .sidebar-groep {
  margin-top: 24px;
}

.filter-sidebar .sidebar-label {
  color: #7a817b;
  font-size: 11px;
  letter-spacing: .11em;
}

.filter-sidebar .sidebar-label-rij {
  min-height: 34px;
  margin-bottom: 8px;
  padding-inline: 4px;
}

.filter-sidebar #ruimte-navigatie-lijst {
  display: grid;
  gap: 4px;
}

.filter-sidebar .sidebar-subgroep {
  margin: 13px 4px 5px;
  padding: 0;
  color: var(--kleur-sub);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.filter-sidebar .sidebar-item {
  min-height: 44px;
  padding: 10px 11px;
  border-radius: 12px;
  color: var(--kleur-tekst);
  font-size: 14px;
  font-weight: 500;
  justify-content: flex-start;
}

.filter-sidebar .sidebar-item i {
  width: 18px;
  color: var(--kleur-sub);
  text-align: center;
}

.filter-sidebar .sidebar-item.actief {
  color: var(--kleur-accent-donker);
}

.filter-sidebar .ruimte-nav-rij {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  border-radius: 12px;
  transition: background .15s ease, box-shadow .15s ease, transform .15s ease;
}

.filter-sidebar .ruimte-nav-rij.beheerbaar {
  grid-template-columns: minmax(0, 1fr) 30px;
  gap: 3px;
}

.filter-sidebar .ruimte-nav-rij.actief {
  background: var(--kleur-accent-zacht);
  box-shadow: inset 3px 0 0 var(--kleur-accent);
}

.filter-sidebar .ruimte-nav-rij.actief .sidebar-item.actief,
.filter-sidebar .ruimte-nav-rij .sidebar-item {
  background: transparent;
}

.filter-sidebar .ruimte-nav-rij:hover,
.filter-sidebar .ruimte-nav-rij:focus-within {
  background: rgba(223, 235, 229, .55);
  transform: translateX(1px);
}

.filter-sidebar .ruimte-nav-rij .sidebar-item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-sidebar .sidebar-mini-knop,
.filter-sidebar .ruimte-beheer-knop {
  width: 30px;
  height: 30px;
  border-color: transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--kleur-accent-donker);
}

.filter-sidebar .sidebar-label-rij .sidebar-mini-knop {
  border-color: rgba(47, 142, 130, .22);
  background: rgba(255, 254, 250, .78);
}

.filter-sidebar .ruimte-nav-rij:not(.actief) .ruimte-beheer-knop {
  opacity: .24;
  pointer-events: auto;
}

.filter-sidebar .ruimte-nav-rij:hover .ruimte-beheer-knop,
.filter-sidebar .ruimte-nav-rij:focus-within .ruimte-beheer-knop,
.filter-sidebar .ruimte-nav-rij.actief .ruimte-beheer-knop {
  opacity: 1;
}

.filter-sidebar .ruimte-beheer-knop:hover,
.filter-sidebar .ruimte-beheer-knop:focus-visible,
.filter-sidebar .sidebar-mini-knop:hover,
.filter-sidebar .sidebar-mini-knop:focus-visible {
  border-color: rgba(47, 142, 130, .24);
  background: rgba(255, 254, 250, .92);
  color: var(--kleur-accent-donker);
}

.sidebar-meer {
  margin: 16px 0 8px;
  border-top: 1px solid rgba(223, 233, 226, .74);
  padding-top: 14px;
}

.sidebar-meer > summary {
  min-height: 36px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
}

.sidebar-nieuwe-ruimte {
  margin-top: 18px;
  padding: 13px 16px;
  border-color: rgba(47, 142, 130, .32);
  background: rgba(255, 254, 250, .58);
  font-size: 14px;
  font-weight: 700;
}

.filter-sidebar .sidebar-uitleg {
  margin-top: 22px;
  padding: 0 4px;
  border-radius: 0;
  background: transparent;
  font-size: 11px;
  line-height: 1.55;
}

.filter-sidebar:not(.ingeklapt) .sidebar-toggle {
  top: 22px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(47, 142, 130, .18);
  background: rgba(255, 254, 250, .92);
  color: var(--kleur-accent-donker);
  box-shadow: 0 8px 22px rgba(49, 68, 69, .08);
}

.filter-sidebar:not(.ingeklapt) .sidebar-toggle:hover,
.filter-sidebar:not(.ingeklapt) .sidebar-toggle:focus-visible {
  background: var(--kleur-accent-donker);
  color: #fff;
}

.filter-sidebar.ingeklapt {
  width: 44px;
  min-width: 44px;
  border-right-color: transparent;
  background: transparent;
}

.filter-sidebar.ingeklapt + .tijdlijn-wrap {
  margin-left: 44px !important;
}

.filter-sidebar.ingeklapt .sidebar-toggle {
  top: 94px;
  left: 10px;
  width: 34px;
  height: 34px;
  border-color: rgba(47, 142, 130, .18);
  background: rgba(255, 254, 250, .95);
  color: var(--kleur-accent-donker);
  box-shadow: 0 8px 22px rgba(49, 68, 69, .10);
}

.filter-sidebar.ingeklapt .sidebar-toggle:hover,
.filter-sidebar.ingeklapt .sidebar-toggle:focus-visible {
  background: var(--kleur-accent-donker);
  color: #fff;
}

/* ============ Lightbox: albumcontext bij fotoboekweergave ============ */
.lb-album-context {
  position: absolute;
  z-index: 15;
  top: 62px;
  left: clamp(14px, 3vw, 28px);
  max-width: min(440px, calc(100vw - 28px));
  display: grid;
  gap: 3px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  background: rgba(20, 42, 34, .72);
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
  backdrop-filter: blur(14px);
}

.lb-album-context.verborgen {
  display: none;
}

.lb-album-kicker {
  color: rgba(255, 255, 255, .70);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lb-album-context strong {
  overflow: hidden;
  color: #fff;
  font: 600 20px/1.05 var(--font-serif);
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lb-album-context span:last-child {
  color: rgba(255, 255, 255, .74);
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 700px) {
  .lb-album-context {
    display: none;
  }
}

/* ============ Lightbox: albumslider met zij-preview ============ */
.lb-foto-wrap {
  padding-inline: clamp(82px, 12vw, 156px);
}

.lb-media {
  position: relative;
  z-index: 3;
}

.lb-media img,
.lb-media video {
  box-shadow: 0 18px 56px rgba(20, 42, 34, .16);
}

.lb-nav {
  width: 42px;
  height: 42px;
  z-index: 18;
  background: rgba(255, 255, 255, .72);
  color: var(--kleur-accent-donker);
  box-shadow: 0 12px 30px rgba(20, 42, 34, .14);
  backdrop-filter: blur(12px);
}

.lb-nav:hover,
.lb-nav:focus-visible {
  background: var(--kleur-accent-donker);
  color: #fff;
}

.lb-prev {
  left: clamp(20px, 5vw, 74px);
}

.lb-next {
  right: clamp(20px, 5vw, 74px);
}

.lb-filmstrip {
  position: absolute;
  z-index: 16;
  left: 50%;
  bottom: 18px;
  width: min(620px, calc(100% - 48px));
  display: flex;
  gap: 8px;
  padding: 8px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 16px;
  background: rgba(20, 42, 34, .54);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .18);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
  scrollbar-width: none;
}

.lb-filmstrip::-webkit-scrollbar {
  display: none;
}

.lb-filmstrip.verborgen {
  display: none;
}

.lb-filmstrip-item {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 11px;
  background: rgba(255, 255, 255, .20);
  cursor: pointer;
  opacity: .68;
  transition: border-color .16s ease, opacity .16s ease, transform .16s ease;
}

.lb-filmstrip-item:hover,
.lb-filmstrip-item:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.lb-filmstrip-item.actief {
  border-color: #fff;
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(47, 142, 130, .64);
}

.lb-filmstrip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .lb-foto-wrap {
    padding-inline: clamp(58px, 10vw, 92px);
  }

  .lb-prev {
    left: 14px;
  }

  .lb-next {
    right: 14px;
  }

  .lb-filmstrip {
    bottom: 88px;
    width: calc(100% - 24px);
    padding: 7px;
  }
}

@media (max-width: 600px) {
  .lb-foto-wrap {
    padding-inline: 0;
  }

  .lb-nav {
    width: 38px;
    height: 38px;
  }

  .lb-filmstrip {
    bottom: 94px;
    width: calc(100% - 24px);
    padding: 7px;
    background: rgba(20, 42, 34, .48);
  }

  .lb-filmstrip-item {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    border-radius: 10px;
  }
}

/* ============ Album/gebeurtenis instellingen: live-ready modal ============ */
#geb-detail-modal .geb-detail-kaart {
  width: min(94vw, 520px);
  max-height: min(88vh, 820px);
  overflow: auto;
  border-radius: 24px;
}

#geb-detail-modal .modal-header {
  align-items: flex-start;
  padding-bottom: 14px;
}

#geb-detail-modal #geb-detail-naam {
  margin: 0;
  color: var(--kleur-zwart);
  font: 600 28px/1.05 var(--font-serif);
  letter-spacing: 0;
}

#geb-detail-modal #geb-detail-datum {
  margin: 6px 0 0;
  color: var(--kleur-sub);
  font-size: 13px;
}

#geb-detail-modal .geb-detail-sectie {
  margin-bottom: 12px;
  border-color: rgba(223, 233, 226, .88);
  border-radius: 16px;
  background: rgba(255, 254, 250, .72);
}

#geb-detail-modal .gezin-sectie-titel {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  color: var(--kleur-tekst);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

#geb-detail-modal .geb-detail-formrij,
#geb-detail-modal .kring-lid-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

#geb-detail-modal .kring-lid-form {
  grid-template-columns: minmax(118px, .7fr) minmax(0, 1fr) auto;
}

#geb-detail-modal .geb-detail-formrij input,
#geb-detail-modal .kring-lid-form select {
  min-width: 0;
}

#geb-detail-modal .geb-detail-toggle {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
}

#geb-detail-modal .geb-detail-toggle .gezin-sectie-titel {
  margin-bottom: 4px;
}

#geb-detail-modal .geb-detail-toggle small {
  display: block;
  color: var(--kleur-sub);
  font-size: 12px;
  line-height: 1.45;
}

#geb-detail-modal .geb-detail-toggle input {
  flex: 0 0 auto;
  margin-top: 3px;
}

#geb-detail-modal .geb-detail-gevaar {
  border-color: rgba(180, 69, 47, .26);
  background: #fffafa;
}

#geb-detail-modal .geb-detail-gevaar .gezin-sectie-titel {
  color: var(--kleur-rood);
}

#geb-detail-modal .geb-detail-gevaar > p {
  margin: 0 0 12px;
  color: var(--kleur-sub);
  font-size: 12px;
  line-height: 1.5;
}

#geb-detail-modal .geb-detail-bevestig {
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid rgba(180, 69, 47, .34);
  border-radius: 12px;
  background: #fff3f3;
}

#geb-detail-modal .geb-detail-bevestig > p:first-child {
  margin: 0 0 8px;
  color: var(--kleur-rood);
  font-size: 0;
  font-weight: 700;
}

#geb-detail-modal .geb-detail-bevestig > p:first-child::before {
  content: "Let op: weet je het zeker?";
  font-size: 12px;
}

#geb-detail-modal .geb-detail-bevestig-acties {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#geb-detail-modal .plaatsing-lijst {
  margin-bottom: 10px;
}

@media (max-width: 600px) {
  #geb-detail-modal .geb-detail-kaart {
    width: min(100vw - 24px, 520px);
    max-height: 90vh;
    border-radius: 22px;
  }

  #geb-detail-modal #geb-detail-naam {
    font-size: 24px;
  }

  #geb-detail-modal .geb-detail-formrij,
  #geb-detail-modal .kring-lid-form {
    grid-template-columns: 1fr;
  }

  #geb-detail-modal .geb-detail-formrij button,
  #geb-detail-modal .kring-lid-form button {
    width: 100%;
  }
}

/* ============ Beheer-modal (kring-beheer) — uitlijnen met andere modals ============ */
#beheer-modal .gezin-modal-kaart {
  border-radius: 24px;
}
#beheer-modal .gezin-tab {
  font-size: 14px;
  font-weight: 600;
}
#beheer-modal .gezin-sectie-titel {
  font-size: 14px;
  font-weight: 600;
}
#beheer-modal .gezin-lid-rij {
  min-height: 56px;
  gap: 12px;
  padding: 12px 4px;
}
#beheer-modal .gezin-lid-naam {
  font-size: 15px;
  font-weight: 600;
}
#beheer-modal .gezin-lid-gebruiker {
  font-size: 13px;
  color: var(--kleur-sub);
}
#beheer-modal .btn-primair {
  background: var(--kleur-accent-donker);
  border-radius: 999px;
}
#beheer-modal .btn-primair:hover {
  background: var(--kleur-accent);
  opacity: 1;
}

/* ============ E-mailupdates ============ */
.klap-sectie {
  display: block;
}
.klap-sectie > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  cursor: pointer;
}
.klap-sectie > summary::-webkit-details-marker {
  display: none;
}
.klap-sectie > summary > .ti-chevron-down {
  color: var(--kleur-sub);
  transition: transform .15s ease;
}
.klap-sectie[open] > summary {
  margin-bottom: 12px;
}
.klap-sectie[open] > summary > .ti-chevron-down {
  transform: rotate(180deg);
}
.sectie-werkbalk,
.sectie-kopregel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 10px;
}
.sectie-kopregel {
  justify-content: space-between;
}
.sectie-refresh-knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(49, 68, 69, .12);
  border-radius: 999px;
  background: rgba(255, 254, 250, .72);
  color: var(--kleur-sub);
  cursor: pointer;
}
.sectie-refresh-knop:hover,
.sectie-refresh-knop:focus-visible {
  background: rgba(49, 68, 69, .08);
  color: var(--kleur-tekst);
  outline: none;
}
.emaildigest-kaart {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--kleur-rand);
}
.emaildigest-kaart.klap-sectie {
  padding-top: 0;
}
#familie-emaildigest-sectie.emaildigest-kaart {
  padding-top: 16px;
  border-top: 0;
}
#familie-emaildigest-sectie.emaildigest-kaart.klap-sectie {
  padding-top: 16px;
}
.emaildigest-kop {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}
.emaildigest-titel {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--kleur-tekst);
}
.emaildigest-uitleg {
  margin: 0;
  color: var(--kleur-sub);
  font-size: 12.5px;
  line-height: 1.45;
}
.emaildigest-frequentie {
  margin-bottom: 10px;
}
.emaildigest-ontvangers {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(232, 221, 200, .7);
  border-bottom: 1px solid rgba(232, 221, 200, .7);
}
.emaildigest-ontvanger {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 11px 0;
  border-top: 1px solid rgba(232, 221, 200, .45);
  cursor: pointer;
}
.emaildigest-ontvanger:first-child {
  border-top: 0;
}
.emaildigest-ontvanger input {
  width: 20px;
  height: 20px;
  accent-color: var(--kleur-accent-donker);
  flex-shrink: 0;
}
.emaildigest-ontvanger span {
  flex: 1;
  min-width: 0;
}
.emaildigest-ontvanger strong,
.emaildigest-ontvanger small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.emaildigest-ontvanger strong {
  font-size: 13.5px;
  color: var(--kleur-tekst);
}
.emaildigest-ontvanger.extern strong::after {
  content: "losse ontvanger";
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(49, 68, 69, .08);
  color: var(--kleur-sub);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  vertical-align: 1px;
}
.emaildigest-ontvanger small {
  margin-top: 2px;
  font-size: 12px;
  color: var(--kleur-sub);
}
.emaildigest-ontvanger em {
  color: var(--kleur-sub);
  font-size: 11px;
  font-style: normal;
  white-space: nowrap;
}
.emaildigest-ontvanger.uitgeschakeld {
  cursor: default;
  opacity: .56;
}
.emaildigest-ontvanger.uitgeschakeld strong {
  color: var(--kleur-sub);
}
.emaildigest-verwijder {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--kleur-sub);
  cursor: pointer;
  flex: 0 0 auto;
}
.emaildigest-verwijder:hover {
  background: rgba(49, 68, 69, .08);
  color: var(--kleur-tekst);
}
.emaildigest-extra-form {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 12px;
  margin-top: 14px;
  padding: 15px;
  border: 1px dashed rgba(53, 102, 106, .24);
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
}
.emaildigest-extra-label {
  color: var(--kleur-sub);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.emaildigest-extra-velden {
  display: grid;
  grid-template-columns: minmax(150px, .95fr) minmax(180px, 1.2fr);
  gap: 12px;
  min-width: 0;
}
.emaildigest-extra-velden input {
  min-width: 0;
  width: 100%;
  height: 42px;
  box-sizing: border-box;
  padding-inline: 14px;
  border-radius: 12px;
}
.emaildigest-toevoegen {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  justify-self: start;
  white-space: nowrap;
  padding-inline: 16px;
}
.emaildigest-acties {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(232, 221, 200, .6);
}
.emaildigest-voorbeeld {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding-inline: 12px;
}
.emaildigest-voorbeeld:disabled {
  cursor: wait;
  opacity: .72;
}
.emaildigest-status {
  margin-top: 8px;
  min-height: 16px;
}
.switch-mini {
  position: relative;
  width: 46px;
  height: 28px;
  flex: 0 0 auto;
}
.switch-mini input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.switch-mini span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: var(--kleur-rand);
  transition: background .15s ease;
}
.switch-mini span::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  top: 3px;
  left: 3px;
  border-radius: 50%;
  background: var(--kleur-kaart);
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  transition: transform .15s ease;
}
.switch-mini input:checked + span {
  background: var(--kleur-accent-donker);
}
.switch-mini input:checked + span::after {
  transform: translateX(18px);
}

@media (max-width: 700px) {
  .emaildigest-extra-velden {
    grid-template-columns: 1fr;
  }
  .emaildigest-toevoegen {
    width: 100%;
  }
}

@media (max-width: 560px) {
  #ruimte-beheer-modal .modal-kaart {
    width: min(94vw, 420px);
    max-height: 90vh;
  }
  .emaildigest-ontvanger {
    align-items: flex-start;
  }
}

/* Categorie blijft alleen als compatibiliteitsveld voor oude data/imports. */
.filter-sidebar .sidebar-categorieen {
  display: none;
}

/* ============ Tijdlijn-kaarten: rustiger, foto-eerst ritme ============ */

.verhaal-stroom::before {
  width: 1px;
  background: linear-gradient(to bottom, rgba(20, 42, 34, .10), rgba(20, 42, 34, .04));
}
.verhaal-marker {
  width: 11px;
  height: 11px;
  border-width: 3px;
  background: var(--kleur-kaart);
  box-shadow: 0 0 0 2px rgba(47, 142, 130, .24);
}
.maand-kop {
  min-height: 38px;
  padding: 8px 15px;
  border-color: rgba(47, 142, 130, .18);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 8px 24px rgba(20, 42, 34, .05);
}
.maand-kop-tekst strong {
  font-size: 11px;
  letter-spacing: .09em;
}
.maand-kop-tekst small {
  font-size: 11px;
  color: var(--kleur-sub);
}
.verhaal-kaart {
  width: min(100%, 430px);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(20, 42, 34, .08);
}
.verhaal-kaart:hover {
  box-shadow: 0 18px 42px rgba(20, 42, 34, .12);
}
.verhaal-album .verhaal-media,
.verhaal-media {
  position: relative;
}
.verhaal-album-collage {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
  background: rgba(255, 255, 255, .64);
}
.verhaal-album-collage-tegel {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--kleur-groen-zacht);
}
.verhaal-album-collage-tegel:first-child {
  border-top-left-radius: 14px;
}
.verhaal-album-collage-tegel:nth-child(2) {
  border-top-right-radius: 14px;
}
.verhaal-album-collage-tegel:nth-child(3) {
  border-bottom-left-radius: 14px;
}
.verhaal-album-collage-tegel:nth-child(4) {
  border-bottom-right-radius: 14px;
}
.verhaal-album-collage-tegel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.verhaal-album-collage-meer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 42, 34, .54);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}
.verhaal-album-label {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(20, 42, 34, .78);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  pointer-events: none;
}
.verhaal-album-instellingen {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border: 1px solid var(--kleur-rand);
  border-radius: 999px;
  background: var(--kleur-kaart);
  color: var(--kleur-accent-donker);
  cursor: pointer;
  box-shadow: none;
}
.verhaal-album-openen {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 7px 12px;
  border: 1px solid rgba(47, 142, 130, .20);
  border-radius: 999px;
  background: var(--kleur-kaart);
  color: var(--kleur-accent-donker);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
}
.verhaal-album-openen:hover,
.verhaal-album-openen:focus-visible {
  background: var(--kleur-accent-zacht);
  border-color: rgba(47, 142, 130, .34);
  color: var(--kleur-accent-donker);
}
.verhaal-album-openen i {
  font-size: 15px;
}
.verhaal-album-instellingen:hover {
  background: var(--kleur-accent-donker);
  border-color: var(--kleur-accent-donker);
  color: #fff;
}

/* Foto groter (foto-eerst) */
.verhaal-media {
  height: auto;
  aspect-ratio: 4 / 3;
  background: var(--kleur-groen-zacht);
}
.verhaal-body {
  padding: 18px 22px 20px;
}
.verhaal-boven {
  min-height: 0;
  margin-bottom: 3px;
}

/* Datum rustig en gedempt i.p.v. shouty accent-vet */
.verhaal-datum {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--kleur-sub);
}

/* Titel: serif weight 500, iets meer lucht eromheen */
.verhaal-titel {
  margin: 8px 0 7px;
  font: 500 26px/1.12 var(--font-serif);
  letter-spacing: -.012em;
}
.verhaal-beschrijving {
  max-width: 34em;
  margin-top: 8px;
  color: var(--kleur-sub);
  font-size: 13.5px;
  line-height: 1.5;
}

/* Scope-badges: toegang zichtbaar in producttaal */
.verhaal-scope {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(20, 42, 34, .14);
  pointer-events: none;
}
.verhaal-scope.family { background: var(--kleur-accent-zacht); color: var(--kleur-accent-donker); }
.verhaal-scope.friends { background: var(--kleur-warm-zacht); color: #B85F3D; }
.verhaal-scope.private { background: var(--kleur-zwart); color: #fff; }
.verhaal-scope.shared { background: var(--kleur-kaart); color: var(--kleur-sub); }
.verhaal-voet {
  gap: 9px;
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid rgba(20, 42, 34, .08);
}
.verhaal-mensen,
.verhaal-locatie {
  color: var(--kleur-sub);
  font-size: 12px;
}
.verhaal-meer {
  min-height: 32px;
  padding: 6px 11px;
  border-radius: 999px;
  font-weight: 700;
}

/* Meer adem tussen kaarten/maanden - kalmer ritme */
.verhaal-rij {
  margin-bottom: 34px;
}
.maand-blok {
  padding-bottom: 32px;
}

@media (max-width: 900px) {
  .verhaal-kaart {
    width: min(100%, 620px);
  }
}

@media (max-width: 600px) {
  .verhaal-media {
    aspect-ratio: 1.08 / 1;
  }
  .verhaal-album-collage {
    gap: 2px;
    padding: 2px;
  }
  .verhaal-album-collage-meer {
    font-size: 15px;
  }
  .verhaal-body {
    padding: 16px 16px 17px;
  }
  .verhaal-scope {
    left: 10px;
    top: 10px;
    padding: 4px 9px;
  }
  .verhaal-titel {
    font-size: 22px;
  }
  .maand-kop {
    min-height: 42px;
    border-radius: 12px;
  }
}
