/*
Theme Name: swarmlens Technology Solutions
Author: Aatoon Solutions LLP
Author URI: https://www.aatoon.com/
Version: 1.0
 */


 /* =========================
   FILTER TABS
========================= */

.template-filter{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    margin-bottom:40px;
}

.filter-btn{
    padding:14px 28px;
    border:1px solid #444;
    text-decoration:none;
    color:#222;
    font-size:16px;
    font-weight:500;
    transition:0.3s;
    background:#fff;
}

.filter-btn:hover{
    background:#19b34c;
    color:#fff;
    border-color:#19b34c;
}

.filter-btn.active{
    background:#19b34c;
    color:#fff;
    border-color:#19b34c;
}



/* =========================
   GRID
========================= */

.custom-post-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}



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

.custom-post-card{
    background:#fff;
    overflow:hidden;
    position:relative;
    transition:0.3s;
}

.custom-post-card:hover{
    transform:translateY(-6px);
}



/* =========================
   IMAGE
========================= */

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

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

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



/* =========================
   CATEGORY TAGS
========================= */

.post-category{
    position:absolute;
    bottom:20px;
    right:20px;
    z-index:2;
}

.post-category span{
    background:#fff;
    padding:8px 14px;
    border-radius:5px;
    margin-left:8px;
    font-size:14px;
    display:inline-block;
}



/* =========================
   CONTENT
========================= */

.post-content{
    background:#19b34c;
    padding:25px;
}

.post-title{
    font-size:34px;
    line-height:1.2;
    color:#fff;
    margin-bottom:15px;
}

.post-desc{
    color:#fff;
    line-height:1.7;
    margin-bottom:20px;
}

.post-price{
    font-size:28px;
    font-weight:700;
    color:#fff;
    margin-bottom:20px;
}



/* =========================
   BUTTONS
========================= */

.post-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.post-buttons a{
    text-decoration:none;
    padding:12px 22px;
    border-radius:6px;
    font-weight:600;
    transition:0.3s;
}

.demo-btn{
    background:#fff;
    color:#111;
}

.visit-btn{
    background:#111;
    color:#fff;
}

.demo-btn:hover,
.visit-btn:hover{
    transform:translateY(-3px);
}



/* =========================
   RESPONSIVE
========================= */

@media(max-width:767px){

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

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

}