.custom-gallery-container {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
}

.custom-gallery-container.reverse {
    flex-direction: row-reverse;
}

.custom-gallery-left {
    flex: 2;
    display: flex;
}

.custom-gallery-left img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    flex-grow: 1;
}

.custom-gallery-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-gallery-small {
    flex: 1;
    display: flex;
}

.custom-gallery-small img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    flex-grow: 1;
}

/* Responsive tablet & mobile */
@media (max-width: 1024px) {
    .custom-gallery-container {
        flex-direction: column;
    }

    .custom-gallery-container.reverse {
        flex-direction: column-reverse;
    }

    .custom-gallery-right {
        flex-direction: row;
        flex-wrap: wrap;
    }
}
