/* Lightbox Nativo */
.ds-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.ds-lightbox.active {
    display: flex;
}

.ds-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.ds-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
}

.ds-lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.ds-lightbox-close:hover {
    color: #ccc;
}

.ds-lightbox-prev,
.ds-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    padding: 20px;
    user-select: none;
}

.ds-lightbox-prev {
    left: 20px;
}

.ds-lightbox-next {
    right: 20px;
}

.ds-lightbox-prev:hover,
.ds-lightbox-next:hover {
    color: #ccc;
}

/* Galeria de recursos */
.recurso-galeria {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.recurso-galeria a {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.recurso-galeria img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.recurso-galeria a:hover img {
    transform: scale(1.05);
}
