/* ── LANGUAGE SWITCHER (page-per-language version) ─────────────────────── */

.lang-switcher-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-left: auto;
  align-items: center;
}

.lang-switcher-pages a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(245, 240, 232, 0.5);
  padding: 5px 9px;
  border: 1px solid rgba(201, 162, 39, 0.15);
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.lang-switcher-pages a:hover {
  color: var(--gold);
  border-color: rgba(201, 162, 39, 0.4);
  background: rgba(201, 162, 39, 0.05);
}

.lang-switcher-pages a.ls-active {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.08);
  pointer-events: none;
}

/* Collapse to scrollable row on tablet */
@media (max-width: 1100px) {
  .lang-switcher-pages {
    max-width: 300px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .lang-switcher-pages::-webkit-scrollbar { display: none; }
}

/* Hide in mobile nav, show in hamburger menu instead */
@media (max-width: 900px) {
  .lang-switcher-pages {
    display: none;
  }
  #navbar.mobile-open .lang-switcher-pages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.98);
    padding: 0.5rem 2rem 1.5rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
    z-index: 99;
    gap: 6px;
  }
  /* Push nav-links down below lang row */
  #navbar.mobile-open .nav-links {
    top: 140px;
    border-top: none;
  }
}
