/**
 * ==========================================================================
 * MultiPress Enterprise Archive Page
 * ==========================================================================
 */

.page-hero{
    background:linear-gradient(135deg,#0f172a,#1e3a8a);
    color:#fff;
    padding:80px 0;
    margin-bottom:50px;
}

.page-hero .container{
    max-width:1280px;
}

.page-hero h1{
    font-size:clamp(2.5rem,5vw,3.8rem);
    font-weight:800;
    line-height:1.15;
    margin-bottom:18px;
}

.page-hero p{
    max-width:780px;
    font-size:18px;
    line-height:1.9;
    color:rgba(255,255,255,.92);
}

/* ==========================================================
   ARCHIVE LAYOUT
========================================================== */

.layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 360px;
    gap:40px;
    align-items:start;
    margin-bottom:70px;
}

.content{
    min-width:0;
}

/* ==========================================================
   POST GRID
========================================================== */

.post-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:30px;
}

/* ==========================================================
   SIDEBAR
========================================================== */

.sidebar{
    position:sticky;
    top:100px;
}

/* ==========================================================
   PAGINATION
========================================================== */

.pagination{
    display:flex;
    justify-content:center;
    margin:60px 0;
}

.pagination .nav-links{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.pagination a,
.pagination span{
    display:flex;
    justify-content:center;
    align-items:center;
    min-width:46px;
    height:46px;
    padding:0 18px;
    border-radius:8px;
    background:#fff;
    border:1px solid #e5e7eb;
    color:#111827;
    text-decoration:none;
    font-weight:600;
    transition:.25s;
}

.pagination a:hover{
    background:#2563eb;
    color:#fff;
    border-color:#2563eb;
}

.pagination .current{
    background:#dc2626;
    border-color:#dc2626;
    color:#fff;
}

/* ==========================================================
   EMPTY STATE
========================================================== */

.no-posts{
    background:#fff;
    border-radius:12px;
    padding:60px 40px;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
}

.no-posts h2{
    font-size:34px;
    margin-bottom:15px;
    color:#111827;
}

.no-posts p{
    font-size:17px;
    color:#6b7280;
    margin-bottom:25px;
}

.no-posts .btn{
    display:inline-block;
    padding:14px 28px;
    background:#dc2626;
    color:#fff;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.no-posts .btn:hover{
    background:#b91c1c;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media(max-width:1200px){

.layout{
    grid-template-columns:minmax(0,1fr) 320px;
}

}

@media(max-width:992px){

.layout{
    grid-template-columns:1fr;
}

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

.sidebar{
    position:static;
    margin-top:40px;
}

}

@media(max-width:768px){

.page-hero{
    padding:60px 0;
}

.page-hero h1{
    font-size:2rem;
}

.page-hero p{
    font-size:16px;
}

.post-grid{
    grid-template-columns:1fr;
}

.pagination a,
.pagination span{
    min-width:40px;
    height:40px;
    font-size:14px;
}

.no-posts{
    padding:40px 25px;
}

}
