
/* V85.1: enforce the editorial two-up / one-showcase rhythm */
html body .cms-section .oa-v85-listing-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:clamp(18px,2.5vw,34px)!important;align-items:stretch!important}
html body .oa-v85-listing-grid>.oa-v85-item{grid-column:span 1!important;min-width:0;width:100%}
html body .oa-v85-listing-grid>.oa-v85-showcase{grid-column:1/-1!important}
html body .oa-v85-listing-grid .cms-card{width:100%;height:100%}
html body .oa-v85-listing-grid .cms-photo{height:auto!important;aspect-ratio:4/3}
html body .oa-v85-listing-grid .oa-v85-showcase .cms-photo{aspect-ratio:2/1}
/* Property photos take priority over the generic aerial backdrop */
body:has(#detail) .oa-v72-backdrop,body:has(#detail) .oa-v72-detail-banner{display:none!important}
html body #detail .oa-property-detail-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:24px!important}
html body #detail .oa-property-left,html body #detail .oa-property-right{width:100%!important;max-width:none!important;min-width:0!important;grid-column:1/-1!important}
html body #detail #property-gallery{width:100%!important;max-width:none!important}
html body #detail .oa-v85-gallery-grid{width:100%;grid-template-columns:2fr 1fr 1fr;gap:12px}
html body #detail .oa-v85-gallery-grid button{min-height:140px}
html body #detail .oa-v85-gallery-grid button:first-child{min-height:450px}
html body #detail .oa-v85-gallery-grid img{display:block;width:100%;height:100%;object-fit:cover}
html body .oa-v85-lightbox{position:fixed!important;inset:0!important;z-index:2147483640!important;background:#080808!important;width:100vw!important;height:100dvh!important;box-sizing:border-box!important}
html body .oa-v85-lightbox>.oa-v85-full-image{display:block!important;max-width:calc(100vw - 112px)!important;max-height:calc(100dvh - 155px)!important;width:auto!important;height:auto!important;object-fit:contain!important}
html body.oa-v85-gallery-open{overflow:hidden!important}
@media(max-width:700px){html body .cms-section .oa-v85-listing-grid{grid-template-columns:1fr!important}html body .oa-v85-listing-grid>.oa-v85-showcase{grid-column:1!important}html body #detail .oa-v85-gallery-grid{grid-template-columns:1fr 1fr}html body #detail .oa-v85-gallery-grid button:first-child{grid-column:1/-1;min-height:230px}html body .oa-v85-lightbox>.oa-v85-full-image{max-width:calc(100vw - 60px)!important;max-height:calc(100dvh - 160px)!important}}
