/* Cache-safe layout correction loaded after the main stylesheet. */
.operations-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.operations-gallery .gallery-wide {
  grid-column: auto;
}

@media (max-width: 960px) {
  .operations-gallery {
    grid-template-columns: 1fr;
  }
}

/* Align the two-line company wordmark in both header and footer. */
.brand > .brand-copy {
  position: relative;
  display: block;
  width: max-content;
  min-width: 0;
  padding-top: 27px;
}

.brand > .brand-copy > strong {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  color: var(--blue);
  font-size: 17px;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand > .brand-copy > strong > span {
  display: inline;
}

.brand > .brand-copy > small {
  display: flex;
  justify-content: flex-start;
  gap: 9px;
  width: max-content;
  margin-top: 0;
}

.brand-light > .brand-copy > strong {
  color: #fff;
}

.footer-brand .brand > .brand-copy > strong {
  font-size: 17px;
}

@media (max-width: 600px) {
  .site-header .brand > img {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .site-header .brand > .brand-copy {
    padding-top: 19px;
  }

  .site-header .brand > .brand-copy > strong {
    font-size: 13px;
  }

  .footer-brand .brand > .brand-copy {
    padding-top: 19px;
  }

  .footer-brand .brand > .brand-copy > strong {
    font-size: 13px;
  }

  .site-header .brand > .brand-copy > small,
  .footer-brand .brand > .brand-copy > small {
    gap: 5px !important;
  }
}
