/* Preserve the image subjects while using the whole opening section. */
.stay-slide[data-slide="0"] img{object-position:center 56%}
.stay-slide[data-slide="1"] img{object-position:62% center}
.stay-slide[data-slide="2"] img{object-position:center center}
.stay-slide[data-slide="3"] img{object-position:center 48%}
.stay-slide{transition:opacity .45s ease}
.gallery-item[data-category="shared"] .image-button{aspect-ratio:1.5}
.gallery-item[data-category="shared"] img{width:100%;height:100%;object-fit:cover}
.contact-hero>.immersive-image{object-position:62% center!important}
@media(max-width:650px){
 .stay-slider{--mobile-photo-height:clamp(290px,46svh,420px);display:flex;flex-direction:column;position:relative;height:auto;min-height:0;max-height:none;color:var(--ink);background:var(--cream)}
 .stay-slider .slide-stage{position:relative;inset:auto;width:100%;height:var(--mobile-photo-height);aspect-ratio:auto;z-index:0}
 .stay-slider .stay-slide img{height:100%;width:100%;object-fit:cover;background:#dcd4b8}
 .stay-slider .stay-slide[data-slide="0"] img{object-position:50% 65%}
 .stay-slider .stay-slide[data-slide="1"] img{object-position:65% center}
 .stay-slider .stay-slide[data-slide="2"] img{object-position:50% center}
 .stay-slider .stay-slide[data-slide="3"] img{object-position:62% center}
 .stay-slider .slide-shade{background:linear-gradient(180deg,#102d2560,transparent 25%),linear-gradient(0deg,#102d2590,transparent 35%)}
 .stay-slider .slide-caption{top:19px;bottom:auto;left:20px;right:20px;font-size:12px;color:white}
 .stay-slider .slide-content{position:static;padding:29px 0 32px;order:2}
 .stay-slider .slide-content .wrap{width:calc(100% - 40px)}
 .stay-slider .slide-content h1{font-size:clamp(45px,12vw,58px);max-width:420px;line-height:1.03;color:var(--ink);text-shadow:none}
 .stay-slider .slide-content h1 em{color:#6b7b60;white-space:nowrap}
 .stay-slider .slide-content .kicker{color:#7c653d;font-size:9px;letter-spacing:1.5px;margin-bottom:14px}
 .stay-slider .slide-content .slide-subtitle{color:#526555;font-size:14px;line-height:1.6;max-width:350px;margin-top:16px}
 .stay-slider .slide-content .actions{margin-top:20px;gap:12px 18px;flex-wrap:wrap}
 .stay-slider .slide-content .button{background:var(--green);color:white;border-color:var(--green);min-height:46px;padding:12px 14px;font-size:12px}
 .stay-slider .slide-contact{color:var(--ink);border-color:#8b9785;font-size:12px;padding:11px 0}
 .stay-slider .slide-navigation{position:absolute;top:calc(var(--mobile-photo-height) - 62px);bottom:auto;left:20px;right:20px;background:transparent;padding:0;order:initial;gap:12px;z-index:2}
 .stay-slider .slide-controls{gap:6px}
 .stay-slider .slide-controls>button{height:44px;min-width:42px;background:#183f3550;color:white;border-color:#ffffff90}
 .stay-slider .slide-controls .slide-pause{width:49px;font-size:11px}
 .stay-slider .slide-dot{width:22px;height:44px}
 .stay-slider .slide-dot span{background:#ffffff90}
 .stay-slider .slide-dot.is-active span{background:#fffefa}
 .stay-slider .slide-dots{gap:7px}
}
@media(max-width:360px){.stay-slider .slide-content .actions{gap:6px 14px}.stay-slider .slide-dot{width:18px}.stay-slider .slide-dots{gap:5px}.stay-slider .slide-controls>button{min-width:36px}.stay-slider .slide-controls .slide-pause{width:44px}}
@media(prefers-reduced-motion:reduce){.stay-slide{transition:none}}

/* Keep the upper meter banks in frame when the portrait still is shown wide. */
.stay-slider .stay-slide[data-slide="2"] img.corridor-photo,
.wide-media > .wide-media-frame > img.corridor-photo,
.gallery-grid .gallery-item[data-category="shared"] img.corridor-photo {
  object-position: center 23%;
}

.facilities-corridor > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 23%;
}

@media (min-width: 1001px) {
  .stay-slider .stay-slide[data-slide="2"] {
    background: #18372d;
  }

  .stay-slider .stay-slide[data-slide="2"] img.corridor-photo {
    position: absolute;
    inset: 0 0 0 auto;
    width: min(55%, 1080px);
  }

  .facilities-corridor > img {
    object-position: 74% 12%;
  }

  .immersive-hero.facilities-hero:after {
    background:
      linear-gradient(90deg, #091914d9 0%, #09191480 36%, #09191412 70%, transparent),
      linear-gradient(0deg, #09191460, transparent 62%);
  }
}
