/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 03 2026 | 08:14:30 */
/* ---------- Container ---------- */

.fmc-blog-page{
	width:100%;
}

.fmc-section-title{
    font-size:40px;
    font-weight:500;
    margin:0 0 35px;
    color:#111;
	font-family: "Roboto", sans-serif;
}

/* ---------- Recent Insights ---------- */

.fmc-recent-posts{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    margin-bottom:45px;
}


.fmc-post-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: .3s ease;
}
.fmc-post-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.fmc-post-content {
    flex: 1;
}
.fmc-post-date{
    font-size:14px;
    color:#777;
    margin-bottom:8px;
	font-family: "Roboto", sans-serif;
}

.fmc-post-content h3{
    margin:0;
    font-size:18px;
    line-height:1.45;
	font-family: "Roboto", sans-serif;
}

.fmc-post-content h3 a{
    color:#111;
    text-decoration:none;
}

/* ---------- Category Pills ---------- */

.fmc-category-pills{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:60px;
}

.fmc-pill{
    border:1px solid #ddd;
    border-radius:40px;
    padding:10px 20px;
    text-decoration:none;
    color:#111;
    transition:.3s;
}

.fmc-pill:hover,
.fmc-pill.active{
    background:#571557;
    border-color:#571557;
    color:#fff;
}
/* ---------- Bain Grid ---------- */

.bain-blog-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
/*     column-gap:40px; */
    row-gap:40px;
}


.bain-card{
    padding:0 25px 20px;
    border-right:1px solid #dcdcdc;
    display:flex;
    flex-direction:column;
    min-height:650px;
}

/* Remove right border from every 4th card */
.bain-card:nth-child(4n){
    border-right:none !important;
}

/* .bain-card::before{
    content:"";
    position:absolute;
    top:0;
    right:0;
    width:1px;
    height:100%;
    background:#ddd;
} */

.bain-card:nth-child(4n)::before{
    display:none;
}


/* .bain-card::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:-40px;
    height:1px;
    background:#ececec;
} */

.bain-thumb{
    display:block;
    overflow:hidden;
/*     border-radius:8px; */
    margin-bottom:18px;
}


.bain-thumb img{
    width:100%;
    height:230px;
    object-fit:cover;
    transition:.4s;
}

.bain-card:hover .bain-thumb img{
    transform:scale(1.05);
}

.bain-category{
    color:#571557;
    text-transform:uppercase;
    font-size:14px;
    font-weight:500;
    margin-bottom:16px;
    min-height:20px;
	font-family: "Roboto", sans-serif;
}

.bain-title{
     font-size: 22px;
    line-height: 1.35;
    margin: 0 0 18px;
    font-weight: 500;
	font-family: "Roboto", sans-serif;
}

.bain-title a{
    color:#111;
    text-decoration:none;
}

.bain-title a:hover {
    color: #571557;
}

.bain-excerpt{
  font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: #606060;
    flex-grow: 1;
    font-family: "Roboto", sans-serif;
}

.bain-meta{
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 5px;
}

.bain-arrow{
  width: 34px;
    height: 34px;
    border: 1px solid #999;
    /* border-radius: 50%; */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    text-decoration: none;
    transition: .3s;
}

.bain-arrow:hover{
    background:#571557;
    border-color:#571557;
    color:#fff;
}

/* ---------- Responsive ---------- */

@media(max-width:1200px){
    .bain-blog-grid{
        grid-template-columns:repeat(2,1fr);
    }
    .bain-card:nth-child(4n)::before{display:block;}
    .bain-card:nth-child(2n)::before{display:none;}
    .fmc-recent-posts{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:767px){
    .fmc-section-title{font-size:30px;}
    .bain-blog-grid,
    .fmc-recent-posts{
        grid-template-columns:1fr;
    }
    .bain-card{
        min-height:auto;
        padding-right:0;
    }
    .bain-card::before{display:none;}
    .bain-thumb img{height:220px;}
    .bain-title,
    .bain-excerpt{
        height:auto;
    }
	.bain-card {
    	padding: 0 0px 20px;
		border-right:none;
	}
}
