.section-page-album{
    padding:90px 0;
    background:#f5eee6;
}

.title-page-album{
    font-size:48px;
    color:#151515;
    margin-bottom:14px;
}

.desc-page-album{
    font-size:18px;
    color:#666;
    margin-bottom:50px;
}

.gallery-page-album .img-inner{
    overflow:hidden;
    border-radius:12px;
}

.gallery-page-album img{
    width:100%;
    height:320px;
    object-fit:cover;

    transition:all .5s ease;
}

.gallery-page-album .col:hover img{
    transform:scale(1.08);
}

@media (max-width: 1024px) {
    body {
        padding-top: 0px !important;
    }
}

.activity-container{
    max-width:900px;
    margin:50px auto;
}

.activity-header{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:20px;
}

.activity-avatar img{
    width:60px;
    height:60px;
    border-radius:50%;
    object-fit:cover;
}

.activity-author{
    font-weight:700;
    font-size:18px;
}

.activity-date{
    color:#888;
    font-size:14px;
}

.activity-title{
    margin-bottom:20px;
}

.activity-gallery{
    margin-top:30px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
}

.activity-gallery img{
    width:100%;
    height:300px;
    object-fit:cover;
    border-radius:8px;
}

.niti-album-feed{
    max-width:900px;
    margin:0 auto;
}

.album-post{
    background:#fff;
    margin-bottom:40px;
    border-bottom:1px solid #eee;
    padding-bottom:30px;
}

.album-header{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:15px;
}

.album-avatar img{
    width:50px;
    height:50px;
    border-radius:50%;
    object-fit:cover;
}

.album-author{
    font-weight:700;
}

.album-date{
    color:#999;
    font-size:13px;
}

.album-title{
    margin-bottom:15px;
}

.album-thumb img{
    width:100%;
    border-radius:10px;
    display:block;
}


.niti-feed{
     max-width:680px;
    margin:40px auto;
}

.feed-post{
    background:#fff;
    border:1px solid #ddd;
    border-radius:12px;
    padding:20px;
    margin-bottom:30px;
}

.feed-header{
    display:flex;
    gap:12px;
    align-items:center;
    margin-bottom:15px;
}

.feed-avatar{
    width:50px;
    height:50px;
    border-radius:50%;
    object-fit:cover;
}

.feed-name{
    font-weight:700;
}

.feed-date{
    color:#777;
    font-size:13px;
}

/* .feed-caption{
    margin-bottom:15px;
} */


.feed-gallery{
    display:grid;
    gap:2px;
    overflow:hidden;
    border-radius:12px;
}

.feed-image{
    position:relative;
    overflow:hidden;
}

.feed-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* 1 ảnh */

.gallery-1{

    display:block !important;

    background:#000;

    border-radius:12px;

    overflow:hidden;
}

.gallery-1 .feed-image{

    height:auto !important;

    display:block !important;
}

.gallery-1 .feed-image img{

    width:100% !important;

    height:auto !important;

    max-height:none !important;

    object-fit:unset !important;

    display:block;
}

/* 2 ảnh */

.gallery-2{
    grid-template-columns:1fr 1fr;
}

.gallery-2 .feed-image{
    height:420px;
}

/* 3 ảnh */

.gallery-3{
    grid-template-columns:2fr 1fr;
    grid-template-rows:250px 250px;
}

.gallery-3 .feed-image:nth-child(1){
    grid-row:1 / span 2;
}

/* 4 ảnh */

.gallery-4{
    grid-template-columns:1fr 1fr;
    grid-template-rows:300px 300px;
}

/* 5+ ảnh kiểu Facebook */

.gallery-many{
    grid-template-columns:2fr 1fr;
    grid-template-rows:220px 220px 220px;
}

.gallery-many .feed-image:nth-child(1){
    grid-column:1;
    grid-row:1 / span 2;
}

.gallery-many .feed-image:nth-child(2){
    grid-column:2;
    grid-row:1;
}

.gallery-many .feed-image:nth-child(3){
    grid-column:2;
    grid-row:2;
}

.gallery-many .feed-image:nth-child(4){
    grid-column:1;
    grid-row:3;
}

.gallery-many .feed-image:nth-child(5){
    grid-column:2;
    grid-row:3;
}

.gallery-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:42px;
    font-weight:700;
}

/* =========================
   DESKTOP
========================= */

.niti-feed{
    max-width:820px;
    margin:40px auto;
}

/* =========================
   TABLET
========================= */

