/* Language switcher (header) - compact, not main-nav peers */
.vp-lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.vp-lang-switch__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  line-height: 1.2;
}
.vp-lang-switch__toggle:hover,
.vp-lang-switch__toggle:focus-visible {
  border-color: rgba(253, 184, 19, 0.55);
  outline: none;
}
.vp-lang-switch__caret {
  display: inline-flex;
  opacity: 0.75;
}
.vp-lang-switch__menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  min-width: 9rem;
  padding: 0.35rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #121212;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  z-index: 80;
}
.vp-lang-switch__menu[hidden] {
  display: none !important;
}
.vp-lang-switch__item {
  display: block;
  padding: 0.45rem 0.65rem;
  border-radius: 7px;
  color: #e8e8e8;
  text-decoration: none;
  font-size: 0.875rem;
  white-space: nowrap;
}
.vp-lang-switch__item:hover,
.vp-lang-switch__item:focus-visible {
  background: rgba(253, 184, 19, 0.12);
  color: #fff;
  outline: none;
}
.vp-lang-switch__item.is-active {
  color: #fdb813;
  font-weight: 600;
}
