.blog-hero{
    height:320px;
    background:url("../images/condition-banner.jpg");
    background-size:cover;
    background-position:center;
    position: relative;
}
.blog-overlay{
    width:100%;
    height:100%;
    background:linear-gradient(
        90deg,
        rgba(8,54,126,.92) 0%,
        rgba(8,54,126,.75) 40%,
        rgba(8,54,126,.10) 100%
    );

    display:flex;
    align-items:center;
}

.blog-content{
    color:#fff;
    padding-left:90px;
}

.blog-content h1{
    font-size:65px;
    margin-bottom:20px;
}

.blog-content p{
    max-width:500px;
    line-height:1.8;
    font-size: 20px;
    margin-bottom: 30px;
}
.blog-content p::after{
    content:"";
    display:block;
    width:70px;
    height:4px;
    background:#58b947;
    margin-top:15px;
    border-radius:5px;
}

.breadcrumb{
    display:flex;
    gap:12px;
    align-items: center;

}
.breadcrumb a{
    color: #fff;
    text-decoration: none;
}
.breadcrumb.active{
    color: #1fa15d;
}
.blog-section{
    padding:80px 6%;
}

.section-heading{
    text-align:center;
    margin-bottom:50px;
}

.section-heading span{
    color:#1fa15d;
    font-weight:700;
}

.section-heading h2{
    color:#0b3d91;
    font-size:48px;
    margin:15px 0;
}

.blog-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.blog-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.blog-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.blog-body{
    padding:20px;
}

.tag{
    background:#e8f8ec;
    color:#1fa15d;
    padding:6px 12px;
    border-radius:20px;
    font-size:13px;
}

.blog-body h3{
    color:#0b3d91;
    margin:15px 0;
}

.blog-body p{
    color:#555;
    line-height:1.7;
}


.blog-footer{
    display:flex;
    justify-content:space-between;
    margin-top:20px;
}

.blog-footer a{
    color:#1fa15d;
    text-decoration:none;

}
.read-more{
    color: #0b4ea2;
    font-weight: 600;
    text-decoration: none;
}
.newsletter{
    margin:0 6% 60px;
    padding:35px;

    border-radius:20px;

    background:#f8fcf8;

    display:flex;
    justify-content:space-between;
    align-items:center;
}

.newsletter-left{
    display:flex;
    align-items:center;
    gap:20px;
}

.newsletter-left i{
    width:70px;
    height:70px;
    border-radius:50%;
    background:#1fa15d;
    color:#fff;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:28px;
}

.newsletter-right{
    display:flex;
    gap:15px;
}

.newsletter-right input{
    width:350px;
    padding:15px;
    border:1px solid #ddd;
    border-radius:10px;
}

.newsletter-right button{
    padding:15px 30px;
    background:#1fa15d;
    color:#fff;
    border:none;
    border-radius:10px;
    cursor:pointer;
}
/* =========================
   TABLET (max-width:1024px)
========================= */

@media (max-width:1024px){

    .blog-content{
        padding-left:50px;
    }

    .blog-content h1{
        font-size:50px;
    }

    .blog-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .newsletter{
        flex-direction:column;
        gap:25px;
        text-align:center;
    }
    .newsletter-right input{
        width: 100%;
        max-width: 400px;
    }

}

/* =========================
   MOBILE (max-width:768px)
========================= */

@media (max-width:768px){

    .blog-hero{
        height:250px;
    }

    .blog-content{
        padding:0 20px;
        text-align: center;
    }

    .blog-content h1{
        font-size:38px;
        margin-bottom:10px;
    }

    .blog-content p{
        font-size:16px;
        line-height:1.6;
    }
    .blog-content p::after{
        margin: 15px auto 0;
    }

    .breadcrumb{
        font-size:14px;
        justify-content: center;
    }

    .blog-section{
        padding:50px 15px;
    }

    .section-heading h2{
        font-size:30px;
    }

    .blog-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .blog-card img{
        height:220px;
    }

    .newsletter{
        flex-direction:column;
        padding:25px 15px;
        text-align:center;
        gap:20px;
    }

    .newsletter-left{
        flex-direction:column;
    }

    .newsletter-right{
        flex-direction:column;
        width:100%;
    }

    .newsletter-right input{
        width:100%;
    }

    .newsletter-right button{
        width:100%;
    }

}

/* =========================
   SMALL MOBILE (max-width:480px)
========================= */

@media (max-width:400px){

     .blog-hero{
        height:250px;
    }

    .blog-content{
        padding:0 20px;
        text-align: center;
    }

    .blog-content h1{
        font-size:38px;
        margin-bottom:10px;
    }

    .blog-content p{
        font-size:16px;
        line-height:1.6;
    }
    .blog-content p::after{
        margin: 15px auto 0;
    }

    .breadcrumb{
        font-size:14px;
        justify-content: center;
    }

    .blog-section{
        padding:50px 15px;
    }

    .section-heading h2{
        font-size:30px;
    }

    .blog-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .blog-card img{
        height:220px;
    }

    .newsletter{
        flex-direction:column;
        padding:25px 15px;
        text-align:center;
        gap:20px;
    }

    .newsletter-left{
        flex-direction:column;
    }

    .newsletter-right{
        flex-direction:column;
        width:100%;
    }

    .newsletter-right input{
        width:100%;
    }

    .newsletter-right button{
        width:100%;
    }

}