.nav {
  padding: 36px 36px 0;
}

.nav__list {
  display: flex;
  flex-direction: column;
}

.nav__link {
  width: 100%;
  color: var(--color-gray-950);
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 12px 0;
}

.nav__link > span {
  display: block;
  position: relative;
}

.nav__link > span::after {
  content: "";
  background: var(--color-blue-500);
  height: 3px;
  width: 100%;
  left: 0;
  border-radius: 3px;
  position: absolute;
  bottom: -12px;
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 0.2s var(--primary-animation-timing);
}

.nav__item .nav__link:hover > span::after,
.nav__item.-active .nav__link > span::after {
  transform: scaleX(1);
}

.nav__link > svg {
  height: 12px;
  width: 12px;
  transition: transform 0.2s var(--primary-animation-timing);
  transform: rotate(0deg);
}

.nav__dropdown {
  visibility: hidden;
  max-height: 0px;
  margin: 0 -36px;
  overflow: hidden;
  transition: max-height .2s ease-in-out, visibility 0s ease-in-out .2s;
  background: white;
}

.nav__dropdown-inner {
  padding: 40px 36px;
}

.nav__item.-active .nav__link svg {
  transform: rotate(-180deg);
}

.nav__item.-active .nav__dropdown {
  display: block;
  visibility: visible;
  transition: visibility 0s ease-in-out 0s, max-height .2s ease-in-out;
  max-height: var(--_max-height, 100vh);
}

.nav__dropdown h3 {
  font-size: 20px;
  font-weight: 600;
}

.nav__dropdown-list a:hover h3,
.nav__dropdown-list a:focus h3,
.nav__dropdown-list.-link-lists li > a:hover,
.nav__dropdown-list.-link-lists li > a:focus {
  color: var(--color-electron-blue);
}

.nav__dropdown p {
  margin-top: 0;
}

.nav__dropdown-list {
  margin: 24px 0;
}

.nav__dropdown-list.-link-lists ul > li {
  padding: 8px 0;
}

.nav__dropdown-featured-content {
  background-color: #f5f9ff;
  margin: 0 -36px;
  padding: 24px 36px;
  position: relative;
}

.nav__dropdown-featured-content .cta {
  color: var(--color-electron-blue);
  font-weight: 600;
}

.nav__dropdown-featured-content .cta i {
  transition: transform 0.2s var(--primary-animation-timing);
  transform: translateX(0%);
}

.nav__dropdown-featured-content h3 {
  line-height: 1.5;
}

.nav__dropdown-featured-content h3:hover {
  color: var(--color-electron-blue);
}

.nav__dropdown-featured-content .cta:hover i {
  transform: translateX(100%);
}

.nav__dropdown-featured-content img {
  display: none;
  border-radius: 16px;
  width: 100%;
  margin: 16px 0;
}

.nav__dropdown-list > li {
  margin-bottom: 24px;
}

@media screen and (min-width: 768px) {
  .nav {
    padding: 0;
  }

  .nav__list {
    flex-direction: row;
    gap: 40px;
  }

  .nav__link {
    font-size: 1rem;
    padding: 24px 0;
  }

  .nav__link > span::after {
    bottom: -24px;
  }

  /* Dropdown V2 */
  .nav__dropdown {
    position: fixed;
    inset: 0;
    margin: 0;
    background-color: rgb(6, 30, 66, 0);
    width: 100%;
    top: var(--header-height);
    height: 100vh;
    max-height: 100vh;
    transition: background-color .2s ease-in-out, visibility 0s ease-in-out .2s;
  }

  .nav__dropdown-inner {
    padding: 40px 0;
  }

  .nav--disable-animations * {
    animation-duration: 0.0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.00ms !important;
    scroll-behavior: auto !important;
    transition-delay: 0.00ms !important;
  }

  .nav__item.-active .nav__dropdown {
    background-color: rgb(6, 30, 66, 0.38);
    transition: visibility 0s ease-in-out 0s, background-color .2s ease-in-out;
  }

  .nav__dropdown-inner {
    max-height: 0;
    transition: max-height .2s ease-in-out;
    background: var(--color-white);
    padding: 0 24px;
    left: 0;
    right: 0;
  }

 .nav__dropdown-inner > * {
    opacity: 0;
    transition: opacity .2s ease-in-out;
  }

  .nav__item.-active .nav__dropdown-inner {
    max-height: var(--_max-height, 100px);
  }

  .nav__item.-active .nav__dropdown-inner > * {
    opacity: 1;
  }

  .nav__dropdown h3 {
    margin-bottom: 8px;
  }

  .nav__dropdown-content {
    max-width: var(--max-content-width);
    margin: 0 auto;
  }

  .nav__dropdown-content > div {
    padding: 36px 0;
  }

  .nav__dropdown-content > div:nth-child(1) {
    padding: 36px 56px 36px calc(131px + 63px);
  }

  .nav__dropdown-content > div:nth-child(2) {
    background-color: #f5f9ff;
    padding: 36px 0 36px 56px;
    position: relative;
  }

  .nav__dropdown-content > div:nth-child(2)::after {
    content: "";
    background-color: #f5f9ff;
    position: relative;
    right: -999em;
    content: "";
    display: block;
    position: absolute;
    width: 999em;
    top: 0;
    bottom: 0;
  }

  .nav__dropdown-content {
    display: grid;
    grid-template-columns: calc(9 / 12 * 100%) calc(3 / 12 * 100%);
  }

  .nav__dropdown-list.-descriptive-links {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    column-gap: 48px;
    grid-template-columns: repeat(2, 275px);
    justify-content: space-between;
    grid-auto-flow: column;
  }

  .nav__dropdown-list.-link-lists {
    display: grid;
    column-gap: 48px;
    grid-template-columns: repeat(3, 1fr);
  }

  .nav__dropdown-featured-content {
    padding-top: 0;
  }

  .nav__dropdown-featured-content img {
    display: block;
  }
}
