/* ===== 2 COLUMN GRID ===== */
.news-grid-2{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

/* CARD */
.news-card{
    display:flex;
    gap:14px;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    text-decoration:none;
    color:#111;
    transition:0.25s;
    padding:10px;
}

.news-card:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

/* IMAGE */
.news-thumb{
    width:160px;
    height:110px;
    flex-shrink:0;
    border-radius:10px;
    overflow:hidden;
}

.news-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.3s;
}

.news-card:hover img{
    transform:scale(1.05);
}

/* CONTENT */
.news-content{
    display:flex;
    flex-direction:column;
    gap:6px;
}

/* BADGE */
.news-badge{
    display:inline-block;
    background:#ef4444;
    color:#fff;
    font-size:11px;
    padding:4px 10px;
    border-radius:999px;
    width:max-content;
}

/* TITLE */
.news-content h3{
    font-size:15px;
    margin:0;
    line-height:1.4;
}

/* EXCERPT */
.news-excerpt{
    font-size:13px;
    color:#6b7280;
    line-height:1.5;
}

/* META */
.news-meta{
    font-size:11px;
    color:#9ca3af;
}

/* RESPONSIVE */
@media(max-width:768px){
    .news-grid-2{
        grid-template-columns:1fr;
    }

    .news-card{
        flex-direction:column;
    }

    .news-thumb{
        width:100%;
        height:160px;
    }
}
/* ===============================
   NEWS PAGE - FULL ISOLATED (np-)
================================= */

.np-wrapper{
    max-width:1200px;
    margin:auto;
    padding:40px 20px;
}

/* TITLE */
.np-title{
    font-size:28px;
    font-weight:700;
    margin-bottom:25px;
}

/* GRID */
.np-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

/* CARD */
.np-card{
    display:block;
    background:#fff;
    border-radius:14px;
    overflow:hidden;

    text-decoration:none;
    color:#111;

    box-shadow:0 6px 20px rgba(0,0,0,0.08);
    transition:.25s;
}

.np-card:hover{
    transform:translateY(-5px);
}

/* IMAGE FULL */
.np-img{
    width:100%;
    height:200px;
    overflow:hidden;
}

.np-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* BODY */
.np-body{
    padding:14px;
}

/* DATE */
.np-date{
    font-size:12px;
    color:#777;
    margin-bottom:6px;
}

/* TITLE */
.np-body h3{
    font-size:15px;
    line-height:1.4;
    margin-bottom:6px;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

/* EXCERPT */
.np-body p{
    font-size:13px;
    color:#666;

    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

/* PAGINATION */
.np-pagination{
    margin-top:30px;
    display:flex;
    justify-content:center;
    gap:6px;
}

.np-pagination a{
    min-width:32px;
    height:32px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#eee;
    border-radius:6px;
    text-decoration:none;
    color:#111;
}

.np-pagination a.active{
    background:#dc2626;
    color:#fff;
}

/* RESPONSIVE */
@media(max-width:1024px){
    .np-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:768px){
    .np-grid{
        grid-template-columns:1fr;
    }
}
/* ================= CATEGORY BADGE ================= */
.post-category {
    margin-bottom: 10px;
}

.post-category a {
    display: inline-block;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;

    background: linear-gradient(135deg, #ff512f, #dd2476);
    color: #fff;

    border-radius: 999px;
    text-decoration: none;

    transition: all .25s ease;
}

/* hover */
.post-category a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,.15);
}

/* optional variasi warna per kategori */
.post-category a[data-cat="match-result"] {
    background: linear-gradient(135deg, #1d976c, #93f9b9);
}

.post-category a[data-cat="announcement"] {
    background: linear-gradient(135deg, #396afc, #2948ff);
}
.np-cat span {
    display:inline-block;
    font-size:11px;
    padding:4px 10px;
    border-radius:999px;
    color:#fff;
    margin-bottom:6px;
    background:#ff512f;
}

.np-cat span[data-cat="match-result"] {
    background:#1d976c;
}

.np-cat span[data-cat="announcement"] {
    background:#396afc;
}