/* Het bestaande Astra-hoofdmenu, met Scholen als eerste ingang. */
#ast-desktop-header:has(.menu-item-8525) .site-primary-header-wrap {
  width: 100%;
  max-width: 1450px;
  padding-inline: clamp(18px, 3.5vw, 64px);
}
#ast-desktop-header:has(.menu-item-8525) .ast-builder-grid-row {
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  column-gap: clamp(12px, 2vw, 34px);
  min-height: clamp(82px, 8vw, 108px);
}
#ast-desktop-header:has(.menu-item-8525) .site-branding {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.3vw, 22px);
}
#ast-desktop-header:has(.menu-item-8525) .site-logo-img {
  flex: none;
  padding-right: 0;
}
#ast-desktop-header:has(.menu-item-8525) .custom-logo {
  width: clamp(91px, 10vw, 153px);
  height: auto;
}
#ast-desktop-header:has(.menu-item-8525) .site-title {
  width: 7.4em;
  overflow-wrap: normal;
  word-break: normal;
  font: 700 clamp(16px, 1.55vw, 23px)/1.18 Calibri, 'Segoe UI', Arial, sans-serif;
}
#ast-desktop-header:has(.menu-item-8525) .ast-builder-menu-1,
#ast-desktop-header:has(.menu-item-8525) .ast-main-header-bar-alignment,
#ast-desktop-header:has(.menu-item-8525) .main-header-bar-navigation {
  width: 100%;
}
#ast-desktop-header:has(.menu-item-8525) .site-header-primary-section-center {
  min-width: 0;
}
#ast-desktop-header:has(.menu-item-8525) .main-navigation {
  display: flex;
  width: 100%;
}
#ast-desktop-header .main-header-menu:has(.menu-item-8525) {
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  justify-content: center;
  column-gap: clamp(10px, calc(11vw - 108px), 40px);
  padding-inline-end: clamp(6px, .85vw, 12px);
}
#ast-desktop-header .main-header-menu:has(.menu-item-8525) > li > .menu-link {
  padding: 14px 2px;
  color: #171b1c;
  font: 500 clamp(12px, 1vw, 15px)/1.25 'Plus Jakarta Sans', Arial, sans-serif;
  letter-spacing: .035em;
  white-space: nowrap;
  text-transform: uppercase;
}
#ast-desktop-header .main-header-menu:has(.menu-item-8525) .sub-menu {
  width: max-content;
  min-width: 230px;
  padding: 7px;
  background: white;
  border: 1px solid #d9e5e4;
  border-top: 3px solid #00aab2;
  box-shadow: 0 8px 20px #15272d20;
}
#masthead .main-header-menu:has(.menu-item-8525) .sub-menu .menu-link {
  padding: 10px 12px;
  color: #182222;
  font: 500 15px/1.4 'Plus Jakarta Sans', Arial, sans-serif;
  letter-spacing: normal;
  text-transform: none;
}
#masthead .main-header-menu:has(.menu-item-8525) .sub-menu .menu-link:is(:hover, :focus-visible) {
  background: #eaf5f4;
}
#ast-desktop-header:has(.menu-item-8525) .ast-header-button-1 .ast-custom-button {
  padding: 15px clamp(14px, 1.7vw, 29px);
  color: white;
  background: #007f87;
  border: 0;
  border-radius: 0;
  font: 700 clamp(12px, 1vw, 15px)/1.25 'Plus Jakarta Sans', Arial, sans-serif;
  letter-spacing: .08em;
  white-space: nowrap;
  text-transform: uppercase;
}
#ast-desktop-header:has(.menu-item-8525) .ast-custom-button-link:is(:hover, :focus-visible) .ast-custom-button {
  background: #005e63;
}
#ast-mobile-header .main-header-menu:has(.menu-item-8525) > li > .menu-link {
  padding: 13px 20px;
}
#ast-mobile-header .main-header-menu:has(.menu-item-8525) .sub-menu {
  padding-left: 12px;
  margin-left: 20px;
  border-left: 2px solid #00aab2;
}
#ast-mobile-header:has(.menu-item-8525) .ast-mobile-header-content .ast-header-button-1 {
  display: flex;
  padding: 10px 20px 18px;
}
#ast-mobile-header:has(.menu-item-8525) .ast-header-button-1 a.ast-custom-button-link {
  display: inline-flex;
}
#ast-mobile-header:has(.menu-item-8525) .ast-header-button-1 a.menu-link {
  display: none;
}
#ast-mobile-header:has(.menu-item-8525) .ast-header-button-1 .ast-custom-button {
  padding: 13px 22px;
  color: white;
  background: #007f87;
  border: 0;
  border-radius: 0;
  font: 700 14px/1.25 'Plus Jakarta Sans', Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
