.sgg-grid-601382ac {
    display: grid;
    grid-auto-flow: dense;
    width: 100%;
}

.sgg-item-601382ac {
    position: relative;
    overflow: hidden;
    display: flex;
}

.sgg-grid-601382ac.has-lightbox .sgg-item-601382ac {
    cursor: zoom-in;
}

.sgg-item-601382ac img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.sgg-item-601382ac:hover img {
    transform: scale(1.05);
}

/* Grid Spans - Desktop */
.sgg-size-normal {
    grid-column: span 1;
    grid-row: span 1;
}

.sgg-size-large {
    grid-column: span 2;
    grid-row: span 2;
}

.sgg-size-wide {
    grid-column: span 2;
    grid-row: span 1;
}

.sgg-size-tall {
    grid-column: span 1;
    grid-row: span 2;
}

/* Tablet */
@media (max-width: 1024px) {
    .sgg-size-large, .sgg-size-wide {
        grid-column: span 2;
    }
    .sgg-size-tall {
        grid-row: span 2;
    }
}

/* Mobile — force 2-column grid so large=full width, normal=half width */
@media (max-width: 767px) {
    .sgg-grid-601382ac {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: 180px !important;
    }

    .sgg-size-large {
        grid-column: span 2 !important;
        grid-row: span 1 !important;
    }

    .sgg-size-wide {
        grid-column: span 2 !important;
        grid-row: span 1 !important;
    }

    .sgg-size-normal {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    .sgg-size-tall {
        grid-column: span 1 !important;
        grid-row: span 2 !important;
    }
}