/*==========================================================================
GALLERY PAGE
==========================================================================*/

.nst-gallery-page{

    padding:90px 0;

    background:#F8FAFC;

}

.nst-gallery-page .nst-section-heading{

    text-align:center;

    max-width:760px;

    margin:0 auto 60px;

}

.nst-gallery-page .nst-section-heading h1{

    margin:15px 0;

}

.nst-gallery-page .nst-section-heading p{

    color:#667085;

    font-size:18px;

    line-height:1.8;

}

/*==========================================================================
ALBUM GRID (Gallery Listing)
==========================================================================*/

.nst-gallery-albums{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

/*==========================================================================
ALBUM CARD
==========================================================================*/

.nst-gallery-card{

    background:#fff;

    border:1px solid var(--border);

    border-radius:16px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:.35s ease;

}

.nst-gallery-card:hover{

    transform:translateY(-8px);

    box-shadow:0 25px 55px rgba(0,0,0,.12);

}

.nst-gallery-image{

    display:block;

    overflow:hidden;

}

.nst-gallery-image img{

    width:100%;

    height:200px;

    object-fit:cover;

    transition:.45s ease;

}

.nst-gallery-card:hover .nst-gallery-image img{

    transform:scale(1.08);

}

/*==========================================================================
ALBUM CONTENT
==========================================================================*/

.nst-gallery-content{

    padding:22px;

    text-align:center;

}

.nst-gallery-content h3{

    margin:0 0 10px;

    font-size:22px;

    color:var(--navy);

}

.nst-gallery-content p{

    margin:0 0 18px;

    color:var(--gray);

    font-size:15px;

}

/*==========================================================================
SINGLE GALLERY
==========================================================================*/

.nst-gallery-grid{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));

    gap:24px;

    margin-top:40px;

}

.nst-gallery-item{

    display:block;

    overflow:hidden;

    border-radius:14px;

    background:#fff;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    transition:.35s ease;

}

.nst-gallery-item:hover{

    transform:translateY(-6px);

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}

.nst-gallery-item img{

    display:block;

    width:100%;

    aspect-ratio:4/3;

    object-fit:cover;

    transition:.4s ease;

}

.nst-gallery-item:hover img{

    transform:scale(1.05);

}

/*==========================================================================
RESPONSIVE
==========================================================================*/

@media(max-width:1100px){

    .nst-gallery-albums{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:768px){

    .nst-gallery-albums{

        grid-template-columns:1fr;

    }

    .nst-gallery-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:576px){

    .nst-gallery-grid{

        grid-template-columns:1fr;

    }

}




/*====================================================
LIGHTBOX
====================================================*/

