/* ===========================================
   Hiring Solutions - Insights / Blog Styles
   =========================================== */


/* HERO */

.blog-hero{
    background:linear-gradient(rgba(10,37,64,.92),rgba(10,37,64,.92)),
    url('BG.png');
    background-size:cover;
    background-position:center;
    color:#fff;
    text-align:center;
    padding:90px 20px;
}

.blog-hero h1{
    font-size:46px;
    font-weight:700;
    margin-bottom:15px;
}

.blog-hero p{
    max-width:700px;
    margin:auto;
    font-size:18px;
    opacity:.9;
}


/* SEARCH */

.search-wrapper{
    max-width:650px;
    margin:50px auto 20px;
}

.search-wrapper input{

    width:100%;
    padding:18px 22px;

    border:none;
    border-radius:50px;

    font-size:16px;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.3s;
}

.search-wrapper input:focus{

    outline:none;

    box-shadow:0 12px 35px rgba(0,0,0,.15);

}


/* CATEGORY BUTTONS */

.categories{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:12px;

    margin:40px auto 60px;

}

.category-btn{

    padding:12px 22px;

    border-radius:30px;

    border:1px solid #d9e2ef;

    background:white;

    cursor:pointer;

    transition:.3s;

    font-weight:500;

}

.category-btn:hover{

    background:#0a2540;

    color:white;

}

.category-btn.active{

    background:#ff6b35;

    color:white;

    border-color:#ff6b35;

}


/* FEATURED ARTICLE */

.featured{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:45px;

    align-items:center;

    margin-bottom:80px;

}

.featured img{

    width:100%;

    border-radius:14px;

    box-shadow:0 10px 30px rgba(0,0,0,.12);

}

.featured small{

    color:#ff6b35;

    font-weight:600;

    letter-spacing:1px;

    text-transform:uppercase;

}

.featured h2{

    font-size:36px;

    margin:18px 0;

    color:#0a2540;

}

.featured p{

    color:#666;

    line-height:1.8;

    margin-bottom:25px;

}


/* BLOG GRID */

.blog-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));

    gap:35px;

}


/* CARD */

.blog-card{

    background:white;

    border-radius:14px;

    overflow:hidden;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.35s;

    display:flex;

    flex-direction:column;

}

.blog-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}

.blog-card img{

    width:100%;

    height:230px;

    object-fit:cover;

}

.blog-content{

    padding:25px;

    display:flex;

    flex-direction:column;

    flex:1;

}

.blog-category{

    color:#ff6b35;

    font-size:13px;

    text-transform:uppercase;

    font-weight:600;

    margin-bottom:10px;

}

.blog-title{

    font-size:24px;

    color:#0a2540;

    margin-bottom:15px;

    line-height:1.4;

}

.blog-meta{

    color:#888;

    font-size:14px;

    margin-bottom:15px;

}

.blog-content p{

    color:#666;

    line-height:1.8;

    flex:1;

}

.read-btn{

    margin-top:25px;

    color:#0a2540;

    text-decoration:none;

    font-weight:600;

}

.read-btn:hover{

    color:#ff6b35;

}


/* SHARE */

.share{

    display:flex;

    gap:15px;

    margin-top:20px;

}

.share a{

    color:#666;

    text-decoration:none;

    transition:.3s;

}

.share a:hover{

    color:#ff6b35;

}


/* PAGINATION */

.pagination{

    display:flex;

    justify-content:center;

    gap:15px;

    margin:80px 0;

}

.pagination button{

    width:45px;

    height:45px;

    border:none;

    border-radius:50%;

    background:#eef3fa;

    cursor:pointer;

    transition:.3s;

}

.pagination button:hover{

    background:#ff6b35;

    color:white;

}


/* NEWSLETTER */

.newsletter{

    background:#0a2540;

    color:white;

    padding:70px 30px;

    text-align:center;

    border-radius:16px;

    margin:80px 0;

}

.newsletter h2{

    color:white;

    margin-bottom:15px;

}

.newsletter p{

    margin-bottom:30px;

}

.newsletter form{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:15px;

}

.newsletter input{

    width:350px;

    max-width:100%;

    padding:16px;

    border:none;

    border-radius:8px;

}

.newsletter button{

    padding:16px 28px;

}


/* ARTICLE PAGE */

.article-header{

    margin-bottom:40px;

}

.article-header img{

    width:100%;

    border-radius:16px;

    margin:30px 0;

}

.article-content{

    max-width:850px;

    margin:auto;

    font-size:18px;

    line-height:2;

}

.article-content h2{

    margin:40px 0 20px;

    color:#0a2540;

}

.article-content p{

    margin-bottom:20px;

}


/* RELATED */

.related-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:25px;

    margin-top:40px;

}


/* RESPONSIVE */

@media(max-width:900px){

.featured{

grid-template-columns:1fr;

}

.featured h2{

font-size:30px;

}

.blog-hero h1{

font-size:34px;

}

}

@media(max-width:600px){

.blog-grid{

grid-template-columns:1fr;

}

.blog-title{

font-size:22px;

}

.search-wrapper{

margin-top:30px;

}

}