/* Only the owner-approved home density, terrain gallery and earlier price form. */
.hm-band{content-visibility:auto;contain-intrinsic-size:auto 1000px}
.hm-band:has(#terrainGallery){contain-intrinsic-size:auto 440px}
#terrainGallery .obra-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
#terrainGallery .obra-photo{margin:0;min-width:0}
#terrainGallery .obra-photo img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:var(--hm-r);background:var(--hm-paper-3)}
#terrainGallery .obra-photo figcaption{margin-top:12px;font:400 14px/1.5 var(--hm-f-body);color:var(--hm-muted)}
.result-wa{margin-block:20px}
.result-wa .btn{max-width:100%;white-space:normal}
.early-price .wrap>div{max-width:620px;margin-inline:auto}
.early-price+.band .gate{grid-template-columns:1fr}
@media(max-width:900px){#terrainGallery .obra-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
 .hm-band{padding-block:48px}
 #terrainGallery .obra-gallery{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:70%;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:12px}
 #terrainGallery .obra-photo{scroll-snap-align:start}
}