
.blog-page{
    padding:70px 0;
    background:#f7f9fc;
}

.page-heading{
    text-align:center;
    margin-bottom:50px;
}

.page-heading h1{
    font-size:42px;
    font-weight:700;
    color:#0f172a;
    margin-bottom:12px;
}

.page-heading p{
    max-width:700px;
    margin:auto;
    color:#66758a;
    font-size:16px;
    line-height:1.8;
}


.blog-layout{
    display:grid;
    grid-template-columns:2fr 360px;
    gap:35px;
    align-items:start;
}


.blog-card {
    align-items: center;
    margin-bottom: 50px;
    background: #fff;
    border: 1px solid #e4ecf7;
    display: flex;
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.2s;
    border-radius: 10px;
}

.blog-image{
    width:52%;
    flex-shrink:0;
}

.blog-image img{
    width:100%;
    height:380px;
    object-fit:cover;
    display:block;
    border-radius:8px;
}

.blog-content{
    width:48%;
}

.blog-date{
    display:block;
    color:#e53935;
    font-size:16px;
    margin-bottom:8px;
    font-weight:500;
}

.blog-subtitle{
    font-size:18px;
    color:#111;
    margin-bottom:15px;
    font-weight:600;
}

.blog-content h2{
    font-size:42px;
    line-height:1.2;
    margin-bottom:20px;
    color:#111;
}

.blog-content p{
    font-size:15px;
    line-height:22px !important;
    color:#555;
}

.read-btn{
    color:#e53935;
    text-decoration:none;
    font-size:20px;
    font-weight:600;
}

.read-btn:hover{
    color:#fff;
}

@media(max-width:991px){

    .blog-card{
        flex-direction:column;
        gap:25px;
    }

    .blog-image,
    .blog-content{
        width:100%;
    }

    .blog-image img{
        height:260px;
    }

    .blog-content h2{
        font-size:30px;
    }

}

.blog-image{
    height:auto;
    overflow:hidden;
}

.blog-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s;
}

.blog-card:hover img{
    transform:scale(1.05);
}

.blog-content{
    padding:28px;
}

.blog-category{
    display:inline-block;
    background:#edf3ff;
    color:#0078aa;
    padding:8px 14px;
    border-radius:30px;
    font-size:11px;
    font-weight:700;
    letter-spacing:.5px;
    margin:0px;
}
.blog-content a {
    font-size: 14px;
    padding: 8px 20px;
    margin-top: 10px;
    border-radius: 5px !important;
}

.blog-category.green{
    background:#e8f8ec;
    color:#0078aa;
}

.blog-category.blue{
    background:#eaf3ff;
    color:#2563eb;
}

.blog-content h2{
    font-size:18px;
    line-height:1.4;
    margin-bottom:14px;
    color:#0f172a;
}

.blog-meta{
    display:flex;
    gap:10px;
    color:#0078aa;
    font-size:14px;
    margin-bottom:8px;
}
.blog-sidebar{
    position:sticky;
    top:110px;
}
.blog-content p{
    color:#677489;
    line-height:1.8;
    margin:0px;
}

.read-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:#0078aa;
    color:#fff;
    text-decoration:none;
    padding:12px 22px;
    border-radius:10px;
    font-weight:600;
    transition:.3s;
}

.read-btn:hover{
    background:#0078aa;
}

/*=========================================
PAGINATION
=========================================*/

.pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    margin-top:60px;
    flex-wrap:wrap;
}

.page-btn,
.page-number{

    min-width:48px;
    height:48px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:0 18px;

    background:#fff;
    border:1px solid #e5ebf3;
    border-radius:12px;

    text-decoration:none;

    color:#07192d;
    font-weight:600;

    transition:.3s;

}

.page-btn:hover,
.page-number:hover{

    background:#0078aa;
    color:#fff;
    border-color:#0078aa;

}

.page-number.active{

    background:#0078aa;
    color:#fff;
    border-color:#0078aa;

}

.page-btn.disabled{

    opacity:.45;
    pointer-events:none;

}

.dots{

    color:#8d97a8;
    font-size:18px;
    padding:0 6px;

}

.sidebar-box{
    background:#fff;
    border:1px solid #e7edf6;
    border-radius:18px;
    padding:24px;
    margin-bottom:25px;
}

.sidebar-box h4 {
    font-size: 20px;
    color: #0f172a;
    margin: 0px;
}

.search-box{
    width:100%;
    height:52px;
    border:1px solid #dbe4ef;
    border-radius:10px;
    padding:0 16px;
    outline:none;
    font-size:15px;
    margin-top: 10px;
}

.search-box:focus{
    border-color:#0078aa;
}

.sidebar-box ul{
    list-style:none;
    padding:0;
    margin:0;
}

.sidebar-box li{
    border-bottom:1px solid #edf2f7;
}

.sidebar-box li:last-child{
    border-bottom:none;
}

.sidebar-box li a{
    display:flex;
    justify-content:space-between;
    align-items:center;
    text-decoration:none;
    color:#55657b;
    padding:13px 0;
    transition:.3s;
}

.sidebar-box li a:hover{
    color:#0078aa;
    padding-left:6px;
}

.sidebar-box span{
    color:#9aa7b8;
}


@media(max-width:1024px){

.blog-layout{
    grid-template-columns:1fr;
}

.blog-sidebar{
    position:static;
}

.blog-image{
    height:240px;
}

}


@media(max-width:767px){

.blog-page{
    padding:40px 0;
}

.page-heading h1{
    font-size:32px;
}

.page-heading p{
    font-size:15px;
}

.blog-image{
    height:210px;
}

.blog-content{
    padding:20px;
}

.blog-content h2{
    font-size:22px;
}

.blog-meta{
    flex-wrap:wrap;
    gap:8px;
    font-size:13px;
}

.read-btn{
    width:100%;
    justify-content:center;
}

.sidebar-box{
    padding:20px;
}

.sidebar-box h4{
    font-size:18px;
}

}