/* Static mirror implementation of the 21st.dev menu-hover-effects nav. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

#HeaderZone.awc-menu-header-zone {
  z-index: 100;
  position: relative;
}

body.overlap #HeaderZone.awc-menu-header-zone {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

#HeaderZone.awc-menu-header-zone .awc-menu-header {
  background: #fafafa !important;
  background-image: none !important;
  color: #262626 !important;
  padding: 0 !important;
  border-bottom: 1px solid rgba(38, 38, 38, 0.1);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.awc-skip-button {
  position: fixed !important;
  top: 0;
  left: 0;
  z-index: 5;
  padding: 1rem;
  transition: transform 0.3s ease;
}

.awc-skip-button:not(:focus) {
  transform: translateY(-103%);
}

#MainstageV1Info [data-role="list"] {
  height: 1em !important;
  overflow: hidden !important;
}

#MainstageV1Info:not(.s-active) [data-role="item"]:not(:first-child) {
  display: none;
}

.awc-menu-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 2rem);
  width: 100%;
  max-width: 1480px;
  min-height: 78px;
  margin: 0 auto;
  padding: 0.8rem clamp(1rem, 3vw, 2.5rem);
}

.awc-menu-brand {
  display: inline-flex;
  align-items: center;
  width: clamp(7.5rem, 12vw, 11rem);
  color: #262626 !important;
  flex-shrink: 0;
}

.awc-menu-brand img {
  display: block;
  width: 100%;
  max-height: 3rem;
  object-fit: contain;
}

.awc-menu-hover-nav {
  position: relative !important;
  display: flex !important;
  justify-content: center;
  width: 100% !important;
  margin: 0 !important;
  background: #fafafa !important;
  color: #262626 !important;
  align-self: center !important;
}

.awc-menu-panel {
  display: block;
}

.awc-menu-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(0.2rem, 0.9vw, 1.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.awc-menu-item {
  list-style: none;
  flex: 0 0 auto;
}

.awc-menu-link {
  position: relative;
  display: inline-block;
  padding: 0 !important;
  border: 0 !important;
  color: #262626 !important;
  outline-offset: 0.35rem;
}

.awc-menu-link-text {
  position: relative;
  z-index: 2;
  display: block;
  padding: 0.55rem clamp(0.45rem, 0.72vw, 0.9rem);
  color: #262626;
  font-family: var(--fnt-t, "Outfit", system-ui, sans-serif);
  font-size: clamp(0.68rem, 0.72vw, 0.88rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.awc-menu-link-border {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-top: 2px solid #262626;
  border-bottom: 2px solid #262626;
  opacity: 0;
  transform: scaleY(2);
  transform-origin: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.awc-menu-link-bg {
  position: absolute;
  top: 2px;
  left: 0;
  z-index: 0;
  width: 100%;
  height: calc(100% - 4px);
  background: #262626;
  opacity: 0;
  transform: scale(0);
  transform-origin: top;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.awc-menu-link:hover .awc-menu-link-text,
.awc-menu-link:focus-visible .awc-menu-link-text,
.awc-menu-link[aria-current="page"] .awc-menu-link-text {
  color: #ffffff;
}

.awc-menu-link:hover .awc-menu-link-border,
.awc-menu-link:focus-visible .awc-menu-link-border,
.awc-menu-link[aria-current="page"] .awc-menu-link-border {
  opacity: 1;
  transform: scaleY(1);
}

.awc-menu-link:hover .awc-menu-link-bg,
.awc-menu-link:focus-visible .awc-menu-link-bg,
.awc-menu-link[aria-current="page"] .awc-menu-link-bg {
  opacity: 1;
  transform: scale(1);
}

.awc-menu-toggle {
  display: none;
}

.awc-menu-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.65rem, 1.25vw, 1.2rem);
  white-space: nowrap;
}

.awc-menu-phone {
  color: #262626 !important;
  font-family: var(--fnt-t, "Outfit", system-ui, sans-serif);
  font-size: clamp(0.78rem, 0.9vw, 0.96rem);
  font-weight: 700;
  line-height: 1;
}

.awc-menu-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.72rem 1.05rem;
  border: 2px solid #262626;
  border-radius: 0;
  background: #262626;
  color: #ffffff !important;
  font-family: var(--fnt-t, "Outfit", system-ui, sans-serif);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease;
}

.awc-menu-cta:hover,
.awc-menu-cta:focus-visible {
  background: #fafafa;
  color: #262626 !important;
}

@media screen and (max-width: 1320px) {
  .awc-menu-phone {
    display: none;
  }
}

@media screen and (max-width: 1180px) {
  .awc-menu-bar {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 68px;
    padding-block: 0.65rem;
  }

  .awc-menu-brand {
    width: clamp(7rem, 32vw, 10rem);
  }

  .awc-menu-actions {
    display: none;
  }

  .awc-menu-hover-nav {
    justify-content: flex-end;
  }

  .awc-menu-toggle {
    position: fixed;
    top: 0.7rem;
    right: clamp(0.8rem, 3vw, 1.3rem);
    z-index: 1001;
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .awc-menu-toggle-line {
    position: absolute;
    width: 1.55rem;
    height: 2px;
    background: #262626;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .awc-menu-toggle-line:nth-child(1) {
    transform: translateY(-0.45rem);
  }

  .awc-menu-toggle-line:nth-child(2) {
    transform: translateY(0);
  }

  .awc-menu-toggle-line:nth-child(3) {
    transform: translateY(0.45rem);
  }

  .awc-menu-hover-nav[data-open="true"] .awc-menu-toggle-line:nth-child(1) {
    transform: rotate(45deg);
  }

  .awc-menu-hover-nav[data-open="true"] .awc-menu-toggle-line:nth-child(2) {
    opacity: 0;
  }

  .awc-menu-hover-nav[data-open="true"] .awc-menu-toggle-line:nth-child(3) {
    transform: rotate(-45deg);
  }

  .awc-menu-panel {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    width: 100vw;
    min-height: 100svh;
    overflow-y: auto;
    background: #fafafa;
    padding: clamp(5.25rem, 14svh, 7rem) 1.4rem 2.4rem;
  }

  .awc-menu-hover-nav[data-open="true"] .awc-menu-panel {
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .awc-menu-list {
    flex-direction: column;
    gap: clamp(10px, 2svh, 18px);
    width: 100%;
  }

  .awc-menu-link-text {
    padding: 10px 16px;
    font-size: clamp(18px, 4vw, 28px);
  }

  body.awc-menu-lock {
    overflow: hidden;
  }
}

@media screen and (max-width: 390px) {
  .awc-menu-brand {
    width: 6.6rem;
  }

  .awc-menu-link-text {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .awc-menu-link-text,
  .awc-menu-link-border,
  .awc-menu-link-bg,
  .awc-menu-toggle-line,
  .awc-menu-cta {
    transition: none;
  }
}
