/* Header layout — isolated so it wins regardless of other style.css edits.
   Goal: logo and menu on ONE line, that line centered at content width,
   logo's left edge on the content column's left margin, menu right-aligned
   to the content column's right edge.
   If your content column is wider/narrower than 1180px, change ONE number:
   --content-max below. */
.topbar {
  display: block !important;
  padding: 12px 20px !important;
}
.topbar-inner {
  --content-max: 1180px;
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
}
.topbar-inner .logo { flex: none; }
.topbar-inner .mainnav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.topbar-inner .more-menu { flex: none; }

/* Below tablet width, allow the nav to wrap under the logo gracefully. */
@media (max-width: 900px) {
  .topbar-inner { flex-wrap: wrap; }
  .topbar-inner .mainnav { margin-left: 0; justify-content: flex-start; width: 100%; }
}
