/* ===============================
   CATEGORY PAGE V2
================================ */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:"Poppins",sans-serif;
    background:#f4f6fb;
    color:#222;
}

/* HERO */

.categoryHero{

    background:linear-gradient(135deg,#0c2d62,#1d5bbd,#2f7df6);

    color:#fff;

    padding:80px 20px;

    text-align:center;

}

.categoryHero h1{

    font-size:52px;

    font-weight:700;

    margin:15px 0;

}

.categoryHero p{

    max-width:700px;

    margin:auto;

    font-size:18px;

    opacity:.9;

}

.categoryBadge{

    display:inline-block;

    padding:8px 18px;

    background:#d00000;

    border-radius:30px;

    font-size:13px;

    font-weight:600;

}

/* SEARCH */

.searchSection{

    margin-top:-35px;

}

.searchBox{

    background:#fff;

    border-radius:50px;

    display:flex;

    align-items:center;

    padding:15px 25px;

    box-shadow:0 10px 25px rgba(0,0,0,.10);

}

.searchBox i{

    color:#888;

    font-size:18px;

}

.searchBox input{

    border:none;

    outline:none;

    width:100%;

    margin-left:15px;

    font-size:16px;

}

/* CATEGORY */

.categoryMenuSection{

    padding:30px 0;

}

.categoryMenu{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

}

.categoryMenu button{

    border:none;

    background:#fff;

    padding:12px 22px;

    border-radius:40px;

    cursor:pointer;

    font-weight:600;

    transition:.3s;

    box-shadow:0 3px 10px rgba(0,0,0,.08);

}

.categoryMenu button:hover,
.categoryMenu button.active{

    background:#d00000;

    color:#fff;

}

/* LAYOUT */

.categoryGrid{

    display:grid;

    grid-template-columns:2.2fr 1fr;

    gap:35px;

    padding-bottom:50px;

}

/* FEATURED */

.featuredNews{

    position:relative;

    overflow:hidden;

    border-radius:18px;

    margin-bottom:35px;

    box-shadow:0 10px 30px rgba(0,0,0,.15);

}

.featuredNews img{

    width:100%;

    height:480px;

    object-fit:cover;

}

.featuredOverlay{

    position:absolute;

    left:0;
    right:0;
    bottom:0;

    padding:40px;

    background:linear-gradient(transparent,rgba(0,0,0,.90));

    color:#fff;

}

.featuredOverlay h2{

    font-size:42px;

    margin:15px 0;

}

.featuredOverlay p{

    line-height:1.7;

    max-width:700px;

}

.featuredOverlay a{

    display:inline-block;

    margin-top:25px;

    background:#d00000;

    color:#fff;

    text-decoration:none;

    padding:12px 28px;

    border-radius:40px;

    transition:.3s;

}

.featuredOverlay a:hover{

    background:#a60000;

}

/* SECTION */

.sectionHeading{

    font-size:28px;

    margin-bottom:25px;

}

/* NEWS CARD */

.newsCard{

    display:flex;

    gap:18px;

    background:#fff;

    border-radius:15px;

    overflow:hidden;

    margin-bottom:22px;

    box-shadow:0 5px 18px rgba(0,0,0,.08);

    transition:.3s;

}

.news-card:hover{

    transform:translateY(-5px);

}

.news-card img{

    width:250px;

    height:170px;

    object-fit:cover;

}

.news-card-content{

    flex:1;

    padding:18px;

}

.news-card-content span{

    display:inline-block;

    background:#d00000;

    color:#fff;

    padding:5px 14px;

    border-radius:20px;

    font-size:12px;

    margin-bottom:12px;

}

.news-card-content h2{

    font-size:24px;

    margin-bottom:10px;

    line-height:1.35;

}

.news-card-content p{

    color:#666;

    line-height:1.7;

    margin-bottom:15px;

}

.news-card-content a{

    color:#0c2d62;

    text-decoration:none;

    font-weight:600;

}

.news-card-content a:hover{

    color:#d00000;

}

/* SIDEBAR */

.widget{

    background:#fff;

    padding:22px;

    border-radius:15px;

    margin-bottom:25px;

    box-shadow:0 5px 18px rgba(0,0,0,.08);

}

.widget h3{

    margin-bottom:18px;

    color:#0c2d62;

}

.trending-item{

    display:flex;

    gap:12px;

    margin-bottom:15px;

}

.trending-item img{

    width:90px;

    height:70px;

    object-fit:cover;

    border-radius:8px;

}

.trending-item h4{

    font-size:14px;

    line-height:1.4;

}

.social{

    display:flex;

    flex-direction:column;

    gap:10px;

}

.social a{

    display:block;

    padding:12px;

    text-align:center;

    background:#0c2d62;

    color:#fff;

    text-decoration:none;

    border-radius:8px;

    transition:.3s;

}

.social a:hover{

    background:#d00000;

}

/* PAGINATION */

#pagination{

    display:flex;

    justify-content:center;

    gap:10px;

    margin-top:40px;

}

#pagination button{

    width:42px;

    height:42px;

    border:none;

    border-radius:8px;

    background:#fff;

    cursor:pointer;

    box-shadow:0 2px 8px rgba(0,0,0,.08);

}

#pagination button.active{

    background:#d00000;

    color:#fff;

}

/* MOBILE */

@media(max-width:992px){

.categoryGrid{

    grid-template-columns:1fr;

}

.news-card{

    flex-direction:column;

}

.news-card img{

    width:100%;

    height:240px;

}

.featuredNews img{

    height:300px;

}

.featuredOverlay h2{

    font-size:28px;

}

.categoryHero h1{

    font-size:36px;

}

}

.trending-item{

    display:flex;

    gap:12px;

    margin-bottom:18px;

}

.trending-item img{

    width:95px;

    height:75px;

    object-fit:cover;

    border-radius:8px;

}

.trending-item h4{

    font-size:15px;

    line-height:1.4;

    margin-bottom:5px;

}

.trending-item a{

    text-decoration:none;

    color:#222;

    transition:.3s;

}

.trending-item a:hover{

    color:#d00000;

}

.trending-item small{

    color:#888;

    font-size:12px;

}

.categoryVideos{

    margin-top:50px;

}

.video-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:25px;

}

.video-card{

    background:#fff;

    border-radius:14px;

    overflow:hidden;

    box-shadow:0 8px 18px rgba(0,0,0,.08);

    cursor:pointer;

    transition:.3s;

}

.video-card:hover{

    transform:translateY(-6px);

}

.video-card img{

    width:100%;
    height:220px;

    object-fit:cover;

}

.video-card .info{

    padding:15px;

}

.video-card h3{

    font-size:18px;

    line-height:1.5;

    margin-bottom:8px;

}

.video-card span{

    color:red;

    font-size:13px;

    font-weight:600;

}