.mnt-global-header {
  position: relative;
  z-index: 60;
  color: #0b2b52;
  background: #fff;
  border-bottom: 1px solid #e9e2f0;
  font: 700 15px/1.35 Sora, system-ui, sans-serif;
}
.mnt-global-header *, .mnt-global-header *::before, .mnt-global-header *::after { box-sizing: border-box; }
.mnt-global-shell {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 24px 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "search search" "brand nav";
  align-items: center;
  row-gap: 44px;
}
.mnt-global-header a { text-decoration: none; color: inherit; }
.mnt-global-header :focus-visible { outline: 2px solid #5221a9; outline-offset: 3px; }
.mnt-global-search {
  grid-area: search;
  margin: 0 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px 10px 20px;
  border: 1px solid #ded3ef;
  border-radius: 13px;
  background: linear-gradient(115deg, #f7f0ff, #f2f7ff);
}
.mnt-global-search label { flex-shrink: 0; }
.mnt-global-search input {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 58px;
  margin: 0;
  padding: 0 13px;
  border: 1px solid #d5c4eb;
  border-radius: 7px;
  color: #142546;
  background: #fff;
  font: 500 16px "Red Hat Display", system-ui, sans-serif;
}
.mnt-global-search button {
  min-height: 40px;
  align-self: flex-end;
  padding: 0 18px;
  margin: 0;
  color: #fff;
  background: #5221a9;
  border: 0;
  border-radius: 7px;
  font: inherit;
  cursor: pointer;
}
.mnt-global-search button:hover { background: #3e1982; }
.mnt-global-brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 100px;
  white-space: nowrap;
  font-size: clamp(18px, 1.75vw, 25px);
  font-weight: 800;
}
.mnt-global-brand img { display: block; width: 92px; height: 92px; object-fit: contain; }
.mnt-global-nav { grid-area: nav; justify-self: end; min-width: 0; }
.mnt-global-nav ul { margin: 0; padding: 0; list-style: none; }
.mnt-global-nav > ul { display: flex; align-items: center; gap: clamp(8px, 1.5vw, 26px); }
.mnt-global-nav .mnt-global-direct, .mnt-global-menu > summary {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 12px 3px;
  white-space: nowrap;
  cursor: pointer;
}
.mnt-global-nav .mnt-global-direct { color: #8b20b7; }
.mnt-global-menu > summary { list-style: none; }
.mnt-global-menu > summary::-webkit-details-marker { display: none; }
.mnt-global-menu > summary span { line-height: 1; }
.mnt-global-menu[open] > summary span { transform: rotate(90deg); }
.mnt-global-mega {
  position: absolute;
  z-index: 2;
  top: 100%;
  left: 24px;
  right: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-height: min(66vh, 550px);
  overflow: auto;
  padding: 22px;
  border: 1px solid #ded3ef;
  border-top: 3px solid #5221a9;
  border-radius: 0 0 12px 12px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(33, 24, 65, .15);
}
.mnt-global-group h2 { margin: 0 0 7px; color: #5221a9; font: 800 15px/1.35 Sora, system-ui, sans-serif; }
.mnt-global-group a { display: block; padding: 10px 6px; border-bottom: 1px solid #eee9f4; }
.mnt-global-group a:hover, .mnt-global-group a[aria-current] { background: #f7f0ff; }
.mnt-global-group a span { display: block; margin-top: 3px; color: #465574; font: 500 13px/1.35 system-ui, sans-serif; }
.mnt-global-toggle { display: none; }
.mnt-global-local {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 18px;
  padding: 7px 16px;
  border-bottom: 1px solid #ded3ef;
  background: #f7f5fc;
  color: #0b2b52;
  font: 700 13px/1.35 Sora, system-ui, sans-serif;
}
.mnt-global-local a { padding: 6px 0; color: inherit; }
.mnt-global-local a:last-child { color: #5221a9; }
.mnt-global-local + .hero { padding-top: 0; }
@media (max-width: 1199px) {
  .mnt-global-shell {
    padding: 3px 16px 24px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand toggle" "search search" "nav nav";
    row-gap: 8px;
  }
  .mnt-global-brand { gap: 6px; min-height: 36px; font-size: clamp(16px, 5.1vw, 24px); }
  .mnt-global-brand img { width: 26px; height: 26px; }
  .mnt-global-search { margin: 0 18px; }
  .mnt-global-header.has-js .mnt-global-toggle {
    grid-area: toggle;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: #0b2b52;
    cursor: pointer;
  }
  .mnt-global-nav { justify-self: stretch; }
  .mnt-global-header.has-js:not(.is-open) .mnt-global-nav { display: none; }
  .mnt-global-nav > ul { display: block; }
  .mnt-global-nav .mnt-global-direct, .mnt-global-menu > summary {
    justify-content: space-between;
    min-height: 44px;
    padding: 10px 12px;
    border-bottom: 1px solid #eee9f4;
  }
  .mnt-global-mega {
    position: static;
    max-height: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px;
    gap: 15px;
    box-shadow: none;
  }
}
@media (max-width: 560px) {
  .mnt-global-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 7px; padding: 8px 9px; }
  .mnt-global-search label { grid-column: 1 / -1; font-size: 13px; }
  .mnt-global-search input { min-height: 48px; height: 48px; }
  .mnt-global-search button { min-height: 42px; padding: 0 10px; font-size: 13px; }
  .mnt-global-mega { grid-template-columns: 1fr; }
  .mnt-global-local { gap: 2px 12px; }
  .mnt-global-local a { font-size: 11px; }
}
