:root {
  --vital-header-space: 94px;
}

html {
  scroll-padding-top: calc(var(--vital-header-space) + 18px);
}

.vital-skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 1200;
  padding: 10px 14px;
  color: #fff;
  background: #3e1c4e;
  border-radius: 3px;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 150ms ease;
}

.vital-skip-link:focus,
.vital-skip-link:focus-visible {
  transform: translateY(0);
}

.vital-atlas-header.site-header {
  position: fixed;
  top: 8px;
  left: 50%;
  z-index: 1000;
  display: block;
  width: min(1260px, calc(100% - 24px));
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(84, 42, 104, 0.2);
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(47, 24, 58, 0.11);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: top 180ms ease, width 180ms ease, border-radius 180ms ease, box-shadow 180ms ease;
}

.vital-atlas-header.site-header.is-scrolled {
  top: 0;
  width: 100%;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  box-shadow: 0 7px 24px rgba(47, 24, 58, 0.14);
}

.vital-header-inner {
  display: grid;
  grid-template-columns: minmax(196px, 222px) minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-height: 72px;
  gap: 18px;
  padding: 8px 14px;
}

.vital-header-brand {
  display: flex;
  align-items: center;
  align-self: stretch;
  min-width: 0;
  padding: 2px 8px 2px 0;
  border-right: 1px solid rgba(84, 42, 104, 0.16);
  text-decoration: none;
}

.vital-header-brand img {
  display: block;
  width: min(100%, 206px);
  height: auto;
  object-fit: contain;
}

.vital-header-brand:focus-visible,
.vital-header-nav a:focus-visible {
  outline: 3px solid #8e5ca7;
  outline-offset: 2px;
}

.vital-header-nav {
  display: grid;
  grid-template-columns: repeat(6, max-content) minmax(122px, max-content);
  align-items: stretch;
  justify-content: end;
  min-width: 0;
  gap: 5px;
}

.vital-header-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 10px;
  color: #291633;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.vital-header-nav a:hover {
  color: #5b2f6f;
  background: #f3ecf6;
  border-color: rgba(101, 54, 122, 0.24);
  transform: translateY(-1px);
}

.vital-header-nav a.is-current,
.vital-header-nav a[aria-current="page"] {
  color: #4f2462;
  background: #eee2f3;
  border-color: rgba(101, 54, 122, 0.28);
  box-shadow: inset 0 -3px 0 #7f4299;
}

.vital-header-nav .vital-header-cta {
  color: #fff;
  background: linear-gradient(135deg, #4d255f, #6f3886);
  border-color: #4d255f;
  box-shadow: 0 5px 13px rgba(77, 37, 95, 0.2);
}

.vital-header-nav .vital-header-cta:hover,
.vital-header-nav .vital-header-cta.is-current,
.vital-header-nav .vital-header-cta[aria-current="page"] {
  color: #fff;
  background: linear-gradient(135deg, #3e1c4e, #5d2d72);
  border-color: #3e1c4e;
  box-shadow: inset 0 -3px 0 #d5a9e4, 0 6px 15px rgba(77, 37, 95, 0.24);
}

.vital-label-short {
  display: none;
}

.vital-header-spacer {
  height: var(--vital-header-space);
  pointer-events: none;
}

@media (max-width: 1120px) {
  :root {
    --vital-header-space: 110px;
  }

  .vital-atlas-header.site-header,
  .vital-atlas-header.site-header.is-scrolled {
    top: 0;
    width: 100%;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .vital-header-inner {
    grid-template-columns: 166px minmax(0, 1fr);
    min-height: 98px;
    gap: 12px;
    padding: 7px 10px;
  }

  .vital-header-brand img {
    width: min(100%, 158px);
  }

  .vital-header-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, 44px);
    justify-content: stretch;
    gap: 4px;
  }

  .vital-header-nav a {
    width: 100%;
    min-width: 0;
    padding: 7px 6px;
    white-space: normal;
  }
}

@media (max-width: 620px) {
  .vital-header-inner {
    grid-template-columns: 102px minmax(0, 1fr);
    gap: 7px;
    padding: 6px;
  }

  .vital-header-brand {
    padding-right: 6px;
  }

  .vital-header-brand img {
    width: min(100%, 96px);
  }

  .vital-header-nav {
    gap: 3px;
  }

  .vital-header-nav a {
    padding: 6px 3px;
    font-size: 0.72rem;
    letter-spacing: -0.01em;
  }

  .vital-label-full {
    display: none;
  }

  .vital-label-short {
    display: inline;
  }
}

@media (max-width: 480px) {
  :root {
    --vital-header-space: 150px;
  }

  .vital-header-inner {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 5px;
  }

  .vital-header-brand {
    justify-content: center;
    min-height: 42px;
    padding: 0 0 4px;
    border-right: 0;
    border-bottom: 1px solid rgba(84, 42, 104, 0.16);
  }

  .vital-header-brand img {
    width: 116px;
  }

  .vital-header-nav a {
    font-size: 0.75rem;
  }
}

@media (max-width: 350px) {
  .vital-header-nav a {
    padding-inline: 2px;
    font-size: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vital-atlas-header.site-header,
  .vital-header-nav a {
    transition: none;
  }
}

@media print {
  .vital-atlas-header.site-header,
  .vital-header-spacer {
    display: none !important;
  }
}
