/**
 * AJVESTOR / Real Estate — valuation image composition.
 * The source photograph is 2560×2048 (5:4). It was being cropped into an
 * extremely shallow 330px strip, leaving mostly sky and barely any architecture.
 * Correct only this existing photo in the EN/SV Real Estate overview.
 */
body:is(.page-id-6786, .page-id-8751)
.elementor-element-ba5d3bff .elementor-widget-container > div > div:first-child {
  width: 100%;
  height: clamp(420px, 34vw, 560px) !important;
  overflow: hidden;
}

body:is(.page-id-6786, .page-id-8751)
.elementor-element-ba5d3bff img[src*="AJVESTOR-contemporary-European-architecture"] {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  /* Bring the building up into the frame instead of centering empty sky. */
  object-position: 50% 77% !important;
}

@media (max-width: 767px) {
  body:is(.page-id-6786, .page-id-8751)
  .elementor-element-ba5d3bff .elementor-widget-container > div > div:first-child {
    height: auto !important;
    aspect-ratio: 5 / 4;
  }
  body:is(.page-id-6786, .page-id-8751)
  .elementor-element-ba5d3bff img[src*="AJVESTOR-contemporary-European-architecture"] {
    height: auto !important;
    object-position: center center !important;
  }
}
