/* PBC Swiss — site header */

.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 50;
}

.head-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 18px var(--gutter);
  gap: var(--s-6);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  font-family: inherit;
  text-decoration: none;
  color: var(--ink);
}
.brand img,
.brand .custom-logo,
.brand .custom-logo-link img {
  height: 38px;
  width: auto;
  max-width: none;
  display: block;
}
.brand .custom-logo-link {
  display: block;
  line-height: 0;
}
.brand-text {
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}

.nav-primary { justify-self: center; }
.nav-primary ul {
  display: flex;
  gap: 30px;
  font-size: var(--t-meta);
  font-weight: 500;
}
.nav-primary a {
  padding: 6px 0;
  position: relative;
  display: inline-block;
}
.nav-primary li.current-menu-item > a::after,
.nav-primary li.current_page_item > a::after,
.nav-primary a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--ink);
}

.head-utility {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  font-size: var(--t-meta);
  color: var(--muted);
}
.head-utility ul {
  display: flex;
  gap: 18px;
}
.head-utility a:hover { color: var(--ink); }

@media (max-width: 600px) {
  .head-row { grid-template-columns: 1fr; }
  .nav-primary,
  .head-utility { display: none; }
}
