/* Custom filters */
.custom-posts-filters {
    display: flex;
    align-items: baseline;
    position: relative;
}
.button-filter {
    background: white;
    border: 1px solid #ccc;
    padding: 15px;
    margin: 10px;
}
@media screen and (max-width: 1000px) {
    .custom-posts-filters {
        flex-direction: column;
    }
    .button-filter {
        margin: 0;
        width: 100%;
    }
    .filter-toggle {
        width: 100%;
        display: block;
    }
    .filter-toggle:after {
        content: '+';
        position: absolute;
        right: 0;
        width: 30px;
        height: 30px;
    }
    .filter-toggle.active:after {
        content: '-';
    }
    .custom-post-filters-buttons {
        display: none;
    }
}
.button-filter.active {
    color: rgb(255, 255, 255);
    border-color: rgb(20, 58, 86);
    background-color: rgb(20, 58, 86);
}
.custom-posts-content {
	display: flex !important;
	flex-wrap: wrap !important;
/* 	gap: 10px; */
}
.custom-posts-content .card {
/*     max-width: 22%; 
    margin: 10px; */
    background:white;
	    width: calc(25% - 10px); /* 25% - gap value */
}


	.custom-posts-content,	.custom-posts-content .wpb_wrapper{

		display: flex;
  flex-wrap: wrap;
  gap: 10px;
	}

@media screen and (max-width: 1000px) {
    .custom-posts-content .card {
        max-width: 46%;
    }

}
@media screen and (max-width: 600px) {
    .custom-posts-content .card {
        max-width: 100%;
		width: 100%;
    }
	.custom-posts-content, .custom-posts-content .wpb_wrapper {
		flex-direction: column;
	}
}
.custom-posts-content .card h6 {
    position: relative;
    margin-bottom: 20px;
}
.custom-posts-content .card h6:after {
    content: '';
    width: 10px;
    height: 2px;
    background-color: rgb(20, 58, 86);
    position: absolute;
    bottom: -10px;
    left: 0;
}
.custom-posts-content .card .post-feature-image {
    height: 150px;
    width: 100%;
    background-size: cover;
    background-position: center;
}
.custom-posts-content .card .post-excerpt {
    padding: 20px;
}