/*=========================================
  BLOG CARD
=========================================*/

.post-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    transition:.35s ease;
    height:100%;
    display:flex;
    flex-direction:column;
}

.post-card:hover{
    transform:translateY(-10px);
    box-shadow:0 30px 60px rgba(0,0,0,.15);
}

/*=========================================
 Image
=========================================*/

.post-image{
    position:relative;
    overflow:hidden;
}

.post-image img{
    width:100%;
    height:280px;
    object-fit:cover;
    display:block;
    transition:.5s;
}

.post-card:hover .post-image img{
    transform:scale(1.08);
}

/*=========================================
 Content
=========================================*/

.post-content{
    padding:30px;
    display:flex;
    flex-direction:column;
    flex:1;
}

/*=========================================
 Meta
=========================================*/

.post-meta{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
    margin-bottom:18px;
    font-size:14px;
    color:#888;
}

.post-meta span{
    position:relative;
}

.post-meta span:not(:last-child)::after{
    content:"•";
    margin-left:15px;
    color:#ccc;
}

/*=========================================
 Title
=========================================*/

.post-title{
    font-size:20px;
    line-height:1.35;
    margin-bottom:18px;
}

.post-title a{
    text-decoration:none;
    color:#222;
    transition:.3s;
}

.post-title a:hover{
    color:#D58A43;
}

/*=========================================
 Excerpt
=========================================*/

.post-excerpt{
    color:#666;
    line-height:1.8;
    font-size:16px;
    margin-bottom:25px;
    flex:1;
}

/*=========================================
 Categories
=========================================*/

.post-categories{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:25px;
}

.category-badge a{
    display:inline-block;
    padding:8px 16px;
    border-radius:30px;
    background:#F7F7F7;
    color:#555;
    font-size:13px;
    text-decoration:none;
    transition:.3s;
}

.category-badge a:hover{
    background:#D58A43;
    color:#fff;
}

/*=========================================
 Button
=========================================*/

.post-card .btn{
    margin-top:auto;
    align-self:flex-start;
}

.post-card .btn-outline{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:12px 28px;

    border:2px solid #D58A43;

    color:#D58A43;

    border-radius:40px;

    text-decoration:none;

    transition:.3s;

    font-weight:600;

}

.post-card .btn-outline:hover{

    background:#D58A43;

    color:#fff;

}

/*=========================================
 Responsive
=========================================*/

@media(max-width:991px){

    .post-title{
        font-size:24px;
    }

    .post-image img{
        height:240px;
    }

}

@media(max-width:767px){

    .post-content{
        padding:25px;
    }

    .post-title{
        font-size:22px;
    }

    .post-image img{
        height:220px;
    }

    .post-meta{
        gap:10px;
        font-size:13px;
    }

}