:root { --trs-nav-height: 56px; }
body { padding-top: var(--trs-nav-height) !important; }
.trs-global-nav {
  position: fixed;
  z-index: 10000;
  inset: 0 0 auto 0;
  height: var(--trs-nav-height);
  border-bottom: 1px solid rgba(255,255,255,.14);
  color: #fff;
  background: rgba(8, 34, 60, .97);
  box-shadow: 0 4px 18px rgba(8,34,60,.18);
  backdrop-filter: blur(10px);
}
.trs-nav-inner {
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.trs-nav-brand {
  flex: none;
  color: #f4c95d;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .18em;
  text-decoration: none;
  white-space: nowrap;
}
.trs-nav-links { display: flex; align-items: center; gap: 5px; }
.trs-nav-links a {
  padding: 8px 11px;
  border-radius: 8px;
  color: #dce9f4;
  font-size: .8rem;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}
.trs-nav-links a:hover { color: #fff; background: rgba(255,255,255,.10); }
.trs-nav-links a[aria-current="page"] { color: #fff; background: #1769aa; }
.trs-nav-toggle {
  display: none;
  width: 42px;
  height: 40px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 8px;
  color: #fff;
  background: rgba(255,255,255,.08);
  cursor: pointer;
}
.trs-nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: currentColor;
  transition: transform .18s, opacity .18s;
}
.trs-global-nav.is-open .trs-nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.trs-global-nav.is-open .trs-nav-toggle span:nth-child(2) { opacity: 0; }
.trs-global-nav.is-open .trs-nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 700px) {
  .trs-nav-inner { width: calc(100% - 24px); }
  .trs-nav-toggle { display: block; }
  .trs-nav-links {
    position: absolute;
    top: calc(var(--trs-nav-height) - 1px);
    right: 12px;
    left: 12px;
    display: none;
    padding: 10px;
    border: 1px solid #294d6d;
    border-radius: 0 0 12px 12px;
    background: #0b2d50;
    box-shadow: 0 14px 30px rgba(8,34,60,.28);
  }
  .trs-global-nav.is-open .trs-nav-links { display: grid; gap: 3px; }
  .trs-nav-links a { padding: 12px 13px; font-size: .9rem; }
}
@media (max-width: 380px) {
  .trs-nav-brand { font-size: .62rem; letter-spacing: .13em; }
}
@media (prefers-reduced-motion: reduce) {
  .trs-nav-toggle span { transition: none; }
}
