﻿
.blog-list {
    max-width: 1200px;
}

/* Header */
.header-card {
    border: 1px solid #eef2f7;
    background: linear-gradient(135deg, rgba(15,23,42,.95), rgba(15,23,42,.88));
    color: #fff;
    border-radius: 20px;
    padding: 18px 18px;
    box-shadow: 0 18px 60px rgba(2,6,23,.25);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

    .header-card:before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(900px 240px at 15% 30%, rgba(59,130,246,.25), transparent 55%), radial-gradient(700px 260px at 85% 40%, rgba(34,197,94,.18), transparent 55%), linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,0));
        opacity: 1;
        pointer-events: none;
    }

.header-left, .header-right {
    position: relative;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.16);
    font-weight: 900;
    font-size: 12px;
    margin-bottom: 10px;
}

.title {
    margin: 0 0 8px 0;
    font-weight: 950;
    font-size: 22px;
    line-height: 1.8;
}

.desc {
    margin: 0;
    color: rgba(255,255,255,.85);
    font-weight: 700;
    line-height: 1.9;
    max-width: 560px;
    font-size: 13px;
}

.stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: stretch;
}

.stat {
    min-width: 120px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 10px 12px;
    text-align: center;
}

    .stat .k {
        font-size: 11px;
        color: rgba(255,255,255,.80);
        font-weight: 800;
    }

    .stat .v {
        font-size: 18px;
        font-weight: 950;
        margin-top: 4px;
    }



/* Post card */
.post-card {
    border: 1px solid #eef2f7;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,.06);
    transition: transform .12s ease, box-shadow .12s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .post-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 55px rgba(0,0,0,.10);
    }

.post-thumb {
    position: relative;
    display: block;
    background: #0b1220;
}

    .post-thumb img {
        width: 100%;
        height: 170px;
        object-fit: cover;
        display: block;
    }

.post-chip {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(255,255,255,.6);
    color: #0f172a;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 950;
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.post-body {
    padding: 12px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.post-title {
    margin-top: 50px;
    font-size: 16px;
    font-weight: 950;
    line-height: 1.7;
    color: #0f172a;
    min-height: 46px;
    text-align: center;
}

    .post-title a {
        color: #0f172a;
        text-decoration: none;
        display: block;
    }

        .post-title a:hover {
            text-decoration: none;
        }

/* Other styles remain the same */


.post-meta {
    margin-top:-80px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: #64748b;
    font-weight: 800;
    font-size: 12px;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #cbd5e1;
    display: inline-block;
}

.post-cta {
    margin-top: auto;
}

.btn-read {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 950;
    border-radius: 14px;
    padding: 10px 12px;
    text-decoration: none;
    transition: background .12s ease, transform .12s ease;
    width: 100%;
    justify-content: center;
}

    .btn-read:hover {
        background: #eef2f7;
        transform: translateY(-1px);
        color: #0f172a;
    }

/* Pagination */
.pagination-wrap {
    display: flex;
    justify-content: center;
}

.pagination-modern {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0,0,0,.06);
}

.pg-btn, .pg-num {
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 950;
    border-radius: 14px;
    padding: 9px 12px;
    min-width: 42px;
    text-align: center;
    text-decoration: none;
    transition: background .12s ease, transform .12s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .pg-num:hover, .pg-btn:hover {
        background: #eef2f7;
        transform: translateY(-1px);
        color: #0f172a;
    }

    .pg-num.active {
        background: #0f172a;
        border-color: #0f172a;
        color: #fff;
    }

    .pg-btn.disabled {
        opacity: .5;
        cursor: not-allowed;
        transform: none;
    }

.pg-ellipsis {
    color: #64748b;
    font-weight: 900;
    padding: 0 6px;
}

/* Sidebar */
.side-card {
    border: 1px solid #eef2f7;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0,0,0,.06);
    overflow: hidden;
}

.side-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 950;
    color: #0f172a;
    background: #fbfdff;
}

.side-body {
    padding: 12px 12px;
}

.side-note {
    color: #334155;
    line-height: 1.9;
    font-weight: 700;
    font-size: 13px;
}

/* Empty */
.empty-state {
    border: 1px solid #eef2f7;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0,0,0,.06);
    padding: 26px 14px;
    text-align: center;
}

.empty-icon {
    font-size: 34px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.empty-title {
    font-weight: 950;
    color: #0f172a;
    font-size: 16px;
    margin-bottom: 6px;
}

.empty-desc {
    color: #64748b;
    font-weight: 800;
    font-size: 13px;
}

@media(max-width: 575.98px) {
    .post-thumb img {
        height: 180px;
    }

    .title {
        font-size: 18px;
    }

    .stat {
        min-width: 98px;
    }
}

