/* Shared site masthead. The field comes from the dark homepage. */
body > header.bism-site-header {
  background: linear-gradient(#05070b50, #05070b50), #05070b url("bism-disc-field.svg") center 41% / 100% auto no-repeat;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) auto;
  align-items: center;
  justify-content: stretch;
  min-height: 76px;
  padding: 14px 4%;
  gap: 10px 20px;
}

.bism-site-header > .brand {
  min-height: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bism-site-header > nav {
  justify-content: flex-start;
  align-items: center;
  min-width: 0;
}

.bism-site-header > .about-header-tools {
  grid-column: 1 / -1;
}

@media (max-width: 1199px) {
  body > header.bism-site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .bism-site-header > nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .bism-site-header > .bism-social-links {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 650px) {
  body > header.bism-site-header {
    grid-template-columns: minmax(0, 1fr);
    background-size: auto, auto 300%;
  }

  .bism-site-header > .bism-social-links {
    grid-column: 1;
    grid-row: auto;
    margin-inline-start: 0;
  }
}
