/* Section switching belongs to the content title, not a second site header. */
html { scroll-padding-top: 108px; }
.server-title-switch {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 18px;
  margin: 0 0 40px;
  font-family: inherit;
  font-size: 32px;
  line-height: 1.4;
}
.server-title-switch--legacy {
  --title-current: #f1f5f9;
  --title-muted: #a1a1aa;
  --title-accent: var(--accent-color);
}
body.light-mode .server-title-switch--legacy {
  --title-current: #000;
  --title-muted: #64748b;
}
.server-title-switch--island {
  --title-current: var(--ink);
  --title-muted: var(--muted);
  --title-accent: var(--blue);
  justify-content: flex-start;
  margin: 26px 0 24px;
  font-family: var(--display);
}
.server-title-switch .server-current-title,
.hero .server-title-switch .server-current-title {
  margin: 0;
  padding: 0;
  font: inherit;
  font-weight: 800;
  letter-spacing: -.8px;
  line-height: inherit;
  transform: none;
  white-space: nowrap;
}
.server-title-switch a {
  font: inherit;
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
  text-decoration: none;
  white-space: nowrap;
  color: var(--title-muted);
}
.server-title-switch a[aria-current="page"] { color: var(--title-current); }
.server-title-switch a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(50% - 30px);
  width: 60px;
  height: 2px;
  background: var(--title-accent);
}
.server-title-switch--island a[aria-current="page"]::after { height: 3px; border-radius: 3px; }
.server-title-switch .server-other-title { font-size: .8em; font-weight: 500; }
.server-title-switch a:hover { color: var(--title-accent); }
.server-title-switch a:focus-visible { outline: 3px solid var(--title-accent); outline-offset: 4px; border-radius: 3px; }
.server-title-divider { color: var(--title-muted); opacity: .45; font-size: .65em; font-weight: 400; }
@media (max-width: 900px) { html { scroll-padding-top: 96px; } }
@media (max-width: 650px) {
  .server-title-switch { font-size: 24px; gap: 12px; margin-bottom: 28px; }
  .server-title-switch--island { font-size: 28px; margin-top: 22px; margin-bottom: 22px; }
}
