/* =========================
GALLERY PAGE
========================= */

.gallery-page{
    padding:80px 0 120px;
    background:#fafafa;
    overflow:hidden;
}


/* FLOATING AREA */

.floating-gallery-page{
    position:relative;
    min-height: 1200px !important;
    padding-bottom:120px;
}

/* FLOAT ITEMS */

.float-item-page{
    position:absolute;
    display:block;
    overflow:hidden;
    border-radius:22px;
    background:#fff;
    box-shadow:0 15px 35px rgba(0,0,0,0.12);
    transition:
        transform .4s ease,
        box-shadow .4s ease;
    will-change:transform;
}

.float-item-page:hover{
    z-index:50;
    box-shadow:0 25px 60px rgba(0,0,0,0.22);
}


/* IMAGE */

.float-item-page img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}


/* PAGINATION */

.gallery-pagination{
    margin-top:80px;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
}

.gallery-pagination a{
    min-width:48px;
    height:48px;
    padding:0 18px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    border:1px solid #e5e5e5;
    color:#111;
    text-decoration:none;
    font-weight:600;
    transition:.3s ease;
}

.gallery-pagination a:hover,
.gallery-pagination a.active{
    background:#111;
    color:#fff;
    border-color:#111;
}


/* LIGHTBOX TITLE */

.lb-data .lb-caption{
    font-size:15px !important;
    line-height:1.6;
}


/* TABLET */

@media(max-width:992px){

    .floating-gallery-page{
        min-height:2400px;
    }

}


/* MOBILE */

@media(max-width:768px){

    .gallery-page{
        padding:70px 0;
    }

    .floating-gallery-page{
        min-height:auto;
        display:grid;
        grid-template-columns:1fr;
        gap:24px;
    }

    .float-item-page{
        position:relative !important;
        top:auto !important;
        left:auto !important;
        width:100% !important;
        height:260px !important;
        transform:none !important;
    }

}