.site-language-switcher {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.3rem;
  border: 1px solid rgba(17, 23, 71, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(17, 23, 71, 0.08);
  white-space: nowrap;
}
.site-language-switcher button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #111747;
  cursor: pointer;
  font:
    700 0.72rem/1 "DM Sans",
    sans-serif;
  letter-spacing: 0.05em;
  padding: 0.58rem 0.68rem;
  transition:
    background 0.2s,
    color 0.2s;
}
.site-language-switcher button:hover,
.site-language-switcher button:focus-visible {
  background: #eeecfb;
  outline: none;
}
.site-language-switcher button.active {
  background: #243be1;
  color: #fff;
}
.goog-te-banner-frame,
.skiptranslate iframe {
  display: none !important;
}
body {
  top: 0 !important;
}

/* Keep translated copy readable when Google Translate wraps individual words
   in inline elements. A small, language-neutral word gap prevents words from
   appearing joined without changing the Foundation's typography. */
:where(p, li, blockquote, figcaption, h1, h2, h3, h4, a, button, label) {
  word-spacing: 0.035em;
}

.person-name {
  white-space: nowrap;
}
.goog-logo-link,
.goog-te-gadget {
  display: none !important;
}
@media (max-width: 900px) {
  .organization-page .nav {
    gap: 0.75rem;
  }
  .organization-page .site-language-switcher {
    margin-left: auto;
  }
  .bio-nav {
    gap: 0.65rem;
  }
  .bio-nav .site-language-switcher button {
    padding: 0.5rem 0.52rem;
    font-size: 0.66rem;
  }
}
@media (max-width: 620px) {
  .bio-nav {
    height: auto;
    min-height: 78px;
    flex-wrap: wrap;
    padding-block: 0.55rem;
  }
  .bio-nav .bio-brand {
    order: 1;
  }
  .bio-nav .back-link {
    order: 2;
  }
  .bio-nav .site-language-switcher {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  .organization-page .nav {
    height: auto;
    min-height: 82px;
    flex-wrap: wrap;
    padding-block: 0.6rem;
  }
  .organization-page .site-language-switcher {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  .organization-page #nav-links {
    margin-left: auto;
  }
}