@media(min-width:768px) and (max-width:1024px){

    .niti-feed{
        max-width:720px;
        padding:0 15px;
        margin:59px auto 40px;
		padding-top: 45px;
    }

    .feed-post{
        padding:15px;
    }

}

/* =========================
   MOBILE
========================= */

@media(max-width:767px){

    .niti-feed{
        width:100%;
        padding:0 8px;
        margin:70px auto 20px;
		padding-top: 15px;
    }

    .feed-post{
        padding:12px;
        border-radius:10px;
    }

    .feed-avatar{
        width:42px;
        height:42px;
    }

    .feed-name{
        font-size:15px;
    }

    .feed-date{
        font-size:12px;
    }

    .feed-caption{
        font-size:14px;
    }

}

.feed-lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.95);

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

    z-index:999999;
}

.feed-lightbox img{

    max-width:95vw;
    max-height:95vh;

    object-fit:contain;
}

.feed-lightbox-close{

    position:absolute;
    top:20px;
    right:20px;

    color:#fff;
    font-size:30px;

    cursor:pointer;
}

.feed-caption-wrap{
    position:relative;
/*     margin-bottom:15px; */
}

.feed-caption{

    max-height:72px;

    overflow:hidden;

    transition:all .3s ease;

    line-height:1.6;
}

.feed-caption.expanded{

    max-height:10000px;
}

.feed-more{

    display:none;

    color:#65676b;

    font-weight:600;

    cursor:pointer;

    display:inline-block;
}

/* ===========================
   ALBUM HERO
=========================== */

.album-hero{

    background:linear-gradient(
        180deg,
        #f8f3ea 0%,
        #f1e8db 100%
    );

    padding:60px 20px 50px;
	padding-bottom: 0px !important;

    border-bottom:1px solid #e5d8c5;
}

.album-hero-inner{

    max-width:900px;

    margin:0 auto;

    text-align:center;
}

.album-logo{

    width:90px;

    height:90px;

    border-radius:50%;

    object-fit:cover;

    box-shadow:
        0 10px 30px rgba(0,0,0,.12);
}

.album-label{

    display:inline-block;

    padding:8px 18px;

    background:#0b1736;

    color:#fff;

    border-radius:999px;

    font-size:12px;

    font-weight:500;

    letter-spacing:2px;

    margin-bottom:20px;
}

.album-title{

    font-size:40px;

    line-height:1.15;

    font-weight:500;

    margin-bottom:15px;
}

.album-desc{

    max-width:760px;

    margin:0 auto;

    color:#6b7280;

    line-height:1.9;

    font-size:18px;
}

.album-line{

    width:120px;

    height:2px;

    background:#b08d57;

    margin:35px auto 0;
}

/* ===========================
   ALBUM PAGE BACKGROUND
=========================== */

body,
#main,#wrapper,
.page-wrapper,
main{

    background:#f5eee6 !important;
}

/* Hero */

.album-hero{

    background:#f5eee6 !important;

    border:none !important;
}

/* Feed */

.niti-feed{

    background:transparent !important;

    padding-top:40px;
}

/* Khoảng nối giữa Hero và Feed */

.album-hero + .niti-feed{

    margin-top:0 !important;
}

/* =====================================
   TABLET
===================================== */

@media (max-width:1024px){

    .album-hero{

        padding: 120px 20px 40px;
    }

    .album-logo{

        width:80px;
        height:80px;
    }

    .album-title{

        font-size:42px;
        line-height:1.2;
    }

    .album-desc{

        max-width:600px;

        font-size:17px;

        line-height:1.8;
    }

    .album-line{

        margin-top:25px;
    }

}

/* =====================================
   MOBILE
===================================== */

@media (max-width:767px){

    .album-hero{

        padding:80px 30px 60px;
    }

    .album-logo{

        width:65px;
        height:65px;

        margin-bottom:15px;
    }

    .album-label{

        font-size:11px;

        padding:6px 14px;

        letter-spacing:1px;

        margin-bottom:15px;
    }

    .album-title{

        font-size:28px;

        line-height:1.25;

        margin-bottom:12px;
    }

    .album-desc{

        max-width:100%;

        font-size:15px;

        line-height:1.7;

        padding:0 10px;
    }

    .album-line{

        width:80px;

        margin-top:20px;
    }

}

/* =====================================
   IPHONE SE
===================================== */

@media (max-width:390px){

    .album-title{

        font-size:24px;
    }

    .album-desc{

        font-size:14px;
    }

}