/* ==================================
   BLOG HERO
================================== */

.blog-hero{
    position:relative;
    
    display:flex;
    align-items:center;
    overflow:hidden;
    padding: 60px 0;
}

.blog-hero-bg{
    position:absolute;
    inset:0;
}

.blog-hero-bg img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.blog-hero-overlay{
    position:absolute;
    inset:0;

    background:linear-gradient(
        90deg,
        rgba(2,31,91,.96) 0%,
        rgba(2,31,91,.90) 35%,
        rgba(2,31,91,.45) 70%,
        rgba(2,31,91,.10) 100%
    );
}

.blog-hero .container{
    position:relative;
    z-index:2;
}



.blog-hero-title{
    color:#fff;
    font-size:clamp(40px,5vw,62px);
    line-height:1.1;
    font-weight:700;
    margin:15px 0 20px;
}
h1.blog-hero-title {
    padding-bottom: 20px;
    position: relative;
    margin-bottom: 35px;
}
h1.blog-hero-title::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    background: var(--accent);
    bottom: 0;
}
.blog-hero-title span{
    display:block;
    color:var(--accent);
}

.blog-hero-desc{
    color:rgba(255,255,255,.85);
    line-height:1.9;
    margin-bottom:30px;
    max-width:470px;
}

.blog-search-form{
    position:relative;
}

.blog-search-form input{
    width:100%;
    height:52px;

    border:none;
    border-radius:8px;

    padding:0 60px 0 18px;

    font-size:14px;
}

.blog-search-form button{
    position:absolute;
    right:0;
    top:0;

    width:52px;
    height:52px;

    border:none;
    border-radius:0 8px 8px 0;

    background:var(--accent);
    color:#fff;

    transition:.3s;
}

.blog-search-form button:hover{
    background:var(--primary);
}

.blog-search-form button i{
    font-size:18px;
}

@media(max-width:991px){

    .blog-hero{
        min-height:500px;
    }

}

@media(max-width:767px){

    .blog-hero{
        min-height:550px;
    }

    .blog-search-form{
        max-width:100%;
    }

}



.blog-list-item{
    display:grid;
    grid-template-columns:270px 1fr;
    gap:25px;

    background:#fff;
    border:1px solid #e7edf5;
    border-radius:12px;

    overflow:hidden;
    margin-bottom:24px;
}

.blog-thumb img{
    width:100%;
    height:100%;
    min-height:230px;
    object-fit:cover;
}

.blog-content{
    padding:25px 25px 25px 0;
}

.blog-meta-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
}

.blog-category{
    color:#d59b1a;
    font-size:12px;
    font-weight:700;
    letter-spacing:.5px;
}

.blog-date{
    color:#94a3b8;
    font-size:13px;
}

.blog-content h3{
        font-size: 32px;
    line-height: 1.25;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.blog-content p{
    color:#64748b;
    line-height:1.9;
    margin-bottom:20px;
}

.blog-meta-bottom{
    display:flex;
    align-items:center;
    gap:20px;
}

.blog-author{
    display:flex;
    align-items:center;
    gap:10px;
}

.blog-author img{
    width:32px;
    height:32px;
    border-radius:50%;
}

.read-time{
    color:#64748b;
    font-size:14px;
}

.read-more{
    margin-left:auto;
    color:var(--primary);
    font-weight:600;
}

/* Sidebar */

.blog-sidebar-card{
    border:1px solid #e7edf5;
    border-radius:12px;
    overflow:hidden;
    background:#fff;
    margin-bottom:25px;
}

.sidebar-header{
    background:#04255f;
    color:#fff;
    padding:18px 25px;
    font-size:18px;
    font-weight:600;
}
.sidebar-header h4 {
    color: #fff;
    position: relative;
    margin-bottom:0px;
    padding-bottom: 10px;
}
.sidebar-header h4::before {
        width: 30px;
    height: 2px;
    background: var(--accent);
    border-radius: 30px;
    position: absolute;
    content: "";
    bottom: 0;
}
.category-list{
    list-style:none;
    margin:0;
    padding:0;
}

.category-list li a{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:15px 25px;

    border-bottom:1px solid #edf2f7;

    color:#475569;
}

.category-list li:last-child a{
    border-bottom:none;
}

.category-list span{
    display:flex;
    align-items:center;
    gap:10px;
}

.category-list i{
    color:var(--primary);
}

.popular-post{
    display:flex;
    gap:15px;
    padding:20px;
    border-bottom:1px solid #edf2f7;
}

.popular-number {
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
    background: #fff;
    position: absolute;
    padding: 5px;
    font-size: 15px;
    line-height: 15px;
    border: 1px solid #dedede;
    border-radius: 5px;
}

.popular-post img{
    width:75px;
    height:75px;
    border-radius:8px;
    object-fit:cover;
    margin-left: 20px;
}

.popular-post h6{
    font-size:15px;
    line-height:1.5;
    margin-bottom:5px;
}

.popular-post small{
    color:#94a3b8;
}

/* Newsletter */

.blog-newsletter{
    background: #f3f6fb;
    border:1px solid #e7edf5;
    border-radius:12px;
    padding:30px;
    text-align:center;
}

.blog-newsletter i{
    font-size:42px;
    color:#40628d;
}

.blog-newsletter h4 {
    margin: 0 0 20px;
}
.blog-newsletter p{
    color:#64748b;
    margin-bottom:20px;
}
.blog-newsletter .btn-accent-custom {
    justify-content: center;
}

.blog-newsletter input{
    width:100%;
    height:50px;
    border:1px solid #e2e8f0;
    border-radius:8px;
    padding:0 15px;
    margin-bottom:15px;
}

/* Pagination */

.blog-pagination{
    display:flex;
    gap:10px;
    margin-top:40px;
    justify-content:center;
}

.blog-pagination a{
    width:42px;
    height:42px;
    border:1px solid #e2e8f0;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:6px;
    color: var(--primary);
}

.blog-pagination .active{
    background:#04255f;
    color:#fff;
    border-color:#04255f;
}

.next-page{
    width:auto !important;
    padding:0 20px;
}

@media(min-width:991.2px){

   .blog-search-form {
    max-width: 520px;
}

}
@media(max-width:991px){
    .blog-search-form {
    max-width: 320px;
}

    .blog-list-item{
        grid-template-columns:1fr;
    }

    .blog-content{
        padding:25px;
    }

}