/* ============================================================
   style.css — 102e FOS De Albatros
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #1A5276;
  --blue-dark:  #0F3260;
  --blue-light: #2471A3;
  --blue-pale:  #D6EAF8;
  --teal:       #1A7A8A;
  --yellow:     #F5C518;
  --yellow-dark:#C9980A;
  --yellow-pale:#FEF9E7;
  --white:      #fff;
  --cream:      #F4F8FC;
  --text:       #16202A;
  --text-muted: #5D6D7E;
  --border:     rgba(0,0,0,0.09);
  --radius:     14px;
  --shadow-sm:  0 2px 8px rgba(26,82,118,.07);
  --shadow-md:  0 6px 24px rgba(26,82,118,.12);
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  font-size: 15px;
}

/* ── TOPBAR verwijderd ── */

/* ── LOGIN BUTTON & USER CHIP (sidebar versie) ──────────────── */
.sidebar-login-area {
  padding: .4rem 1rem 1rem;
}
.sidebar-login-btn {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.6);
  padding: 9px 14px;
  border-radius: 10px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: background .15s, color .15s, border-color .15s;
}
.sidebar-login-btn:hover {
  background: rgba(255,255,255,.13);
  color: #fff;
  border-color: rgba(255,255,255,.3);
}
/* Houd .login-btn als alias voor auth.js die het id 'loginBtn' gebruikt */
.login-btn { display: none; }

.user-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,197,24,.15);
  border: 1px solid rgba(245,197,24,.4);
  border-radius: 999px;
  padding: 4px 10px 4px 12px;
  font-size: .7rem;
  font-weight: 700;
  color: var(--yellow);
}
.user-chip i { font-size: .85rem; }
.user-chip span { color: rgba(255,255,255,.85); }
.user-chip button {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,.4);
  padding: 0;
  font-size: .85rem;
  display: flex;
  align-items: center;
  transition: color .15s;
}
.user-chip button:hover { color: var(--yellow); }

/* ── NAV ────────────────────────────────────────────────────── */
nav {
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .65rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(10,30,70,.18);
  /* Geen CSS transition meer — JS stuurt de waarden direct via style */
}

/* Logo — groot bovenaan, krimpt vloeiend mee met scroll */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
}
#navLogoImg {
  width: 130px; height: 130px;
  object-fit: contain;
  flex-shrink: 0;
  /* grootte wordt live via style.width/height gezet */
}
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.15;
}
.nav-logo-text small {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: .6rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  font-weight: 400;
  overflow: hidden;
  /* max-height & opacity worden live gezet */
}

/* nav-scrolled wordt niet meer gebruikt voor grootte,
   alleen nog als hook voor andere elementen indien gewenst */
nav.nav-scrolled { /* placeholder */ }

/* ── SPONSOR BALK in nav ─────────────────────────────────── */
#navSponsors {
  display: flex;
  align-items: center;
  overflow: hidden;
  flex-shrink: 0;
  /* breedte/hoogte worden via JS gezet */
}

/* Logo-modus: afbeeldingen als slideshow */
.sponsor-logo-slide {
  display: none;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.sponsor-logo-slide.active { display: flex; }
.sponsor-logo-slide img {
  max-height: 100%;
  max-width: 120px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .75;
  transition: opacity .3s;
}
.sponsor-logo-slide img:hover { opacity: 1; }

/* Naam-modus: tekst als ticker */
.sponsor-name-ticker {
  display: none;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.6);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .5px;
  white-space: nowrap;
  overflow: hidden;
}
.sponsor-name-ticker.visible { display: flex; }
.sponsor-name-ticker .sponsor-label {
  font-size: .55rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.35);
  flex-shrink: 0;
}
.sponsor-name-slide {
  display: none;
  align-items: center;
  gap: .35rem;
  color: rgba(255,255,255,.75);
  font-weight: 800;
  font-size: .72rem;
}
.sponsor-name-slide.active { display: flex; }
.sponsor-name-slide::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: .7;
  flex-shrink: 0;
}

