/* Shared Navigation Styles */

.navigation__wrapper--logo.fs-16 {
  font-size: clamp(1rem, 1rem + 0vw, 1rem);
  text-decoration: none;
  text-transform: uppercase;
  font-family: Compadre Extended, sans-serif;
  color: var(--bt-black);
}

/* Mobile Hamburger Menu */
.mobile-nav-controls {
  display: none;
}
.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hamburger-btn svg {
  width: 24px;
  height: 24px;
  fill: var(--bt-black);
  display: block;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: #00000026;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(.19,1,.22,1);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-backdrop {
  display: none;
}
.mobile-menu-close {
  position: absolute;
  top: 2rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-family: Degulartext, sans-serif;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.5rem;
  transition: opacity 0.3s ease;
}
.body.light__mode .mobile-menu-close {
  color: var(--bt-black);
}
.mobile-menu-close:hover {
  opacity: 0.6;
}
.mobile-menu-item {
  font-family: 'Obviously Compressed Medium', sans-serif;
  font-size: 9rem;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border: none;
  transition: opacity 0.3s ease;
}
.body.light__mode .mobile-menu-item {
  color: var(--bt-black);
}
.mobile-menu-item:hover {
  opacity: 0.6;
}
.mobile-menu button.mobile-menu-item {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 9rem;
}
.mobile-menu button.mobile-menu-item:hover {
  opacity: 0.6;
}
.mobile-theme-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-top: 1rem;
}
.mobile-theme-toggle-btn .lottie__toggle--animation {
  width: 32px;
  height: 32px;
}

@media screen and (max-width: 767px) {
  .navigation {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }
  .navigation__wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative;
    height: 59px !important;
  }
  .navigation__wrapper--logo {
    line-height: 1 !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
  }
  /* Hide the entire nav list on mobile */
  .navigation__wrapper--list {
    display: none !important;
  }
  /* Position mobile controls container */
  .mobile-nav-controls {
    display: block !important;
    position: relative;
    white-space: nowrap;
    line-height: 1 !important;
    align-self: center !important;
  }
  /* Theme toggle - inline-block for horizontal layout */
  .mobile-nav-controls .theme__toggle {
    display: inline-block !important;
    vertical-align: middle !important;
    width: 56px !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    margin-right: 12px !important;
    margin-top: 1px !important;
    flex-shrink: 0 !important;
  }
  .mobile-nav-controls .theme__toggle .lottie__toggle--animation {
    width: 56px !important;
    height: 56px !important;
    margin-top: 0 !important;
  }
  /* Hamburger - inline-block for horizontal layout */
  .mobile-nav-controls .hamburger-btn {
    display: inline-block !important;
    vertical-align: middle !important;
    width: 28px !important;
    height: 28px !important;
  }
  .mobile-nav-controls .hamburger-btn svg {
    width: 28px !important;
    height: 28px !important;
    display: block !important;
  }
}
@media screen and (max-width: 480px) {
  .navigation__wrapper--logo {
    visibility: hidden;
    position: relative;
    display: flex !important;
    align-items: center !important;
    line-height: 1;
    width: 130px !important;
    height: 20px !important;
  }
  .navigation__wrapper--logo::after {
    content: "MS";
    visibility: visible;
    position: absolute;
    left: 0;
    top: 0;
    line-height: 1;
    height: 20px;
    display: flex;
    align-items: center;
  }
}
@media screen and (min-width: 768px) and (max-width: 1200px) {
  .navigation__wrapper--logo.fs-16 {
    font-size: 0.875rem !important;
  }
  .list__item--link.fs-16 {
    font-size: 0.875rem !important;
  }
  .theme__toggle .lottie__toggle--animation {
    width: 3rem !important;
    height: 3rem !important;
    margin-top: 0 !important;
  }
}
