/* =========================================================================
   Cotiviti primary navigation — desktop (redesign)
   -------------------------------------------------------------------------
   Restyles the stock "Desktop Main Menu" output into the single-row redesign
   header. The Solutions mega panel is built by buildSolutionsMega() in
   cotiviti-menu.js (renders .cot-mega inside the Solutions <li>).

   Below 1236px the desktop bar is hidden and the mobile drill-in menu is used.

   Palette: purple #31006f / #45128c · lavender #c9bcee · magenta #ec008c
            ink #1c1430 / #524a68 / #6e6685 · line #e9e4f5 · hover #e9e3f8 / #f8f6fd
   ========================================================================= */

/* ---- Header shell ------------------------------------------------------ */
.brand-logo { display: inline-block; }

.header-container-wrapper .fixed-header {
  position: fixed;
  width: 100%;
  z-index: 5001;
  margin-left: -15px !important;
}
.header-container-wrapper #header-menu,
.header-container-wrapper #header-menu.fixed-header {
 background: #ffffffdb !important;
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: none;
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
/* Scrolled state (theme JS adds .fixed-header) — subtle line + gradient underline.
   Adapted from the redesign's .site-header / .site-header.is-scrolled rules.
   Covers both desktop and mobile (this element wraps both views). */
.header-container-wrapper #header-menu.fixed-header { border-bottom-color: #e9e4f5; }
.header-container-wrapper #header-menu::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 8%, rgba(236, 0, 140, .45) 35%, rgba(149, 121, 211, .45) 70%, transparent 92%);
  opacity: 0;
  transition: opacity .3s;
}
.header-container-wrapper #header-menu.fixed-header::after { opacity: .7; }
.header.container-max-width>.row-fluid-wrapper:has(#desktop-nav) {
    max-width: 85% !important;
}
@media (min-width: 1500px) {
  .header-container-wrapper .container-fluid .row-fluid .container-max-width { max-width: 1300px; }
}

/* Desktop vs mobile (mobile uses default styling for now) */
.desktop-menu { display: none; }
@media (min-width: 1236px) {
  .desktop-menu { display: block; }
    .mobile-menu {
        display: none !important;
  }
    #overlay-mobile-menu.open, .navbar-mobile-menu {
        display: none !important;
    }
}
@media (max-width: 1236px) {
  .header-container-wrapper .header-container .container-max-width { max-width: 100%; }
  #desktop-nav, .desktop-menu {display:none !important;}
  .mobile-menu{display:block;}}
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.hs-menu-depth-1.cot-cc {
  margin-right: 10px !important;
  margin-left: 10px !important;
}
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.hs-menu-depth-1.cot-cc > a {
  border: 1.5px solid rgb(149, 121, 211) !important;
  transition: border-color .18s, color .18s, background-color .18s, transform .18s;
}
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.hs-menu-depth-1.cot-cc:hover > a {
  border-color: #31006f !important;
  background: transparent !important;   /* keep the outline clean (no lavender fill) */
  transform: translateY(-1px);
}
.cot-explore > a, .desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul>li.hs-menu-depth-1:last-child>a {background-image: linear-gradient(95deg, rgb(236, 0, 140), rgb(149, 121, 211)) !important;font-weight:500 !important;}
/* Explore Solutions arrow icon + hover slide */
.cot-explore .arr {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform .18s;
}
.cot-explore:hover .arr { transform: translateX(4px); }
/* ---- Single-row header: logo left · nav + button right ----------------- */
.header.container-max-width {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 24px;
}
.header.container-max-width > .row-fluid-wrapper { margin: 0 !important; }
.header.container-max-width > .row-fluid-wrapper:has(.desktop-modules) { flex: 0 0 auto; }   /* logo */
.header.container-max-width > .row-fluid-wrapper:has(#desktop-nav)     { flex: 1 1 auto; min-width: 0; } /* nav */
.header.container-max-width > .row-fluid-wrapper:has(.global-notification-enabled),
.header.container-max-width > .row-fluid-wrapper:has(.mobile-menu)      { flex: 1 0 100%; } /* full-width rows: notification (top) + hidden mobile */

/* Notification full-bleed — escape the header's 1240px cap WITHOUT a negative
   margin (which would collapse the flex row and pull the nav up). A transform
   is visual only: it re-centers the bar to the viewport and leaves layout/siblings
   untouched. Works regardless of the capped container's width/padding because the
   container is itself centered in the viewport. */
.header.container-max-width .global-notification-enabled {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgb(35, 0, 78) 0%, rgb(49, 0, 111) 55%, rgb(74, 18, 144) 100%);
}

