/* World Traveler (YA8): hero framing for /yachts/gold-yacht-rental-dubai/ only, loaded after pages/yacht.css. The 1600x1163 aerial lead shows the
   vessel diagonally at x 320 to 1235 (20.0% to 77.2% of its width) and y 0 to 875, with the radar arch at the
   top-left. 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 radar arch and stern were under the fade. Here the photograph gets its own uncropped box (object-fit:contain, no
   new pixels and no stretching) in the right 60% 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/ya8/qa/hero-crop.mjs). The water at the top and the left
   edge fades into the page colour through a short mask that stops before the vessel (top 3%, left 10%). Phones keep the shared
   cover crop from 360 to 480 px, which shows the whole vessel; below 360 px the photograph gets its own 1600:1163 box across the full width
   of the photo area, bottom-aligned, which shows the whole photograph. From 481 to 900 px the photo area is much wider than the
   photograph, so the shared cover crop cut the radar arch and mast (measured: 14% to 25% of the vessel lost between 700 and 900 px); there
   the photograph gets its own uncropped 1600:1163 box, centred below the header and as tall as the rest of the photo area, with its left
   and right edges fading 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:1600/1163;object-fit:cover;object-position:50% 50%;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 3%);mask-image:linear-gradient(to bottom,transparent 0,#000 3%)}
}
@media(min-width:481px) and (max-width:900px){
.uirh-yacht.uirh-yacht:is(body *) .pg-hero-bg > .discoverable-photo{inset:auto auto 0 50%;transform:translateX(-50%);width:auto;max-width:100%;height:calc(100% - var(--hh));aspect-ratio:1600/1163;object-fit:contain;object-position:50% 100%;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 7%,#000 93%,transparent 100%);mask-image:linear-gradient(to right,transparent 0,#000 7%,#000 93%,transparent 100%)}
}
@media(min-width:901px){
.uirh-yacht.uirh-yacht:is(body *) .pg-hero-bg > .discoverable-photo{inset:auto 0 0 auto;left:40%;width:60%;height:auto;max-height:100%;aspect-ratio:1600/1163;object-fit:contain;object-position:50% 100%;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 3%),linear-gradient(to right,transparent 0,#000 10%);-webkit-mask-composite:source-in;mask-image:linear-gradient(to bottom,transparent 0,#000 3%),linear-gradient(to right,transparent 0,#000 10%);mask-composite:intersect}
}