/* Hamburger knop */
.hamburger {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  width: 42px; height: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: background .2s;
  flex-shrink: 0;
  padding: 0;
}
.hamburger:hover { background: rgba(255,255,255,.2); }
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── SIDEBAR ─────────────────────────────────────────────────── */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  backdrop-filter: blur(2px);
}
.sidebar-overlay.open { opacity: 1; pointer-events: all; }

.sidebar {
  position: fixed;
  top: 0; right: 0;
  width: min(300px, 85vw);
  height: 100dvh;
  background: var(--blue-dark);
  z-index: 400;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sidebar.open { transform: translateX(0); }

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
}
.sidebar-logo img {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: contain;
}
.sidebar-logo strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  color: #fff;
}
.sidebar-logo small {
  font-size: .6rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.sidebar-close {
  background: rgba(255,255,255,.08);
  border: none;
  color: rgba(255,255,255,.6);
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background .15s, color .15s;
}
.sidebar-close:hover { background: rgba(255,255,255,.15); color: #fff; }

.sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: .8rem 0 2rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.15) transparent;
}

.sidebar-section-label {
  font-size: .62rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,.35);
  padding: .5rem 1.3rem .3rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem 1.3rem;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 700;
  transition: background .15s, color .15s;
  border-left: 3px solid transparent;
}
.sidebar-link i { font-size: 1.05rem; width: 20px; flex-shrink: 0; }
.sidebar-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.sidebar-link.active {
  background: rgba(245,197,24,.12);
  color: var(--yellow);
  border-left-color: var(--yellow);
}

.sidebar-divider {
  height: 1px;
  background: rgba(255,255,255,.07);
  margin: .6rem 1.3rem;
}

.sidebar-tak-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .5rem 1.3rem;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 700;
  transition: background .15s, color .15s;
}
.sidebar-tak-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.sidebar-tak-dot {
  width: 28px; height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
  opacity: .9;
}

.sidebar-cta {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 1rem 1.3rem 0;
  background: var(--yellow);
  color: var(--blue-dark) !important;
  padding: .7rem 1.2rem;
  border-radius: 10px;
  font-size: .85rem;
  font-weight: 900;
  text-decoration: none;
  transition: background .15s;
  justify-content: center;
}
.sidebar-cta:hover { background: #ffe55a; }

/* Sidebar login */
.sidebar-login-area { padding: .3rem 1.3rem; }
.sidebar-login-btn {
  width: 100%;
  background: rgba(245,197,24,.15);
  border: 1px solid rgba(245,197,24,.3);
  color: var(--yellow);
  border-radius: 10px;
  padding: .65rem 1rem;
  font-family: 'Nunito', sans-serif;
  font-size: .83rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: background .15s;
}
.sidebar-login-btn:hover { background: rgba(245,197,24,.25); }
.sidebar-user-chip {
  width: 100%;
  background: rgba(245,197,24,.12);
  border: 1px solid rgba(245,197,24,.25);
  border-radius: 10px;
  padding: .6rem 1rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--yellow);
  gap: .5rem;
  flex-wrap: wrap;
}
.sidebar-user-chip span { color: rgba(255,255,255,.85); }
.sidebar-user-chip button {
  background: none; border: none;
  cursor: pointer; color: rgba(255,255,255,.4);
  font-size: .85rem; display: flex; align-items: center;
  transition: color .15s; padding: 0; margin-left: auto;
}
.sidebar-user-chip button:hover { color: var(--yellow); }

