/* Shared navigation for every portfolio page — single source of visual truth. */
/* This stylesheet is intentionally loaded after page-specific styles. */
.site-header,
body.kb-editorial .site-header {
  background: #1b426e !important;
  border: 0 !important;
  box-shadow: none !important;
  position: relative;
  z-index: 50;
}
.site-header .nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  min-height: 72px;
  gap: 22px;
  padding: 0;
}
.site-header .brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: 1.2;
  color: #f9fbff !important;
  white-space: nowrap;
  padding: 0;
}
.site-header .brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  border: 1px solid #98b1d0 !important;
  border-radius: 50%;
  background: transparent !important;
  color: #e9eff6 !important;
  font: 700 .7rem/1 Arial, Helvetica, sans-serif;
}
.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 1 auto;
  width: auto;
  min-width: 0;
  gap: clamp(12px, 1.65vw, 25px);
  overflow: visible;
  font: 600 .82rem/1.5 Arial, Helvetica, sans-serif;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.site-header .nav > a,
.site-header .nav > .nav-kidney-menu > .nav-kidney-main {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  flex: 0 0 auto;
  height: 72px;
  margin: 0;
  padding: 0 0 0;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #e9eff6 !important;
  opacity: .78;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-transform: inherit;
  text-decoration: none;
}
.site-header .nav > a:hover,
.site-header .nav > a.active,
.site-header .nav > .nav-kidney-menu > .nav-kidney-main:hover,
.site-header .nav > .nav-kidney-menu > .nav-kidney-main.active {
  border-bottom-color: #c7d6e8 !important;
  color: #fff !important;
  opacity: 1;
}
.site-header .nav > .nav-kidney-menu {
  align-items: center;
  align-self: stretch;
  gap: 4px;
}
.site-header .nav > .nav-kidney-menu > .nav-kidney-toggle {
  align-self: center;
  width: 25px;
  height: 44px;
  min-width: 25px;
  flex: 0 0 25px;
}
@media (max-width: 850px) {
  .site-header .nav-wrap {
    min-height: 0;
    gap: 0;
    padding: 11px 0 0;
    flex-wrap: wrap;
  }
  .site-header .brand {
    font-size: 1.35rem;
    padding: 0 0 8px;
  }
  .site-header .nav {
    display: flex;
    order: 3;
    justify-content: flex-start;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    gap: 21px;
    overflow-x: auto;
    overflow-y: hidden;
    font-size: .79rem;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .site-header .nav::-webkit-scrollbar { display: none; }
  .site-header .nav > a,
  .site-header .nav > .nav-kidney-menu > .nav-kidney-main {
    height: 42px;
    padding: 0;
    border-bottom-width: 2px;
  }
  .site-header .nav > .nav-kidney-menu > .nav-kidney-toggle {
    height: 38px;
  }
}
