/* ===== Header: solid dark, no transparency ===== */
#masthead.ast-transparent-header,
.ast-theme-transparent-header #masthead,
.ast-theme-transparent-header .main-header-bar,
.site-header,
.main-header-bar {
  position: relative !important;
  background-color: #221a5e !important;
}

.site-title a,
.main-header-menu .menu-link {
  color: #ffffff !important;
  opacity: 1 !important;
}
.site-title a:hover,
.main-header-menu .menu-link:hover {
  color: #d9a91e !important;
}

/* ===== Desktop dropdown ===== */
.main-header-menu .sub-menu {
  background-color: #221a5e;
}
.main-header-menu .sub-menu .menu-link {
  color: #ffffff !important;
  background-color: transparent;
}
.main-header-menu .sub-menu .menu-item:hover > .menu-link {
  background-color: #4a3fd0 !important;
}

/* ===== Mobile menu ===== */
.ast-mobile-popup-drawer .ast-mobile-popup-inner,
.ast-mobile-popup-content,
.ast-mobile-header-content,
#ast-mobile-header,
.ast-header-break-point .main-header-bar-navigation,
.ast-header-break-point .main-navigation ul {
  background-color: #221a5e !important;
}
.ast-header-break-point .main-navigation a,
.ast-mobile-popup-drawer .menu-link {
  color: #ffffff !important;
  opacity: 1 !important;
  background-color: transparent !important;
}
.ast-header-break-point .main-navigation .menu-item {
  border-bottom: 1px solid rgba(255,255,255,0.15) !important;
}
.ast-mobile-popup-drawer .menu-toggle-close,
.ast-header-break-point .menu-toggle .ast-mobile-svg {
  fill: #ffffff !important;
  color: #ffffff !important;
}

/* Mobile submenus always open, arrows hidden */
.ast-header-break-point .main-navigation .sub-menu,
.ast-mobile-popup-drawer .sub-menu {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
  position: static !important;
  background-color: #1a1449 !important;
}
.ast-mobile-popup-drawer .sub-menu .menu-link {
  padding-left: 32px !important;
  font-size: 0.95em !important;
}
.ast-header-break-point .ast-menu-toggle,
.ast-mobile-popup-drawer .ast-menu-toggle {
  display: none !important;
}