#pre-menu.desktop-menu,
#desktop-nav.desktop-menu { height: auto !important; }
.desktop-menu .brand-logo { line-height: 1 !important; }
#desktop-nav { position: relative; }   /* anchor for the centered mega panel */

/* ---- Menu row ---------------------------------------------------------- */
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal { float: none !important; }
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin: 0;
  padding: 0 !important;
  list-style: none;
}
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.hs-menu-depth-1 {
  position: relative;          /* each item anchors its own dropdown */
  margin: 0 !important;
}
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.cot-has-mega {
  position: static;            /* Solutions: let the mega center on the nav row */
}
/* Every other item must be its own positioning context so its dropdown
   centers under IT (not the whole nav row). !important beats the theme. */
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.hs-menu-depth-1:not(.cot-has-mega) {
  position: relative !important;
}

/* Undo HubSpot's default link truncation (max-width + ellipsis) on every
   menu/mega anchor so labels show in full. */
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal a,
.cot-mega a {
  max-width: 100%;
  width:100%;
  overflow: visible !important;
  text-overflow: clip !important;
}

/* ---- Top-level links --------------------------------------------------- */
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.hs-menu-depth-1 > a {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  font: 600 15px/1.2 "Montserrat", Arial, sans-serif;
  text-transform: none !important;
  text-decoration: none !important;
  white-space: nowrap;
  color: #1c1430 !important;
  padding: 10px 13px !important;
  border-radius: 8px;
  border: 0 !important;
  background: none;
  transition: color .18s, background-color .18s;
}
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.hs-menu-depth-1:hover > a,
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.hs-menu-depth-1:focus-within > a {
  color: #31006f !important;
  background: #e9e3f8;
}

/* Caret — parent items only, on the right, our chevron in every state
   (defeats the theme's hover-state ::after that otherwise drew a line) */
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.hs-menu-depth-1.hs-item-has-children > a::after,
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.hs-menu-depth-1.hs-item-has-children:hover > a::after {
  content: "" !important;
  position: static !important;     /* defeat the theme's absolutely-placed (left) arrow */
  order: 99;                       /* last flex item -> right of the label */
  flex: 0 0 auto;
  display: inline-block !important;
  width: 6px;
  height: 6px;
  margin: -2px 0 0 6px;
  border: 0 !important;
  border-right: 1.5px solid currentColor !important;
  border-bottom: 1.5px solid currentColor !important;
  background: none !important;
  transform: rotate(45deg);
  transform-origin: center;
  opacity: .45;
  transition: transform .25s ease, opacity .2s;
}
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.hs-menu-depth-1.hs-item-has-children:hover > a::after {
  transform: rotate(225deg);
  opacity: .8;
}
/* No caret/line pseudo on parents' left side, or on items without a submenu */
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.hs-menu-depth-1 > a::before,
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.hs-menu-depth-1:not(.hs-item-has-children) > a::after,
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.hs-menu-depth-1:not(.hs-item-has-children):hover > a::after {
  content: none !important;
  display: none !important;
}
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-menu-depth-1>a {font-size:15px !important;}
/* ---- Client Center button (last item) ---------------------------------- */
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.hs-menu-depth-1:last-child > a {
  color: #fff !important;
  background-image: linear-gradient(95deg, rgb(236, 0, 140), rgb(149, 121, 211)) !important;
    font-weight:500 !important;
  padding: 11px 20px !important;
  border-radius: 10px;
  font-weight: 700;
  transition: background-color .18s, transform .18s;
}
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.hs-menu-depth-1:last-child:hover > a {

  transform: translateY(-1px);
}

