/*=========================================
            BLOG HERO
=========================================*/

.blog-hero{

    position:relative;

    min-height:700px;

    display:flex;

    align-items:center;

    overflow:hidden;

    background:url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=2000&q=80');

    background-size:cover;

    background-position:center;

}

.blog-hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        110deg,
        rgba(17,34,71,.93),
        rgba(36,54,122,.82)
    );

}

.blog-hero .container{

    position:relative;

    z-index:2;

}

.hero-content{

    max-width:720px;

}

.hero-badge{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:12px 25px;

    border-radius:50px;

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(10px);

    color:#fff;

    margin-bottom:30px;

    font-weight:500;

}

.hero-badge i{

    color:var(--secondary);

}

.blog-hero h1{

    color:#fff;

    font-size:68px;

    line-height:1.15;

    font-weight:800;

    margin-bottom:30px;

}

.blog-hero p{

    color:rgba(255,255,255,.92);

    font-size:19px;

    line-height:1.9;

    max-width:650px;

    margin-bottom:40px;

}

.hero-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

.hero-wave{

    position:absolute;

    bottom:-2px;

    left:0;

    width:100%;

}

.hero-wave svg{

    display:block;

    width:100%;

}

@media(max-width:991px){

    .blog-hero{

        min-height:600px;

        text-align:center;

    }

    .hero-content{

        margin:auto;

    }

    .blog-hero h1{

        font-size:48px;

    }

}

@media(max-width:576px){

    .blog-hero h1{

        font-size:38px;

    }

    .blog-hero p{

        font-size:17px;

    }

}

.blog-section{

    padding:100px 0;

    background:#f8fafc;

}

.hero-wave{

    position:absolute;

    bottom:0;

    left:0;

    width:100%;

}

.hero-wave svg{

    display:block;

    width:100%;

}

.hero-search{

    position:absolute;

    left:50%;

    bottom:80px;

    transform:translateX(-50%);

    width:100%;

    z-index:20;

}

.blog-toolbar{

    background:#fff;

    border-radius:25px;

    padding:30px;

    box-shadow:0 25px 70px rgba(0,0,0,.15);

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:25px;

    flex-wrap:wrap;

}

.search-box{

    flex:1;

    min-width:280px;

    position:relative;

}

.search-box input{

    width:100%;

    height:60px;

    border:none;

    background:#f5f7fb;

    border-radius:50px;

    padding:0 25px 0 60px;

    font-size:15px;

    transition:.3s;

}

.search-box input:focus{

    outline:none;

    background:#fff;

    box-shadow:0 0 0 3px rgba(243,154,31,.18);

}

.search-box i{

    position:absolute;

    left:24px;

    top:50%;

    transform:translateY(-50%);

    color:var(--secondary);

}

.category-filter{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

}

.category-filter button{

    border:none;

    padding:12px 22px;

    border-radius:40px;

    background:#f5f7fb;

    color:var(--primary);

    font-weight:600;

    cursor:pointer;

    transition:.35s;

}

.category-filter button:hover,

.category-filter button.active{

    background:var(--primary);

    color:#fff;

    transform:translateY(-3px);

}
@media(max-width:992px){

    .hero-search{

        bottom:35px;

    }

    .blog-toolbar{

        padding:20px;

    }

}

@media(max-width:768px){

    .hero-search{

        position:relative;

        left:0;

        bottom:-30px;

        transform:none;

        padding:0 15px;

    }

    .blog-toolbar{

        flex-direction:column;

        align-items:stretch;

    }

    .category-filter{

        justify-content:center;

    }

}
.search-box{

    width:350px;

    position:relative;

}

.search-box input{

    width:100%;

    height:60px;

    border:none;

    background:#fff;

    border-radius:50px;

    padding-left:55px;

    box-shadow:var(--shadow);

}

.search-box i{

    position:absolute;

    left:22px;

    top:22px;

    color:var(--secondary);

}

.category-filter{

    display:flex;

    gap:12px;

    flex-wrap:wrap;

}

.category-filter button{

    border:none;

    background:#fff;

    padding:12px 24px;

    border-radius:40px;

    transition:.3s;

}

.category-filter button.active,
.category-filter button:hover{

    background:var(--primary);

    color:#fff;

}

.featured-post{

    background:#fff;

    border-radius:25px;

    overflow:hidden;

    box-shadow:var(--shadow);

    margin-bottom:70px;

}

.featured-post img{

    width:100%;

    height:500px;

    object-fit:cover;

}

.featured-post .col-lg-6:last-child{

    padding:55px;

}

.badge-category{

    display:inline-block;

    background:rgba(243,154,31,.15);

    color:var(--secondary);

    padding:8px 20px;

    border-radius:30px;

    margin-bottom:20px;

}

.blog-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    transition:.35s;

    height:100%;

    box-shadow:0 10px 30px rgba(0,0,0,.06);

}

.blog-card:hover{

    transform:translateY(-10px);

}

.blog-card img{

    width:100%;

    height:250px;

    object-fit:cover;

}

.blog-card .image{

    position:relative;

}

.blog-card .image span{

    position:absolute;

    left:20px;

    top:20px;

    background:var(--secondary);

    color:#fff;

    padding:8px 16px;

    border-radius:30px;

    font-size:13px;

}

.blog-card .content{

    padding:30px;

}

.blog-card h3{

    font-size:22px;

    margin:15px 0;

    color:var(--primary);

}

.blog-card a{

    color:var(--secondary);

    font-weight:600;

    text-decoration:none;

}