:root{--lustrum-blue:#080a8d;--lustrum-gold:#f2c340}.site-header{background:var(--lustrum-blue);border-bottom:5px solid var(--lustrum-gold)}.site-header nav>a:not(.button){color:#fff}.site-header .brand{color:#fff}.site-header .brand img{width:70px;height:70px;object-fit:cover;border-radius:14px;background:#fff}.site-header .avatar-link{border-color:var(--lustrum-gold);color:#fff}.site-header .button{background:var(--lustrum-gold);color:#071b36}.event-list{display:grid;gap:1.25rem}.event-item{display:grid;grid-template-columns:minmax(155px,220px) 1fr;gap:1.5rem}.event-date{font-weight:900;color:var(--blue);font-size:1.05rem}.event-meta{display:flex;flex-wrap:wrap;gap:.5rem 1.1rem}.event-text p{margin:.35rem 0}.event-text p+p{margin-top:.7rem}.sponsor-section{padding-top:2.5rem}.sponsor-logos{display:flex;justify-content:center;align-items:center;gap:3rem;flex-wrap:wrap;background:#fff;border-radius:22px;padding:2rem;box-shadow:var(--shadow)}.sponsor-logos img{width:auto;height:100px;max-width:340px;object-fit:contain}.status-pill{display:inline-flex;align-items:center;border-radius:999px;padding:.35rem .7rem;font-weight:800;font-size:.88rem}.status-green{background:#dcfce7;color:#166534}.status-red{background:#fee2e2;color:#991b1b}.status-orange{background:#ffedd5;color:#9a3412}.status-gray{background:#e5e7eb;color:#4b5563}.member-event-list{display:grid;gap:1rem}.member-event{display:grid;grid-template-columns:1fr auto;gap:1rem;align-items:center}.old-praesidium-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.4rem}.old-praesidium-card img{width:100%;aspect-ratio:7/5;object-fit:contain;background:#042a50;border-radius:16px}.old-praesidium-card h2{margin-bottom:.7rem}.toolbar{display:flex;gap:.5rem;margin:.5rem 0}.toolbar button{padding:.45rem .7rem}.internal-box{background:#edf4fa;border-left:5px solid var(--blue);padding:1rem;border-radius:12px}.warning-box{background:#fff4e6;border-left:6px solid #e8790c;padding:1rem 1.2rem;border-radius:12px}.boem-image{max-height:560px;width:100%;object-fit:contain;background:#042a50;border-radius:14px;margin-top:1rem}.danger-zone{border:2px solid #fecaca;background:#fff7f7}.single-column{display:grid;gap:1.2rem}.single-column .card{width:100%}
@media(max-width:760px){.event-item{grid-template-columns:1fr;gap:.55rem}.member-event{grid-template-columns:1fr}.old-praesidium-grid{grid-template-columns:1fr}.sponsor-logos{gap:1.5rem}.sponsor-logos img{height:78px;max-width:260px}.site-header .brand img{width:56px;height:56px}}
.kef-block{margin-top:2rem}.kef-list{column-count:3;column-gap:1rem;margin-top:1rem}.kef-entry{display:grid;grid-template-columns:92px 1fr;gap:.75rem;padding:.72rem .82rem;margin:0 0 .65rem;background:#f7f9fb;border-radius:12px;border-left:4px solid var(--yellow);break-inside:avoid}.kef-year{font-weight:900;color:var(--blue)}.kef-founders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;list-style:none;padding:0}.kef-founders li{background:#edf4fa;padding:.8rem 1rem;border-radius:12px}.kef-rules{background:#fffaf0;border-left:6px solid var(--yellow);border-radius:14px;padding:1.2rem 1.4rem}@media(max-width:900px){.kef-list{column-count:2}}@media(max-width:640px){.kef-list{column-count:1}.kef-founders{grid-template-columns:1fr}}
/* Leesbare titelkleuren. De navigatiebalk zelf blijft lustrumblauw. */
.section-title,.page-hero h1,.card h2,.card h3,.about-panel h2,.accordion-content h3,.member-event h3,.event-item h2,.event-item h3,.admin-shell h1,.admin-shell h2,.admin-shell h3{color:var(--blue2)!important}.blue .section-title,.hero-slider h1{color:#fff!important}.member-group-title,.member-list>.card>summary strong{color:var(--group-color)!important}
/* Preset avatars */
.member-avatar{display:inline-grid;place-items:center;flex:0 0 auto;width:46px;height:46px;border-radius:50%;background:var(--avatar-color,#080a8d);color:#fff;border:3px solid rgba(255,255,255,.9);box-shadow:0 3px 10px rgba(0,0,0,.15);font-size:1.35rem;line-height:1}.avatar-nav{width:32px;height:32px;font-size:1rem;border-width:2px}.avatar-large{width:78px;height:78px;font-size:2.25rem}.avatar-post{width:48px;height:48px}.avatar-picker{display:grid;grid-template-columns:repeat(4,minmax(90px,1fr));gap:1rem;margin:1rem 0}.avatar-option{display:grid;justify-items:center;gap:.45rem;padding:.8rem;border:2px solid #d7e0e8;border-radius:14px;cursor:pointer}.avatar-option:has(input:checked){border-color:var(--blue);background:#edf4fa}.avatar-option input{position:absolute;opacity:0}.avatar-choice{width:58px;height:58px;font-size:1.7rem}.profile-preview,.profile-hero,.post-author{display:flex;align-items:center;gap:1rem}.profile-preview{margin-bottom:1.5rem}.profile-preview h2{margin:0}.member-tagline{color:var(--muted);font-size:.9rem;font-style:italic;margin-top:.15rem}
/* Mobiele navigatie: geen wit leeg vlak, geen absolute pagina-overlap. */
@media(max-width:900px){.site-header{position:relative!important}.nav-wrap{min-height:78px}.site-header nav{display:none!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;width:100%!important;height:auto!important;min-height:0!important;max-height:calc(100vh - 78px)!important;margin:0!important;padding:.75rem 1rem 1rem!important;background:var(--lustrum-blue)!important;border-bottom:5px solid var(--lustrum-gold)!important;overflow-y:auto!important;box-shadow:0 12px 22px rgba(0,0,0,.22)!important;z-index:10000!important}.site-header nav.open{display:flex!important;flex-direction:column!important;gap:.25rem!important}.site-header nav>a{display:flex!important;width:100%!important;min-height:44px!important;margin:0!important;padding:.65rem .8rem!important;color:#fff!important;border-radius:10px!important;background:transparent!important}.site-header nav>a:hover,.site-header nav>a:focus{background:rgba(255,255,255,.12)!important}.site-header nav>.button{justify-content:center!important;background:var(--lustrum-gold)!important;color:#071b36!important;margin-top:.4rem!important}.site-header .avatar-link{height:auto!important;justify-content:flex-start!important;border:0!important}.site-header .avatar-link:after{content:' Ledenzone';margin-left:.55rem}.hero-slider{margin-top:0!important}.profile-hero{align-items:center}}
@media(max-width:640px){.avatar-picker{grid-template-columns:repeat(2,minmax(110px,1fr))}.profile-hero{align-items:flex-start}.profile-hero .avatar-large{width:64px;height:64px;font-size:1.8rem}}
/* Definitief, consistent StuFa-kleurenpalet.
   Navigatie blijft lustrumblauw; de rest gebruikt één rustiger donkerblauw. */
:root{
  --lustrum-blue:#080a8d;
  --lustrum-gold:#f2c340;
  --content-blue:#073b70;
  --content-blue-dark:#042a50;
  --content-blue-soft:#edf4fa;
  --blue:var(--content-blue);
  --blue2:var(--content-blue-dark);
  --yellow:var(--lustrum-gold);
}
.site-header{
  background:var(--lustrum-blue)!important;
  border-bottom:0!important;
  box-shadow:0 5px 16px rgba(4,42,80,.16);
}
.site-header .nav-wrap{border-bottom:0!important}
.section-title,
.page-hero h1,
.card h2,
.card h3,
.about-panel h2,
.accordion-content h3,
.member-event h3,
.event-item h2,
.event-item h3,
.admin-shell h1,
.admin-shell h2,
.admin-shell h3{
  color:var(--content-blue-dark)!important;
}
.event-date,.kef-year{color:var(--content-blue)!important}
.page-hero,.blue{background-color:var(--content-blue-dark)}
.blue .section-title,.page-hero h1,.hero-slider h1{color:#fff!important}
.button.secondary:not(.glass){background:var(--content-blue);color:#fff}
.button.secondary:not(.glass):hover{background:var(--content-blue-dark)}
.internal-box{background:var(--content-blue-soft);border-left-color:var(--content-blue)}
/* Groepskleuren blijven bewust uitzonderingen op het algemene palet. */
.member-group-title,.member-list>.card>summary strong{color:var(--group-color)!important}
@media(max-width:900px){
  .site-header nav{
    background:var(--lustrum-blue)!important;
    border-bottom:0!important;
  }
}
/* DEFINITIEVE OVERRIDE - mobiele menuteksten zichtbaar, gele lijn volledig weg */
.site-header,
.site-header .nav-wrap,
.site-header nav,
.site-header::before,
.site-header::after,
.site-header .nav-wrap::before,
.site-header .nav-wrap::after,
.site-header nav::before,
.site-header nav::after {
  border-top: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
  outline: 0 !important;
  background-image: none !important;
}
.site-header::before,
.site-header::after,
.site-header .nav-wrap::before,
.site-header .nav-wrap::after,
.site-header nav::before,
.site-header nav::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 900px) {
  .site-header nav.open {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: .25rem !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto !important;
    padding: .8rem 1rem 1rem !important;
    background: #080a8d !important;
    z-index: 10000 !important;
  }
  .site-header nav.open > a,
  .site-header nav.open > a:link,
  .site-header nav.open > a:visited,
  .site-header nav.open > a:hover,
  .site-header nav.open > a:focus,
  .site-header nav.open > a:active {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    min-height: 46px !important;
    width: 100% !important;
    align-items: center !important;
    padding: .7rem .85rem !important;
    background: transparent !important;
  }
  .site-header nav.open > a.button,
  .site-header nav.open > a.button:link,
  .site-header nav.open > a.button:visited {
    justify-content: center !important;
    color: #071b36 !important;
    -webkit-text-fill-color: #071b36 !important;
    background: #f2c340 !important;
  }
  .site-header nav.open .avatar-link::after {
    content: 'Ledenzone' !important;
    display: inline !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    margin-left: .55rem !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
  }
}