/* Sidebar social links */
.sidebar-social-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .55rem 1.3rem;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: .83rem;
  font-weight: 700;
  transition: background .15s, color .15s;
}
.sidebar-social-link i { font-size: 1.1rem; width: 20px; }
.sidebar-social-link:hover { background: rgba(255,255,255,.07); color: #fff; }

/* ── LOGIN MODAL ─────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(3px);
}

.login-modal-box {
  background: #fff;
  border-radius: 20px;
  width: min(90%, 380px);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  animation: modalSlideIn .2s ease;
}
@keyframes modalSlideIn {
  from { transform: translateY(-16px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--cream);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1rem;
  transition: background .15s;
}
.close-btn:hover { background: var(--border); }

.login-logo {
  display: flex;
  justify-content: center;
  margin-bottom: -.2rem;
}
.login-logo img {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 3px solid var(--blue-pale);
}

.login-modal-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--blue-dark);
  text-align: center;
  margin-bottom: -.4rem;
}
.login-sub {
  font-size: .78rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: .3rem;
}
.login-field { display: flex; flex-direction: column; gap: .3rem; }
.login-field label {
  font-size: .75rem;
  font-weight: 900;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.login-field input {
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Nunito', sans-serif;
  font-size: .9rem;
  outline: none;
  transition: border-color .15s;
}
.login-field input:focus { border-color: var(--blue-light); }

.login-error {
  font-size: .78rem;
  color: #c0392b;
  font-weight: 700;
  min-height: 1rem;
}
.btn-login-submit {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: .85rem;
  border-radius: 10px;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: .9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  transition: background .15s;
}
.btn-login-submit:hover { background: var(--blue-light); }
.btn-login-submit:disabled { opacity: .6; cursor: not-allowed; }

.login-footer-note {
  font-size: .72rem;
  color: var(--text-muted);
  text-align: center;
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(150deg, var(--blue-dark) 0%, var(--blue) 55%, #2471A3 100%);
  color: #fff;
  padding: 3rem 2rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.hero-inner { max-width: 560px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,197,24,.15);
  border: 1px solid rgba(245,197,24,.4);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: .9rem;
  color: var(--yellow);
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  line-height: 1.15;
  margin-bottom: .6rem;
}
.hero h1 span { color: var(--yellow); }
.hero p { font-size: .95rem; opacity: .82; margin-bottom: 1.5rem; max-width: 440px; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-logo {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 160px; height: 160px;
  opacity: .18;
  pointer-events: none;
}
.hero-logo img { width: 100%; height: 100%; border-radius: 50%; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn-yellow {
  background: var(--yellow);
  color: var(--blue-dark);
  border: none;
  padding: 11px 24px;
  border-radius: 999px;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: .9rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background .15s;
}
.btn-yellow:hover { background: #ffe55a; }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.45);
  padding: 11px 24px;
  border-radius: 999px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color .15s;
}
.btn-blue {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 11px 22px;
  border-radius: 999px;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: .86rem;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
.btn-yellow-sm {
  background: var(--yellow);
  color: var(--blue-dark);
  border: none;
  padding: 9px 20px;
  border-radius: 999px;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: .83rem;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  margin-top: .6rem;
}

/* ── PAGE HEADER ─────────────────────────────────────────────── */
.page-header {
  background: var(--blue);
  color: #fff;
  padding: 2rem 2rem 1.8rem;
}
.page-header .section-label { color: var(--yellow); opacity: 1; }
.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: .3rem;
}
.page-header p { font-size: 1.2rem; opacity: .75; max-width: 500px; }

/* ── TAK PAGE HEADER (met kleur-accent) ─────────────────────── */
.tak-page-header {
  color: #fff;
  padding: 2.5rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}
