/* v58 — minimal image correction on top of the approved v57 build. */

/* The employer introduction image should end where the photo ends; no tall empty panel. */
.demo-photo.demo-photo-lifestyle {
  width: 100%;
  max-width: 680px;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 730 / 622 !important;
  margin: 28px auto 0;
  overflow: hidden;
  border-radius: 28px;
  background: #f5f1e9;
}
.demo-photo.demo-photo-lifestyle img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 44% !important;
  padding: 0 !important;
}

/* Show the actual approved lifestyle photograph in the presentation card. */
.featured-product-grid .lifestyle-box-card {
  height: 255px;
  overflow: hidden;
  background: #f5f1e9;
}
.featured-product-grid .lifestyle-box-card img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 48% !important;
  padding: 0 !important;
}

@media (max-width: 760px) {
  .demo-photo.demo-photo-lifestyle {
    max-width: 100%;
    border-radius: 24px;
  }
  .featured-product-grid .lifestyle-box-card {
    height: 240px;
  }
}
