/* Babbar 50 (YA7): hero framing for /yachts/al-shaali-50-babbar-yacht-rental-dubai/ only, loaded after pages/yacht.css. The 2560x1703 lead shows the vessel at
   x 475 to 2234 (18.6% to 87.3% of its width) and y 541 to 1145. From 901 px the shared photo box sits under a
   left-to-right fade that is opaque to 18% of the box and clear at 52%; with the shared cover crop the stern was under the fade. Here the
   photograph gets its own uncropped box (object-fit:contain, no new pixels and no stretching) in the right 65% of the photo area,
   bottom-aligned and never taller than the area, so the whole vessel is clear of the fade at every desktop width (measured with
   scripts/ui-system/ya7/qa/hero-crop.mjs). The sky at the top and the water at the left edge fade into the page colour through a mask that
   stops before the stern (the left mask ends at 12% of the photograph, the stern is at 18.6%). Phones from 360 px keep the
   shared cover crop, which shows the whole vessel; below 360 px it would cut a few pixels off one end, so there (the Al Shaali 50
   precedent) the photograph gets its own 2560:1703 box across the full width of the photo area, bottom-aligned, which shows the whole
   photograph, and the sky at its top fades into the page colour. */
@media(max-width:359px){
.uirh-yacht.uirh-yacht:is(body *) .pg-hero-bg > .discoverable-photo{inset:auto 0 0 0;width:100%;height:auto;aspect-ratio:2560/1703;object-fit:cover;object-position:50% 50%;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 25%);mask-image:linear-gradient(to bottom,transparent 0,#000 25%)}
}
@media(min-width:901px){
.uirh-yacht.uirh-yacht:is(body *) .pg-hero-bg > .discoverable-photo{inset:auto 0 0 auto;left:35%;width:65%;height:auto;max-height:100%;aspect-ratio:2560/1703;object-fit:contain;object-position:50% 100%;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 22%),linear-gradient(to right,transparent 0,#000 12%);-webkit-mask-composite:source-in;mask-image:linear-gradient(to bottom,transparent 0,#000 22%),linear-gradient(to right,transparent 0,#000 12%);mask-composite:intersect}
}
