/* Language switcher styles */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 14px;
  font-family: inherit;
}

.lang-switch button,
.nav-right .lang-switch button,
.menu .lang-switch button {
  background: transparent !important;
  border: 1px solid #d8d8d8 !important;
  color: #2e2e2e !important;
  font-size: 13px !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 10px !important;
  margin: 0 !important;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-transform: uppercase;
  line-height: 1;
}

.lang-switch button:hover {
  background: #f3f3f3 !important;
}

.lang-switch button.active {
  background: #2e2e2e !important;
  color: #ffffff !important;
  border-color: #2e2e2e !important;
}

/* Show desktop switch only on >=900px, mobile switch only inside menu */
@media (max-width: 900px) {
  .lang-switch-desktop { display: none !important; }
}
@media (min-width: 901px) {
  .menu .lang-switch { display: none !important; }
}

/* In the mobile menu, switcher gets bigger tap targets */
.menu .lang-switch {
  margin: 16px 0 8px;
  padding: 0 20px;
}

.menu .lang-switch button {
  padding: 10px 18px;
  font-size: 14px;
}

/* Hidden by default until i18n applies the right one */
.lang-content {
  display: none;
}
.lang-content[lang="ru"] {
  display: block;
}
