/*==================================================
=            PHONGVT NEWS CATEGORY PAGE            =
==================================================*/

.phongvt-news-page{
    padding:24px 0 80px;
    background:#f5f5f7;
}

.phongvt-news-page .phongvt-container{
    max-width:1350px;
    margin:0 auto;
    padding:0 5px;
}

/*================ Breadcrumb ================*/

.phongvt-breadcrumb{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:13px;
    color:#999;
    margin-bottom:18px;
}

.phongvt-breadcrumb a{
    color:#777;
    text-decoration:none;
    transition:.3s;
}

.phongvt-breadcrumb a:hover{
    color:#7357ff;
}

/*================ Heading ================*/

.phongvt-news-heading{
    background:#fff;
    border-radius:16px;
    padding:28px 30px;
    margin-bottom:20px;
}

.phongvt-news-heading h1{
    font-size:42px;
    font-weight:700;
    color:#16123F;
    margin:0 0 8px;
}

.phongvt-news-heading p{
    margin:0;
    color:#777;
    font-size:15px;
}

/*================ Category Tabs ================*/

.phongvt-news-tabs{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:25px;
    overflow-x:auto;
    padding-bottom:5px;
}

.phongvt-news-tabs::-webkit-scrollbar{
    height:4px;
}

.phongvt-news-tab{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:11px 18px;
    border-radius:50px;
    background:#fff;
    color:#2f2f2f;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    white-space:nowrap;
    transition:.3s;
}

.phongvt-news-tab:hover{
    background:#7357ff;
    color:#fff;
}

.phongvt-news-tab.phongvt-active{
    background:#7357ff;
    color:#fff;
}

/*================ Grid ================*/

.phongvt-news-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

/*================ Card ================*/

.phongvt-news-card{
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    transition:.35s;
}

.phongvt-news-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 40px rgba(0,0,0,.08);
}

.phongvt-news-thumb{
    display:block;
    aspect-ratio:16/10;
    overflow:hidden;
}

.phongvt-news-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s;
}

.phongvt-news-card:hover .phongvt-news-thumb img{
    transform:scale(1.05);
}

/*================ Body ================*/

.phongvt-news-body{
    padding:18px;
}

.phongvt-news-body h2{
    margin:0 0 12px;
    font-size:20px;
    line-height:1.45;
}

.phongvt-news-body h2 a{
    color:#16123F;
    text-decoration:none;
    transition:.3s;
}

.phongvt-news-body h2 a:hover{
    color:#7357ff;
}

.phongvt-news-excerpt{
    color:#757575;
    font-size:14px;
    line-height:1.7;
    margin-bottom:18px;
}

/*================ Meta ================*/

.phongvt-news-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-top:1px solid #eee;
    padding-top:15px;
    font-size:13px;
}

.phongvt-news-author{
    color:#7357ff;
    font-weight:600;
}

.phongvt-news-meta time{
    color:#888;
}

/*================ Pagination ================*/

.phongvt-pagination{
    display:flex;
    justify-content:center;
    margin-top:45px;
}

.phongvt-pagination .page-numbers{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    margin:0 5px;
    background:#fff;
    color:#444;
    text-decoration:none;
    transition:.3s;
}

.phongvt-pagination .page-numbers:hover{
    background:#7357ff;
    color:#fff;
}

.phongvt-pagination .current{
    background:#7357ff;
    color:#fff;
}

/*================ Responsive ================*/

@media(max-width:991px){

    .phongvt-news-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .phongvt-news-heading h1{
        font-size:34px;
    }

}

@media(max-width:767px){

    .phongvt-news-grid{
        grid-template-columns:1fr;
        gap:18px;
    }

    .phongvt-news-heading{
        padding:22px;
    }

    .phongvt-news-heading h1{
        font-size:28px;
    }

    .phongvt-news-tabs{
        gap:8px;
    }

    .phongvt-news-tab{
        padding:10px 16px;
        font-size:13px;
    }

}