
.language-switch {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: min(1320px, 92%);
  margin-inline: auto;
  min-height: 0;
  padding-block: 0.45rem;
  font: 0.875rem/1.4 system-ui, sans-serif;
}
.language-switch a { color: inherit; padding: 0.3rem; text-decoration: underline; }
.language-switch a[aria-current="page"] { font-weight: 700; text-decoration-thickness: 2px; }
html[lang="ru"] :is(h1, h2, h3) { overflow-wrap: anywhere; }
