.aigpl-gallery-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.aigpl-gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1 / 1;
}

.aigpl-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.aigpl-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.aigpl-gallery-item:hover img {
    transform: scale(1.05);
}

.aigpl-gallery-carousel {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
    display: block;
    padding-bottom: 40px; /* Space for pagination */
    margin: 20px 0;
}

.aigpl-gallery-carousel .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.aigpl-gallery-carousel .aigpl-gallery-item {
    width: 100%;
}

