/* Scale the 1558 Avenue Road portrait and its sign artwork in the same box. */
html body #main figure[data-process-photo] > picture[data-gdb-avenue-sign="contain"] {
  display: block;
  width: min(100%, 28rem, 49svh) !important;
  margin-inline: 0 auto;
}
html body #main figure[data-process-photo] > picture[data-gdb-avenue-sign="contain"] > img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto 1044 / 1507 !important;
  object-fit: contain !important;
  object-position: center !important;
}
html body #main figure[data-process-photo] > picture[data-gdb-avenue-sign="contain"]::after {
  background-size: contain;
  background-position: center;
}
/* This account-page photograph sits behind the portal introduction. */
@media (min-width: 901px) {
  html body #main section.hero.on-dark > img.hero__media[src="/img/photos/portal-hero-1800.webp"] {
    height: 100% !important;
    width: 100% !important;
    object-fit: contain !important;
  }
}
