/* Published property photos, with a native touch rail and an accessible lightbox. */
.stay-gallery [hidden],.stay-lightbox [hidden]{display:none!important}
.property-visual.stay-gallery{min-width:0;max-width:100%;overflow:hidden}
.stay-gallery-track{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr));gap:8px;min-width:0;aspect-ratio:2.25;overflow:hidden;border-radius:20px;outline-offset:5px}
.stay-gallery-item{min-width:0;min-height:0;margin:0;overflow:hidden;background:#e7f2f6}
.stay-gallery-item:first-child{grid-row:span 2}
.stay-gallery-item:nth-child(n+6){display:none}
.stay-gallery--1 .stay-gallery-track{grid-template-columns:1fr;grid-template-rows:1fr;aspect-ratio:2.1}
.stay-gallery--2 .stay-gallery-track{grid-template-columns:1fr 1fr;grid-template-rows:1fr;aspect-ratio:2.1}
.stay-gallery--1 .stay-gallery-item:first-child,.stay-gallery--2 .stay-gallery-item:first-child{grid-row:auto}
.stay-gallery--3 .stay-gallery-item:not(:first-child){grid-column:2 / 4}
.stay-gallery--4 .stay-gallery-item:nth-child(4){grid-column:2 / 4}
.stay-gallery-photo{position:relative;display:block;width:100%;height:100%;color:#1c1c28;overflow:hidden;isolation:isolate;touch-action:auto;-webkit-tap-highlight-color:transparent}
.stay-gallery-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.2,.65,.25,1);user-select:none;-webkit-user-select:none}
.stay-gallery-photo:focus-visible{outline:3px solid #2583a4;outline-offset:-5px;border-radius:inherit}
.stay-gallery-expand{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:34px;height:34px;border:1px solid #ffffffa6;border-radius:50%;background:#ffffffd9;backdrop-filter:blur(8px);opacity:0;transform:translateY(4px);transition:opacity .2s ease,transform .2s ease;pointer-events:none}
.stay-gallery-expand svg{width:17px;height:17px;stroke:#26566b}
.stay-gallery.is-enhanced .stay-gallery-photo:focus-visible .stay-gallery-expand{opacity:1;transform:none}
.stay-gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 1px 0}
.stay-gallery-progress{display:flex;align-items:center;gap:12px;margin:0;color:#536773;font-size:12px;font-variant-numeric:tabular-nums}
.stay-gallery-progress>[data-gallery-position]{color:#1c1c28;font-weight:600}
.stay-gallery-swipe-hint,.stay-gallery-arrows{display:none}
.stay-gallery-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.stay-gallery-all,.stay-gallery-arrows button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid #c4d9e3;border-radius:100px;background:#f5fafc;color:#203e4b;cursor:pointer;font:inherit;font-size:12px;font-weight:600;transition:background-color .2s ease,border-color .2s ease,transform .2s ease}
.stay-gallery-all{padding:10px 16px}.stay-gallery-all svg{width:16px;height:16px;stroke:#367b98}
.stay-gallery-arrows button{width:40px;min-height:40px;padding:0;font-size:20px}
.stay-gallery-arrows button:disabled{opacity:.35;cursor:default}
.stay-gallery-all:focus-visible,.stay-gallery-arrows button:focus-visible{outline:3px solid #2583a4;outline-offset:3px}
.stay-gallery-fallback[hidden]{display:none!important}
@media(hover:hover){.stay-gallery.is-enhanced .stay-gallery-photo:hover img{transform:scale(1.025)}.stay-gallery.is-enhanced .stay-gallery-photo:hover .stay-gallery-expand{opacity:1;transform:none}.stay-gallery-all:hover,.stay-gallery-arrows button:not(:disabled):hover{background:#e5f2f8;border-color:#8bbad0}.stay-gallery-all:active,.stay-gallery-arrows button:not(:disabled):active{transform:translateY(1px)}}
@media(max-width:850px){
 .stay-gallery .stay-gallery-track{display:flex;gap:12px;aspect-ratio:auto;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:0;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;padding-block:2px 3px;border-radius:0}
 .stay-gallery-track::-webkit-scrollbar{display:none}
 .stay-gallery-track .stay-gallery-item,.stay-gallery-track .stay-gallery-item:first-child,.stay-gallery-track .stay-gallery-item:nth-child(n+6){display:block;flex:0 0 calc(100% - 30px);aspect-ratio:1.27;scroll-snap-align:start;scroll-snap-stop:normal;border-radius:20px}
 .stay-gallery-track .stay-gallery-item:only-child{flex-basis:100%}
 .stay-gallery-photo img{transform:none!important}
 .stay-gallery-expand{opacity:1;transform:none;right:12px;bottom:12px}
 .stay-gallery-swipe-hint{display:inline;color:#608091;font-size:11px}
 .stay-gallery-arrows{display:flex;align-items:center;gap:6px}
 .stay-gallery-toolbar{gap:10px;padding-top:11px;flex-wrap:wrap}
 .stay-gallery-all{min-height:40px;padding:9px 12px;font-size:11px}
 .stay-gallery-progress{gap:8px;font-size:11px}
}
@media(max-width:390px){.stay-gallery-actions{gap:6px}.stay-gallery-arrows button{width:34px;min-height:34px}.stay-gallery-all{padding-inline:10px}.stay-gallery-swipe-hint{display:none}}
html.stay-gallery-open{overflow:hidden;overscroll-behavior:none}
.stay-lightbox{box-sizing:border-box;width:100%;max-width:100vw;height:100%;max-height:100vh;max-height:100dvh;margin:auto;border:0;padding:0;background:transparent;color:#1c1c28;overflow:hidden;outline:none}
.stay-lightbox::backdrop{background:rgba(24,43,60,.34);backdrop-filter:blur(18px) saturate(.8);-webkit-backdrop-filter:blur(18px) saturate(.8);animation:stay-gallery-backdrop-in .24s ease both}
.stay-lightbox[open]{animation:stay-gallery-dialog-in .24s cubic-bezier(.2,.65,.25,1) both}
.stay-lightbox.is-closing{animation:stay-gallery-dialog-out .16s ease both}.stay-lightbox.is-closing::backdrop{animation:stay-gallery-backdrop-out .16s ease both}
.stay-lightbox-shell{display:grid;grid-template-rows:auto minmax(0,1fr) auto;box-sizing:border-box;width:100%;height:100%;padding:clamp(12px,2.4vw,28px);gap:12px}
.stay-lightbox-header{display:flex;align-items:center;gap:14px;width:min(100%,1280px);margin:0 auto}
.stay-lightbox-header h2{min-width:0;max-width:min(65%,700px);margin:0;padding:9px 14px;border:1px solid #ffffff80;border-radius:100px;background:#fffffff0;font-size:13px;line-height:1.5;font-weight:500;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;backdrop-filter:blur(10px)}
.stay-lightbox-header>[data-viewer-count]{flex-shrink:0;margin:0 0 0 auto;padding:9px 12px;background:#fffffff0;border:1px solid #ffffff80;border-radius:100px;font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums;backdrop-filter:blur(10px)}
.stay-lightbox-close,.stay-lightbox-footer>button{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border:1px solid #ffffffb3;border-radius:50%;padding:0;background:#fffffff0;color:#1c1c28;cursor:pointer;backdrop-filter:blur(10px);transition:background-color .2s ease,transform .2s ease;font-family:Arial,Helvetica,sans-serif;font-size:30px;line-height:1}
.stay-lightbox-close:focus-visible,.stay-lightbox-footer>button:focus-visible,.stay-lightbox-track:focus-visible{outline:3px solid #79d6ed;outline-offset:3px}
.stay-lightbox-track{display:flex;min-width:0;min-height:0;gap:20px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;outline-offset:2px;border-radius:14px}
.stay-lightbox-track::-webkit-scrollbar{display:none}
.stay-lightbox-slide{position:relative;display:grid;grid-template-rows:minmax(0,1fr) auto;flex:0 0 100%;min-width:0;min-height:0;height:100%;margin:0;scroll-snap-align:center;scroll-snap-stop:normal;align-items:center;justify-items:center;gap:12px}
.stay-lightbox-slide>img{display:block;width:100%;height:100%;min-height:0;max-width:1280px;object-fit:contain;border-radius:8px;opacity:0;user-select:none;-webkit-user-select:none;transition:opacity .18s ease}
.stay-lightbox-slide>img[data-ready]{opacity:1}
.stay-lightbox-caption{max-width:min(82ch,92%);padding:7px 12px;border:1px solid #ffffff80;border-radius:12px;background:#fffffff0;text-align:center;color:#203e4b;font-size:12px;line-height:1.6;backdrop-filter:blur(10px)}
.stay-lightbox-message{position:absolute;inset:calc(50% - 30px) 20px auto;margin:0 auto;padding:14px 18px;width:fit-content;max-width:calc(100% - 40px);border-radius:12px;background:#fffffff0;color:#203e4b;text-align:center;font-size:14px;line-height:1.6}
.stay-lightbox-footer{display:flex;align-items:center;justify-content:center;gap:18px;min-height:44px}
.stay-lightbox-footer>p{margin:0;padding:7px 12px;border-radius:100px;background:#fffffff0;color:#203e4b;font-size:11px;line-height:1.5;backdrop-filter:blur(10px)}
.stay-lightbox-footer>button{font-size:24px}.stay-lightbox-footer>button:disabled{opacity:.4;cursor:default}
.stay-lightbox-demo{grid-column:1/-1;margin:0;text-align:center;color:white;font-size:11px;line-height:1.5;text-shadow:0 1px 6px #1c1c28}
@media(hover:hover){.stay-lightbox-close:hover,.stay-lightbox-footer>button:not(:disabled):hover{background:white;transform:translateY(-1px)}}
@media(max-width:580px){
 .stay-lightbox-shell{padding:12px 8px max(12px,env(safe-area-inset-bottom));gap:10px}
 .stay-lightbox-header{padding-inline:4px;gap:8px;box-sizing:border-box}
 .stay-lightbox-header h2{max-width:calc(100% - 162px);padding-inline:10px;font-size:11px}
 .stay-lightbox-header>[data-viewer-count]{font-size:11px;padding-inline:10px}
 .stay-lightbox-track{gap:12px}
 .stay-lightbox-slide{gap:10px}
 .stay-lightbox-slide>img{border-radius:6px}
 .stay-lightbox-caption{font-size:11px;padding:6px 10px;max-width:90%}
 .stay-lightbox-footer{gap:12px}.stay-lightbox-footer>p{font-size:10px}
}
@keyframes stay-gallery-dialog-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
@keyframes stay-gallery-dialog-out{from{opacity:1;transform:none}to{opacity:0;transform:translateY(5px)}}
@keyframes stay-gallery-backdrop-in{from{opacity:0}to{opacity:1}}
@keyframes stay-gallery-backdrop-out{from{opacity:1}to{opacity:0}}
@media(prefers-reduced-motion:reduce){.stay-gallery *, .stay-lightbox *, .stay-lightbox, .stay-lightbox::backdrop{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
