/* Navbar single source of truth.
   Edit this file only for navbar alignment, desktop links, and mobile menu. */

.emx .emx-nav {
  position: fixed !important;
  z-index: 2147483000 !important;
  top: 12px !important;
  left: 50% !important;
  right: auto !important;
  width: min(1180px, calc(100vw - 32px)) !important;
  min-height: 60px !important;
  height: 60px !important;
  padding: 0 20px !important;
  transform: translateX(-50%) !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 24px !important;
  overflow: visible !important;
  border: 1px solid rgba(255, 255, 255, .09) !important;
  border-radius: 18px !important;
  background: rgba(15, 15, 16, .86) !important;
  box-shadow: 0 16px 55px rgba(0, 0, 0, .35) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

.emx .emx-brand {
  grid-column: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  min-width: 0 !important;
  height: 60px !important;
  margin: 0 !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: -.02em !important;
  white-space: nowrap !important;
}

.emx .emx-brand span {
  color: #c8a75b !important;
}

.emx .emx-links {
  grid-column: 2 !important;
  justify-self: end !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 22px !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.emx .emx-links > a,
.emx .emx-dd > button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  height: 60px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: rgba(255, 255, 255, .78) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  font: 600 14px/1 Poppins, Arial, sans-serif !important;
  text-align: center !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

.emx .emx-links > a:hover,
.emx .emx-dd > button:hover {
  color: #fff !important;
}

.emx .emx-nav-toggle {
  display: none !important;
}

.emx .emx-dd {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  height: 60px !important;
  margin: 0 !important;
}

.emx .emx-dd > button::after {
  content: "" !important;
  width: 7px !important;
  height: 7px !important;
  margin-left: 9px !important;
  border-right: 2px solid currentColor !important;
  border-bottom: 2px solid currentColor !important;
  transform: rotate(45deg) translateY(-2px) !important;
  opacity: .85 !important;
}

.emx .emx-menu {
  position: absolute !important;
  top: 58px !important;
  left: 50% !important;
  width: 290px !important;
  transform: translate(-50%, 10px) !important;
  z-index: 2147483001 !important;
}

.emx .emx-dd:hover .emx-menu,
.emx .emx-dd.is-open .emx-menu {
  transform: translate(-50%, 0) !important;
}

@media (max-width: 1100px) {
  .emx .emx-nav {
    top: 8px !important;
    width: calc(100vw - 16px) !important;
    min-height: 66px !important;
    height: 66px !important;
    max-height: 66px !important;
    padding: 0 12px 0 16px !important;
    grid-template-columns: minmax(0, 1fr) 50px !important;
    gap: 10px !important;
    overflow: hidden !important;
    border-radius: 17px !important;
  }

  .emx .emx-nav.is-nav-open {
    height: auto !important;
    max-height: calc(100vh - 16px) !important;
    padding-bottom: 12px !important;
    overflow: auto !important;
  }

  .emx .emx-brand {
    height: 66px !important;
    font-size: 17px !important;
  }

  .emx .emx-nav-toggle {
    grid-column: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: end !important;
    align-self: center !important;
    flex-direction: column !important;
    gap: 5px !important;
    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, .14) !important;
    border-radius: 15px !important;
    background: rgba(255, 255, 255, .045) !important;
    cursor: pointer !important;
  }

  .emx .emx-nav-toggle span {
    display: block !important;
    width: 21px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: #fff !important;
  }

  .emx .emx-links {
    grid-column: 1 / -1 !important;
    justify-self: stretch !important;
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 6px 0 0 !important;
  }

  .emx .emx-nav.is-nav-open .emx-links {
    display: flex !important;
  }

  .emx .emx-links > a,
  .emx .emx-dd > button {
    justify-content: space-between !important;
    width: 100% !important;
    height: 44px !important;
    padding: 0 14px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, .045) !important;
    text-align: left !important;
  }

  .emx .emx-dd {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  .emx .emx-menu {
    position: static !important;
    width: 100% !important;
    margin-top: 8px !important;
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    border-radius: 14px !important;
  }

  .emx .emx-dd:hover .emx-menu {
    display: none !important;
  }

  .emx .emx-dd.is-open .emx-menu {
    display: block !important;
  }
}

@media (max-width: 560px) {
  .emx .emx-nav {
    top: 6px !important;
    width: calc(100vw - 12px) !important;
    min-height: 62px !important;
    height: 62px !important;
    max-height: 62px !important;
    padding: 0 10px 0 14px !important;
    grid-template-columns: minmax(0, 1fr) 46px !important;
    border-radius: 16px !important;
  }

  .emx .emx-nav.is-nav-open {
    height: auto !important;
    max-height: calc(100vh - 12px) !important;
  }

  .emx .emx-brand {
    height: 62px !important;
    font-size: 16px !important;
  }

  .emx .emx-nav-toggle {
    width: 46px !important;
    height: 46px !important;
    border-radius: 14px !important;
  }
}
