/* H5 Real Estate — property microsite v1 */
body.single-h5_property #site-header, body.single-h5_property header.site-header, body.single-h5_property .site-header:not(.h5h-header) {display:none!important}
body.single-h5_property {background:#f5f7fa}
.h5re-microsite{font-family:'Plus Jakarta Sans',Arial,sans-serif;color:#18324b;line-height:1.6}
.h5re-microsite *, .h5re-microsite *::before,.h5re-microsite *::after{box-sizing:border-box}
.h5re-shell{width:min(1240px,calc(100% - 40px));margin-inline:auto}
.h5re-hero{position:relative;max-width:1600px;margin:0 auto;background:#e9eff3}
.h5re-hero-grid{height:430px;display:grid;grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr;gap:5px;overflow:hidden}
.h5re-hero-image{display:block;border:0;padding:0;background:#d8e2e8;cursor:pointer;overflow:hidden;min-width:0;min-height:0}
.h5re-hero-primary{grid-row:span 2}
.h5re-hero-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.h5re-hero-image:hover img{transform:scale(1.025)}
.h5re-hero-single{grid-template-columns:1fr}
.h5re-hero-placeholder{height:300px;display:grid;place-items:center;color:#607487}
.h5re-hero-count{position:absolute;right:24px;bottom:18px;background:rgba(9,29,45,.83);color:#fff;padding:7px 15px;border-radius:9px;font-size:13px}
.h5re-micro-nav{position:sticky;top:var(--h5re-header-height,0px);z-index:950;background:#fff;border-bottom:1px solid #e2e9ee;box-shadow:0 3px 12px rgba(17,41,61,.05)}
.h5re-nav-inner{display:flex;gap:27px;overflow-x:auto;scrollbar-width:thin;white-space:nowrap}
.h5re-nav-inner a{display:block;padding:16px 0;color:#36516a;text-decoration:none;font-weight:650;font-size:13px;border-bottom:3px solid transparent}
.h5re-nav-inner a:hover,.h5re-nav-inner a.is-active{color:#087f6a;border-bottom-color:#087f6a}
.h5re-property-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-block:34px 24px}
.h5re-property-heading h1{font-size:clamp(27px,3vw,39px);margin:2px 0 8px;line-height:1.2;color:#12355b}
.h5re-eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.06em;font-weight:750;color:#087f6a;margin:0 0 8px}
.h5re-muted{color:#687a89;margin:0}
.h5re-heading-price{text-align:right;white-space:nowrap}.h5re-heading-price span{display:block;color:#667b8b;font-size:12px}.h5re-heading-price strong{display:block;color:#12355b;font-size:28px}
.h5re-content-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:26px;align-items:start;padding-bottom:55px}
.h5re-content-column{min-width:0}.h5re-panel{background:#fff;border:1px solid #e3eaf0;border-radius:14px;padding:26px;margin-bottom:22px;scroll-margin-top:calc(var(--h5re-header-height,0px) + 80px);box-shadow:0 3px 14px rgba(17,41,61,.025)}
.h5re-panel h2{font-size:22px;color:#12355b;margin:0 0 20px;line-height:1.3}
.h5re-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.h5re-facts>div{padding:14px 16px;background:#f6f9fa;border:1px solid #edf1f4;border-radius:10px}
.h5re-facts span{display:block;color:#778796;font-size:12px;margin-bottom:4px}.h5re-facts strong{font-size:14px;overflow-wrap:anywhere}
.h5re-description{margin-top:20px;color:#465e71}.h5re-description p:last-child{margin-bottom:0}
.h5re-chips{display:flex;flex-wrap:wrap;gap:10px}.h5re-chips span{background:#eff7f4;border:1px solid #dcebe6;border-radius:9px;padding:10px 14px;font-size:14px}
.h5re-floor-image{display:block;max-width:100%;height:auto;border-radius:9px}
.h5re-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.h5re-gallery-grid button{padding:0;border:0;border-radius:9px;overflow:hidden;aspect-ratio:4/3;cursor:pointer;background:#eef3f6}.h5re-gallery-grid img{width:100%;height:100%;object-fit:cover}
.h5re-action{display:inline-flex;align-items:center;justify-content:center;background:#12355b;color:white!important;border-radius:9px;padding:12px 19px;text-decoration:none!important;font-weight:700;font-size:14px;min-height:45px}
.h5re-action:hover{background:#174e83}.h5re-whatsapp{background:#087f6a}.h5re-whatsapp:hover{background:#066654}.h5re-contact-actions{display:flex;flex-wrap:wrap;gap:12px}
.h5re-sidebar{position:sticky;top:calc(var(--h5re-header-height,0px) + 82px)}
.h5re-enquiry-card{background:#fff;border:1px solid #e3eaf0;border-radius:14px;padding:23px;box-shadow:0 6px 22px rgba(17,41,61,.07)}
.h5re-enquiry-card h2{font-size:21px;line-height:1.35;color:#12355b;margin:0 0 10px}.h5re-enquiry-card p{color:#647788;font-size:14px}.h5re-sidebar-price{font-weight:800;color:#12355b!important;font-size:22px!important}.h5re-block{display:flex;width:100%;margin-top:11px}
.h5re-lightbox[hidden]{display:none!important}.h5re-lightbox{position:fixed;inset:0;z-index:100000;background:rgba(0,0,0,.94);display:flex;align-items:center;justify-content:center;padding:55px 65px}
.h5re-lightbox img{max-width:100%;max-height:100%;object-fit:contain}.h5re-lightbox button{position:absolute;background:rgba(255,255,255,.12);color:white;border:0;cursor:pointer;border-radius:7px;font-size:36px;width:45px;height:45px}.h5re-lightbox-close{right:18px;top:16px}.h5re-lightbox-prev{left:12px;top:50%}.h5re-lightbox-next{right:12px;top:50%}.h5re-lightbox-caption{position:absolute;bottom:16px;color:#fff;font-size:13px}
@media(max-width:900px){.h5re-content-layout{grid-template-columns:1fr}.h5re-sidebar{position:static}.h5re-hero-grid{height:350px}}
@media(max-width:600px){.h5re-shell{width:calc(100% - 26px)}.h5re-hero-grid{height:260px;grid-template-columns:1fr 1fr}.h5re-hero-primary{grid-column:1 / -1;grid-row:1}.h5re-hero-image:nth-child(3){display:none}.h5re-hero-count{right:12px;bottom:10px}.h5re-nav-inner{gap:19px}.h5re-nav-inner a{font-size:12px;padding:13px 0}.h5re-property-heading{align-items:flex-start;flex-direction:column;padding-block:22px}.h5re-heading-price{text-align:left}.h5re-heading-price strong{font-size:25px}.h5re-panel{padding:18px;margin-bottom:15px}.h5re-panel h2{font-size:20px}.h5re-facts{grid-template-columns:1fr}.h5re-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.h5re-lightbox{padding:55px 15px}}

/* Phase 2.2 — YouTube video tile and popup */
.h5re-hero-two{grid-template-columns:2fr 1fr;grid-template-rows:1fr}
.h5re-hero-two .h5re-hero-primary{grid-row:auto}
.h5re-video-tile,.h5re-gallery-video{position:relative;display:block;border:0;padding:0;overflow:hidden;background:#102c43;cursor:pointer;color:#fff;min-width:0;min-height:0}
.h5re-video-tile img,.h5re-gallery-video img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}
.h5re-video-tile:hover img,.h5re-gallery-video:hover img{transform:scale(1.04)}
.h5re-video-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.06) 65%)}
.h5re-video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:62px;height:62px;display:grid;place-items:center;border-radius:50%;background:#e62117;color:white;font-size:24px;box-shadow:0 5px 24px rgba(0,0,0,.3);padding-left:4px}
.h5re-video-label{position:absolute;left:12px;right:12px;bottom:18px;text-align:center;color:#fff;font-weight:750;font-size:14px;text-shadow:0 1px 6px #000}
.h5re-video-only{grid-column:1/-1;grid-row:1/-1}
.h5re-gallery-video{border-radius:9px;aspect-ratio:4/3}
.h5re-gallery-video-label{position:absolute;bottom:8px;left:8px;right:8px;font-size:13px;font-weight:700;text-align:center;text-shadow:0 1px 5px #000}
.h5re-gallery-video .h5re-video-play{width:49px;height:49px;font-size:19px}
.h5re-video-modal[hidden]{display:none!important}
.h5re-video-modal{position:fixed;inset:0;z-index:100001;background:rgba(0,0,0,.92);display:flex;justify-content:center;align-items:center;padding:45px 18px}
.h5re-video-modal-content{position:relative;width:min(100%,1000px)}
.h5re-video-frame{position:relative;width:100%;aspect-ratio:16/9;background:#000;border-radius:10px;overflow:hidden}
.h5re-video-frame iframe{width:100%;height:100%;border:0;display:block}
.h5re-video-close{position:absolute;right:0;top:-48px;border:0;background:transparent;color:#fff;font-size:40px;line-height:1;cursor:pointer;width:42px;height:42px}
@media(max-width:600px){.h5re-hero-grid.h5re-hero-two{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}.h5re-hero-two .h5re-hero-primary{grid-column:1/-1;grid-row:1}.h5re-hero-two .h5re-video-tile{grid-column:1/-1;grid-row:2}.h5re-hero-grid .h5re-video-tile{display:block}.h5re-hero-grid:not(.h5re-hero-two):not(.h5re-hero-single) .h5re-video-tile{grid-column:1/-1;grid-row:2}.h5re-video-play{width:46px;height:46px;font-size:18px}.h5re-video-label{font-size:12px;bottom:10px}.h5re-video-modal{padding:30px 10px}}


/* Phase 3H — Mobile hero gallery: one large photo, two equal lower tiles. */
@media (max-width:600px) {
 .h5re-microsite .h5re-hero {overflow:hidden}
 .h5re-microsite .h5re-hero-grid,
 .h5re-microsite .h5re-hero-grid.h5re-hero-two {
   display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
   grid-template-rows:minmax(0,2fr) minmax(0,1fr);
   height:auto;aspect-ratio:4/3;gap:4px;overflow:hidden;
 }
 .h5re-microsite .h5re-hero-grid .h5re-hero-primary,
 .h5re-microsite .h5re-hero-grid.h5re-hero-two .h5re-hero-primary {
   display:block;grid-column:1/-1;grid-row:1;min-width:0;min-height:0;
 }
 .h5re-microsite .h5re-hero-grid .h5re-hero-image:nth-child(2) {
   display:block;grid-column:1;grid-row:2;min-width:0;min-height:0;
 }
 .h5re-microsite .h5re-hero-grid:not(.h5re-hero-two):not(.h5re-hero-single) .h5re-video-tile {
   display:block;grid-column:2;grid-row:2;min-width:0;min-height:0;
 }
 .h5re-microsite .h5re-hero-grid.h5re-hero-two .h5re-video-tile {
   display:block;grid-column:2;grid-row:2;min-width:0;min-height:0;
 }
 .h5re-microsite .h5re-hero-grid.h5re-hero-two .h5re-hero-image:nth-child(2) {grid-column:1;grid-row:2}
 .h5re-microsite .h5re-hero-grid.h5re-hero-single {display:grid;grid-template-columns:1fr;grid-template-rows:1fr;aspect-ratio:16/10}
 .h5re-microsite .h5re-hero-grid.h5re-hero-single .h5re-video-tile {grid-column:1;grid-row:1}
 .h5re-microsite .h5re-hero-grid .h5re-hero-image img,
 .h5re-microsite .h5re-hero-grid .h5re-video-tile img {width:100%;height:100%;object-fit:cover}
 .h5re-microsite .h5re-hero-count {right:9px;bottom:9px;padding:5px 9px;font-size:11px;pointer-events:none}
 .h5re-microsite .h5re-video-play {width:40px;height:40px;font-size:17px}
 .h5re-microsite .h5re-video-label {font-size:11px;bottom:6px}
}
/* Phase 3H — Nearby tabs: grid, not a horizontal scrolling strip. */
.h5re-microsite .h5re-nb-tabs {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;overflow:visible;padding:4px 0 14px}
.h5re-microsite .h5re-nb-tab {display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:60px;white-space:normal;overflow-wrap:anywhere;text-align:center;line-height:1.35;padding:10px 12px;font-size:14px}
.h5re-microsite .h5re-nb-tab img {width:23px;height:23px;flex:0 0 23px}
@media(max-width:600px){.h5re-microsite .h5re-nb-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.h5re-microsite .h5re-nb-tab{font-size:12px;min-height:64px;padding:9px 7px;gap:6px}.h5re-microsite .h5re-nb-tab img{width:19px;height:19px;flex-basis:19px}}
@media(max-width:340px){.h5re-microsite .h5re-nb-tabs{grid-template-columns:1fr}}

/* Blurred, non-interactive map preview; directions are released by the contact gate. */
.h5re-loc-blurred-preview{position:relative;overflow:hidden;border-radius:10px;isolation:isolate}
.h5re-loc-blurred-preview .h5re-loc-map{display:block;width:100%;filter:blur(5px);transform:scale(1.035);pointer-events:none!important}
.h5re-loc-map-cover{position:absolute;inset:0;z-index:2;cursor:default;background:rgba(255,255,255,.06)}
@media(max-width:767px){.h5re-loc-blurred-preview .h5re-loc-map{filter:blur(5px)}}

/* Microsite: keep the enquiry card ahead of sponsored digital ads. */
.h5re-sidebar .h5re-microsite-digital-ads{margin-top:20px}
