/*=========================================
CATEGORY HERO
=========================================*/
body.archive.category .category-page{
    display:block !important;
    width:100%;
}

.category-page{

padding-top:110px;

}

.category-hero{

padding:60px 0;

background:
linear-gradient(135deg,#0f172a,#1e293b);

border-bottom:1px solid rgba(255,255,255,.08);

}

.category-breadcrumb{

display:flex;

align-items:center;

gap:10px;

font-size:14px;

margin-bottom:30px;

color:#94a3b8;

}

.category-breadcrumb a{

color:#cbd5e1;

text-decoration:none;

transition:.3s;

}

.category-breadcrumb a:hover{

color:#60a5fa;

}

.category-hero-content{

max-width:900px;

}

.category-badge{

display:inline-flex;

align-items:center;

gap:8px;

padding:8px 16px;

background:rgba(37,99,235,.15);

border:1px solid rgba(59,130,246,.35);

border-radius:50px;

color:#60a5fa;

font-size:14px;

font-weight:600;

margin-bottom:20px;
backdrop-filter:blur(14px);

-webkit-backdrop-filter:blur(14px);

}

.category-title{

font-size:52px;

font-weight:800;

line-height:1.15;

color:#fff;

margin-bottom:20px;

}

.category-description{

font-size:18px;

line-height:1.9;

color:#cbd5e1;

max-width:760px;

margin-bottom:30px;

}

.category-meta{

display:flex;

gap:30px;

flex-wrap:wrap;

}

.category-count-up,
.category-updated{

display:flex;

align-items:center;

gap:10px;

padding:12px 18px;

background:rgba(255,255,255,.06);

border:1px solid rgba(255,255,255,.08);

border-radius:12px;

color:#fff;

font-weight:600;

}

.category-count i,
.category-updated i{

color:#60a5fa;

}

@media(max-width:768px){

.category-hero{

padding:40px 0;

}

.category-title{

font-size:38px;

}

.category-description{

font-size:16px;

}

.category-meta{

flex-direction:column;

gap:15px;

}

}
/*=========================================
FEATURED ARTICLE
=========================================*/

.category-featured-section{

padding:60px 0 20px;

}

.category-featured-card{
    display:grid;
    grid-template-columns:55% 45%;
    align-items:stretch;
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    text-decoration:none;
}

.category-featured-image{
    position:relative;
    overflow:hidden;
    min-height:420px;
}

.category-featured-image::after{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(

        to top,

        rgba(15,23,42,.25),

        rgba(15,23,42,0)

    );

    pointer-events:none;

}

.category-featured-image img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

.category-featured-card:hover img{

    transform:scale(1.08);

}

.category-featured-content{
    padding:45px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.category-featured-content h2{

    transition:.3s;

}

.category-featured-card:hover h2{

    color:#2563eb;

}

.category-featured-content p{

    font-size:17px;

    color:#64748b;

    line-height:1.9;

}

.category-featured-card:hover{

transform:translateY(-8px);

box-shadow:0 30px 80px rgba(37,99,235,.16);

}

.category-featured-image{
    aspect-ratio:16/10;

height:100%;

overflow:hidden;

}

.category-featured-image img{

width:100%;

height:100%;

object-fit:cover;

display:block;

}

.category-featured-card:hover img{

transform:scale(1.05);

}



.category-featured-label{
    display:inline-flex;
    align-items:center;
    width:max-content;
    padding:10px 20px;
    margin-bottom:20px;
    border-radius:30px;
    background:#2f6df6;
    color:#fff;
    font-size:13px;
    font-weight:700;
    letter-spacing:.5px;
}

.category-featured-content h2{
    font-size:24px;
    line-height:1.15;
    margin:0 0 20px;
    color:#0000ff;
}

.category-featured-content p{
    font-size:18px;
    line-height:1.8;
    color:#666;
    margin-bottom:30px;
}

.category-featured-meta{
    display:flex;
    gap:25px;
    flex-wrap:wrap;
    align-items:center;
}

.category-featured-meta span{
    font-size:15px;
    color:#666;
}
.category-featured-meta .read-more{
    color:#2f6df6;
    font-weight:700;
}

.category-featured-meta span:last-child{

margin-left:auto;

color:#2563eb;

font-weight:700;

transition:.3s;

}

.category-featured-card:hover .category-featured-meta span:last-child{

transform:translateX(6px);

}

@media(max-width:991px){

.category-featured-card{
    grid-template-columns:1fr;
}

.category-featured-image{
    min-height:320px;
}

.category-featured-content{
    padding:30px;
}

.category-featured-content h2{
    font-size:34px;
}

}
/*=========================================
CATEGORY GRID
=========================================*/

.category-post-grid{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:35px;

}

/*=========================================
PREMIUM BLOG CARDS
=========================================*/

.category-post-card{

    display:flex;
    

    flex-direction:column;

    height:100%;

    background:#fff;

    border:1px solid #eef2f7;

    border-radius:22px;

    overflow:hidden;

    transition:all .35s ease;

    box-shadow:0 12px 35px rgba(15,23,42,.06);

}

.category-post-card::before{

content:"";

position:absolute;

top:0;

left:-100%;

width:100%;

height:3px;

background:linear-gradient(

90deg,

#2563eb,

#60a5fa

);

transition:.45s;

}

.category-post-card:hover::before{

left:0;

}

.category-post-card:hover{

    transform:translateY(-8px);

    box-shadow:0 25px 55px rgba(37,99,235,.14);

}

.category-post-card a{

    display:flex;

    flex-direction:column;

    height:100%;

    text-decoration:none;

    color:inherit;

}

.category-post-thumb{

    position:relative;

    overflow:hidden;

    aspect-ratio:16/10;

    background:#f8fafc;

}
.category-post-thumb::after{

content:"";

position:absolute;

left:0;

right:0;

bottom:0;

height:120px;

background:linear-gradient(

to top,

rgba(15,23,42,.18),

transparent

);

opacity:0;

transition:.35s;

}

.category-post-card:hover .category-post-thumb::after{

opacity:1;

}

.category-post-thumb img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:transform .6s ease;

    display:block;

}

.category-post-card:hover .category-post-thumb img{

    transform:scale(1.08);

}

.category-post-card:hover img{

transform:scale(1.06);

}

.category-post-content{

    display:flex;

    flex-direction:column;

    flex:1;

    padding:24px;

}

.category-post-label{

display:inline-flex;

align-items:center;

padding:7px 14px;

background:#eff6ff;

color:#2563eb;

border-radius:40px;

font-size:12px;

font-weight:700;

letter-spacing:.4px;

text-transform:uppercase;

margin-bottom:18px;

width:max-content;

}

.category-post-content h3{

font-size:24px;

line-height:1.45;

font-weight:700;

color:#0f172a;

margin-bottom:16px;

transition:.3s;

}
.category-post-card:hover h3{

color:#2563eb;

}

.category-post-content p{

font-size:16px;

line-height:1.9;

color:#64748b;

margin-bottom:25px;

flex:1;

}

.category-post-meta{

display:flex;

justify-content:space-between;

align-items:center;

padding-top:18px;

margin-top:auto;

border-top:1px solid #eef2f7;

font-size:14px;

color:#64748b;

}

.category-empty{

padding:80px 30px;

background:#fff;

border-radius:20px;

text-align:center;

}

.category-pagination{

margin-top:50px;

display:flex;

justify-content:center;

}

.category-pagination .page-numbers{

min-width:48px;

height:48px;

padding:0 18px;

display:inline-flex;

align-items:center;

justify-content:center;

border-radius:14px;

background:#fff;

font-weight:700;

transition:.3s;

}

.category-pagination a:hover{

background:#2563eb;

color:#fff;

}

.category-pagination .current{

background:#2563eb;

color:#fff;

}

.category-pagination .prev,
.category-pagination .next{

width:auto;

padding:0 20px;

}

@media(max-width:991px){

.category-post-grid{

grid-template-columns:1fr;

}

}
/*=========================================
CATEGORY SIDEBAR
=========================================*/

.category-sidebar{

position:sticky;

top:120px;

align-self:flex-start;

}

.category-widget{

background:#fff;
color: #000000;

transition:.35s;

padding:24px;

border-radius:18px;
margin: 15px;

box-shadow:0 10px 35px rgba(15,23,42,.06);

}
.category-widget:hover{

transform:translateY(-5px);

box-shadow:0 20px 45px rgba(37,99,235,.10);

}

.category-widget h3{

font-size:22px;

margin-bottom:20px;

color:#0f172a;

}

.category-widget form{

display:flex;



gap:15px;

}

.category-widget input{

width:100%;

height:52px;

padding:0 18px;

border:1px solid #dbe4ef;

border-radius:12px;

outline:none;

}

.category-widget button{

height:50px;

border:none;

border-radius:12px;

background:#2563eb;

color:#fff;

font-weight:700;

cursor:pointer;

transition:.3s;

}

.category-widget button:hover{

background:#1d4ed8;

}

.category-recent-list{

list-style:none;

padding:0;

margin:0;

}

.category-recent-list li{

padding-bottom:18px;

margin-bottom:18px;

border-bottom:1px solid #eef2f7;

}
.category-recent-list li:last-child{

margin-bottom:0;

padding-bottom:0;

border:none;

}

.category-recent-list a{

display:flex;

gap:15px;

text-decoration:none;

color:inherit;

}

.category-recent-list img{

width:85px;

height:85px;

border-radius:14px;

object-fit:cover;

transition:.35s;

}
.category-recent-list a:hover img{

transform:scale(1.05);

}

.category-recent-list h4{

font-size:16px;

line-height:1.5;

margin-bottom:8px;

color:#0f172a;

transition:.3s;

}

.category-recent-list a:hover h4{

color:#2563eb;

}

.category-recent-list span{

font-size:13px;

color:#64748b;

}

.category-list{

list-style:none;

padding:0;

margin:0;
color: #000000;

}

.category-list li{

margin-bottom:12px;

}

.category-list a{

display:flex;

justify-content:space-between;

align-items:center;

padding:14px 16px;

border-radius:14px;

background:#f8fafc;

transition:.3s;

font-weight:600;

}

.category-list strong{

background:#2563eb;

color:#fff;

min-width:34px;

height:34px;

display:flex;

align-items:center;

justify-content:center;

border-radius:50%;

font-size:13px;

}

.category-list a:hover{

background:#eff6ff;

color:#2563eb;

transform:translateX(5px);

}

.category-tools-list{

list-style:none;

padding:0;

margin:0;

}

.category-tools-list li{

margin-bottom:12px;

}

.category-tools-list a{

display:flex;

align-items:center;

gap:12px;

padding:14px 16px;

border-radius:14px;

background:#f8fafc;

transition:.3s;

font-weight:600;

}
.category-tools-list i{

width:24px;

color:#2563eb;

font-size:18px;

}

.category-tools-list a:hover{

background:#2563eb;

color:#fff;

transform:translateX(5px);

}

.category-tools-list a:hover i{

color:#fff;

}

.category-newsletter{

background: linear-gradient(135deg, #eeeef0, #d9dadb);

color:#fff;

}

.category-newsletter h3,

.category-newsletter p{

color:#fff;

}

.category-newsletter input{

background:#fff;

border:none;

}

.category-newsletter button{

background:#0f172a;

}

.category-newsletter button:hover{

background:#020617;

}

.category-newsletter p{

margin-bottom:18px;

line-height:1.8;

color:#64748b;

}

/*=========================================
SECTION HEADER
=========================================*/

.category-section-header{

display:flex;

justify-content:space-between;

align-items:center;

margin-bottom:35px;

padding-bottom:18px;

border-bottom:1px solid #e5e7eb;

}

.category-section-header h2{

font-size:36px;

margin-bottom:8px;

color:#0f172a;

}

.category-section-header p{

color:#64748b;

}

.category-total-posts{

padding:12px 20px;

border-radius:50px;

background:linear-gradient(

135deg,

#2563eb,

#3b82f6

);

color:#fff;

font-weight:700;

box-shadow:0 12px 30px rgba(37,99,235,.20);

}


/*=========================================
EMPTY
=========================================*/

.category-empty{

padding:70px 30px;

text-align:center;

background:#fff;

border-radius:20px;

box-shadow:0 15px 40px rgba(15,23,42,.05);

}

.category-empty i{

font-size:60px;

color:#2563eb;

margin-bottom:20px;

}

.category-empty h3{

font-size:30px;

margin-bottom:15px;

}

.category-empty p{

max-width:500px;

margin:auto;

margin-bottom:25px;

color:#64748b;

line-height:1.8;

}

.category-empty a{

display:inline-block;

padding:14px 28px;

background:#2563eb;

color:#fff;

text-decoration:none;

border-radius:12px;

font-weight:700;

}


/*=========================================
PAGINATION TITLE
=========================================*/

.category-pagination-title{

margin-top:60px;

margin-bottom:20px;

font-size:26px;

font-weight:700;

text-align:center;

color:#0f172a;

}


/*=========================================
SEARCH BOX
=========================================*/

.category-widget .search-form{

display:flex;

gap:10px;

}

.category-widget .search-field{

flex:1;
    height:54px;
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding:0 18px;
    font-size:15px;
    transition:.3s;

}
.category-widget .search-field:focus{
    border-color:#2563eb;
    box-shadow:0 0 0 4px rgba(37,99,235,.08);
}

.category-widget .search-submit{

min-width:56px;
    height:54px;
    border:none;
    border-radius:14px;
    background:#2563eb;
    color:#fff;
    cursor:pointer;
    transition:.3s;

}
.category-widget .search-submit:hover{
    background:#1d4ed8;
}


/*=========================================
RESPONSIVE
=========================================*/

@media(max-width:768px){

.category-section-header{

flex-direction:column;

align-items:flex-start;

gap:20px;

}

.category-section-header h2{

font-size:30px;

}

}

.category-read-more{

font-weight:700;

color:#2563eb;

transition:.3s;

}

.category-post-card:hover .category-read-more{

transform:translateX(6px);

}

/*=========================================
CATEGORY HERO PATTERN
=========================================*/

.category-hero{
    position:relative;
    overflow:hidden;
}

.category-hero::before{

    content:"";

    position:absolute;

    width:600px;

    height:600px;

    border-radius:50%;

    background:rgba(255,255,255,.04);

    top:-250px;

    right:-150px;

}

.category-hero::after{

    content:"";

    

    width:350px;

    height:350px;

    border-radius:50%;

    background:rgba(37,99,235,.18);

    bottom:-180px;

    left:-120px;

}


.category-search-form{

display:flex;

gap:10px;

}

.category-search-input{

flex:1;

height:54px;

padding:0 18px;

border-radius:14px;

border:1px solid #e5e7eb;

font-size:15px;

}

.category-search-form button{

width:54px;

border:none;

border-radius:14px;

background:#2563eb;

color:#fff;

cursor:pointer;

}
@media(max-width:991px){

.category-sidebar{

position:relative;

top:0;

}

}
.category-wrapper{

display:grid;
    grid-template-columns:minmax(0,1fr) 340px;
    gap:40px;
    align-items:start;

}

/* Disable unwanted hover animation */

.category-featured-card:hover,
.category-featured-card:hover *{
    transform:none !important;
}

.category-featured-content,
.category-featured-content *{
    transform:none;
    transition:none;
}

/*==========================================
Mobile Layout Fix
==========================================*/

@media (max-width: 991px){

.category-wrapper{

    display:flex;
    flex-direction:column;
    gap:30px;

}

.category-main{

    order:1;
    width:100%;

}

.category-sidebar{

    order:2;
    width:100%;
    position:static;
    margin-top:20px;

}

.category-featured-card{

    display:block;

}

.category-featured-image{

    height:260px;

}

.category-featured-image img{

    width:100%;
    height:100%;
    object-fit:cover;

}

}