
/* =========================================================
   Language switcher (header)
   ========================================================= */

.nav-inner{
  /* Allow brand + nav + actions to sit naturally with the new switcher */
  justify-content: flex-start;
}

.nav-links{
  margin-left: auto;
}

/* Actions cluster: language switcher + hamburger */
.nav-actions{
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 820px){
  .nav-actions{ margin-left: auto; }
}

/* Switcher pill */
.lang-switcher{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(20,20,20,0.10);
  background: rgba(255,255,255,0.55);
  box-shadow: 0 10px 24px rgba(0,0,0,0.04);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.lang-switcher a{
  text-decoration: none;
  color: rgba(20,20,20,0.72);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.lang-switcher a:hover{
  color: rgba(20,20,20,1);
}

.lang-switcher .sep{
  width: 1px;
  height: 14px;
  background: rgba(20,20,20,0.16);
}

.lang-switcher a[aria-current="page"]{
  color: rgba(20,20,20,1);
}

/* On mobile, keep it compact */
@media (max-width: 420px){
  .lang-switcher{
    padding: 7px 9px;
    gap: 8px;
  }
}

/* RTL: keep the pill ordering readable */
html[dir="rtl"] .lang-switcher{
  direction: ltr;
}
