.album_list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.album_item {
    background: var(--color-background-light-secondary);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 20px;
}

.album_header {
    margin-bottom: 20px;
}

.album_header h3 {
    /* margin-bottom: 8px;
    font-size: 24px;
    line-height: 1.3; */
    margin-bottom: 10px;
    line-height: 1.3;
    transition: .3s;
}

.album_header p {
    /* color: var(--color-text-secondary);
    line-height: 1.7;
    font-size: 15px; */
    display: block;
    margin-bottom: 22px;

    font-size: 15px;
    line-height: 1.7;

    color: var(--color-text-secondary);
}

/* GALERIA */

.album_photos {
    display: flex;
    gap: 15px;

    overflow-x: auto;
    overflow-y: hidden;

    padding-bottom: 8px;

    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.album_photos::-webkit-scrollbar {
    height: 8px;
}

.album_photos::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,.2);
    border-radius: 20px;
}

.album_photos a {
    flex: 0 0 auto;

    width: 280px;
    height: 280px;
    /* height: 180px; */

    overflow: hidden;
    border-radius: 12px;

    position: relative;
}

.album_photos img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .4s;
}

.album_photos a:hover img {
    transform: scale(1.05);
}

/* RESPONSIVO */

@media (max-width: 768px) {

    .album_item {
        padding: 16px;
    }

    .album_photos a {
        width: 240px;
        height: 240px;
        /* height: 160px; */
    }

}

@media (max-width: 480px) {

    .album_photos a {
        width: 220px;
        height: 220px;
        /* height: 150px; */
    }

}

/* \\\/// */

.gallery_modal {
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,.96);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;

    transition: .3s;

    z-index: 99999;
}

.gallery_modal.active {
    opacity: 1;
    visibility: visible;
}

.gallery_modal_img {
    max-width: 90%;
    max-height: 85vh;

    border-radius: 10px;
}

.gallery_prev,
.gallery_next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 55px;
    height: 55px;

    border: 0;
    cursor: pointer;

    border-radius: 50%;

    font-size: 20px;

    background: rgba(255,255,255,.15);
    color: #fff;
}

.gallery_prev {
    left: 20px;
}

.gallery_next {
    right: 20px;
}

.gallery_close {
    position: absolute;
    top: 20px;
    right: 20px;

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    color: #fff;

    border-radius: 50%;
    background: rgba(255,255,255,.15);
}

.gallery_counter {
    position: absolute;

    bottom: 25px;
    left: 50%;

    transform: translateX(-50%);

    padding: 8px 16px;

    border-radius: 30px;

    color: #fff;

    background: rgba(255,255,255,.15);
}

@media(max-width:768px){

    .gallery_prev,
    .gallery_next{
        width:45px;
        height:45px;
    }

    .gallery_modal_img{
        max-width:95%;
    }

}