/* ---- Simple dropdowns (About, Markets, Knowledge Bank, Careers, Contact) */
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.hs-menu-depth-1:not(.cot-has-mega) > ul.hs-menu-children-wrapper {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;   /* centered under the item */
  width: max-content !important;  /* size to content (override theme width) */
  min-width: 220px !important;
  max-width: 280px !important;    /* keep it narrow so centering stays on-screen */
  margin: 0 !important;
  padding: 10px !important;
  background: #fff !important;
  border: 1px solid #e9e4f5 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity .18s ease, visibility .18s;
}
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.hs-menu-depth-1:not(.cot-has-mega):hover > ul.hs-menu-children-wrapper,
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.hs-menu-depth-1:not(.cot-has-mega):focus-within > ul.hs-menu-children-wrapper {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
/* keep the rightmost dropdown (Contact) on-screen */
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.hs-menu-depth-1:nth-last-child(2) > ul.hs-menu-children-wrapper {
  left: auto;
  right: 0;
  transform: none;
}
/* hover bridge across the 10px gap — on the ITEM so it isn't clipped and
   keeps the menu open while the cursor crosses the gap */
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.hs-menu-depth-1.hs-item-has-children:not(.cot-has-mega):hover::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -8px;
  right: -8px;
  height: 16px;
}
/* dropdown links */
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.hs-menu-depth-1 > ul.hs-menu-children-wrapper li.hs-menu-depth-2 {
  margin: 0 !important;
  margin-bottom: 0;
  min-width: inherit;
  border-right: none;
  padding: 0;
}
/* dropdown links */
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.hs-menu-depth-1 > ul.hs-menu-children-wrapper li.hs-menu-depth-2:first-child {
padding-top:0;}
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.hs-menu-depth-1 > ul.hs-menu-children-wrapper li.hs-menu-depth-2 > a {
  display: block !important;
  width: 100% !important;
  padding: 9px 12px !important;
  border-radius: 6px;

  text-transform: none !important;
  white-space: normal !important;
  color: #524a68 !important;
  transition: background-color .15s, color .15s, padding-left .15s;

    font-size: 14.5px !important;
    font-weight: 500 !important;

}
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.hs-menu-depth-1 > ul.hs-menu-children-wrapper li.hs-menu-depth-2 > a:hover {
  background: #f8f6fd !important;
  color: #31006f !important;
  padding-left: 16px !important;
}