.tak-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  filter: brightness(.85);
  z-index: 0;
}
.tak-page-header > * { position: relative; z-index: 1; }
.tak-page-header .tak-emoji-big {
  font-size: 3.5rem;
  margin-bottom: .5rem;
  display: block;
}
.tak-page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  line-height: 1.1;
  margin-bottom: .2rem;
}
.tak-page-header .tak-leeftijd {
  font-size: .78rem;
  font-weight: 900;
  opacity: .75;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.tak-page-header p { font-size: .92rem; opacity: .85; max-width: 520px; }

/* ── SECTIONS ────────────────────────────────────────────────── */
.section { padding: 2rem 2rem; }
.section-label {
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: .3rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: .3rem;
  line-height: 1.2;
}
.section-sub {
  font-size: .87rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  max-width: 480px;
}
.divider { height: 1px; background: var(--border); margin: 0 2rem; }

/* ── NIEUWS ──────────────────────────────────────────────────── */
.nieuws-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-bottom: .7rem;
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  transition: box-shadow .15s;
}
.nieuws-card:hover { box-shadow: 0 4px 16px rgba(26,82,118,.08); }
.nieuws-icon {
  background: var(--blue-pale);
  color: var(--blue);
  border-radius: 10px;
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.nieuws-card h3 { font-size: .9rem; font-weight: 900; margin-bottom: .15rem; }
.nieuws-card p  { font-size: .8rem; color: var(--text-muted); margin-bottom: .4rem; }
.nieuws-link { font-size: .75rem; font-weight: 700; color: var(--blue-light); text-decoration: none; }

/* ── TAKKEN GRID ─────────────────────────────────────────────── */
.takken-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: .7rem;
}
.tak-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem .8rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, transform .15s, box-shadow .15s;
  color: var(--text);
  text-decoration: none;
  display: block;
}
.tak-card:hover {
  border-color: var(--blue-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(26,82,118,.1);
}
.tak-emoji { font-size: 1.7rem; margin-bottom: .4rem; }
.tak-name  { font-size: .85rem; font-weight: 900; margin-bottom: .1rem; }
.tak-age   { font-size: .68rem; color: var(--text-muted); }
.tak-stripe { width: 28px; height: 4px; border-radius: 999px; margin: .5rem auto 0; }

/* ── KALENDER ────────────────────────────────────────────────── */
.kalender-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
  display: flex;
  gap: .9rem;
  align-items: center;
  margin-bottom: .6rem;
  transition: box-shadow .15s;
}
.kalender-card:hover { box-shadow: 0 4px 16px rgba(26,82,118,.08); }
.kal-date {
  background: var(--blue);
  color: #fff;
  border-radius: 10px;
  width: 44px; height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kal-date .day { font-size: 1.1rem; font-weight: 900; line-height: 1; }
.kal-date .mon { font-size: .5rem; font-weight: 700; text-transform: uppercase; opacity: .8; }
.kal-info h3   { font-size: .86rem; font-weight: 900; margin-bottom: .1rem; }
.kal-info p    { font-size: .76rem; color: var(--text-muted); }
.kal-tag {
  margin-left: auto;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: .63rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  align-self: flex-start;
  flex-shrink: 0;
}

/* ── ALBATROSSERTJE BANNER ───────────────────────────────────── */
.albatros-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--teal) 100%);
  border-radius: var(--radius);
  padding: 1.5rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  color: #fff;
}
.albatros-banner img {
  width: 80px; height: 80px;
  flex-shrink: 0;
}
.albatros-banner h2 { font-family: 'Playfair Display', serif; font-size: 1.25rem; margin-bottom: .3rem; }
.albatros-banner p  { font-size: .82rem; opacity: .85; }

/* ── LID WORDEN BANNER ───────────────────────────────────────── */
.lid-banner {
  background: var(--yellow);
  border-radius: var(--radius);
  padding: 1.5rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.lid-banner h2 { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--blue-dark); margin-bottom: .3rem; }
.lid-banner p  { font-size: .84rem; color: var(--blue-dark); opacity: .8; }

/* ── CONTACT ─────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: .7rem;
}
.contact-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  text-align: center;
  transition: box-shadow .15s;
}
.contact-card:hover { box-shadow: 0 4px 16px rgba(26,82,118,.08); }
.contact-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .55rem;
  font-weight: 900;
  color: var(--blue);
  font-size: .84rem;
}
.contact-card h3  { font-size: .84rem; font-weight: 900; margin-bottom: .15rem; }
.contact-card .rol { font-size: .7rem; color: var(--teal); font-weight: 700; margin-bottom: .35rem; }
.contact-card a {
  font-size: .73rem;
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  line-height: 1.8;
}
.contact-card a:hover { color: var(--blue); }
.contact-avatar-foto {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto .55rem;
  display: block;
}
.contact-plain {
  font-size: .73rem;
  color: var(--text-muted);
  display: block;
  line-height: 1.8;
}

/* ── FOTO PAGINA ─────────────────────────────────────────────── */
.foto-filter-bar { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.filter-btn {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px;
  font-family: 'Nunito', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-muted);
  transition: background .15s, color .15s, border-color .15s;
}
.filter-btn:hover, .filter-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }

