/* Le due lingue (S09): l'interruttore IT/EN della testata e della guida, e il bollino «IT» sui testi del
   motore rimasti in italiano nel giorno inglese. Solo token --brand-*, 16 px, angoli squadrati. */
.top {
  grid-template-columns: auto 1fr auto auto;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--brand-font-mono);
  font-size: var(--s16);
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 6px;
  color: var(--brand-muted);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 0;
  letter-spacing: 0.08em;
}
.lang-switch a:hover {
  color: var(--brand-text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.lang-switch a[aria-current='true'] {
  color: var(--brand-text);
  border-color: var(--brand-text);
}
.guide-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}
/* Il bollino: piccolo, accanto al testo, mai al posto del testo. */
abbr.lang-it {
  display: inline-block;
  font-family: var(--brand-font-mono);
  font-size: var(--s16);
  line-height: 1.2;
  padding: 0 4px;
  border: 1px solid var(--brand-muted);
  color: var(--brand-muted);
  text-decoration: none;
  vertical-align: baseline;
  cursor: help;
}
@media (max-width: 760px) {
  .top {
    grid-template-columns: 1fr auto;
  }
  .top .brand {
    grid-column: 1;
    grid-row: 1;
  }
  .top .lang-switch {
    grid-column: 2;
    grid-row: 1;
  }
}
