.site-header {
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: .5rem clamp(1rem, 4vw, 3.5rem);
  background: #f5f7f7;
  color: #342a2b;
  border-bottom: 1px solid #d6cece;
  font: 500 .81rem/1.25 'Jost', system-ui, sans-serif;
  letter-spacing: .035em;
}
.site-header a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  white-space: nowrap;
  text-decoration: none;
}
.site-header a[aria-current], .site-header a:hover {
  color: #75414b;
  text-decoration: underline;
  text-underline-offset: .4em;
  text-decoration-thickness: 1px;
}
.site-header a:focus-visible { outline: 2px solid #854c57; outline-offset: 2px; }
.site-header [hidden], .site-header [data-nav-lang='it'], html:lang(it) .site-header [data-nav-lang='en'] { display: none; }
html:lang(it) .site-header [data-nav-lang='it'] { display: inline; }
.site-brand { justify-self: start; }
.site-brand img { display: block; width: auto; height: clamp(18px, 2.2vw, 26px); max-width: 100%; }
.site-links, .site-languages { display: flex; align-items: center; }
.site-links { justify-content: center; column-gap: clamp(1rem, 3vw, 2.8rem); flex-wrap: wrap; }
.site-languages { justify-self: end; gap: .15rem; font-size: .73rem; }
.site-languages a { justify-content: center; min-width: 30px; }
.site-languages span { color: #786d70; }
/* The DC fullscreen shell sets a viewport height; the sticky header needs the full document. */
html:root, html:root body { height: auto; min-height: 100vh; }
html { scroll-padding-top: 70px; }
@media (max-width: 48rem) {
  .site-header { grid-template-columns: 1fr auto; gap: 0 .75rem; padding-block: 0; }
  .site-links { grid-column: 1 / -1; grid-row: 2; column-gap: clamp(.65rem, 4vw, 1.5rem); }
  .site-languages { grid-row: 1; grid-column: 2; }
  html { scroll-padding-top: 105px; }
}