.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.album-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  color: var(--text);
  display: block;
}
.album-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(26,82,118,.13); }
.album-thumb {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}
.album-badge {
  position: absolute;
  top: 8px; right: 8px;
  background: var(--yellow);
  color: var(--blue-dark);
  font-size: .6rem;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: 999px;
}
.album-info { padding: .85rem 1rem; }
.album-info h3  { font-size: .88rem; font-weight: 900; margin-bottom: .2rem; }
.album-info p   { font-size: .75rem; color: var(--text-muted); }
.album-info .album-meta { display: flex; align-items: center; justify-content: space-between; margin-top: .5rem; }
.album-info .album-tak  { font-size: .65rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--blue-pale); color: var(--blue); }
.album-info .album-count { font-size: .68rem; color: var(--text-muted); }

/* ── ADMIN / LEIDING TOOLS ───────────────────────────────────── */
.admin-only    { display: none; }
.logged-in .admin-only { display: block; }

/* Inline edit bar shown to leiding with correct permissions */
.edit-bar {
  display: none;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  color: #fff;
  padding: .6rem 2rem;
  font-size: .78rem;
  font-weight: 700;
  gap: .8rem;
  align-items: center;
  flex-wrap: wrap;
}
.logged-in .edit-bar { display: flex; }
.edit-bar span { opacity: .65; }
.edit-bar-btn {
  background: var(--yellow);
  color: var(--blue-dark);
  border: none;
  padding: 5px 14px;
  border-radius: 999px;
  font-family: 'Nunito', sans-serif;
  font-size: .75rem;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background .15s;
}
.edit-bar-btn:hover { background: #ffe55a; }

/* ── TAK SUBPAGINA - LEIDING KAARTJES ────────────────────────── */
.leiding-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .8rem;
}
.leiding-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.leiding-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .6rem;
  font-weight: 900;
  font-size: .9rem;
  color: #fff;
}
.leiding-card h4   { font-size: .85rem; font-weight: 900; margin-bottom: .1rem; }
.leiding-card .totem { font-size: .72rem; color: var(--text-muted); font-style: italic; }
.leiding-card .email {
  font-size: .7rem;
  color: var(--blue-light);
  text-decoration: none;
  display: block;
  margin-top: .4rem;
  font-weight: 700;
}

/* ── TAK INFO BLOKKEN ────────────────────────────────────────── */
.tak-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.tak-info-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem;
}
.tak-info-card .icon { font-size: 1.6rem; margin-bottom: .5rem; }
.tak-info-card h3   { font-size: .9rem; font-weight: 900; margin-bottom: .35rem; }
.tak-info-card p    { font-size: .8rem; color: var(--text-muted); line-height: 1.6; }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,.65);
  padding: 2rem;
  font-size: .78rem;
  margin-top: 2rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
}
.footer-col h4 {
  color: var(--yellow);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .5px;
  margin-bottom: .6rem;
}
.footer-links-col { display: flex; flex-direction: column; gap: .3rem; }
.footer-links-col a, .footer-links-col button {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  font-size: .74rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Nunito', sans-serif;
  padding: 0;
  transition: color .15s;
}
.footer-links-col a:hover, .footer-links-col button:hover { color: var(--yellow); }
.footer-social { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
.footer-social a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  padding: 6px 12px;
  border: 0.5px solid rgba(255,255,255,.15);
  border-radius: 8px;
  font-size: .73rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background .15s, color .15s;
}
.footer-social a:hover { background: var(--yellow); color: var(--blue-dark); border-color: var(--yellow); }
.footer-bottom {
  border-top: 0.5px solid rgba(255,255,255,.1);
  padding-top: .9rem;
  text-align: center;
  font-size: .7rem;
  opacity: .45;
}

