.language-switcher {
  flex: 0 0 auto;
  margin: 0;
}

.language-switcher__group {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 3px;
  margin: 0;
  padding: 3px;
  border: 1px solid var(--line, #ddd9cf);
  border-radius: 11px;
  background: rgba(255, 255, 255, .86);
}

.language-switcher__legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.language-switcher__option {
  min-height: 30px;
  padding: 4px 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted, #64757c);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.language-switcher__option:hover {
  background: #f0f4f4;
  color: var(--brand-deep, #103b4b);
}

.language-switcher__option.is-active {
  background: var(--brand, #164e63);
  color: #fff;
  box-shadow: 0 2px 7px rgba(22, 78, 99, .2);
}

.language-switcher__option:focus-visible {
  outline: 3px solid rgba(214, 107, 67, .34);
  outline-offset: 1px;
}

.language-switcher__separator {
  width: 1px;
  height: 16px;
  background: var(--line, #ddd9cf);
}

@media (max-width: 620px) {
  .language-switcher__option {
    min-height: 34px;
    padding-inline: 8px;
  }
}
