/* Navigation shared by the desktop and mobile headers. */
.vc-head .vc-drop[open] > summary::after {
  transform: translateY(.04em) rotate(225deg);
}
.vc-head .vc-mega > summary {
  text-underline-offset: .45em;
}
.vc-head .vc-mega[open] > summary {
  color: var(--vc-purple);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
.vc-head .vc-mega > .vc-mega-panel {
  box-sizing: border-box;
  background: #fff;
  color: var(--vc-ink);
}
.vc-mega-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.vc-head .vc-mega-icon {
  display: block;
  width: 44px;
  height: 44px;
  color: var(--vc-deep);
}
.vc-head .vc-mega-title {
  margin: 9px 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #debce9;
  color: var(--vc-deep);
  font: 600 clamp(1.23rem,1.8vw,1.8rem)/1.12 var(--vc-serif);
}
.vc-head .vc-mega-list a {
  display: block;
  padding: .38em 0;
  color: var(--vc-ink);
  font: 400 clamp(.93rem,1.06vw,1.04rem)/1.38 var(--vc-sans);
  overflow-wrap: break-word;
}
.vc-head .vc-mega a:hover, .vc-head .vc-mega a:focus-visible {
  color: var(--vc-purple);
  text-decoration: underline;
  text-underline-offset: .2em;
}
.vc-head a.vc-mega-feature {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  align-items: center;
  min-width: 0;
  align-self: start;
  overflow: hidden;
  border-radius: 17px;
  padding: 0 0 18px;
  text-align: center;
  background: #f9effc;
  color: var(--vc-deep);
  text-decoration: none;
}
.vc-head .vc-mega-feature img {
  display: block;
  width: 100%;
  height: auto;
}
.vc-head .vc-mega-feature strong {
  padding: 0 8px;
  font: 600 clamp(1.25rem,1.9vw,1.9rem)/1.1 var(--vc-serif);
}
.vc-head .vc-mega-feature span {
  color: var(--vc-purple);
  font: 550 .96rem/1.35 var(--vc-sans);
  text-decoration: underline;
  text-underline-offset: .23em;
}
.vc-head .vc-mega-feature:is(:hover,:focus-visible) span { text-decoration-thickness: 2px; }
@media (min-width:981px) {
  .vc-head .vc-head-in { width: min(1400px,94%); }
  .vc-desk .vc-mega { position: static; }
  .vc-head .vc-desk .vc-mega-panel {
    position: absolute;
    inset: 100% 0 auto;
    margin: 0 auto;
    width: min(1480px,98%);
    max-height: min(75vh,calc(100dvh - 100px));
    overflow: auto;
    overscroll-behavior: contain;
    display: grid;
    grid-template-columns: 1fr 1.09fr 1fr 1.32fr;
    align-items: start;
    gap: clamp(20px,2.5vw,42px);
    padding: clamp(22px,2.5vw,40px);
    border: 1px solid var(--vc-line);
    border-radius: 16px;
    box-shadow: 0 14px 34px #47205b24;
  }
  .vc-head .vc-desk .vc-mega:not([open]) > .vc-mega-panel { display: none; }
}
@media (max-width:980px) {
  .vc-head .vc-mobile { position: static; }
  .vc-head .vc-mobile > nav {
    inset: 100% max(8px,3vw) auto auto;
    width: min(420px,94vw);
    max-height: min(77vh,calc(100dvh - 90px));
    overscroll-behavior: contain;
    padding: 12px;
  }
  .vc-mobile .vc-drop > summary, .vc-mobile nav > a {
    min-height: 44px;
    align-content: center;
  }
  .vc-head .vc-mobile .vc-mega-panel {
    position: static;
    display: block;
    padding: 4px 6px 8px;
    min-width: 0;
    width: 100%;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }
  .vc-head .vc-mobile .vc-mega:not([open]) > .vc-mega-panel { display: none; }
  .vc-mobile .vc-mega-group { border-top: 1px solid var(--vc-line); }
  .vc-head .vc-mobile .vc-mega-group > summary {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 47px;
    padding: 6px 4px;
    list-style: none;
    font: 600 1.12rem/1.25 var(--vc-serif);
  }
  .vc-mobile .vc-mega-group > summary::after {
    content: '+';
    margin-left: auto;
    padding-right: 4px;
    font: 400 1.3rem/1 var(--vc-sans);
  }
  .vc-mobile .vc-mega-group[open] > summary::after { content: '−'; }
  .vc-head .vc-mobile .vc-mega-icon { width: 25px; height: 25px; flex: none; }
  .vc-mobile .vc-mega-list { padding: 0 0 7px 15px; }
  .vc-head .vc-mobile .vc-mega-list a { padding: 11px 6px; font-size: .96rem; }
  .vc-head .vc-mobile .vc-mega-feature {
    display: grid;
    grid-template: auto auto / 86px minmax(0,1fr);
    gap: 3px 10px;
    align-items: end;
    margin-top: 9px;
    padding: 8px;
    text-align: left;
  }
  .vc-mobile .vc-mega-feature img { grid-row: span 2; align-self: center; border-radius: 8px; }
  .vc-head .vc-mobile .vc-mega-feature strong { padding: 0; font-size: 1.12rem; }
  .vc-mobile .vc-mega-feature span { align-self: start; }
}
