.blog-page-hero{
    background:linear-gradient(90deg,#f5f8fc,#ffffff);
}

.blog-hero-layout{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:28px;
    align-items:center;
}

.blog-hero-content span{
    color:var(--blue);
    font-weight:800;
    font-size:14px;
}

.blog-hero-content h1{
    margin:8px 0 10px;
    font-size:38px;
    color:var(--navy);
    line-height:1.15;
}

.blog-hero-content p{
    font-size:17px;
    color:var(--muted);
    max-width:760px;
}

.blog-search-box{
    background:#fff;
    border:1px solid var(--border);
    box-shadow:var(--shadow);
    border-radius:14px;
    padding:18px;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px;
    position:relative;
    overflow:visible;
    z-index:10;
}

.blog-search-input-wrap{
    position:relative;
    min-width:0;
}

.blog-search-box input{
    margin:0;
    height:46px;
    padding-right:42px;
}

.blog-search-submit{
    height:46px;
    white-space:nowrap;
}

.blog-search-clear{
    display:none;
    position:absolute;
    top:50%;
    right:10px;
    transform:translateY(-50%);
    width:28px;
    height:28px;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:50%;
    background:transparent;
    color:var(--blue);
    font-size:22px;
    font-weight:800;
    cursor:pointer;
    z-index:4;
}

#searchSuggestions{
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:calc(100% + 8px);
    z-index:99999;
    background:#fff;
    border:1px solid var(--border);
    border-radius:10px;
    box-shadow:var(--shadow);
    max-height:330px;
    overflow-y:auto;
    overflow-x:hidden;
    padding:6px 0;
}

#searchSuggestions a,
#searchSuggestions div,
#searchSuggestions li{
    display:block;
    padding:9px 12px;
    color:var(--text);
    font-size:14px;
    line-height:1.35;
    border-bottom:1px solid #eef2f7;
    word-break:break-word;
}

#searchSuggestions a:last-child,
#searchSuggestions div:last-child,
#searchSuggestions li:last-child{
    border-bottom:0;
}

#searchSuggestions a:hover,
#searchSuggestions div:hover,
#searchSuggestions li:hover{
    background:var(--soft);
    text-decoration:none;
}

#searchSuggestions small,
#searchSuggestions span{
    font-size:11px;
    color:var(--muted);
    font-weight:400;
    margin-left:4px;
    /*display:inline-block;*/
}

.blog-section-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    margin-bottom:20px;
    border-bottom:1px solid var(--border);
    padding-bottom:14px;
}

.blog-section-head h2{
    margin:0;
    color:var(--navy);
    font-size:24px;
}

.blog-section-head p{
    margin:4px 0 0;
    color:var(--muted);
    font-size:14px;
}

.blog-section-head strong{
    background:var(--soft);
    color:var(--blue);
    border:1px solid var(--border);
    border-radius:30px;
    padding:8px 14px;
    white-space:nowrap;
}

.blog-list-grid{
    gap:20px;
}

.blog-list-card{
    padding:22px;
    transition:.2s;
    position:relative;
    overflow:hidden;
}

.blog-list-card:before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:4px;
    background:linear-gradient(90deg,var(--blue),var(--gold));
}

.blog-list-card:hover{
    transform:translateY(-4px);
    box-shadow:var(--shadow);
}

.blog-card-meta{
    display:flex;
    justify-content:space-between;
    gap:12px;
    margin-bottom:12px;
    font-size:13px;
}

.blog-card-meta span{
    color:var(--blue);
    font-weight:800;
}

.blog-card-meta small{
    color:var(--muted);
}

.blog-list-card h3{
    font-size:19px;
    line-height:1.35;
    color:var(--navy);
    margin:0 0 10px;
}

.blog-list-card p{
    color:var(--muted);
    font-size:14px;
    margin-bottom:18px;
}

.blog-card-link{
    display:inline-flex;
    color:var(--blue);
    font-weight:800;
    border-bottom:2px solid var(--gold);
    padding-bottom:3px;
}

.blog-pagination{
    margin-top:30px;
    display:flex;
    gap:8px;
    justify-content:center;
    flex-wrap:wrap;
}

.blog-pagination a,
.blog-pagination span{
    border:1px solid var(--border);
    padding:8px 12px;
    border-radius:8px;
    font-weight:700;
}

.blog-pagination span{
    background:var(--blue);
    color:#fff;
    border-color:var(--blue);
}

@media(max-width:768px){
    .blog-hero-layout{
        grid-template-columns:1fr;
    }

    .blog-hero-content h1{
        font-size:29px;
    }

    .blog-search-box{
        grid-template-columns:1fr;
    }

    .blog-search-submit{
        width:100%;
    }

    .blog-section-head{
        flex-direction:column;
        align-items:flex-start;
    }

    #searchSuggestions{
        max-height:260px;
    }
}
