/* Wenetech mobile navigation v10 — persistent mobile drawer */
.wt-mobile-menu-button {
  display: none !important;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid rgba(18,59,73,.16);
  border-radius: 12px;
  background: #fff;
  color: #123b49;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(18,59,73,.10);
  position: relative;
  z-index: 2147483646;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.wt-mobile-menu-button .wt-line,
.wt-mobile-menu-button::before,
.wt-mobile-menu-button::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: absolute;
  left: 11px;
  transition: transform .2s ease, opacity .2s ease;
}
.wt-mobile-menu-button .wt-line { transform: translateY(0); }
.wt-mobile-menu-button::before { transform: translateY(-6px); }
.wt-mobile-menu-button::after { transform: translateY(6px); }
.wt-mobile-menu-button[aria-expanded="true"] .wt-line { opacity: 0; }
.wt-mobile-menu-button[aria-expanded="true"]::before { transform: rotate(45deg); }
.wt-mobile-menu-button[aria-expanded="true"]::after { transform: rotate(-45deg); }

.wt-mobile-menu {
  display: none;
  position: fixed;
  z-index: 2147483647;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 360px);
  box-sizing: border-box;
  background: #fff;
  padding: 82px 24px 28px;
  box-shadow: -20px 0 50px rgba(10,35,43,.22);
  transform: translateX(105%);
  transition: transform .25s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  pointer-events: none;
  visibility: hidden;
}
.wt-mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
}
.wt-mobile-menu-header {
  position: absolute;
  top: 20px;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #123b49;
}
.wt-mobile-menu-header strong { font-size: 15px; letter-spacing: .04em; }
.wt-mobile-menu-close {
  width: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(18,59,73,.08) !important;
  display: inline-flex !important;
  justify-content: center !important;
  font-size: 24px !important;
}
.wt-mobile-menu a,
.wt-mobile-menu .wt-mobile-assistant {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 15px 4px;
  border: 0;
  border-bottom: 1px solid rgba(18,59,73,.10);
  background: transparent;
  color: #123b49;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(18,59,73,.08);
  touch-action: manipulation;
}
.wt-mobile-menu a:active,
.wt-mobile-menu .wt-mobile-assistant:active { background: rgba(18,59,73,.05); }
.wt-mobile-menu .wt-mobile-assistant {
  margin-top: 20px;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 14px 16px;
  background: #123b49;
  color: #fff;
}
.wt-mobile-backdrop {
  display: none;
  position: fixed;
  z-index: 2147483645;
  inset: 0;
  background: rgba(4,22,28,.55);
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
  visibility: hidden;
}
.wt-mobile-backdrop.open { opacity: 1; pointer-events: auto; visibility: visible; }
html.wt-mobile-nav-open, body.wt-mobile-nav-open { overflow: hidden !important; }

@media (max-width: 1040px) {
  .site-header .nav-links, header.nav .navlinks { display: none !important; }
  .site-header .nav-wrap > .button { display: none !important; }
  .wt-mobile-menu-button { display: inline-flex !important; }
  .wt-mobile-menu, .wt-mobile-backdrop { display: block; }
  .site-header { position: sticky; top: 0; z-index: 99998; background: rgba(255,255,255,.98); }
  .site-header .nav-wrap, header.nav .wrap { display: flex !important; align-items: center !important; }
  .site-header .brand { flex: 0 1 auto; min-width: 0; }
}
@media (max-width: 420px) {
  .wt-mobile-menu-button { width: 40px; height: 40px; }
  .wt-mobile-menu-button .wt-line,
  .wt-mobile-menu-button::before,
  .wt-mobile-menu-button::after { left: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .wt-mobile-menu, .wt-mobile-backdrop,
  .wt-mobile-menu-button .wt-line,
  .wt-mobile-menu-button::before,
  .wt-mobile-menu-button::after { transition: none !important; }
}

@media (max-width:1040px){header.nav{position:sticky;top:0;z-index:99998;background:#fff}header.nav .brand{flex:0 1 auto;min-width:0}}
