/*
 * Safari/iOS compatibility overrides.
 * Keep replaced elements free of generated content; WebKit may replace the
 * actual image when the CSS content property is applied directly to <img>.
 */
body.page-home .portrait-card img {
  content: normal;
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