/* ── LEIDING KAARTEN (dynamisch) ─────────────────────────── */
.leiding-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .8rem;
}
.leiding-grid-lg {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.leiding-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .15s;
  position: relative;
}
.leiding-card:hover { box-shadow: var(--shadow-md); }

/* Foto of initialen avatar */
.leiding-foto {
  width: 120px; height: 120px;
  object-fit: cover;   /* was: contain */
  border-radius: 50%;  /* voeg toe als je ronde avatars wil, zie hieronder */
  margin: 0 auto .6rem;
  display: block;
}
.leiding-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .6rem;
  font-weight: 900; font-size: .9rem; color: #fff;
}

.leiding-card-body { display: flex; flex-direction: column; align-items: center; gap: .15rem; }
.leiding-card h4   { font-size: .85rem; font-weight: 900; margin: 0; }
.leiding-echtenaam { font-size: .72rem; color: var(--text-muted); font-style: italic; }
.leiding-welpennaam { font-size: .78rem; font-weight: 900; color: var(--text-muted); }

.leiding-tl-badge {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: .62rem;
  font-weight: 900;
  padding: 1px 8px;
  border-radius: 999px;
  margin-top: .25rem;
}
.leiding-contact-link {
  font-size: .68rem;
  font-weight: 700;
  color: var(--blue-light);
  text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: .25rem;
  margin-top: .2rem;
  word-break: break-all;
}
.leiding-contact-link:hover { text-decoration: underline; }

/* Grote EL kaart */
.leiding-card-lg {
  background: #fff;
  border: 0.5px solid var(--border);
  border-top: 3px solid;
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.leiding-foto-lg {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;   /* was: contain */
  margin: 0 auto .7rem;
  display: block;
}
.leiding-avatar-lg {
  width: 120px; height: 120px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .7rem;
  font-weight: 900; font-size: 1rem; color: #fff;
}
.leiding-card-lg h4 { font-size: .92rem; font-weight: 900; margin-bottom: .1rem; }
.leiding-totem-name { font-size: .76rem; color: var(--text-muted); margin-bottom: .25rem; }
.leiding-email, .leiding-tel {
  font-size: .72rem; color: var(--blue-light); text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: .3rem;
  font-weight: 700; margin-top: .3rem;
}

/* Edit knop op kaart */
.leiding-edit-btn {
  display: none;
  position: absolute; top: 6px; right: 6px;
  background: rgba(255,255,255,.9);
  border: 0.5px solid var(--border);
  border-radius: 7px;
  width: 28px; height: 28px;
  align-items: center; justify-content: center;
  cursor: pointer; font-size: .85rem; color: var(--blue-light);
  transition: background .15s;
}
.leiding-edit-btn:hover { background: var(--blue-pale); }
body.logged-in .leiding-edit-btn { display: flex; }

/* Loading / fout */
.leiding-loading {
  font-size: .85rem; color: var(--text-muted);
  display: flex; align-items: center; gap: .5rem; padding: 1rem 0;
}
.leiding-fout { font-size: .82rem; color: var(--text-muted); padding: .5rem 0; }

@keyframes spin { to { transform: rotate(360deg); } }
.spin { display: inline-block; animation: spin .8s linear infinite; }

/* Foto upload zone (ook gebruikt in shop) */
.foto-upload-zone {
  border: 2px dashed var(--border); border-radius: 12px;
  cursor: pointer; overflow: hidden; transition: border-color .15s, background .15s;
  min-height: 100px; display: flex; align-items: center; justify-content: center;
}
.foto-upload-zone:hover { border-color: var(--blue-light); background: var(--blue-pale); }
.foto-preview-inner {
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  padding: 1.2rem; color: var(--text-muted); text-align: center;
}
.foto-preview-inner i { color: var(--blue-light); }
.foto-preview-inner span { font-size: .83rem; font-weight: 700; }
.foto-preview-inner small { font-size: .72rem; }

/* Modal gedeeld */
.event-modal-box {
  background: #fff; border-radius: 20px;
  padding: 2rem; display: flex; flex-direction: column; gap: .9rem;
  position: relative; box-shadow: 0 24px 60px rgba(0,0,0,.25);
  animation: modalSlideIn .2s ease;
}
.event-modal-box h2 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--blue-dark); }
.ev-select {
  padding: .75rem 1rem; border: 1.5px solid var(--border); border-radius: 10px;
  font-family: 'Nunito', sans-serif; font-size: .9rem; outline: none;
  background: #fff; color: var(--text); cursor: pointer; width: 100%;
  transition: border-color .15s;
}
.ev-select:focus { border-color: var(--blue-light); }
.btn-delete {
  background: #FFF0F0; border: 1.5px solid #F5C6C6; color: #C0392B;
  border-radius: 10px; padding: .75rem 1.2rem; font-family: 'Nunito', sans-serif;
  font-size: .88rem; font-weight: 900; cursor: pointer;
  display: flex; align-items: center; gap: .4rem; transition: background .15s;
}
.btn-delete:hover { background: #FFE0E0; }
@keyframes modalSlideIn { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ============================================================
   maandblok.css — extra stijlen voor het bewerkbare maandblok
   Voeg toe aan style.css of importeer apart
   ============================================================ */

/* ── Maandblok container ─────────────────────────────────── */
.maand-blok {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.maand-blok-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1.2rem;
  border-bottom: 0.5px solid var(--border);
  gap: .6rem;
  flex-wrap: wrap;
}

.maand-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 999px;
}

.maand-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  font-weight: 700;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 4px 12px;
  cursor: pointer;
  color: var(--text-muted);
  transition: border-color .15s, color .15s;
}
.maand-edit-btn:hover {
  border-color: var(--tak-kleur, var(--blue));
  color: var(--tak-kleur, var(--blue));
}

