.language-switch {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0;
  padding: 0 6px 0 10px;
  border: 1px solid #cfb47955;
  border-radius: 999px;
  background: #101813d6;
  color: #eadcc1;
}

.language-switch svg {
  width: 15px;
  height: 15px;
  margin-right: 3px;
  color: #dbbd83;
}

.language-switch a {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 34px;
  min-height: 40px;
  padding: 0 5px;
  color: inherit;
  font: 650 11px/1 system-ui, sans-serif;
  letter-spacing: .05em;
  text-decoration: none;
}

.language-switch a + a::before {
  position: absolute;
  left: 0;
  height: 12px;
  border-left: 1px solid #cfb47945;
  content: '';
}

.language-switch a[aria-current="page"], .language-switch a:hover { color: #f5ce88; }
.language-switch a[aria-current="page"]::after {
  position: absolute;
  inset: auto 26% 7px;
  height: 1px;
  background: #f5ce88;
  content: '';
}
.language-switch a:focus-visible { outline-offset: -4px; border-radius: 4px; }

@media (pointer: coarse) {
  .language-switch a { min-height: 44px; }
}

@media (max-height: 520px) and (orientation: landscape), (max-width: 360px) {
  .language-switch { padding-inline: 5px; }
  .language-switch svg { width: 13px; height: 13px; margin-inline: 4px 1px; }
  .language-switch a { min-width: 31px; }
}
