/* Seletor de idioma: BR | ES | US. Carregado pelas versoes pt, es e en.

   O seletor e um <nav>, e o CSS do site esconde ".header nav" no celular;
   por isso as regras abaixo usam ".header nav.lang-switch", com
   especificidade suficiente para vencer as de styles.css. */
.header nav.lang-switch {
  display: inline-flex;
  width: auto;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  font: 10px/1 var(--mono);
  letter-spacing: .08em;
  color: var(--muted);
  white-space: nowrap;
}
.lang-switch a,
.lang-switch span[aria-current] {
  padding: 5px 4px;
  border-radius: 4px;
}
.lang-switch a {
  color: var(--muted);
  text-decoration: none;
}
.lang-switch a:hover {
  color: var(--gold);
}
.lang-switch a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.lang-switch [aria-current="true"] {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
}
.lang-switch > span[aria-hidden] {
  opacity: .35;
}
@media (max-width: 800px) {
  .header nav.lang-switch {
    font-size: 11px;
    gap: 4px;
    margin-left: 0;
    order: 1;
  }
  .header .theme-toggle {
    margin-left: auto;
    order: 2;
  }
  .header .menu-toggle {
    order: 3;
  }
}
@media (max-width: 380px) {
  .header nav.lang-switch {
    font-size: 10px;
    gap: 2px;
  }
}