/* ── Body: twee kolommen ─────────────────────────────────── */
.maand-blok-body {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 0;
}

@media (max-width: 640px) {
  .maand-blok-body {
    grid-template-columns: 1fr;
  }
  .maand-verg-kolom {
    border-top: 0.5px solid var(--border);
    border-left: none !important;
  }
}

.maand-tekst-kolom {
  padding: 1.1rem 1.2rem;
}

.maand-tekst-inhoud {
  font-size: .88rem;
  line-height: 1.65;
  color: var(--text);
}

.maand-verg-kolom {
  padding: 1.1rem 1.2rem;
  border-left: 0.5px solid var(--border);
  background: var(--bg-pale, #f9f9fb);
}

.maand-verg-label {
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  margin-bottom: .65rem;
  display: flex;
  align-items: center;
  gap: .3rem;
}

.maand-verg-rij {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  padding: .28rem 0;
  border-bottom: 0.5px solid var(--border);
  font-size: .82rem;
}
.maand-verg-rij:last-child { border-bottom: none; }

.maand-verg-datum {
  font-weight: 900;
  min-width: 42px;
  color: var(--text);
}

.maand-verg-info {
  display: flex;
  flex-direction: column;
  gap: .05rem;
}

.maand-verg-titel {
  font-weight: 700;
  color: var(--text);
}

.maand-verg-tijd {
  color: var(--text-muted);
}

.maand-verg-geen {
  color: #c0392b;
  font-style: italic;
  font-size: .78rem;
}

/* ── Modal: verg-rij bewerken ────────────────────────────── */
.verg-rij-edit {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem 0;
  border-bottom: 0.5px solid var(--border);
  flex-wrap: wrap;
}
.verg-rij-edit:last-child { border-bottom: none; }

.verg-rij-edit input[type=text],
.verg-datum-input,
.verg-van-input,
.verg-tot-input {
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 3px 7px;
  font-size: .82rem;
  font-family: inherit;
}
.verg-tijden-wrap {
  display: flex;
  align-items: center;
  gap: .3rem;
}
