.nav-bar .links-wrap li.language-switcher {
  display: flex;
  align-items: center;
  gap: .32em;
  margin-left: .15em;
  color: var(--color-white);
  font-size: 1em;
  line-height: 1;
  white-space: nowrap;
}

.nav-bar .language-switcher button {
  appearance: none;
  border: 0;
  padding: .2em .04em;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1;
  opacity: .48;
  cursor: pointer;
  transition: opacity .25s ease;
}

.nav-bar .language-switcher button:hover,
.nav-bar .language-switcher button:focus-visible,
.nav-bar .language-switcher button.is-active { opacity: 1; }
.nav-bar .language-switcher span { opacity: .35; }

.fixed-nav .language-switcher-menu {
  display: flex;
  align-items: center;
  gap: .35em;
  color: var(--color-white);
  font-size: 1.05em;
  line-height: 1;
}

.fixed-nav .language-switcher button {
  appearance: none;
  border: 0;
  padding: .3em .12em;
  background: transparent;
  color: var(--color-white);
  font: inherit;
  font-weight: 600;
  line-height: 1;
  opacity: .5;
  cursor: pointer;
  transition: opacity .2s ease;
}

.fixed-nav .language-switcher button:hover,
.fixed-nav .language-switcher button:focus-visible,
.fixed-nav .language-switcher button.is-active {
  opacity: 1;
}

.fixed-nav .language-switcher span {
  opacity: .35;
  color: var(--color-white);
}

/* Keep RU/EN next to "Меню" in the top bar on tablet/phone. */
@media screen and (max-width: 900px) {
  .nav-bar .links-wrap {
    display: flex;
    align-items: center;
    gap: .55em;
  }

  .nav-bar .links-wrap li.language-switcher {
    display: flex;
    order: 1;
    margin-left: 0;
    font-size: .95em;
  }

  .nav-bar .links-wrap li.btn-menu {
    order: 2;
  }
}

@media screen and (max-width: 540px) {
  .fixed-nav .menu-bottom .language-switcher-menu {
    font-size: 1.08em;
  }

  .nav-bar .links-wrap li.language-switcher {
    display: flex;
  }
}
