/* Mezzo language switcher - global header control */
html body .mezzo-language-switcher {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(160, 82, 45, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--c-body, #5d514d);
  font-family: var(--font-body, Raleway, sans-serif);
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

html body .mezzo-lang-link {
  color: var(--c-body, #5d514d) !important;
  text-decoration: none !important;
  text-underline-offset: 0.35rem;
  transition: color 0.2s ease, background 0.2s ease;
}

html body .mezzo-lang-link:hover,
html body .mezzo-lang-link:focus-visible,
html body .mezzo-lang-link.is-active {
  color: var(--c-primary, #A0522D) !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-decoration-color: var(--c-primary, #A0522D) !important;
}

html body .mezzo-lang-divider {
  color: rgba(160, 82, 45, 0.35);
  font-weight: 700;
}

html body .site-header .mezzo-language-switcher-desktop {
  margin-left: 1.2rem;
}

html body .mobile-panel .mezzo-language-switcher-mobile {
  width: fit-content;
  margin: 1.2rem auto 0;
  padding: 0.75rem 1.15rem;
  font-size: 1.4rem;
}

@media (max-width: 1180px) {
  html body .site-header .mezzo-language-switcher-desktop {
    display: none;
  }
}

@media (max-width: 760px) {
  html body .mobile-panel .mezzo-language-switcher-mobile {
    font-size: 1.35rem;
  }
}


/* Language switcher size standardisation */
html body .mezzo-language-switcher,
html body .mezzo-language-switcher a,
html body .mezzo-lang-link,
html body .mezzo-lang-divider {
  font-size: 1.6rem !important;
}

@media (max-width: 760px) {
  html body .mezzo-language-switcher,
  html body .mezzo-language-switcher a,
  html body .mezzo-lang-link,
  html body .mezzo-lang-divider {
    font-size: 1.6rem !important;
  }
}
