/* Shared header alignment for the permanent Retro design.
   Paving, moss, colours and lettering stay in the existing Retro stylesheets. */
html body.grid-site.street-site .masthead {
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
  column-gap: .75rem;
  row-gap: .5rem;
  align-items: center;
}
html body.grid-site.street-site .masthead-brand {
  display: grid;
  grid-area: 1 / 1;
  grid-template-columns: minmax(0, 1fr);
  gap: .25rem;
  justify-self: start;
}
html body.grid-site.street-site .header-tools {
  display: flex;
  grid-area: 1 / 2;
  flex-direction: column;
  align-items: flex-end;
  gap: .25rem;
}
html body.grid-site.street-site .masthead-brand > .wordmark { grid-area: auto; }
html body.grid-site.street-site .masthead-brand > .masthead-note {
  grid-area: auto;
  justify-self: center;
  text-align: center;
  font-size: .75rem;
  line-height: 1rem;
  white-space: nowrap;
}
html body.grid-site.street-site .header-tools > .page-menu { position: relative; }
html body.grid-site.street-site .session-link { white-space: nowrap; }

@media (max-width: 760px) {
  html body.grid-site.street-site .masthead { column-gap: .5rem; }
}

@media (max-width: 400px) {
  html body.grid-site.street-site .masthead-brand > .masthead-note { font-size: clamp(.625rem, 2.8vw, .75rem); }
  html body.grid-site.street-site .masthead .wordmark { font-size: clamp(1rem, 5.5vw, 1.375rem); }
  html body.grid-site.street-site .page-menu > summary { min-width: 0; gap: .375rem; padding-inline: .5rem; font-size: .875rem; }
}

html body.grid-site.street-site .session-link { min-width: 5.5rem; font: 400 .875rem/1.25rem var(--sans); }
html body.grid-site.street-site .header-tools > [hidden] { display: none !important; }
html body.grid-site.street-site .session-status { grid-column: 1 / -1; margin: 0; justify-self: end; max-width: 32rem; font-size: .875rem; }
