/* ==========================================
BLOG SECTION
========================================== */

.blog-section{
    padding:50px 0;
    background:#fff;
}

.section-heading{
    text-align:center;
    margin-bottom:30px;
}

.section-badge{
    display:inline-block;
    padding:8px 18px;
    background:#eef4ff;
    color:#0B5FFF;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
    margin-bottom:15px;
}

.section-heading h2{
    font-size:36px;
    font-weight:800;
    color:#071C63;
    line-height:1.2;
    margin-bottom:0;
}

.title-line{
    width:70px;
    height:4px;
    background:#0B5FFF;
    margin:18px auto 0;
    border-radius:20px;
}

/* ==========================================
BLOG GRID
========================================== */

.blog-grid-home{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

/* ==========================================
BLOG CARD
========================================== */

.blog-card-home{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 8px 30px rgba(0,0,0,.05);
    transition:.35s ease;
    display:flex;
    flex-direction:column;
    height:100%;
}

.blog-card-home:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(11,95,255,.12);
}

.blog-image-home{
    height:220px;
    overflow:hidden;
}

.blog-image-home img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s ease;
}

.blog-card-home:hover .blog-image-home img{
    transform:scale(1.08);
}

/* ==========================================
CONTENT
========================================== */

.blog-content-home{
    padding:20px;
    display:flex;
    flex-direction:column;
    flex:1;
}

.blog-meta-home{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:18px;
}

.blog-category-home{
    background:#eef4ff;
    color:#0B5FFF;
    padding:6px 14px;
    border-radius:30px;
    font-size:12px;
    font-weight:600;
}

.blog-date-home{
    display:flex;
    align-items:center;
    gap:6px;
    color:#666;
    font-size:13px;
}

.blog-date-home i{
    /*color:#0B5FFF;*/
    color:#ff7a00;
}

.blog-content-home h3{
    color:#071C63;
    font-size:16px;
    font-weight:700;
    line-height:1.5;
    margin-bottom:12px;
    min-height:40px;
}

.blog-readmore-home{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:14px;
    color:#0B5FFF;
    font-weight:700;
    text-decoration:none;
    margin-top:auto;
    transition:.3s ease;
}

.blog-readmore-home:hover{
    /*color:#071C63;*/
    color:#ff7a00;
    gap:12px;
}

.blog-readmore-home i{
    font-size:13px;
}

/* ==========================================
FOOTER
========================================== */

.blog-footer{
    margin-top:40px;
    text-align:center;
}

.view-all-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:#0B5FFF;
    font-weight:700;
    font-size:16px;
    text-decoration:none;
    transition:.3s ease;
}

.view-all-btn:hover{
    gap:15px;
    /*color:#071C63;*/
    color:#ff7a00;
}

/* ==========================================
3840px (4K)
========================================== */

@media (min-width:3000px){

    .blog-section{
        padding:100px 0;
    }

    .section-heading{
        margin-bottom:80px;
    }

    .section-heading h2{
        font-size:62px;
    }

    .section-badge{
        font-size:20px;
        padding:12px 30px;
    }

    .blog-grid-home{
        gap:40px;
    }

    .blog-card-home{
        border-radius:30px;
    }

    .blog-image-home{
        height:420px;
    }

    .blog-content-home{
        padding:40px;
    }

    .blog-category-home{
        font-size:18px;
        padding:10px 20px;
    }

    .blog-date-home{
        font-size:18px;
    }

    .blog-content-home h3{
        font-size:34px;
        min-height:160px;
    }

    .blog-readmore-home{
        font-size:20px;
    }

    .view-all-btn{
        font-size:24px;
    }
}

/* ==========================================
2560px
========================================== */

@media (min-width:2200px) and (max-width:2999px){

    .section-heading h2{
        font-size:56px;
    }

    .blog-image-home{
        height:320px;
    }

    .blog-content-home{
        padding:32px;
    }

    .blog-content-home h3{
        font-size:28px;
        min-height:100px;
    }

    .blog-date-home,
    .blog-category-home{
        font-size:16px;
    }
}

/* ==========================================
1920px
========================================== */

@media (min-width:1600px) and (max-width:2199px){

    .section-heading h2{
        font-size:48px;
    }

    .blog-image-home{
        height:260px;
    }

    .blog-content-home h3{
        font-size:22px;
    }
}

/* ==========================================
1440px
========================================== */

@media (max-width:1440px){

    .section-heading h2{
        font-size:40px;
    }
}

/* ==========================================
1366px
========================================== */

@media (max-width:1366px){

    .section-heading h2{
        font-size:36px;
    }

    .blog-grid-home{
        gap:22px;
    }
}

/* ==========================================
1280px
========================================== */

@media (max-width:1280px){

    .blog-grid-home{
        gap:20px;
    }
    
    .section-heading h2{
        font-size:32px;
    }

    .blog-content-home{
        padding:22px;
    }
}

/* ==========================================
1024px
========================================== */

@media (max-width:1024px){

    .blog-grid-home{
        grid-template-columns:repeat(2,1fr);
        gap:20px;
    }

    .section-heading h2{
        font-size:34px;
    }

    .blog-content-home h3{
        min-height:30px;
    }
}

/* ==========================================
768px
========================================== */

@media (max-width:768px){

    .blog-section{
        padding:60px 0;
    }

    .section-heading{
        margin-bottom:35px;
    }

    .section-heading h2{
        font-size:30px;
    }

    .blog-grid-home{
        grid-template-columns:repeat(2,1fr);
        gap:18px;
    }

    .blog-image-home{
        height:180px;
    }

    .blog-content-home{
        padding:20px;
    }

    .blog-content-home h3{
        font-size:18px;
        min-height:auto;
    }
}

/* ==========================================
576px
========================================== */

@media (max-width:576px){

    .blog-grid-home{
        grid-template-columns:1fr;
    }

    .section-heading h2{
        font-size:26px;
    }

    .blog-image-home{
        height:220px;
    }
}

/* ==========================================
480px
========================================== */

@media (max-width:480px){

    .blog-section{
        padding:50px 0;
    }

    .section-heading{
        margin-bottom:25px;
    }

    .section-heading h2{
        font-size:24px;
    }

    .blog-content-home{
        padding:18px;
    }

    .blog-meta-home{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }

    .blog-content-home h3{
        font-size:18px;
        min-height:auto;
    }

    .view-all-btn{
        font-size:16px;
    }
}

/* ==========================================
375px
========================================== */

@media (max-width:375px){

    .section-heading h2{
        font-size:22px;
    }

    .blog-image-home{
        height:200px;
    }

    .blog-content-home{
        padding:16px;
    }

    .blog-content-home h3{
        font-size:17px;
    }
}

/* ==========================================
320px
========================================== */

@media (max-width:320px){

    .section-heading h2{
        font-size:20px;
    }

    .blog-image-home{
        height:180px;
    }

    .blog-content-home{
        padding:14px;
    }

    .blog-content-home h3{
        font-size:16px;
    }

    .blog-date-home{
        font-size:12px;
    }

    .blog-category-home{
        font-size:11px;
    }

    .view-all-btn{
        font-size:14px;
    }
}