.obra-gallery-22ac8abb {
    width: 100%;
}
.obra-gallery-grid {
    display: grid;
    /* Default fallback, overridden by Elementor controls */
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 100%;
}
.obra-gallery-item {
    width: 100%;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.obra-gallery-img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.3s ease;
}
.obra-gallery-item:hover .obra-gallery-img {
    transform: scale(1.05);
}

/* Lightbox Styles */
.obra-gallery-lightbox-overlay-22ac8abb {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.obra-gallery-lightbox-overlay-22ac8abb.active {
    opacity: 1;
}
.obra-gallery-lightbox-container-22ac8abb {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.obra-gallery-lightbox-img-22ac8abb {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    border-radius: 4px;
}
.obra-gallery-lightbox-close-22ac8abb {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    z-index: 9999999;
    transition: color 0.2s;
}
.obra-gallery-lightbox-close-22ac8abb:hover {
    color: #ccc;
}