.cgc-gallery {
    display: grid;
    grid-template-columns: repeat(var(--cgc-columns), minmax(0, 1fr));
    gap: 20px;
}

.cgc-gallery-item {
    display: block;
    overflow: hidden;
}

.cgc-gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.cgc-gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .cgc-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .cgc-gallery {
        grid-template-columns: 1fr;
    }
}