/* ============================================
   Language Switcher — visual overrides
   Applies to: .wpml-ls-legacy-list-horizontal
   inside .wpml-switcher (Bricks wrapper)
   ============================================ */

/* Hide English names in brackets — show native name only */
.wpml-ls-legacy-list-horizontal .wpml-ls-display {
  display: none;
}

/* Remove gap between items.
   Bricks inline <style> loads after our external CSS and sets gap: 6px,
   so !important is required to override it. */
.brxe-rzgwql ul {
  gap: 0 !important;
}

/* Prevent text wrapping inside each item */
.wpml-ls-legacy-list-horizontal .wpml-ls-link {
  white-space: nowrap;
}

/* Desktop (>768px): lift to align with logo center */
@media (min-width: 769px) {
  .brxe-rzgwql {
    margin-top: -100px !important;
  }
}

/* Tablet (479px–768px): restore Bricks default */
@media (min-width: 479px) and (max-width: 768px) {
  .brxe-rzgwql {
    margin-top: -30px !important;
  }
}

/* Mobile (≤478px): no offset — Bricks sets margin: 0 here */
@media (max-width: 478px) {
  .brxe-rzgwql {
    margin-top: 0 !important;
  }
}
