.navigationMenuItem {
  font-weight: 500; /* Should be fixed when variables starts working: var(--typography-Body-Bold-fontWeight); */
}

.navigationMenuItem.mobile {
  display: flex;
  justify-content: space-between;
  padding: var(--Spacing-x2) 0;
  font-size: var(--typography-Subtitle-1-Mobile-fontSize);
}

.chevron {
  transition: transform 0.3s;
}

.chevron.isExpanded {
  transform: rotate(180deg);
}

.dropdown {
  background-color: var(--Base-Surface-Primary-light-Normal);
  z-index: var(--menu-overlay-z-index);
  overflow: hidden;
}

@media screen and (max-width: 767px) {
  .dropdown {
    position: fixed;
    width: 100%;
    top: var(--main-menu-mobile-height);
    right: -100vw;
    bottom: 0;
    transition: right 0.3s;
    overflow-y: auto;
  }
  .dropdown.isExpanded {
    right: 0;
  }
}

@media screen and (min-width: 768px) {
  .dropdown {
    display: none;
    position: absolute;
    top: calc(3.5rem - 2px); /* 3.5rem is the height of the main menu + bottom padding. */
    left: 50%;
    transform: translateX(-50%);
    border-radius: var(--Corner-radius-Large);
    box-shadow: 0 0 14px 6px rgba(0, 0, 0, 0.1);
  }
  .dropdown.isExpanded {
    display: grid;
  }
}
