/* ===== TST Navbar (Base44-like) ===== */
.tst-container {
  max-width: 80rem; /* match max-w-7xl */
}

.tst-navbar {
  height: 64px;
}

/* hit area & stacking */
.tst-navbar {
  position: sticky;
  z-index: 1040; /* above most content */
  top: 0px;
}

.tst-toggler {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1050;
  pointer-events: auto;
}

.tst-logo {
  height: 44px;
  width: auto;
  display: block;
}

.tst-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  padding: 0 !important;
  line-height: 64px;
  position: relative;
}

.tst-nav-link:hover {
  color: #0a2240;
}

.tst-nav-link.active {
  color: #0a2240;
}

.tst-nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  width: 44px;
  height: 3px;
  background: #f5b800;
  border-radius: 2px;
}

.navbar .nav-link:focus {
  box-shadow: none;
}

/* toggler */
.tst-toggler {
  border: 0;
  padding: 0.25rem 0.25rem;
}
.tst-toggler:focus {
  box-shadow: none;
}

.tst-toggler-icon {
  width: 28px;
  height: 2px;
  background: #0a2240;
  display: block;
  position: relative;
  border-radius: 2px;
}
.tst-toggler-icon::before,
.tst-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 28px;
  height: 2px;
  background: #0a2240;
  border-radius: 2px;
}
.tst-toggler-icon::before {
  top: -8px;
}
.tst-toggler-icon::after {
  top: 8px;
}

/* offcanvas */
.tst-offcanvas {
  width: 320px;
  background: #ffffff;
}
.tst-offcanvas .offcanvas-header {
  padding: 18px 20px;
  border-bottom: 1px solid #e5e7eb;
}
.tst-offcanvas .offcanvas-body {
  padding: 18px 20px;
}

.tst-oc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  color: #0a2240;
}
.tst-oc-link:hover {
  background: #f3f4f6;
}
.tst-oc-link.active {
  background: #fff7d1;
  color: #0a2240;
}

.tst-oc-close {
  opacity: 0.7;
}

@media (min-width: 992px) {
  .tst-toggler {
    display: none;
  }
}
