/**
 * Static home-interior photo bands on public index / state landing pages.
 * 3 across (very wide) · 2 on laptop · 1 on mobile. No crop, no animation.
 */

.homes-pix-band {
    display: block;
    clear: both;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: clamp(1.25rem, 3.5vw, 2.75rem) clamp(0.5rem, 3vw, 1.25rem);
    background: #070b14;
    box-sizing: border-box;
}

.homes-pix-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(0.75rem, 2vw, 1.25rem);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
    justify-items: center;
}

.homes-pix-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.homes-pix-img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: min(52vh, 520px);
    object-fit: contain;
    object-position: center;
    border: 1px solid rgba(45, 212, 191, 0.18);
    border-radius: 4px;
    background: #0a101c;
    box-shadow:
        0 0 32px rgba(45, 212, 191, 0.06),
        inset 0 0 40px rgba(0, 0, 0, 0.25);
}

/* Laptop — two side by side */
@media (min-width: 768px) {
    .homes-pix-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .homes-pix-item:nth-child(3):last-child {
        grid-column: 1 / -1;
        max-width: calc(50% - 0.625rem);
    }
}

/* Very wide — three side by side */
@media (min-width: 1280px) {
    .homes-pix-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .homes-pix-item:nth-child(3):last-child {
        grid-column: auto;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .homes-pix-band {
        padding-inline: clamp(0.25rem, 2vw, 0.75rem);
    }

    .homes-pix-img {
        max-height: min(48vh, 420px);
    }
}
