.blog-hero{
    height:850px;
    background:url('../images/bloghero.webp')
               center center/cover no-repeat;
}

.featured-blog{
    padding:30px 0;
    background:#f8fbff;
}

.featured-card{
    background:#fff;
    border-radius:30px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.06);
}

.featured-card img{
    width:100%;
    height:500px;
    object-fit:cover;
}

.blog-tag{
    color:#0077C8;
    font-weight:600;
    letter-spacing:2px;
}

.featured-card h1{
    font-size:48px;
    color:#003B73;
    margin:20px 0;
}

.blog-btn{
    display:inline-block;
    padding:14px 30px;
    border-radius:50px;
    background:#0077C8;
    color:#fff;
    margin-top:15px;
}

.blog-grid-section{
    padding:30px 0;
}

.blog-card{
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
    transition:.3s;
    height:100%;
}

.blog-card:hover{
    transform:translateY(-8px);
}

.blog-card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.blog-content{
    padding:25px;
}

.blog-content span{
    color:#0077C8;
    font-size:12px;
    font-weight:600;
    letter-spacing:2px;
}

.blog-content h3{
    font-size:24px;
    color:#003B73;
    margin:15px 0;
}

.blog-content p{
    color:#6d7d8b;
    line-height:1.8;
}

.blog-content a{
    color:#0077C8;
    font-weight:600;
}

.blog-card{
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    height:100%;
    box-shadow:0 12px 35px rgba(0,0,0,.06);
    transition:.35s ease;
}

.blog-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 50px rgba(0,119,200,.12);
}

.blog-card img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.blog-content{
    padding:25px;
}

.blog-content span{
    display:inline-block;
    color:#0077C8;
    font-size:12px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:12px;
}

.blog-content h3{
    font-size:22px;
    line-height:1.4;
    color:#003B73;
    margin-bottom:15px;
}

.blog-content p{
    color:#6d7d8b;
    line-height:1.8;
    margin-bottom:18px;
}

.blog-content a{
    color:#0077C8;
    font-weight:600;
    text-decoration:none;
}

/* ==========================================
   MOBILE BLOG PAGE
========================================== */

@media (max-width: 991px){

    /* Fix navbar overlap */
    .blog-hero{
        margin-top:85px;
        height:250px;
        background-position:center center;
    }

    /* Featured Blog */
    .featured-blog{
        padding:20px 0;
    }

    .featured-card{
        border-radius:20px;
    }

    .featured-card img{
        height:250px;
    }

    .featured-card .col-lg-6:last-child{
        padding:25px;
    }

    .featured-card h2{
        font-size:32px;
        line-height:1.3;
        margin:12px 0;
    }

    .featured-card p{
        font-size:15px;
        line-height:1.7;
    }

    .blog-tag{
        font-size:11px;
        letter-spacing:1px;
    }

    .blog-btn{
        padding:12px 24px;
        font-size:14px;
    }

    /* Blog Grid */
    .blog-grid-section{
        padding:20px 0 40px;
    }

    .blog-card img{
        height:220px;
    }

    .blog-content{
        padding:18px;
    }

    .blog-content span{
        font-size:11px;
    }

    .blog-content h3{
        font-size:20px;
        margin-bottom:10px;
    }

    .blog-content p{
        font-size:14px;
        line-height:1.7;
        margin-bottom:12px;
    }

    .blog-content a{
        font-size:14px;
    }
}

/* Small Devices */

@media (max-width:576px){

    .blog-hero{
        height:180px;
        margin-top:75px;
    }

    .featured-blog{
        padding:15px 0;
    }

    .featured-card img{
        height:200px;
    }

    .featured-card .col-lg-6:last-child{
        padding:18px;
    }

    .featured-card h2{
        font-size:26px;
    }

    .featured-card p{
        font-size:14px;
    }

    .blog-btn{
        width:100%;
        text-align:center;
    }

    .blog-card{
        border-radius:18px;
    }

    .blog-card img{
        height:180px;
    }

    .blog-content{
        padding:15px;
    }

    .blog-content h3{
        font-size:18px;
        line-height:1.4;
    }

    .blog-content p{
        font-size:13px;
    }
}