/* Shared language switcher normalization. Keep this file loaded after page styles. */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px !important;
  padding: 6px 8px !important;
  border: 1px solid var(--line, #dbe4f0) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--muted, #5c6b7d);
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap;
  box-sizing: border-box;
}

.lang-switch a,
.lang-switch strong {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 4px 6px !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: var(--muted, #5c6b7d) !important;
  font: inherit;
  line-height: 1 !important;
  text-decoration: none !important;
}

.lang-switch a:hover {
  background: var(--brand-soft, var(--blue-soft, #e8f3ee)) !important;
  color: var(--brand, var(--blue, #157a6e)) !important;
}

.lang-switch a.active,
.lang-switch strong {
  background: var(--brand-soft, var(--blue-soft, #e8f3ee)) !important;
  color: var(--brand, var(--blue, #157a6e)) !important;
}

@media (max-width: 720px) {
  .top-actions .lang-switch {
    display: inline-flex !important;
  }
}
