/* Eigene Angebotsbilder: jeder Datensatz zeigt sein eigenes hochgeladenes Bild. */
.offer-card .hp-offer-photo {
  width: 100%;
  max-width: 100%;
  display: block;
  margin: 0 0 20px;
  overflow: hidden;
  background: #eef3f8;
  border-radius: 16px 0 16px 16px;
}
.offer-card .hp-offer-photo--list {
  aspect-ratio: 16 / 10;
}
.offer-card .hp-offer-photo--detail {
  min-height: 180px;
  max-height: 530px;
}
.offer-card .hp-offer-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0;
  border: 0;
}
.offer-card .hp-offer-photo--list img {
  object-fit: cover;
  object-position: center;
}
.offer-card .hp-offer-photo--detail img {
  max-height: 530px;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.offer-card .hp-offer-photo--empty {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  color: #45617f;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  padding: 20px;
}
@media (max-width: 640px) {
  .offer-card .hp-offer-photo--detail {
    max-height: none;
  }
  .offer-card .hp-offer-photo--detail img {
    max-height: none;
  }
}
