.emc-language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-inline-size: 2.35rem;
  min-block-size: 2.35rem;
  padding-inline: .45rem;
  border: 1px solid #29475a;
  border-radius: .6rem;
  color: #c3d7e7;
  font: 700 .75rem/1 system-ui, sans-serif;
  text-decoration: none;
}

.emc-language-switch:hover,
.emc-language-switch:focus-visible {
  color: #eefaff;
  border-color: #21b9c7;
  background: #112d3d;
}

.cms-language-actions {
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
}

html[lang="ru"] .nav-links { gap: clamp(.55rem, 1.7vw, 2rem); }
html[lang="ru"] .site-search input { min-inline-size: 0; }

html[lang="ru"] :is(.section-head, .article-player-heading, .cms-top-tools, .directory-actions) {
  flex-wrap: wrap;
  row-gap: .5rem;
}

html[lang="ru"] :is(h1, h2, h3, .player-overview-identity p, .cms-breadcrumbs, .cms-sidebar a) {
  min-inline-size: 0;
  overflow-wrap: anywhere;
}

html[lang="ru"] :is(.article-hero h1, .home-articles h2, .home-articles h3) {
  text-wrap: balance;
}

html[lang="ru"] :is(.directory-head, .team-roster-head, .directory-page-form) {
  white-space: normal;
}

html[lang="ru"] :is(.directory-head, .team-roster-head) > * {
  min-inline-size: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  html[lang="ru"] .cms-breadcrumbs { gap: .35rem; }
  html[lang="ru"] .nav-actions { gap: .45rem; }
  html[lang="ru"] .emc-language-switch { min-block-size: 2.5rem; }
}
