nav.ip-mega .logo-img {
  transition: opacity 0.2s ease-in-out;
}

nav.ip-mega ul li {
  font-size: 16px;
  line-height: 1.6;
}

nav.ip-mega .white-logo {
  opacity: 0;
  overflow: hidden;
  width: 0;
}

nav.ip-mega.make-white:not(.scrolled):not(.open) .white-logo {
  opacity: 1;
  width: initial;
}

nav.ip-mega.make-white:not(.scrolled):not(.open) .base-logo {
  opacity: 0;
  overflow: hidden;
  width: 0;
}

nav.ip-mega .home-link {
  align-items: center;
  display: flex;
  height: 100%;
}

nav.ip-mega {
  border: 1px solid transparent;
  border-radius: 200px;
  position: fixed;
  top: 35px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  padding: 0 25px;
  z-index: 1500;
  transition: all .1s ease-in-out;
  --gap: 1rem;
  --radius: 14px;
  --z: 1000;
  --elev: 0 528px 148px 0 rgba(0, 0, 0, 0.00), 0 338px 135px 0 rgba(0, 0, 0, 0.01), 0 190px 114px 0 rgba(0, 0, 0, 0.05), 0 84px 84px 0 rgba(0, 0, 0, 0.09), 0 21px 46px 0 rgba(0, 0, 0, 0.10);
  font-family: var(--hs-font, inherit);
}

nav.ip-mega.open {
  background: white;
  border-radius: 0px;
}

nav.ip-mega span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.ip-mega__inner {
  border: 1px solid transparent;
  border-radius: 200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease-in-out;
  padding-top: 12px;
  padding-bottom: 12px;
}

nav.ip-mega:not(.static).scrolled .ip-mega__inner {
  border-color:var(--Grayscale-Gray---Light, #D0D6E3);
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(4px);
}


.ip-mega__toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: .5rem;
}

.ip-mega__bar {
  border-radius: 5px;
  display: block;
  width: 28px;
  height: 4px;
  margin: 5px 0;
  background: #052D67;
}

.ip-mega__top {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ip-mega__top-link {
  align-items: center;
  background: none;
  border-radius: 8px;
  border: 1px solid transparent;
  color: #041E3D;
  display: flex;
  justify-content: center;
  gap: 8.5px;
  padding: 5px 17px;
  font: inherit;
  cursor: pointer;
  font-weight: 600;
  line-height: 200%;
  transition: all 0.2s ease-in-out;
}

nav.ip-mega.make-white:not(.scrolled):not(.open) .ip-mega__top-link {
  color: white !important;
}

nav.ip-mega.make-white:not(.scrolled):not(.open) .ip-mega__top-link > svg path {
  fill: white;
}

.ip-mega__top-link>span {
  color: inherit;
}
.ip-mega__top-link:hover {
  background: rgba(0, 0, 0, .01);
/*   box-shadow: 2px 0 2px 0 rgba(0, 0, 0, .12) inset, -2px 0 2px 0 rgba(0, 0, 0, .12) inset, 0 2px 2px 0 rgba(0, 0, 0, .12) inset; */
  border-color: #D8D8D8;
}

.ip-mega__top-link[aria-expanded="true"] {
  background: rgba(0, 0, 0, .01);
  box-shadow: 2px 0 2px 0 rgba(0, 0, 0, .12) inset, -2px 0 2px 0 rgba(0, 0, 0, .12) inset, 0 2px 2px 0 rgba(0, 0, 0, .12) inset;
  border-color: #D8D8D8;
  color: #0C64E7;
}

a.ip-mega__top-link {
  text-decoration: none;
}

/* .ip-mega__top-link:focus {
  border-color: #D0D6E3;
  box-shadow: 2px 0 4px 0 rgba(0, 0, 0, .16) inset, -2px 0 4px 0 rgba(0, 0, 0, .16) inset, 0 2px 4px 0 rgba(0, 0, 0, .16) inset;
  color: #0C64E7;
} */

nav.ip-mega.make-white:not(.scrolled):not(.open) .ip-mega__top-link[aria-expanded="true"],
  background: rgba(0, 0, 0, 0.20);
  border-color: #141413;
  color: #D0D6E3;
}

nav.ip-mega.make-white:not(.scrolled):not(.open) .ip-mega__top-link:focus {
  background: rgba(0, 0, 0, 0.44);
  border-color: #000;
}

.ip-mega__top-cta {
  margin-left: 20px;
}

.ip-mega__top-cta .ip-mega__cta {
  padding: .5rem .75rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  display: inline-block;
}

