/* VOLENG V25.77.4 — homepage hero image fitting only.
   Native image ratio is 656 × 333. Old 1.46 ratio cropped the image on desktop. */
body.v77-home .v77-hero-photo {
  display: block !important;
  position: relative !important;
  align-self: center !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 656 / 333 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  border: 4px solid #fff !important;
  border-radius: 24px !important;
  background: #f0f6fd !important;
  box-shadow: 0 22px 55px rgba(22,60,108,.14) !important;
}
body.v77-home .v77-hero-photo > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 656 / 333 !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: 50% 50% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
/* The old floating label covers part of the image at smaller widths. */
body.v77-home .v77-hero-photo .v77-floating-note { display: none !important; }
@media (max-width: 780px) {
  body.v77-home .v77-hero-photo {
    margin-top: 16px !important;
    width: 100% !important;
    max-height: none !important;
    aspect-ratio: 656 / 333 !important;
    border-width: 3px !important;
    border-radius: 19px !important;
  }
  body.v77-home .v77-hero-photo > img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    aspect-ratio: 656 / 333 !important;
    object-fit: contain !important;
  }
}
