/* Transparent portraits sit cleanly on the page instead of showing their old white canvas. */
.hero-visual .doctor-portrait {
  width: 120%;
  height: auto;
  right: -7%;
  bottom: -16px;
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: normal;
  transform: none;
}

.location-card {
  top: 3%;
  right: -2%;
}

.about-visual > img {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: normal;
  transform: translateX(-50%) scale(1.08);
  transform-origin: center bottom;
}

.experience-portrait {
  height: 390px;
}

.experience-portrait > img {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  width: 135%;
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: normal;
  transform: translateX(-50%);
}

@media (max-width: 700px) {
  .hero-visual .doctor-portrait {
    width: 120%;
    right: -10%;
    bottom: -13px;
  }

  .about-visual > img {
    height: 100%;
    transform: translateX(-50%) scale(1.04);
  }

  .experience-portrait {
    height: 350px;
  }

  .experience-portrait > img {
    width: 112%;
  }
}
