.language-switch {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 1px;
  margin-left: 1rem;
  padding: 2px;
  border: 1px solid rgba(127, 127, 127, .32);
  border-radius: 999px;
  color: inherit;
  background: transparent;
  box-shadow: none;
  opacity: .78;
}

.language-switch a {
  min-width: 27px;
  padding: 4px 6px;
  border-radius: 999px;
  color: inherit;
  font: 700 10px/1 system-ui, sans-serif;
  letter-spacing: .05em;
  text-align: center;
  text-decoration: none;
}

.language-switch a[aria-current="page"] {
  color: inherit;
  background: rgba(127, 127, 127, .2);
}

.legal .language-switch {
  align-self: flex-start;
  margin: 8px 0 0;
}

.language-footer-only {
  display: flex;
  justify-content: flex-end;
  max-width: 920px;
  margin: 0 auto;
  padding: 18px 24px 28px;
  color: #747d86;
}

.language-footer-only .language-switch { margin-left: 0; }

@media (max-width: 700px) {
  footer .language-switch { margin: 10px 0 0; }
  .language-footer-only { justify-content: flex-start; }
}
