/* Lane O Performance Pack — gallery CLS fix 2026-05-23
 * Reserves space for lazy-loaded gallery thumbnails so layout doesn't shift.
 * Reversibility: delete this file + remove the wp_enqueue_style call in child theme functions.php.
 */
.hs-gallery-v4-grid-item img,
.gallery-hidden img,
.property-banner .img-fluid {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #f1f1f3;
}

/* property-featured-image (LCP hero) — explicit aspect to prevent its shift too */
.property-featured-image {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* below-fold gallery thumbnails — content-visibility hint helps initial paint */
.hs-gallery-v4-grid-item:not(.hs-gallery-v4-grid-item-01) {
    content-visibility: auto;
    contain-intrinsic-size: 1px 200px;
}
