/**
 * ==========================================================================
 * MultiPress Enterprise Category Page
 * ==========================================================================
 */

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

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

.category-label{
    display:inline-block;
    padding:8px 18px;
    border-radius:50px;
    background:#dc2626;
    color:#fff;
    font-size:13px;
    font-weight:700;
    letter-spacing:1px;
    text-transform:uppercase;
    margin-bottom:20px;
}

.category-title{
    font-size:clamp(2.5rem,5vw,3.8rem);
    font-weight:800;
    line-height:1.15;
    margin-bottom:20px;
}

.category-description{
    max-width:800px;
    font-size:18px;
    line-height:1.9;
    color:rgba(255,255,255,.92);
}

.category-meta{
    display:flex;
    gap:20px;
    margin-top:25px;
    flex-wrap:wrap;
}

.category-meta span{
    display:flex;
    align-items:center;
    gap:8px;
    padding:10px 18px;
    border-radius:50px;
    background:rgba(255,255,255,.12);
    font-size:14px;
}

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

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

.content,
.article-main{
    min-width:0;
}

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

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

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

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

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

.pagination a,
.pagination span{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:46px;
    height:46px;
    padding:0 18px;
    border-radius:8px;
    border:1px solid #e5e7eb;
    background:#fff;
    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;
}

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

.article-sidebar .sticky,
.sidebar .sticky{
    position:sticky;
    top:100px;
}

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

.center{
    text-align:center;
    padding:60px 20px;
    font-size:18px;
}

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

@media(max-width:1200px){

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

}

@media(max-width:992px){

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

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

.sidebar,
.article-sidebar{
    margin-top:40px;
}

.article-sidebar .sticky,
.sidebar .sticky{
    position:static;
}

}

@media(max-width:768px){

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

.category-title{
    font-size:2rem;
}

.category-description{
    font-size:16px;
}

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

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

}
