/* /blog/assets/css/blog_nav.css — bulletproof overlay menu (geen nth-child afhankelijkheid) */

.bMenuOverlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 9990;
}

.bMenu{
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 92vw);
  height: 100dvh;
  background: #f7fafc;
  border-left: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  z-index: 9991;
  overflow: auto;

  /* emoji/flags fix */
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
               "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji";
}

.bMenuTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(0,0,0,.10);
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 2;
}

.bMenuBrand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 900;
}

.bMenuBrand img{
  display:block;
}

.bMenuClose{
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.03);
  cursor:pointer;
  font-weight: 900;
}

.bMenuList{
  list-style: none;
  margin: 0;
  padding: 10px 10px 18px;
  display:flex;
  flex-direction:column;
  gap: 8px;
}

/* all items */
.bMenuList > li{
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.9);
}

/* direct link rows */
.bMenuList > li > a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 14px;
  font-weight: 900;
  text-decoration: none;
}

/* submenu parent */
.bMenuList > li.hasSub > .subToggle{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 14px 14px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 900;
  text-align: left;
  color: #111827;
}

/* dropdown chevron */
.bMenuList .chev{
  opacity: .75;
  font-weight: 900;
}

/* submenu panel */
.bMenuList > li.hasSub > .subMenu{
  list-style: none;
  margin: 0;
  padding: 8px 0 10px;
  border-top: 1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.02);
}

/* submenu links */
.bMenuList > li.hasSub > .subMenu > li > a{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 12px 14px;
  text-decoration:none;
  font-weight: 800;
}

/* hover */
.bMenuList > li > a:hover,
.bMenuList > li.hasSub > .subToggle:hover,
.bMenuList > li.hasSub > .subMenu > li > a:hover{
  background: rgba(204,219,236,.55); /* zelfde vibe als je header */
}

/* === Block 4 (MAIN MENU) — vaste hook, geen nth-child === */
.bMenuList > li.bMenuMain{
  border-color: rgba(11,107,179,.25);
}

.bMenuList > li.bMenuMain > .subToggle{
  background: rgba(11,107,179,.06);
}

.bMenuList > li.bMenuMain > .subMenu{
  background: rgba(11,107,179,.04);
}
