.mn-site-header {
  position: sticky;
  z-index: 120;
  top: 0;
  color: #102548;
  background: #fff;
  border-bottom: 1px solid #e4eaf4;
  box-shadow: 0 8px 28px rgba(16, 37, 72, 0.055);
}

.mn-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 82px;
}

.mn-header-brand { flex: 0 0 auto; }
.mn-header-brand img { display: block; width: 156px; height: auto; }

.mn-header-panel {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.mn-header-links, .mn-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mn-header-links { margin-inline: auto; }
.mn-header-actions { gap: 10px; }

.mn-header-panel a, .mn-header-shortcut, .mn-header-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  min-height: 44px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  color: #102548;
}

.mn-header-panel a:hover, .mn-header-links a[aria-current] {
  background: #edf3ff;
  color: #174bdd;
}

.mn-header-panel .mn-header-follow { border: 1px solid #d8e2f4; }
.mn-header-panel .mn-header-apply { background: #174bdd; color: #fff; }
.mn-header-panel .mn-header-apply:hover { background: #103dbf; color: #fff; }

.mn-site-header :is(a, button):focus-visible {
  outline: 2px solid #174bdd;
  outline-offset: 3px;
}

.mn-header-mobile, .mn-header-toggle { display: none; }
.mn-header-lock { width: 12px; height: 10px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; }
.mn-header-lock::before { content: ''; position: absolute; width: 6px; height: 5px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 5px 5px 0 0; left: 1.5px; top: -6px; }
.mn-header-icon { position: relative; width: 17px; height: 14px; border-block: 2px solid currentColor; }
.mn-header-icon::before, .mn-header-icon::after { content: ''; position: absolute; top: 4px; left: 0; width: 17px; height: 2px; background: currentColor; }
.mn-header-toggle[aria-expanded='true'] .mn-header-icon { border-color: transparent; }
.mn-header-toggle[aria-expanded='true'] .mn-header-icon::before { transform: rotate(45deg); }
.mn-header-toggle[aria-expanded='true'] .mn-header-icon::after { transform: rotate(-45deg); }

.mn-site-header ~ .cs_hero.cs_style_1 .cs_hero_in { padding-top: 82px; }
.mn-site-header + main .cs_hero.cs_type_1 .cs_hero_in { padding-top: 76px; }
.mn-legal-page .mn-legal-toc { top: 102px; }
.mn-legal-page main [id] { scroll-margin-top: 96px; }
.mn-legal-page .mn-legal-skip { z-index: 121; }

@media (max-width: 1099px) {
  .mn-header-inner { min-height: 70px; gap: 12px; flex-wrap: wrap; }
  .mn-header-brand img { width: 133px; }
  .mn-header-panel { flex-basis: 100%; flex-direction: column; align-items: stretch; padding-bottom: 16px; gap: 8px; }
  .mn-header-links, .mn-header-actions { flex-wrap: wrap; margin: 0; }
  .mn-site-header[data-ready] .mn-header-inner { flex-wrap: nowrap; }
  .mn-site-header[data-ready] .mn-header-mobile { display: flex; gap: 7px; align-items: center; }
  .mn-site-header[data-ready] .mn-header-toggle { display: inline-flex; border: 1px solid #d8e2f4; background: #f2f6fd; }
  .mn-header-shortcut { padding-inline: 8px; }
  .mn-site-header[data-ready] .mn-header-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: max(12px, calc((100% - 720px) / 2));
    left: max(12px, calc((100% - 720px) / 2));
    max-height: calc(100dvh - 92px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    border: 1px solid #e2e9f4;
    border-radius: 16px;
    box-shadow: 0 20px 44px rgba(16, 37, 72, 0.18);
    padding: 12px;
    gap: 10px;
  }
  .mn-site-header[data-open] .mn-header-panel { display: flex; }
  .mn-site-header[data-ready] .mn-header-links,
  .mn-site-header[data-ready] .mn-header-actions { display: grid; }
  .mn-site-header[data-ready] .mn-header-links a { display: flex; padding-inline: 14px; font-size: 1rem; min-height: 48px; }
  .mn-site-header[data-ready] .mn-header-actions { padding-top: 10px; border-top: 1px solid #e4eaf4; }
  .mn-site-header[data-ready] .mn-header-actions a { justify-content: center; min-height: 46px; }
  .mn-site-header ~ .cs_hero.cs_style_1 .cs_hero_in { padding-top: 68px; }
  .mn-site-header + main .cs_hero.cs_type_1 .cs_hero_in { padding-top: 60px; }
}

@media (max-width: 420px) {
  .mn-header-brand img { width: 116px; }
  .mn-header-inner { gap: 8px; }
  .mn-header-shortcut, .mn-header-toggle { padding-inline: 8px; font-size: 0.8125rem; }
}

@media (max-width: 360px) {
  .mn-header-brand img { width: 106px; }
  .mn-header-shortcut, .mn-header-toggle { gap: 6px; }
}
