/* Keep the doctor's seated portrait intact at each responsive size. */
.page-hero-media--portrait {
  width: min(420px, 100%);
  margin-inline: auto;
}

.page-hero-media--portrait::before {
  display: none;
}

.page-hero-media--portrait img {
  height: auto;
  aspect-ratio: 4 / 5;
}

.gallery--portrait img:first-child {
  grid-column: 1;
  grid-row: 1;
  height: 100%;
}

.gallery--portrait img:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}

.gallery--portrait img:last-child {
  grid-column: 2;
  grid-row: 1 / 3;
}

@media (max-width: 620px) {
  .gallery--portrait img,
  .gallery--portrait img:first-child {
    grid-column: auto;
    grid-row: auto;
    height: 250px;
  }

  .gallery--portrait img:last-child {
    height: auto;
    aspect-ratio: 4 / 5;
  }
}
