.hero .hero-image {
  position: relative;
  background: none;
  aspect-ratio: 3 / 2;
  width: 100%;
  min-height: 0;
  align-self: stretch;
}

.hero .hero-image > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.card .photo,
.modal-photo,
.photo-preview {
  object-fit: contain;
  object-position: center;
}

@media (max-width: 780px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
}