/* ---- Solutions mega panel (built by JS) -------------------------------- */
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.cot-has-mega > ul.hs-menu-children-wrapper {
  display: none !important;   /* hide the stock Solutions sub-lists */
}
.cot-mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 8px);
  z-index: 5002;
  width: min(960px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: 1.1fr 1.35fr 1fr;
  gap: 4px 22px;
  padding: 0 10px 10px 10px;
  background: #fff;
  border: 1px solid #e9e4f5;
  border-radius: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.cot-allbtn {max-width:185px !important;}
.cot-mega::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; } /* hover bridge */
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.cot-has-mega:hover > .cot-mega,
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.cot-has-mega:focus-within > .cot-mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.cot-mega-col { min-width: 0; }
.cot-mega h3 { margin: 0; padding: 0; }
.cot-mega-col h3:not(:first-child) { margin-top: 10px; }
.cot-mega h3 a {
  font: 800 12px/1.3 "Montserrat", Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #31006f;
  text-decoration: none;
  transition: background-color .15s, color .15s, padding-left .15s;
}
.cot-mega h3 a:hover { color: #ec008c; padding-left:30px !important;}
.cot-mega .cot-sub {
  margin: 0;
  padding: 8px 20px 1px;
  font: 700 11px/1.3 "Montserrat", Arial, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6e6685;
}
.cot-mega a.cot-link {
  display: block;
  padding: 5.5px 12px;
  border-radius: 6px;
  font: 500 13.5px/1.4 "Montserrat", Arial, sans-serif;
  white-space: normal;
  color: #524a68;
  text-decoration: none;
  transition: background-color .15s, color .15s, padding-left .15s;
}
.cot-mega a.cot-link:hover { background: #f8f6fd; color: #31006f; padding-left: 25px; }
.cot-mega .cot-foot {
  grid-column: 1 / -1;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid #e9e4f5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.cot-mega .cot-hint { padding-left: 12px; font-size: 13px; color: #6e6685; }
.cot-mega a.cot-allbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  font: 700 14px/1 "Montserrat", Arial, sans-serif;
  color: #31006f;
  text-decoration: none;
  background: #fff;
  border: 1.5px solid #c9bcee;
  border-radius: 10px;
  white-space: nowrap;
  transition: border-color .18s, transform .18s;
}
.cot-mega a.cot-allbtn:hover { border-color: #31006f; transform: translateY(-1px); }
.cot-mega a.cot-allbtn .arr { transition: transform .18s; }
.cot-mega a.cot-allbtn:hover .arr { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .cot-mega,
  .cot-mega a.cot-link,
  .desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.hs-menu-depth-1 > a,
  .desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li.hs-menu-depth-1.hs-item-has-children > a::after {
    transition: none;
  }
}

/* =========================================================================
   Footer menu (unchanged)
   ========================================================================= */
.footer-container-wrapper .hs-menu-wrapper > ul {
  margin-bottom: 20px;
  margin-left: 0;
  list-style: none;
}
.footer-container-wrapper .hs-menu-wrapper > ul > li {
  margin-bottom: .6rem;
  font-size: 1rem;
  text-transform: uppercase;
}
.footer-container-wrapper .hs-menu-wrapper > ul > li > a {
  color: #9579d3;
  font-weight: 700;
  max-width: 180px;
  padding: 2px 0 !important;
  transition: color 0.5s;
}
.footer-container-wrapper .hs-menu-wrapper > ul > li > a:hover,
.footer-container-wrapper .hs-menu-wrapper > ul > li > a:focus {
  color: #31006f;
  background-color: transparent;
}
.footer-container-wrapper ul.copyright { margin: 14px 0 0 0; list-style: none; padding-left: 0; }
.footer-container-wrapper ul.social-media { margin: 10px 0; list-style: none; padding-left: 0; }
.footer-container-wrapper ul.social-media li { display: inline-block; margin-right: 10px; }
.footer-container-wrapper ul.social-media li:last-child { margin-right: 0; }
.footer-container-wrapper ul.social-media li a { font-size: 40px; transition: color 0.5s; }
.footer-container-wrapper ul.social-media li a:hover,
.footer-container-wrapper ul.social-media li a:focus { color: #31006f; }

@media (max-width: 1200px) {
  .footer-container-wrapper ul.social-media { margin: 0 0 0 6%; }
}
@media (max-width: 576px) {
  .footer-container-wrapper .container-fluid .row-fluid .container-max-width {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* =========================================================================
   Mobile drill-in menu (pairs with the builder in cotiviti-menu.js)
   ========================================================================= */

/* ---- Top bar (logo + toggle), always visible above the overlay --------- */
.navbar-mobile-menu {
     align-items: center;
    background: transparent;
    border-bottom: none;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 16px 24px;
    position: relative;
    z-index: 5001;
}
/* White bar background while the mobile menu is open */
.navbar-mobile-menu:has(.hamburger-nav.open) {
  background: #fff;
}
.navbar-mobile-menu .brand-logo { line-height: 0; }
.navbar-mobile-menu .brand-logo img { width: 170px; height: auto; display: block; }

/* Toggle button — boxed; hamburger when closed, X when open */
div.hamburger-nav-wrap {
 align-items: center;
    background: #fff;
    border: 1px solid #e9e4f5;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    height: 44px;
    margin: 8px;
    justify-content: center;
    
    width: 44px;
  padding-right:0px !important}
}
.hamburger-nav {
  position: relative;
  width: 24px;
  height: 18px;
}
.hamburger-nav span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2.5px;
  border-radius: 2px;
  background: #31006f;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.hamburger-nav span:nth-child(1) { top: 0; }
.hamburger-nav span:nth-child(2),
.hamburger-nav span:nth-child(3) { top: 8px; }
.hamburger-nav span:nth-child(4) { top: 16px; }
.hamburger-nav.open span:nth-child(1),
.hamburger-nav.open span:nth-child(4) { top: 8px; opacity: 0; }
.hamburger-nav.open span:nth-child(2) { transform: rotate(45deg); }
.hamburger-nav.open span:nth-child(3) { transform: rotate(-45deg); }

/* ---- Overlay (the menu surface) ---------------------------------------- */
#overlay-mobile-menu { display: none; }
#overlay-mobile-menu.open {
  display: block;
  position: fixed;
  left: 0;
  right: 0;
  top: 100px;            /* clear the top bar */
  bottom: 0;
  height: 100vh;
  z-index: 5000;
  background: #fff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 24px 24px 48px;
  font-family: "Montserrat", Arial, sans-serif;
}
/* search not shown in the mobile design */
#overlay-mobile-menu form { display: none; }

/* ---- Panels ------------------------------------------------------------ */
.cmnav__panel { display: none; }
.cmnav__panel.is-active { display: block; animation: cmnav-slide .22s ease; }
@keyframes cmnav-slide { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }

/* ---- Main level -------------------------------------------------------- */
.cmnav__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #e9e4f5; }
.cmnav__list li { margin-bottom: 0px; }
.cmnav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 15px 4px;
  background: none;
  border: 0;
  border-bottom: 1px solid #e9e4f5;
  font: 700 22px/1.2 "Montserrat", Arial, sans-serif;
  color: #23004e;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.cmnav__row:hover,
.cmnav__row:focus { color: #ec008c; }
.cmnav__arrow { flex: 0 0 auto; color: #31006f; }

/* Bottom CTA button (Client Center / View all solutions) */
.cmnav__btn {
  display: block;
  width: 100%;
  margin-top: 26px;
  padding: 18px 20px;
  background: #31006f;
  color: #fff;
  border-radius: 12px;
  font: 700 18px/1 "Montserrat", Arial, sans-serif;
  text-align: center;
  text-decoration: none;
}
.cmnav__btn:hover,
.cmnav__btn:focus { background: #45128c; color: #fff; }

/* Client Center — outlined pill (matches desktop .cot-cc) */
.cmnav__btn--cc {
  background: #fff;
  color: #23004e;
  border: 1.5px solid #c9bcee;
}
.cmnav__btn--cc:hover,
.cmnav__btn--cc:focus {
  background: #fff;
  color: #31006f;
  border-color: #31006f;
}

/* Explore Solutions — gradient pill with arrow (matches desktop .cot-explore) */
.cmnav__btn--explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  background-image: linear-gradient(95deg, #ec008c, #9579d3);
  color: #fff;
}
.cmnav__btn--explore:hover,
.cmnav__btn--explore:focus {
  background-image: linear-gradient(95deg, #ec008c, #9579d3);
  color: #fff;
}
.cmnav__btn--explore .arr {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  transition: transform .18s;
}
.cmnav__btn--explore:hover .arr { transform: translateX(4px); }

/* ---- Subpages ---------------------------------------------------------- */
.cmnav__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  background: none;
  border: 0;
  cursor: pointer;
  font: 700 15px/1 "Montserrat", Arial, sans-serif;
  color: #6e6685;
}
.cmnav__back:hover { color: #31006f; }
.cmnav__title {
  margin: 14px 0 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e9e4f5;
  font: 800 34px/1.05 "Montserrat", Arial, sans-serif;
  color: #23004e;
  letter-spacing: -.01em;
}
.cmnav__group {
  margin: 30px 0 4px;
  padding-top: 22px;
  border-top: 1px solid #e9e4f5;
  font: 800 13px/1.3 "Montserrat", Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #31006f;
}
.cmnav__group:first-of-type { margin-top: 4px; padding-top: 0; border-top: 0; }
.cmnav__sublink {
  display: block;
  padding: 13px 0;
  font: 700 19px/1.25 "Montserrat", Arial, sans-serif;
  color: #23004e;
  text-decoration: none;
}
.cmnav__sublink:hover,
.cmnav__sublink:focus { color: #ec008c; }
@media (max-width: 478px) {
  #overlay-mobile-menu.open {
  top:126px;
  }
}
/* Only show this mobile menu below the desktop breakpoint */
@media (min-width: 1236px !important) {
  .navbar-mobile-menu,
  #overlay-mobile-menu.open { display: none !important; }
}
.span12.widget-span.widget-type-custom_widget.desktop-nav, .desktop-nav {
    background-color: transparent !important;
    box-shadow: none !important;
  margin: 0 auto;}
  
  .desktop-menu .brand-logo {max-width:155px !important; position: absolute;}
  .header-container-wrapper .container-fluid .row-fluid .container-max-width {
    max-width: 1240px !important;
    padding: 0 24px 0 24px !important;
    width: 100%;
    justify-content: space-between;
}
  .header.container-max-width>.row-fluid-wrapper:has(#desktop-nav) {max-width:70%;}
  .desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul, .fixed-header .desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul{width: inherit !important;}
  .desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-menu-depth-1>a:after {bottom:inherit !important;}
  .desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-menu-depth-1>a:focus:after, .desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-menu-depth-1>a:hover:after {
    transform: scaleX(1);
    transform-origin: center;
}
.desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul>li.hs-menu-depth-1.hs-item-has-children>a:after {margin: inherit !important;}