

/* ==================================================
BLOG SECTION
================================================== */

.blog-page {
    padding: 140px 0;
}


.blog-sidebar{
    position: sticky;
    top:120px;
}

.search-box{
    position:relative;
    margin-bottom:35px;
}

.search-box input{
    width:100%;
    height:48px;
    border:1px solid #E5E7EB;
    border-radius:50px;
    padding:0 45px 0 18px;
    outline:none;
    font-size:14px;
    background:#fff;
}

.search-box i{
    position:absolute;
    right:18px;
    top:50%;
    transform:translateY(-50%);
    color:#9CA3AF;
}

.topic-title{
    font-size:13px;
    font-weight:700;
    color:#6B7280;
    margin-bottom:14px;
    text-transform:uppercase;
    letter-spacing:.5px;
}

.topic-list{
    padding-left:0;
    margin-bottom:0;
}

.topic-list li{
    list-style:none;
    margin-bottom:14px;
}

.topic-list li a{
    text-decoration:none;
    color:#8B8B97;
    font-size:15px;
    transition:.3s;
    position:relative;
    padding-left:16px;
}

.topic-list li.active a{
    color:#7C3AED;
    font-weight:600;
}

.topic-list li.active a::before{
    content:"";
    width:7px;
    height:7px;
    border-radius:50%;
    background:#7C3AED;
    position:absolute;
    left:0;
    top:8px;
}

/* ==================================================
FEATURED BLOG
================================================== */

.featured-blog{
    margin-bottom:70px;
}

.featured-content .meta{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:15px;
}

.featured-content .meta span{
    /*color:#9CA3AF;
    font-size:14px;*/

font-family: 'Inter';
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 14px;
color: #8E8E93;

}

.featured-content h2 {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 42px;
    color: #181D27;
}

a{
    color: #181D27;
}

.featured-content p {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    color: #8E8E93;
}

.author-box{
    display:flex;
    align-items:center;
    gap:12px;
}

.author-box img{
    width:42px;
    height:42px;
    border-radius:50%;
    object-fit:cover;
}

.author-box span{
    color:#6B7280;
    font-size:15px;
}

.featured-image {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    height: 100%;
    text-align: center;
    background-color: #6d45ff;
    padding: 20px 0px;
}

.featured-image img {
    width: 100%;
    height: 100%;
}

/*.featured-image::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(135deg,#5B21B6 0%, #7C3AED 100%);
    opacity:.75;
}*/

.featured-image .float-card{
    position:absolute;
    inset:0;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:center;
}

.float-card-inner{
    background:#fff;
    width:280px;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 20px 40px rgba(0,0,0,.18);
}

.float-card-inner img{
    height:160px;
}

.float-card-inner .card-content{
    padding:16px;
}

.float-card-inner h5{
    font-size:18px;
    margin-bottom:12px;
    font-weight:700;
}

.float-icons{
    display:flex;
    justify-content:space-between;
}

.float-icons div{
    width:42px;
    height:42px;
    border-radius:12px;
    background:#6D28D9;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* ==================================================
TOP BLOG GRID
================================================== */

.blog-grid{
    margin-bottom:60px;
}

.blog-card{
    transition:.4s;
}

.blog-card:hover{
    transform:translateY(-8px);
}

.blog-card-image {
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    margin-bottom: 25px;
}

.blog-card-image img{
    width:100%;
    height:100%;
    
}

.blog-card .meta{
    display:flex;
    gap:10px;
    margin-bottom:12px;
    flex-wrap:wrap;
}

.blog-card .meta span{
    font-size:13px;
    color:#9CA3AF;
}

.blog-card h3 {
    font-size: 32px;
    line-height: 40px;
    font-weight: 800;
    margin-bottom: 15px;
}

.blog-card p {
    color: #6B7280;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 20px;
}

/* ==================================================
ALL POSTS
================================================== */

.all-posts-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:45px;
}

.all-posts-top h3{
    font-size:34px;
    font-weight:800;
}

.all-posts-top span{
    color:#9CA3AF;
}

.post-item{
    padding:40px 0;
    border-top:1px solid #ECECF2;
}

.post-item:first-child{
    border-top:none;
    padding-top:0;
}

.post-item .meta{
    display:flex;
    gap:12px;
    margin-bottom:12px;
    flex-wrap:wrap;
}

.post-item .meta span{
    color:#9CA3AF;
    font-size:13px;
}

.post-item h4 {
    font-size: 30px;
    font-weight: 800;
    line-height: 42px;
}

.post-item p {
    color: #6B7280;
    line-height: 32px;
    font-size: 20px;
}

.post-thumb {
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.post-thumb img{
    width:100%;
    height:100%;
    /*object-fit:cover;*/
}

/* ==================================================
PAGINATION
================================================== */

.pagination-wrap{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:40px;
}

.pagination-text{
    color:#9CA3AF;
    font-size:14px;
}

.custom-pagination{
    display:flex;
    gap:10px;
    align-items:center;
}

.custom-pagination button{
    width:42px;
    height:42px;
    border-radius:12px;
    border:1px solid #E5E7EB;
    background:#fff;
    color:#6B7280;
    transition:.3s;
}

.custom-pagination button.active,
.custom-pagination button:hover{
    background:#7C3AED;
    color:#fff;
    border-color:#7C3AED;
}

/* ==================================================
ANIMATION
================================================== */

.fade-up{
    opacity:0;
    transform:translateY(40px);
    transition:1s;
}

.fade-up.active{
    opacity:1;
    transform:translateY(0);
}

/* ==================================================
RESPONSIVE
================================================== */

@media(max-width:991px){

    .blog-sidebar{
        position:relative;
        top:0;
        margin-bottom:50px;
    }

    .featured-content h2,
    .blog-card h3,
    .post-item h4{
        font-size:32px;
    }

    .featured-image{
        margin-top:40px;
    }

    .post-thumb{
        margin-top:30px;
    }

}

@media(max-width:767px){

    .blog-page{
        padding:60px 0;
    }

    .featured-content h2,
    .blog-card h3,
    .post-item h4,
    .all-posts-top h3{
        font-size:28px;
    }

    .blog-card-image{
        height:240px;
    }

    .post-thumb{
        height:220px;
    }

    .pagination-wrap{
        flex-direction:column;
        gap:20px;
    }

}