/* Photo framing for the Marbella homepage and Private Day Charters. */
.hero-grid > *,
.grid > .card {
  min-width: 0;
}

.hero-photo img,
.card > img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-photo img {
  object-fit: cover;
  aspect-ratio: 8 / 5;
  object-position: center 55%;
}

.hero-photo .marina-credit {
  bottom: 12px;
  left: 16px;
  max-width: calc(100% - 32px);
  padding: 3px 7px;
  border-radius: 5px;
  background: rgb(9 32 46 / 72%);
  color: #fff;
  font-size: 0.6875rem;
  line-height: 1.35;
}

.marina-credit strong {
  display: inline;
  color: inherit;
  font-size: inherit;
}

.card > img {
  aspect-ratio: 16 / 9;
}

/* Each reservation illustration occupies one square in a three-panel image. */
.reservation-step-image {
  background-size: 306% auto;
}
