/* Estilos para a galeria de álbuns no shortcode */
.risc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.risc-album {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 14px 22px -9px #bbcbd8;
    transition: transform 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

.risc-album:hover {
    transform: translateY(-10px);
}

.risc-album-img {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    background-color: #000;
}

.risc-album-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.risc-album:hover .risc-album-img img {
    transform: scale(1.1);
}

.risc-album-content {
    padding: 20px;
    text-align: center;
}

.risc-album-content h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Estilos para o lightbox */
#risc-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

#risc-lightbox-content {
    max-width: 80%;
    max-height: 80%;
    text-align: center;
}

#risc-lightbox img {
    max-width: 100%;
    max-height: 100%;
}

#risc-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff;
    padding: 10px;
    cursor: pointer;
    border: none;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    border-radius: 50%;
}

/* Exibição responsiva no mobile */
@media only screen and (max-width: 600px) {
    .risc-gallery-grid {
        grid-template-columns: 1fr;
        margin-top: 60px;
    }

    .risc-album {
        margin-bottom: 20px;
    }
}

/* Grid para exibir as imagens do álbum */
.album-gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin: 20px auto;
    max-width: 1640px;
}

.album-gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

/* Estilo para os botões na galeria de álbuns */
.album-gallery-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.album-gallery-buttons .button {
    text-decoration: none;
    cursor: pointer;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.25);
    fill: #FFFFFF;
    color: #FFFFFF;
    background-image: linear-gradient(90deg, #FCC60A, #FB4803);
    background-color: unset;
    border: none;
    transition: 
        background-image 0.6s ease-in-out,
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s ease-in-out,
        color 0.4s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 10px 20px;
    font-size: 15px;
    line-height: 1;
    text-align: center;
}

.album-gallery-buttons .button:hover {
    background-image: linear-gradient(90deg, #FB4803, #FCC60A);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    color: #fff;
}

/* Estilo responsivo para telas menores que 600px (mobile) */
@media only screen and (max-width: 600px) {
    .album-gallery-grid {
        grid-template-columns: 1fr;
        margin: 20px 20px;
    }
}

/* Estilo básico do Lightbox */
.custom-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.custom-lightbox img {
    max-width: 70%;
    max-height: 70%;
    margin-bottom: 20px;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* Estilo para o botão de download */
.download-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 15px;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    border: none;
    background-image: linear-gradient(90deg, #FCC60A, #FB4803);
    background-color: unset;
    color: white;
    border-radius: 12px;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.25);
    fill: #FFFFFF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: 
        background-image 0.6s ease-in-out,
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s ease-in-out,
        color 0.4s ease;
    margin-bottom: 20px;
}

.download-button:hover {
    background-image: linear-gradient(90deg, #FB4803, #FCC60A);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    color: white;
}