:root {
  --nmeda-blue: #0a4595;
  --nmeda-navy: #233874;
  --nmeda-rule: #e4e8ef;
  --nmeda-border: #d5dce7;
  --nmeda-white: #fff;
  --nmeda-black: #000;
}

.nmeda-mh, .nmeda-mh * { box-sizing: border-box; }
.nmeda-mh { position: relative; z-index: 9999; width: 100%; background: var(--nmeda-white); border-bottom: 1px solid var(--nmeda-border); color: var(--nmeda-navy); font-family: inherit; }
.nmeda-mh__inner { position: relative; display: flex; align-items: stretch; width: min(1400px, 100%); min-height: 86px; margin: 0 auto; padding: 0 28px; }
.nmeda-mh__logo { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; margin-right: 38px; color: var(--nmeda-navy); font-weight: 700; text-decoration: none; }
.nmeda-mh__logo-image { display: block; width: auto; max-width: 170px; max-height: 54px; }
.nmeda-mh__logo-mark { display: grid; width: 32px; height: 32px; place-items: center; background: var(--nmeda-blue); color: var(--nmeda-white); font-weight: 700; }
.nmeda-mh__logo-name { font-size: 16px; letter-spacing: .02em; }
.nmeda-mh__nav { display: flex; min-width: 0; }
.nmeda-mh__top-list { display: flex; align-items: stretch; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nmeda-mh__item { display: flex; align-items: stretch; margin: 0; padding: 0; }
.nmeda-mh__item-row { display: flex; align-items: stretch; }
.nmeda-mh__item-row > a, .nmeda-mh__item--single > a { position: relative; display: flex; align-items: center; padding: 0 8px 0 15px; color: var(--nmeda-navy); font-size: 15px; font-weight: 700; line-height: 1.25; text-decoration: none; white-space: nowrap; }
.nmeda-mh__item--single > a { padding-right: 15px; }
.nmeda-mh__item-row > a::after, .nmeda-mh__item--single > a::after { position: absolute; right: 8px; bottom: 0; left: 15px; height: 3px; background: var(--nmeda-blue); content: ""; opacity: 0; transform: scaleX(.55); transition: opacity .18s ease, transform .18s ease; }
.nmeda-mh__item-row > a:hover::after, .nmeda-mh__item-row > a:focus-visible::after, .nmeda-mh__item--single > a:hover::after, .nmeda-mh__item--single > a:focus-visible::after, .nmeda-mh__item.is-current .nmeda-mh__item-row > a::after, .nmeda-mh__item.is-open .nmeda-mh__item-row > a::after { opacity: 1; transform: scaleX(1); }
.nmeda-mh__submenu-toggle { display: grid; width: 27px; margin: 0 5px 0 -3px; padding: 0; place-items: center; border: 0; background: transparent; cursor: pointer; }
.nmeda-mh__submenu-toggle span { width: 0; height: 0; border-top: 5px solid #6f7f9c; border-right: 4px solid transparent; border-left: 4px solid transparent; transition: transform .18s ease; }
.nmeda-mh__item.is-open .nmeda-mh__submenu-toggle span { transform: rotate(180deg); }
.nmeda-mh__submenu-toggle:focus-visible, .nmeda-mh__search-toggle:focus-visible, .nmeda-mh__mobile-toggle:focus-visible { outline: 3px solid rgba(10,69,149,.35); outline-offset: -3px; }
.nmeda-mh__mega { position: absolute; top: 100%; right: 28px; left: 28px; border: 1px solid var(--nmeda-border); border-top: 3px solid var(--nmeda-blue); background: var(--nmeda-white); box-shadow: 0 12px 30px rgba(35,56,116,.14); }
.nmeda-mh__mega-inner { display: grid; gap: 40px; padding: 27px; }
.nmeda-mh__mega-inner--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nmeda-mh__mega-inner--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
.nmeda-mh__group { min-width: 0; }
.nmeda-mh__group-title { margin: 0 0 13px; padding: 0 0 9px; border-bottom: 1px solid var(--nmeda-rule); color: var(--nmeda-blue); font: inherit; font-size: 11px; font-weight: 700; letter-spacing: .13em; line-height: 1.3; text-transform: uppercase; }
.nmeda-mh__group ul { margin: 0; padding: 0; list-style: none; }
.nmeda-mh__group li { margin: 0; padding: 0; }
.nmeda-mh__group a { display: inline-block; padding: 6px 0; color: var(--nmeda-black); font-size: 14px; line-height: 1.35; text-decoration: none; }
.nmeda-mh__group a:hover, .nmeda-mh__group a:focus-visible { color: var(--nmeda-black); text-decoration: underline; text-decoration-color: var(--nmeda-blue); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.nmeda-mh__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; padding-left: 20px; }
.nmeda-mh__button { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; padding: 8px 17px; border: 2px solid var(--nmeda-blue); border-radius: 0; font-size: 14px; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap; transition: color .18s ease, background .18s ease; }
.nmeda-mh__button--outline { background: transparent; color: var(--nmeda-blue); }
.nmeda-mh__button--outline:hover, .nmeda-mh__button--outline:focus-visible { background: var(--nmeda-blue); color: var(--nmeda-white); }
.nmeda-mh__button--solid { background: var(--nmeda-blue); color: var(--nmeda-white); }
.nmeda-mh__button--solid:hover, .nmeda-mh__button--solid:focus-visible { border-color: var(--nmeda-navy); background: var(--nmeda-navy); color: var(--nmeda-white); }
.nmeda-mh__search-toggle { position: relative; width: 38px; height: 38px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.nmeda-mh__search-toggle span::before { position: absolute; top: 10px; left: 10px; width: 12px; height: 12px; border: 2px solid var(--nmeda-blue); border-radius: 50%; content: ""; }
.nmeda-mh__search-toggle span::after { position: absolute; top: 23px; left: 23px; width: 8px; height: 2px; background: var(--nmeda-blue); content: ""; transform: rotate(45deg); transform-origin: left center; }
.nmeda-mh__search { position: absolute; top: 100%; right: 28px; display: flex; width: min(430px, calc(100% - 56px)); padding: 15px; border: 1px solid var(--nmeda-border); border-top: 3px solid var(--nmeda-blue); background: var(--nmeda-white); box-shadow: 0 12px 30px rgba(35,56,116,.14); }
.nmeda-mh__search[hidden] { display: none; }
.nmeda-mh__search input { min-width: 0; flex: 1; height: 42px; padding: 8px 12px; border: 1px solid #9ba8bb; border-radius: 0; font: inherit; }
.nmeda-mh__search button { height: 42px; padding: 0 18px; border: 0; background: var(--nmeda-blue); color: var(--nmeda-white); font-weight: 700; }
.nmeda-mh__mobile-toggle { display: none; }

@media (max-width: 1180px) {
  .nmeda-mh__inner { padding-right: 20px; padding-left: 20px; }
  .nmeda-mh__logo { margin-right: 16px; }
  .nmeda-mh__item-row > a, .nmeda-mh__item--single > a { padding-left: 9px; font-size: 13px; }
  .nmeda-mh__actions { gap: 7px; padding-left: 8px; }
  .nmeda-mh__button { padding-right: 10px; padding-left: 10px; font-size: 12px; }
}

@media (max-width: 980px) {
  .nmeda-mh__inner { min-height: 76px; flex-wrap: wrap; align-items: center; padding: 0 18px; }
  .nmeda-mh__logo { min-height: 76px; margin-right: auto; }
  .nmeda-mh__mobile-toggle { display: flex; height: 44px; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid var(--nmeda-border); background: var(--nmeda-white); color: var(--nmeda-navy); font: inherit; font-weight: 700; cursor: pointer; }
  .nmeda-mh__hamburger, .nmeda-mh__hamburger::before, .nmeda-mh__hamburger::after { display: block; width: 21px; height: 2px; background: var(--nmeda-blue); content: ""; transition: transform .18s ease; }
  .nmeda-mh__hamburger { position: relative; }
  .nmeda-mh__hamburger::before { position: absolute; top: -7px; }
  .nmeda-mh__hamburger::after { position: absolute; top: 7px; }
  .nmeda-mh__mobile-toggle[aria-expanded="true"] .nmeda-mh__hamburger { background: transparent; }
  .nmeda-mh__mobile-toggle[aria-expanded="true"] .nmeda-mh__hamburger::before { top: 0; transform: rotate(45deg); }
  .nmeda-mh__mobile-toggle[aria-expanded="true"] .nmeda-mh__hamburger::after { top: 0; transform: rotate(-45deg); }
  .nmeda-mh__nav { display: none; order: 3; width: 100%; border-top: 1px solid var(--nmeda-border); }
  .nmeda-mh.is-mobile-open .nmeda-mh__nav { display: block; }
  .nmeda-mh__top-list { display: block; padding: 8px 0 12px; }
  .nmeda-mh__item { display: block; border-bottom: 1px solid var(--nmeda-rule); }
  .nmeda-mh__item-row { width: 100%; }
  .nmeda-mh__item-row > a, .nmeda-mh__item--single > a { min-height: 52px; flex: 1; padding: 12px 8px; font-size: 15px; white-space: normal; }
  .nmeda-mh__item-row > a::after, .nmeda-mh__item--single > a::after { display: none; }
  .nmeda-mh__submenu-toggle { width: 52px; min-height: 52px; margin: 0; border-left: 1px solid var(--nmeda-rule); }
  .nmeda-mh__mega { position: static; border: 0; border-top: 3px solid var(--nmeda-blue); box-shadow: none; }
  .nmeda-mh__mega-inner, .nmeda-mh__mega-inner--two, .nmeda-mh__mega-inner--three { display: block; max-width: none; padding: 4px 14px 17px; }
  .nmeda-mh__group { padding-top: 17px; }
  .nmeda-mh__group-title { margin-bottom: 6px; }
  .nmeda-mh__group a { display: block; padding: 8px 2px; }
  .nmeda-mh__actions { margin-left: 10px; padding: 0; }
  .nmeda-mh__search { right: 18px; }
}

@media (max-width: 680px) {
  .nmeda-mh__inner { padding-bottom: 58px; }
  .nmeda-mh__logo-image { max-width: 135px; max-height: 45px; }
  .nmeda-mh__mobile-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .nmeda-mh__mobile-toggle { width: 44px; justify-content: center; padding: 0; }
  .nmeda-mh__actions { position: absolute; right: 12px; bottom: 9px; left: 12px; justify-content: center; margin: 0; }
  .nmeda-mh__button { flex: 1; max-width: 190px; }
  .nmeda-mh__search-toggle { flex: 0 0 38px; }
  .nmeda-mh__nav { margin-right: -18px; margin-left: -18px; width: calc(100% + 36px); padding-right: 18px; padding-left: 18px; }
  .nmeda-mh__search { right: 12px; left: 12px; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .nmeda-mh *, .nmeda-mh *::before, .nmeda-mh *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

