/* SLADA Custom Lightbox */
.slada-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slada-lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.slada-lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.slada-lightbox-overlay.active .slada-lightbox-content {
    transform: scale(1);
}

.slada-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
}

.slada-lightbox-close:hover {
    color: var(--color-gold);
}

/* Gallery Thumbnail Specifics */
.news-gallery a.lightbox-trigger {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: zoom-in;
    height: 100%;
    /* Ensure full height of grid cell */
}

.news-gallery a.lightbox-trigger:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.news-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-gallery a.lightbox-trigger:hover img {
    transform: scale(1.05);
}
/* Gallery Layout */
.news-gallery {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 15px !important;
    margin-top: 30px;
    margin-bottom: 30px;
}
.news-gallery div {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

