/* The original graduation group photograph has its own generous print on
   the farewell continuation. The measurement placeholder uses these same
   dimensions, so the photo stays complete as the book repaginates. */
.face .prints.memory-farewell-photo {
  margin-top: 16px;
}
.face .prints.memory-farewell-photo .print {
  width: min(100%, calc(var(--ph) * .35));
  max-width: none;
  padding: 6px 6px 8px;
  transform: rotate(-.7deg);
}
.face .prints.memory-farewell-photo .print .ph {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
}
.face .prints.memory-farewell-photo .print figcaption {
  margin-top: 6px;
}
/* Short upright readers reserve space for the scene, chapter heading and
   caption before sizing the full 3:4 photograph. */
@media (min-height: 560px) and (max-height: 759px) {
  .face .prints.memory-farewell-photo .print {
    width: min(100%, calc(var(--ph) * .29));
  }
}
/* A landscape phone keeps the photograph beside the scene and below its
   existing heading, without cropping the group or hiding the caption. */
@media (max-height: 559px) {
  .face .prints.memory-farewell-photo { margin-top: 10px; }
  .face .prints.memory-farewell-photo .print {
    width: calc(var(--ph) * .29 + 8px);
    padding: 4px 4px 6px;
  }
  .face .prints.memory-farewell-photo .print .ph { width: 75%; margin-inline: auto; }
  .face .prints.memory-farewell-photo .print figcaption { margin-top: 4px; }
}
