/* =====================================================
BLOG PAGE CSS
KNBC TECHNOLOGIES PVT LTD
===================================================== */

/* =====================================================
BLOG HERO SECTION
===================================================== */

.blog-page .page-hero-section{

    background:
    linear-gradient(
    rgba(2,6,23,0.86),
    rgba(15,23,42,0.92)
    ),
    url('../images/blog/blog-bg.webp');

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

}

/* =====================================================
BLOG SECTION
===================================================== */

.blog-section{
    position:relative;
}

/* =====================================================
BLOG CARD
===================================================== */

.blog-card{

    position:relative;

    background:#ffffff;

    border-radius:30px;

    overflow:hidden;

    height:100%;

    border:1px solid #e2e8f0;

    box-shadow:
    0 15px 40px rgba(15,23,42,0.06);

    transition:0.4s ease;

}

.blog-card:hover{

    transform:translateY(-12px);

    box-shadow:
    0 30px 70px rgba(15,23,42,0.12);

}

/* =====================================================
BLOG IMAGE
===================================================== */

.blog-image{

    position:relative;

    overflow:hidden;

    height:260px;

}

.blog-image img{

    width:100%;
    height:100%;

    object-fit:cover;

    transition:0.5s ease;

}

.blog-card:hover .blog-image img{
    transform:scale(1.08);
}

/* =====================================================
BLOG CONTENT
===================================================== */

.blog-content{
    padding:35px 30px;
}

/* =====================================================
BLOG META
===================================================== */

.blog-meta{

    display:flex;

    align-items:center;

    gap:18px;

    margin-bottom:20px;

    flex-wrap:wrap;

}

.blog-meta span{

    display:flex;

    align-items:center;

    gap:8px;

    font-size:14px;

    font-weight:600;

    color:#64748b;

}

.blog-meta i{
    color:#2563eb;
}

/* =====================================================
BLOG TITLE
===================================================== */

.blog-content h3{

    font-size:28px;

    line-height:1.4;

    font-weight:800;

    margin-bottom:18px;

}

.blog-content h3 a{

    color:#020617;

    transition:0.3s ease;

}

.blog-content h3 a:hover{
    color:#2563eb;
}

/* =====================================================
BLOG DESCRIPTION
===================================================== */

.blog-content p{

    font-size:15px;

    line-height:1.9;

    color:#64748b;

    margin-bottom:28px;

}

/* =====================================================
BLOG BUTTON
===================================================== */

.blog-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:14px 30px;

    border-radius:14px;

    background:#2563eb;

    color:#ffffff;

    font-size:15px;

    font-weight:700;

    transition:0.3s ease;

}

.blog-btn:hover{

    background:#0f172a;

    color:#ffffff;

    transform:translateY(-2px);

}

/* =====================================================
FEATURED BLOG
===================================================== */

.featured-blog{

    position:relative;

    overflow:hidden;

    border-radius:36px;

    margin-bottom:50px;

    background:#ffffff;

    border:1px solid #e2e8f0;

    box-shadow:
    0 20px 60px rgba(15,23,42,0.08);

}

.featured-blog-image{
    height:100%;
}

.featured-blog-image img{

    width:100%;
    height:100%;

    object-fit:cover;

}

.featured-blog-content{
    padding:60px 50px;
}

.featured-blog-content .blog-meta{
    margin-bottom:22px;
}

.featured-blog-content h2{

    font-size:42px;

    line-height:1.3;

    font-weight:800;

    color:#020617;

    margin-bottom:24px;

}

.featured-blog-content p{

    font-size:16px;

    line-height:1.9;

    color:#64748b;

    margin-bottom:32px;

}

/* =====================================================
BLOG CATEGORY BADGE
===================================================== */

.blog-category{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:8px 18px;

    border-radius:50px;

    background:#eff6ff;

    color:#2563eb;

    font-size:12px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:1px;

    margin-bottom:18px;

}

/* =====================================================
BLOG SIDEBAR
===================================================== */

.blog-sidebar{

    background:#ffffff;

    border-radius:30px;

    padding:35px;

    border:1px solid #e2e8f0;

    box-shadow:
    0 15px 40px rgba(15,23,42,0.06);

}

.blog-sidebar h4{

    font-size:28px;

    font-weight:800;

    color:#020617;

    margin-bottom:25px;

}

/* =====================================================
RECENT POSTS
===================================================== */

.recent-post{
    display:flex;
    gap:18px;
    margin-bottom:24px;
}

.recent-post:last-child{
    margin-bottom:0;
}

.recent-post img{

    width:90px;
    height:90px;

    border-radius:18px;

    object-fit:cover;

}

.recent-post-content h5{

    font-size:17px;

    line-height:1.5;

    font-weight:700;

    margin-bottom:8px;

}

.recent-post-content h5 a{
    color:#020617;
}

.recent-post-content h5 a:hover{
    color:#2563eb;
}

.recent-post-content span{

    font-size:13px;

    color:#94a3b8;

}

/* =====================================================
RESPONSIVE
===================================================== */

@media(max-width:991px){

    .featured-blog-content{
        padding:45px 35px;
    }

    .featured-blog-content h2{
        font-size:34px;
    }

    .blog-image{
        height:230px;
    }

    .blog-content{
        padding:30px 24px;
    }

    .blog-content h3{
        font-size:24px;
    }

}

@media(max-width:767px){

    .blog-image{
        height:220px;
    }

    .blog-content{
        padding:28px 22px;
    }

    .blog-content h3{
        font-size:22px;
    }

    .blog-content p{
        font-size:14px;
    }

    .blog-btn{
        width:100%;
    }

    .featured-blog-content{
        padding:35px 24px;
    }

    .featured-blog-content h2{
        font-size:28px;
    }

    .blog-sidebar{
        padding:30px 24px;
    }

}

@media(max-width:575px){

    .blog-content{
        padding:24px 20px;
    }

    .blog-content h3{
        font-size:20px;
    }

    .featured-blog-content{
        padding:30px 20px;
    }

    .featured-blog-content h2{
        font-size:24px;
    }

    .blog-sidebar{
        padding:24px 20px;
    }

}