/* Preserve Homecare cutout framing within the approved section layouts. */
.homecare-template .clinic-journal__portrait img {
  top: auto;
  bottom: 0;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.homecare-template .page-hero [data-original-homecare-cutout] {
  max-width: 100%;
}
.homecare-template .clinical-overview__visual img,
.homecare-template .clinical-overview__mobile-cutout img {
  object-fit: contain !important;
  object-position: center bottom !important;
}
/* Taller legacy descriptions must stay clear of the adjacent cutout tile. */
@media (max-width: 767px) {
  .homecare-template .clinical-overview__mobile-cutout {
    overflow: hidden;
  }
  .homecare-template .clinical-overview__mobile-cutout img {
    transform: none;
    max-height: 100%;
  }
}
