/* ==========================================
   DAILYPOST CATEGORY GRID MODERN
========================================== */


.category-page{

    max-width:1150px;
    margin:35px auto;
    padding:0 18px;

}


/* HEADER */

.category-hero{

    margin-bottom:30px;

}


.breadcrumb{

    font-size:14px;
    color:#64748b;
    margin-bottom:15px;

}


.breadcrumb a{

    color:#d71920;
    font-weight:700;
    text-decoration:none;

}


.category-hero h1{

    margin:0;

    font-size:38px;

    font-weight:800;

    color:#111827;

}


.category-hero p{

    margin-top:10px;

    color:#64748b;

    font-size:16px;

}



/* GRID */

.category-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}



/* CARD */

.category-card{

    background:#fff;

    border:1px solid #edf0f5;

    border-radius:18px;

    overflow:hidden;

    transition:.25s ease;

}



.category-card:hover{

    transform:translateY(-5px);

    box-shadow:0 15px 35px rgba(15,23,42,.10);

}



.category-card a{

    text-decoration:none;

    color:inherit;

}



/* IMAGE */

.category-card img{

    width:100%;

    height:190px;

    object-fit:cover;

    display:block;

}



/* BODY */

.category-card-body{

    padding:18px;

}



.category-card-body .meta{

    color:#d71920;

    font-size:13px;

    font-weight:700;

    margin-bottom:10px;

}



.category-card-body h2{

    margin:0 0 10px;

    font-size:20px;

    line-height:1.35;

    font-weight:800;

    color:#111827;

}



.category-card-body p{

    margin:0;

    color:#64748b;

    font-size:14px;

    line-height:1.6;

}



/* RESPONSIVE */


@media(max-width:1000px){

    .category-grid{

        grid-template-columns:repeat(2,1fr);

    }

}



@media(max-width:650px){

    .category-grid{

        grid-template-columns:1fr;

    }


    .category-hero h1{

        font-size:30px;

    }


    .category-card img{

        height:220px;

    }

}

