/* Our Brands page only. Linked from our-brands/index.html. */

/* 1. ila Resort photo: show the whole frame in its own shape, never cropped (desktop and phone copies). */
#i4no2 .image-content-wrapper img {
  aspect-ratio: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

/* 2. White strip between the ila Resort and ila Comfort sections, same height as the strip under ila Comfort (40px). Desktop only: on phone the two cards already sit apart.
   Drawn as a clear 40px border on the bottom of the ila Resort block (the beige stops at the border, the page shows through), because site.js
   zeroes every block margin and writes an inline margin-top:0 !important on the ila Comfort block, which no stylesheet can beat. */
.v2-desk #i4no2 { border-bottom: 40px solid transparent !important; background-clip: padding-box !important; }

/* 3. ila Comfort photo: hotel photos stacked on top of the default one, faded in by the buttons. Box size is never touched. */
.v2-desk #iosti .image-content-wrapper picture { position: relative; display: block; }
.v2-desk #iosti .image-content-wrapper picture .ila-ob-swap {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important;
  aspect-ratio: auto !important; object-fit: cover;
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.v2-desk #iosti .image-content-wrapper picture .ila-ob-swap.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .v2-desk #iosti .image-content-wrapper picture .ila-ob-swap { transition: none; }
}
