/* PazNetWorks language switcher — replaces Webflow's w-locales-list.
   Three variants share base styles; modifiers tweak color/placement. */

.paz-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  line-height: 1;
}

.paz-lang-switcher__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.65rem;
  border-radius: 0.375rem;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.15s ease, opacity 0.15s ease;
  opacity: 0.75;
}

.paz-lang-switcher__link:hover,
.paz-lang-switcher__link:focus-visible {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.05);
}

.paz-lang-switcher__link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.paz-lang-switcher__link[aria-current="page"] {
  opacity: 1;
  font-weight: 600;
  pointer-events: none;
  cursor: default;
}

.paz-lang-switcher__flag {
  width: 20px;
  height: 14px;
  flex-shrink: 0;
  display: block;
}

.paz-lang-switcher__label {
  white-space: nowrap;
}

/* Mobile fullscreen-menu variant: white text on dark bg */
.paz-lang-switcher--mobile {
  font-size: 1rem;
  gap: 1rem;
}

.paz-lang-switcher--mobile .paz-lang-switcher__link {
  color: #fff;
}

.paz-lang-switcher--mobile .paz-lang-switcher__link:hover,
.paz-lang-switcher--mobile .paz-lang-switcher__link:focus-visible {
  background-color: rgba(255, 255, 255, 0.12);
}

/* Footer variant: slightly larger tap target, theme-aware color inherits */
.paz-lang-switcher--footer {
  margin-top: 1rem;
}

@media (max-width: 480px) {
  .paz-lang-switcher__label {
    /* Keep the flag + 2-letter code on very narrow screens */
    font-size: 0.8125rem;
  }
}
