.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: 0.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  color: var(--breakrl-muted, var(--pst-color-text-muted, #6e6e80));
}

.lang-switch .lang-opt {
  display: inline-block;
  border: 0;
  font: inherit;
  padding: 0.15rem 0;
  cursor: pointer;
  color: inherit;
  background: transparent;
  user-select: none;
  text-decoration: none;
}

.lang-switch .lang-opt:hover {
  color: var(--breakrl-link, var(--pst-color-link, #2e95d3));
}

.lang-switch .lang-opt:focus-visible {
  outline: 2px solid var(--breakrl-link, var(--pst-color-accent, #2e95d3));
  outline-offset: 3px;
}

.lang-switch .lang-opt.active {
  background: transparent;
  color: var(--breakrl-link, var(--pst-color-primary, #2e95d3));
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* The theme moves the persistent controls to the mobile host at 960px. */
@media (max-width: 959.98px) {
  .navbar-header-items__end .lang-switch {
    display: none;
  }
}
