/*gallery*/

.gallery-top{
   margin-bottom: 94px; 
}
.gallery-top .inner{
    display: flex;
    justify-content: center;
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0 0 90px 0;
    padding: 0;
}

.album-item {
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    margin-bottom: 30px;
}

.album-item:hover {
    transform: translateY(-4px);
}

.album-trigger {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Image wrapper (keeps ratio) */
.album-trigger img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.album-image {
    position: relative;
    display: block;
    overflow: hidden;
    margin-bottom: 12px;
}
.album-date {
    margin: 10px 0 0;
    font-size: 14px;
    color: var(--grey-fourth);
}

.album-title {
    margin: 4px 0 0;
    font-size: 17px;
    color: var(--grey-fifth);
    font-weight: 500;
}

.lightgallery {
    display: none;
}

.album-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.4);
    background-image: url('../img/icon-gallery.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 48px 48px;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.album-trigger:hover .album-image::after {
    opacity: 1;
}


@media (max-width:576px){
    .gallery-top {
        margin-bottom: 50px;
    }
}
@media (min-width: 577px) {

}
@media (min-width: 577px) and (max-width:768px){

}
@media (max-width: 768px){
    .albums-grid {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 769px){

}
@media (min-width: 769px) and (max-width:991px){

    .albums-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (min-width: 992px) and (max-width:1200px){

}
@media (min-width: 1201px) and (max-width:1440px){

}
@media (min-width: 1441px){

}