/* Seletor de idioma — classes novas, não altera layout existente */
#header .fox-lang-flags {
  position: absolute;
  top: 10px;
  right: 175px;
  z-index: 1100;
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

#header .fox-lang-flags a {
  display: block;
  line-height: 0;
  border: 2px solid transparent;
  border-radius: 3px;
  opacity: 0.75;
  padding: 1px;
}

#header .fox-lang-flags a:hover,
#header .fox-lang-flags a.is-active {
  opacity: 1;
  border-color: #ffffff;
}

#header .fox-lang-flags img {
  width: 28px;
  height: 20px;
  display: block;
  object-fit: cover;
  border-radius: 2px;
}

@media (max-width: 991px) {
  #header .fox-lang-flags {
    right: 90px;
    top: 14px;
  }
}

@media (max-width: 767px) {
  #header .fox-lang-flags {
    right: 62px;
    top: 16px;
  }
}

/* Menu EN/ES: uma linha só, sem alterar o português */
body.is-home #header.lang-en .menuHeader.hidden-xs.hidden-sm,
body.is-home #header.lang-es .menuHeader.hidden-xs.hidden-sm {
  width: 720px;
  max-width: none;
  left: 50%;
}

body.is-home #header.lang-en .menuHeader .nav > li,
body.is-home #header.lang-es .menuHeader .nav > li {
  float: left;
  display: list-item;
  padding: 0 8px;
}

body.is-home #header.lang-en .menuHeader .nav > li > a,
body.is-home #header.lang-es .menuHeader .nav > li > a {
  white-space: nowrap !important;
}
