/* PGBT-MEGAMENU-20261006 — hoofdmenu met vijf uitklappanelen (ontwerp "Alles voor persoonsgebonden zorg op één plek").
   Desktop (≥1200px): knoppen in de kop, paneel klapt uit onder de knop (hover, klik of toetsenbord).
   Mobiel: het bestaande hamburgermenu; elke groep is een uitklapbare lijst. Alles staat onder #hoofdmenu.mm,
   zodat de oude menuregels (.menu a {...}) er niet doorheen lopen. */
#hoofdmenu.mm{--mm-oranje:#e8642e;--mm-teal:#0e6b6b;--mm-blauw:#3f6f8f;--mm-groen:#1f8a74;--mm-goud:#c9921a}
#hoofdmenu.mm .mm-item{position:relative}
#hoofdmenu.mm .mm-top{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;gap:6px;cursor:pointer;font:inherit;font-weight:600;color:var(--ink,#16302f);padding:10px 4px;border-radius:10px;white-space:nowrap}
#hoofdmenu.mm .mm-top svg{width:14px;height:14px;transition:transform .18s ease;flex:none}
#hoofdmenu.mm .mm-item.open>.mm-top svg{transform:rotate(180deg)}
#hoofdmenu.mm .mm-top:focus-visible{outline:3px solid var(--teal,#0e6b6b);outline-offset:3px}
#hoofdmenu.mm .mm-item.actief>.mm-top{color:var(--teal,#0e6b6b);text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:2px}
#hoofdmenu.mm .mm-paneel{display:none}
#hoofdmenu.mm .mm-kaart{background:#fff;border-radius:18px;padding:20px 20px 12px}
#hoofdmenu.mm .mm-kop{display:flex;align-items:center;gap:12px;margin-bottom:6px}
#hoofdmenu.mm .mm-ic{flex:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:#fff}
#hoofdmenu.mm .mm-ic svg{width:22px;height:22px}
#hoofdmenu.mm .mm-titel{font-weight:800;font-size:1.05rem;color:var(--ink,#16302f);margin:0}
#hoofdmenu.mm .mm-tekst{color:var(--muted,#5d706f);font-size:.9rem;line-height:1.45;margin:0 0 10px}
#hoofdmenu.mm .mm-lijst{list-style:none;margin:0;padding:6px 0 0;border-top:1px solid #efe6d8}
#hoofdmenu.mm .mm-lijst a{display:flex!important;align-items:center;justify-content:space-between;gap:10px;padding:9px 2px!important;border:0!important;font-size:.95rem!important;font-weight:500;color:var(--ink,#16302f);text-decoration:none!important;margin:0!important;background:none!important;box-shadow:none!important;border-radius:0!important}
#hoofdmenu.mm .mm-lijst a::after{content:"›";font-size:1.15rem;line-height:1;color:var(--mm-kleur,#0e6b6b)}
#hoofdmenu.mm .mm-lijst a:hover,#hoofdmenu.mm .mm-lijst a[aria-current="page"]{color:var(--mm-kleur,#0e6b6b)}
#hoofdmenu.mm .mm-lijst a[aria-current="page"]{font-weight:700}
#hoofdmenu.mm .k-oranje{--mm-kleur:var(--mm-oranje)} #hoofdmenu.mm .k-teal{--mm-kleur:var(--mm-teal)}
#hoofdmenu.mm .k-blauw{--mm-kleur:var(--mm-blauw)} #hoofdmenu.mm .k-groen{--mm-kleur:var(--mm-groen)} #hoofdmenu.mm .k-goud{--mm-kleur:var(--mm-goud)}
#hoofdmenu.mm .mm-ic{background:var(--mm-kleur)}

@media (min-width:1200px){
  #hoofdmenu.mm{display:flex;align-items:center;gap:6px}
  #hoofdmenu.mm .mm-top{padding:10px 10px}
  #hoofdmenu.mm .mm-top:hover{background:#f3ece1}
  #hoofdmenu.mm .mm-paneel{position:absolute;top:calc(100% + 10px);left:50%;transform:translateX(-50%);width:330px;z-index:80;
     filter:drop-shadow(0 22px 40px rgba(16,48,47,.18))}
  #hoofdmenu.mm .mm-paneel::before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px}   /* hover-brug */
  #hoofdmenu.mm .mm-item:last-of-type .mm-paneel{left:auto;right:0;transform:none}
  #hoofdmenu.mm .mm-kaart{border:1px solid #efe6d8;background:linear-gradient(180deg,color-mix(in srgb,var(--mm-kleur) 7%,#fff),#fff 60%)}
  #hoofdmenu.mm .mm-item.open>.mm-paneel{display:block}
  @media (hover:hover){ #hoofdmenu.mm .mm-item:hover>.mm-paneel{display:block} #hoofdmenu.mm .mm-item:hover>.mm-top svg{transform:rotate(180deg)} }
  #hoofdmenu.mm .mm-mob{display:none!important}
}
@media (min-width:1200px) and (max-width:1339px){ #hoofdmenu.mm .mm-top{padding:10px 7px;font-size:.93rem} }

@media (max-width:1199px){
  #hoofdmenu.mm .mm-item{border-bottom:1px solid #f4ede2}
  #hoofdmenu.mm .mm-top{display:flex;width:100%;justify-content:space-between;padding:15px 26px;font-size:1.06rem}
  #hoofdmenu.mm .mm-item.open>.mm-paneel{display:block}
  #hoofdmenu.mm .mm-kaart{padding:0 26px 10px;border-radius:0}
  #hoofdmenu.mm .mm-kop,#hoofdmenu.mm .mm-tekst{display:none}
  #hoofdmenu.mm .mm-lijst{border-top:0;padding:0}
  #hoofdmenu.mm .mm-lijst a{padding:11px 4px!important;font-size:1rem!important}
  .top.navopen #hoofdmenu.mm{max-height:calc(100vh - 70px);overflow-y:auto}
}
@media (prefers-reduced-motion:reduce){ #hoofdmenu.mm .mm-top svg{transition:none} }

/* PGBTHUIS-900X-20261012: tikvlakken >= 44px op mobiel (voettekst, kruimelpad, losse tekstlinks) */
footer .logo{min-height:44px}
@media (max-width:640px){
  footer li{margin-bottom:0!important}
  footer li a{display:inline-flex;align-items:center;min-height:44px;padding:4px 0}
  footer .fbar a{display:inline-flex;align-items:center;min-height:44px;padding:0 4px}
  .kruimel a{display:inline-flex;align-items:center;min-height:44px}
  .afk{padding:12px 18px!important}
  .consent a,.pgb-hint a,.aside li a{display:inline-block;padding:10px 0}
  main form button[type=submit]{min-height:44px}
  nav[aria-label=Kruimelpad] a{display:inline-flex;align-items:center;min-height:44px}
  main ul.bronnen a,main ul:not([class])>li>a{display:inline-block;padding:10px 0}
  main details>summary{padding-top:10px;padding-bottom:10px}
}
