#ds-post-filters {
	position: relative;
	overflow: hidden;
}
.ds-post-filters-wrap {
    display: flex;
    flex-wrap: wrap;
    margin-right: -8px;
    margin-left: -8px;
    transform: translateY(0%);
    transition: all ease-in-out .3s;
}
.ds-post-category {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: 8px;
    padding-left: 8px;
    flex: 0 0 auto;
    margin-bottom: 16px;
}
.ds-post-category:hover > div,
.ds-post-category.active > div {
	border: 3px solid var(--awb-color7);
}
.ds-post-cat-inner {	
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    border-radius: 30px;
    padding: 8px 16px;
    height: 60px;
    cursor: pointer;
    position: relative;
    overflow: hidden;

    background-color: var(--awb-color1);
}

.ds-post-category.ds-main-category .ds-post-cat-inner {
    padding: 8px 32px;
    height: 80px;
    background-color: var(--awb-color5);
}
.ds-post-category.ds-main-category .ds-post-cat-inner:before {
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    position: absolute;
    display: block;
    background-image: url(/wp-content/uploads/2023/09/banner-mask-1.svg);
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}
.ds-post-filter-img {
	width: 44px;
	height: 44px;
	margin-right: 8px;
	z-index: 2;

    background-color: var(--awb-color1);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.ds-post-category.ds-main-category .ds-post-filter-img {	
	width: 64px;
	height: 64px;
	margin-right: 16px;
	border-radius: 50%;
    background-size: 80%;
}
.ds-post-filter-name {
	font-weight: bold;
	z-index: 2;
	line-height: 1;
}
.ds-post-category.ds-main-category .ds-post-filter-name {
	font-size: 32px;
}

.ds-post-category[filter-name="BFP-Dog"] .ds-post-filter-img {
	background-image: url(/wp-content/uploads/2023/11/BFP-Icon_Dog_RGB.png);
}
.ds-post-category[filter-name="BFP-Cat"] .ds-post-filter-img {
	background-image: url(/wp-content/uploads/2023/11/BFP-Icon_Cat_RGB.png);
}
.ds-post-category[filter-name="BFP-Food"] .ds-post-filter-img {
	background-image: url(/wp-content/uploads/2023/11/BFP-Icon_Food_RGB.png);
}
.ds-post-category[filter-name="BFP-Dental"] .ds-post-filter-img {
	background-image: url(/wp-content/uploads/2023/11/BFP-Icon_Dental_RGB.png);
}
.ds-post-category[filter-name="BFP-Grooming"] .ds-post-filter-img {
	background-image: url(/wp-content/uploads/2023/11/BFP-Icon_Grooming_RGB.png);
}
.ds-post-category[filter-name="BFP-Parasite-Control"] .ds-post-filter-img {
	background-image: url(/wp-content/uploads/2023/11/BFP-Icon_Parasite-Control_RGB.png);
}
.ds-post-category[filter-name="BFP-Vaccinations"] .ds-post-filter-img {
	background-image: url(/wp-content/uploads/2023/11/BFP-Icon_Vaccinations_RGB.png);
}
.ds-post-category[filter-name="BFP-Pet-Health"] .ds-post-filter-img {
	background-image: url(/wp-content/uploads/2023/11/BFP-Icon_Pet-Health_RGB.png);
}
.ds-post-category[filter-name="BFP-Training"] .ds-post-filter-img {
	background-image: url(/wp-content/uploads/2023/11/BFP-Icon_Training_RGB.png);
}
.ds-post-category[filter-name="BFP-Pet-Safety"] .ds-post-filter-img {
	background-image: url(/wp-content/uploads/2023/11/BFP-Icon_Pet-Safety_RGB.png);
}
.ds-article-fiters {
	overflow: hidden;
}
.BFP-filter:not(.active) {
	position: absolute !important;
	opacity: 0 !important;
	visibility: hidden !important;
	bottom: -9999px !important;
	height: 0;
	overflow: hidden;
}
#ds-post-filters-toggle {

}
@media screen and (min-width: 1024px) {
	#ds-post-filters-toggle {
		display: none;
	}
	.ds-post-category {
		width: 25%;		
	}
	.ds-post-category.ds-main-category {
		width: 50%;
	}
}
@media screen and (max-width: 1024px) {
	.ds-post-filters-wrap:not(.active) {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		transform: translateY(-100%);
		opacity: 0;
		visibility: hidden;
	}
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
	.ds-post-category {
		width: 50%;		
	}
	.ds-post-category.ds-main-category {
		width: 50%;
	}
}
@media screen and (max-width: 768px) {
	.ds-post-category {
		width: 100%;		
	}
	.ds-post-category.ds-main-category {
		width: 100%;
	}
}