/* Keep room photos and captions aligned across both cards. */
.room-grid{align-items:stretch}
.room-grid .room>img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.room-grid .room>img[src*="uluwatu"]{object-position:58% 50%}
.room-grid .room-info small{display:block;line-height:1.4}
.room-grid .room-info p{min-height:3em;margin:0}
@media(max-width:760px){.room-grid .room-info h3{font-size:clamp(34px,8.6vw,48px)!important}.room-grid .room-info p{min-height:3em}}

/* The room photo links directly to the corresponding room page. */
.room-grid .room-photo-link{position:absolute;inset:0;display:block;z-index:1}
.room-grid .room-photo-link img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.room-grid .room-photo-link img[src*="uluwatu"]{object-position:58% 50%}
.room-grid .room:after{pointer-events:none;z-index:2}
.room-grid .room-info{pointer-events:none}
.room-grid .room-info a{pointer-events:auto}
.room-grid .room-photo-link:focus-visible{outline:3px solid #e3bd70;outline-offset:-5px}

/* Put captions above the photo shading on every screen size. */
.room-grid .room-info{z-index:3!important;color:#fff!important;opacity:1!important}
.room-grid .room-info h3,.room-grid .room-info small,.room-grid .room-info p,.room-grid .room-info a{color:#fff!important;opacity:1!important;text-shadow:0 1px 6px #0008}
.room-grid .room:after{background:linear-gradient(180deg,transparent 25%,rgba(8,7,5,.25) 48%,rgba(8,7,5,.94) 100%)!important}

/* Award is for Little Bali as a whole; keep the supplied artwork intact. */
.room-grid .room-award{position:absolute;z-index:3;top:20px;right:20px;width:clamp(140px,15vw,190px);max-width:42%;pointer-events:none;box-shadow:0 3px 14px #0003}.room-grid .room-award img{display:block;width:100%;height:auto;object-fit:contain;filter:none}@media(max-width:760px){.room-grid .room-award{top:14px;right:14px;width:150px;max-width:40%}}
