.mg-grid-3432 {
    display: grid;
    grid-auto-flow: dense;
}

.mg-item-3432 {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px; /* Default */
    aspect-ratio: 1 / 1;
}

.mg-item-3432 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.mg-item-overlay-3432 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Default */
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mg-item-3432:hover img {
    transform: scale(1.05);
}

.mg-item-3432:hover .mg-item-overlay-3432 {
    opacity: 1;
}

/* Lightbox Styles */
.mg-lightbox-3432 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mg-lightbox-3432.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mg-lightbox-close-3432 {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
}

.mg-swiper-3432 {
    width: 80%;
    height: 80%;
}

.mg-swiper-3432 .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mg-swiper-3432 .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mg-swiper-3432 .swiper-button-next,
.mg-swiper-3432 .swiper-button-prev {
    color: white;
}

.mg-swiper-3432 .swiper-pagination-bullet {
    background: white;
}