/*------------------------------------------------------------------------------------------*/
/* Pacific Justice — navbar. Ported from the source site navigation222.css, 2026-10-03.        */
/* The mega menus, dropdowns, sub-menu strip, Sign In item and separate phone bar are gone:   */
/* the site has one page, so the bar is the brand plus a single Home tab, and the same bar    */
/* serves every width. Injected by site-nav<N>.js from /static/menu<N>.html.                 */
/*------------------------------------------------------------------------------------------*/
.navbar {
  background: linear-gradient(135deg, #0a1628 0%, #10264a 55%, #13284a 100%);
  border-bottom: 3px solid #d4af37;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.navbar > ul {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  margin: 0;
  padding: 0 8px;
  list-style: none;
}

.navbar li { margin: 0; padding: 0; }

.navbar a {
  display: block;
  padding: 10px 14px;
  color: #e6e1d6;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

/* Tabs are rounded "ghost pills" inset from the bar. */
.navbar > ul > li.nav-tab > a {
  border-radius: 999px;
  margin: 8px 4px;
}
.navbar > ul > li.nav-tab > a:hover {
  background-color: rgba(212, 175, 55, 0.10);
  color: #e6c868;
  box-shadow: inset 0 0 0 1.5px rgba(212, 175, 55, 0.55);
  text-decoration: none;
}
/* The current tab: site-nav<N>.js adds .current (no inline style). */
.navbar > ul > li.nav-tab > a.current {
  background: rgba(212, 175, 55, 0.14);
  color: #e6c868;
  box-shadow: inset 0 0 0 1.5px #d4af37;
}

/* ---- The wordmark: scales mark + "Pacific Justice" -------------------------------- */
.navbar > ul > li.nav-brand-item { margin-right: 16px; }
.navbar a.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
  padding: 4px 10px;
  border-radius: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
}
.navbar a.nav-brand:hover { background: rgba(255, 255, 255, 0.10); color: #ffffff; text-decoration: none; }
.navbar a.nav-brand .accent { color: #d4af37; }
.navbar svg.nav-brand-mark { width: 30px; height: 30px; flex: 0 0 auto; display: block; }

@media screen and (max-width: 600px) {
  .navbar > ul { padding: 0 4px; }
  .navbar a.nav-brand { font-size: 18px; gap: 8px; padding: 4px 6px; }
  .navbar svg.nav-brand-mark { width: 26px; height: 26px; }
  .navbar > ul > li.nav-brand-item { margin-right: 4px; }
  .navbar > ul > li.nav-tab > a { padding: 8px 12px; font-size: 16px; }
}
