/* Fixed RU / EN switcher — top right (variant: hairline box) */
.lang-switch {
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 200;
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  pointer-events: auto;
  font-family: "Roboto Condensed", "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #fff;
  mix-blend-mode: exclusion;
  border: 1px solid currentColor;
}

.lang-switch__btn {
  appearance: none;
  background: none;
  border: 0;
  padding: 8px 12px;
  margin: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  opacity: 0.45;
  text-decoration: none;
}

.lang-switch__btn + .lang-switch__btn {
  border-left: 1px solid currentColor;
}

.lang-switch__btn:hover {
  opacity: 0.8;
}

.lang-switch__btn.is-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
}

.lang-switch__sep {
  display: none;
}

[data-lang-block][hidden] {
  display: none !important;
}

@media (max-width: 768px) {
  .lang-switch {
    top: 12px;
    right: 12px;
    font-size: 12px;
  }

  .lang-switch__btn {
    padding: 7px 10px;
  }
}