.ip-mega .ip-mega__col--blue {
  background: #F5F9FF;
}

.ip-mega .ip-mega__col--featured {
  flex: 0 1 532px;
  padding: 48px 40px;
}

.ip-mega__col-title {
  color: #5E6268;
  font-size: 10px !important;
  line-height: 28px;
  letter-spacing: .16px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.ip-mega__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ip-mega__link {
  align-items: center;
  display: flex;
  gap: .5rem;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  padding: 12px 8px;
  text-decoration: none;
  transition: background .2s ease-in-out, border-color .2s ease-in-out;
}

.ip-mega__link {
  color: #141413;
}

.ip-mega__link:active {
  color: var(--Deck-Blue);
}

.ip-mega__post-link {
  border: 1px solid transparent;
  border-radius: 8px;
  display: flex;
  flex-direction: row-reverse;
  gap: 20px;
  text-decoration: none;
  padding: 20px 16px;
  transition: background 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.ip-mega__post-link:active .ip-mega__post-title {
  color: var(--Deck-Blue);
}

.ip-mega .blog-post-info {
  display: flex;
  flex-direction: column;
  flex: 0 1 60%;
  justify-content: center;
}

.ip-mega__post-link:focus,
.ip-mega__post-link:hover,
.ip-mega__link:focus,
.ip-mega__link:hover {
  border-color: #D8D8D8;
  background: #F5F9FF;
}

.ip-mega__col--blue .ip-mega__post-link:focus,
.ip-mega__col--blue .ip-mega__post-link:hover,
.ip-mega__col--blue .ip-mega__link:focus,
.ip-mega__col--blue .ip-mega__link:hover {
  border-color: #D0D6E3;
  background: #fff;
}

.ip-mega__post-link:active {
  color: var(--Deck-Blue);
}

.ip-mega__bot-link {
  align-items: center;
  color: #141413;
  display: flex;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 120%;
  text-decoration: none;
  padding: 12px 8px;
  transition: color 0.2s ease-in-out;
}

.ip-mega .bot-item:first-child .ip-mega__bot-link {
  padding: 28px 8px 12px;
}

.ip-mega .ip-mega__bot-link svg path {
  transition: stroke 0.2s ease-in-out;
}
  
.ip-mega .ip-mega__bot-link:hover svg path {
  stroke: var(--Deck-Blue);
}

.ip-mega .ip-mega__bot-link:active {
  color: var(--Deck-Blue);
} 

.ip-mega__icon {
  width: 18px;
  height: 18px;
}

.ip-mega__post {
  display: grid;
  gap: .5rem;
}

.ip-mega__post-img {
  border-radius: 10px;
  display: block;
  height: auto;
  max-width: 150px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.ip-mega__post-img img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.ip-mega__post-title {
  color: #141413;
  font-size: 16px !important;
  font-weight: 400;
  line-height: 130%;
  margin: 0;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.ip-mega__panels {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 0;
  pointer-events: none;
  z-index: 2;
}

.ip-mega__panel {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--elev);
  overflow: hidden;
  max-width: calc(100vw - 32px);
  pointer-events: auto;
}

.ip-mega__panels[hidden],
.ip-mega__panel[hidden] {
  display: none !important;
}

/* Desktop grid/padding */
@media (min-width: 992px) {
  .ip-mega__grid {
    border-radius: 16px;
    border: 1px solid #D8D8D8;
    background: #FFF;
    box-shadow: 0 528px 148px 0 rgba(0, 0, 0, 0.00), 0 338px 135px 0 rgba(0, 0, 0, 0.01),
      0 190px 114px 0 rgba(0, 0, 0, 0.05), 0 84px 84px 0 rgba(0, 0, 0, 0.09),
      0 21px 46px 0 rgba(0, 0, 0, 0.10);
    overflow: hidden;
  }

  .ip-mega__col:not(:first-child) {
    border-left: 1px solid #D0D6E3;
  }

  .ip-mega__col {
    background: #fff;
    padding: 48px 72px;
  }
}

/* Small desktop tweaks */
@media (max-width: 1400px) {
  .ip-mega__top {
    gap: 15px;
  }
}

@media (max-width: 1340px) {
  .ip-mega__top {
    gap: 0;
  }

  .ip-mega__top-link {
    gap: 5px;
  }
}

@media (max-width: 1280px) {
  .ip-mega__inner {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .ip-mega__top-link {
    font-size: 12px;
  }

  nav.ip-mega .logo-img {
    max-width: 120px;
  }
  
  .ip-mega__col {
    padding: 30px 25px;
  }
}

/* Hide mobile container when aria-hidden or [hidden] */
.ip-mega__mobile[hidden],
.ip-mega__mobile[aria-hidden="true"] {
  display: none !important;
}

@media (max-width: 1100px) and (min-width: 992px) {
  .ip-mega__top-link {
    padding: 5px 12px;
  }
  .ip-mega .button.button-primary {
    font-size: 12px;
  }
}

@media (max-width: 991px) {
  nav.ip-mega {
    left: 0;
    transform: none;
    width: 100%;
    top: 0;
  }

  .ip-mega__toggle {
    display: inline-block;
  }

  .ip-mega__top {
    display: none;
  }

  .ip-mega__panels {
    display: none;
  }

  .ip-mega__toggle .ip-mega__bar {
    transition: all 0.3s ease-in-out;
  }

  nav.ip-mega.make-white:not(.scrolled):not(.open) .ip-mega__toggle .ip-mega__bar {
    background: white;
  }

  .ip-mega__toggle[aria-expanded="true"] .ip-mega__bar:nth-child(2) {
    opacity: 0;
  }

  .ip-mega__toggle[aria-expanded="true"] .ip-mega__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .ip-mega__toggle[aria-expanded="true"] .ip-mega__bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }

  .ip-mega__mobile {
    position: fixed;
    left: 0;
    right: 0;
    top: 64px;
    bottom: 0;
    z-index: 1500;
    background: #fff;
    display: none;
    flex-direction: column;
    height: calc(100dvh - 64px);
    overflow: hidden;
    min-height: 0;
  }

  .ip-mega__mobile[aria-hidden="false"] {
    display: flex;
  }

  .ip-mega__mobile-header {
    flex: 0 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0;
  }

  .ip-mega__mobile-body {
    position: relative;
    flex: 1 1 auto;
    overflow: hidden;
    min-height: 0;
  }

  .ip-mega__mobile-stack {
    position: relative;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .ip-mega__mobile-pane {
    position: absolute;
    inset: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    padding: 24px 0px;
    display: none;
    will-change: transform, opacity;
  }

  /* Root list visuals */
  .ip-mega__mobile-top {
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0 40px;
    display: grid;
  }

  .ip-mega__mobile-link {
    background: #fff;
    border: none;
    color: #052D67;
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 200%;
    padding: 8px 10px;
    position: relative;
    text-align: left;
    text-decoration: none;
    width: 100%;
  }

  button.ip-mega__mobile-link:after {
    content: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.25 10.25C14.25 10.4609 14.1797 10.6484 14.0391 10.7891L9.53906 15.2891C9.25781 15.5938 8.76563 15.5938 8.48438 15.2891C8.17969 15.0078 8.17969 14.5156 8.48438 14.2344L12.4453 10.25L8.48438 6.28906C8.17969 6.00781 8.17969 5.51563 8.48438 5.23438C8.76563 4.92969 9.25781 4.92969 9.53906 5.23438L14.0391 9.73438C14.1797 9.875 14.25 10.0625 14.25 10.25Z' fill='%23052D67'/%3E%3C/svg%3E%0A");
    height: 12px;
    position: absolute;
    top: 11px;
    width: 11px;
  }

  .ip-mega__mobile-cta {
    margin-top: 48px;
  }

  .ip-mega__mobile-cta a {
    width: 100%;
  }

  .ip-mega__pane-back {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--Grayscale-Gray---Dark, #5E6268);
    display: inline-flex;
    font-size: 12px;
    font-weight: 500;
    gap: 8px;
    margin: 0 0 16px 0;
    margin-left: 40px;
    padding: 8px 10px;
    position: relative;
  }

  .ip-mega__pane-back::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3.5 4.66663L1.16667 6.99996L3.5 9.33329' stroke='%235E6268' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M1.16667 7H12.8333' stroke='%235E6268' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    display: inline-block;
    height: 14px;
    width: 14px;
  }

  .ip-mega__grid {
    padding: 0;
  }

  .ip-mega__col {
    padding: 30px 40px;
  }
}

@media (max-width: 600px) {
  .ip-mega__post-link {
    flex-direction: column-reverse;
  }
  .ip-mega__post-img {
    max-width: 100%;
  }
}

.ip-mega__mobile[hidden],
.ip-mega__mobile[aria-hidden="true"] {
  display: none !important;
}

.ip-mega__panels[hidden],
.ip-mega__panel[hidden] {
  display: none !important;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  .ip-mega *,
  .ip-mega *::before,
  .ip-mega *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}