[data-component-id="ivnational:sticky_navigation_v2"] {
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 0.5s;
  a.nav-link,
  .mobile-menu-current-page {
    color: #414651;
    font-family: "Avenir", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: 24px;
  }
  .mobile-menu-current-page {
    color: #181D27;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
  }
  .sticky-nav-menu-v2.mobile {
    /* ul li:first-of-type {
      margin-left: 16px;
    } */
    label:first-of-type {
      margin-left: 16px;
    }
    ul.nav {
      position: absolute;
      bottom: 100%;
      transform-origin: bottom right;
      right: 0;
      display: block;
      margin-bottom: 8px;
      margin-right: 8px;
      white-space: nowrap;
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
      border-radius: var(--radius-md, 8px);
      border: 1px solid var(--Colors-Border-border-primary, #D5D7DA);
      background: var(--Colors-Background-bg-primary, #FFF);
      box-shadow: 0 -2px 8px 0 rgba(0, 0, 0, 0.08), 0 -4px 20px 0 rgba(0, 0, 0, 0.10);
    }
    .menu-toggle:checked ~ .nav {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      transition-delay: 0s;
      @media (min-width: 1200px) {
        opacity: 0;
        visibility: hidden;
      }
    }
    a.nav-link {
      color: #414651;
      font-size: 14px;
      font-style: normal;
      font-weight: 500;
      line-height: 20px;
      border-radius: var(--radius-md, 8px);
      padding: 12px 48px 8px 16px;
      height: 44px;
      &:hover {
        background-color: #F7F7F7;
        color: #181D27;
      }
    }
    .mobile-menu-current-page-container {
      cursor: pointer;
      max-width: 0;
      white-space: nowrap;
      overflow: hidden;
      position: relative;
      @media (max-width: 1199px) {
        --natural-width: 100px;
        animation: expandItems 0.5s cubic-bezier(0.336, -0.002, 0.049, 0.991) forwards; /* bezier curve from https://easingwizard.com/ */
        animation-delay: 1.5s;
      }
    }
    .button-with-outline {
      display: flex;
      gap: 12px;
      padding: 10px var(--spacing-2xl, 20px);
      justify-content: space-between;
      align-items: center;
      align-self: stretch;
      border-radius: var(--radius-md, 8px);
      border: 1px solid #D5D7DA;
      background: #FFF;
      /* //box-shadow: 0 0 0 1px var(--Colors-Effects-Shadows-shadow-skeumorphic-inner-border, rgba(10, 13, 18, 0.18)) inset, 0 -2px 0 0 var(--Colors-Effects-Shadows-shadow-skeumorphic-inner, rgba(10, 13, 18, 0.05)) inset, 0 1px 2px 0 var(--Colors-Effects-Shadows-shadow-xs, rgba(10, 13, 18, 0.05)); */
      opacity: 0;
      @media (max-width: 1199px) {
        animation: fadeIn 0.3s ease forwards;
        animation-delay: 2s;
      }
    }
    .mobile-menu-arrow {
      position: absolute;
      right: 16px;
      top: 50%;
      transform: translateY(-50%);
      transition: transform 0.3s ease;
      height: 20px;
      width: 20px;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .menu-toggle:checked ~ label .mobile-menu-arrow {
      transform: translateY(-50%) rotate(180deg);
    }
  }
  .sticky-nav-menu-v2.desktop {
    ul li:first-of-type {
      margin-left: 16px;
    }
    ul.nav {
      display: flex;
      max-width: 0;
      overflow: hidden;
      flex-wrap: nowrap;
      white-space: nowrap;
      position: relative;
      align-items: center;
      gap: 4px;
      flex-wrap: nowrap;
      left: auto;
      top: auto;
      pointer-events: none;
      @media (min-width: 1200px) {
        pointer-events: auto;
        --natural-width: 500px; /* fallback */
        animation: expandItems 0.5s cubic-bezier(0.336, -0.002, 0.049, 0.991) forwards; /* bezier curve from https://easingwizard.com/ */
        animation-delay: 1.5s;

      }
      li.nav-item {
        opacity: 0;
        @media (min-width: 1200px) {
          animation: fadeIn 0.8s ease-in-out forwards;
          animation-delay: calc(1.8s + 0.1s * var(--i));
        }
      }
    }
    ul::after {
      display: none; /* fix extra gap */
    }
    a.nav-link {
      display: flex;
      height: 44px;
      padding: 8px 12px;
      justify-content: center;
      align-items: center;
      border-radius: 6px;
      white-space: nowrap;
      color: var(--colors-text-text-tertiary-600, #535862);
      font-family: "Avenir", sans-serif;
      font-size: 18px;
      font-style: normal;
      font-weight: 500;
      line-height: 24px;
    }
    /* The traveling background element */
    .hover-background {
      position: absolute;
      /* height: calc(100% - 8px); */
      height: 100%;
      background: #F7F7F7;
      border-radius: 6px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      pointer-events: none;
      opacity: 0;
    }
    ul:hover .hover-background {
      opacity: 1;
    }
    /* The traveling active background */
    .active-link {
      position: absolute;
      height: 100%;
      background: white;
      pointer-events: none;
      z-index: 0;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      border-radius: 6px;
      border: 1px solid var(--Colors-Border-border-secondary, #E5E5E5);
      background: var(--Colors-Background-bg-primary, #FFF);
      box-shadow: 0 1px 3px 0 var(--Colors-Effects-Shadows-shadow-sm_01, rgba(10, 13, 18, 0.10)), 0 1px 2px -1px var(--Colors-Effects-Shadows-shadow-sm_02, rgba(10, 13, 18, 0.10));
      opacity: 0;
      @media (min-width: 1200px) {
        animation: fadeIn 0.3s ease forwards;
        animation-delay: 2s;
      }
    }
    a.current-window-url, a:hover {
      color: #181D27!important;
    }
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
@keyframes expandItems {
  to {
    max-width: var(--natural-width);
    width: var(--natural-width);
    overflow: visible;
  }
}
