.language-switcher {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.65rem;
  margin-left: clamp(2rem, 3.5vw, 3.5rem);
  white-space: nowrap;
}

.language-switcher::before {
  display: none;
}

.language-switcher a + a {
  position: relative;
}

.language-switcher a + a::before {
  background: var(--nav-border, rgba(17, 17, 17, 0.12));
  content: "";
  display: block;
  height: 1rem;
  left: -0.325rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
}

.language-switcher a {
  color: var(--nav-text, #111) !important;
  font-family: var(--font-accent, "Oswald", sans-serif) !important;
  font-size: clamp(0.72rem, 0.68rem + 0.08vw, 0.82rem) !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em !important;
  line-height: 1.15 !important;
  opacity: 0.52 !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  transition: color 180ms ease, opacity 180ms ease !important;
}

.language-switcher a:hover,
.language-switcher a:focus-visible {
  color: #002fa7 !important;
  opacity: 1 !important;
}

.language-switcher a.is-active {
  opacity: 1 !important;
}

.language-switcher a:focus-visible {
  outline: 2px solid #002fa7;
  outline-offset: 4px;
}

.v2-mobile-panel > .language-switcher {
  border-top: 1px solid var(--nav-border, rgba(17, 17, 17, 0.12));
  margin: 0;
  padding-top: 1.25rem;
}

.v2-mobile-panel > .language-switcher::before {
  display: none;
}

.v2-mobile-panel > .language-switcher a {
  border: 0 !important;
  min-height: 44px;
}

@media screen and (max-width: 760px) {
  .language-switcher a + a::before {
    display: none;
  }

  .navbar-menu-wrapper > .language-switcher {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    margin: clamp(1.25rem, 5vw, 2rem) 0 0;
    padding-top: clamp(1.25rem, 5vw, 2rem);
    width: 100%;
  }

  .navbar-menu-wrapper > .language-switcher::before {
    display: none;
  }

  .navbar-menu-wrapper > .language-switcher a {
    color: #fff !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .language-switcher a {
    transition: none !important;
  }
}
