.component-filter:not(:last-child) {
	border-bottom: 1px solid #EBEBEB;
	margin-bottom: 30px;
	padding-bottom: 20px;
}

.component-filter .head {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	margin-bottom: 12px;
}

.component-filter .head .icon {
	flex: 0 0 auto;
}

.component-filter .head .filter-name {
	flex-grow: 1;
	font-size: 16px;
	color: var(--color-primary);
	font-weight: 400;
}

.component-filter .head .filter-collapse {
	transition: all 0.2s ease-in-out;
}

.component-filter.collapsed .head .filter-collapse {
	transform: rotate(180deg);
}

.component-filter .facetwp-facet {
	max-height: 999px;
	opacity: 1;
	transform: scaleY(100%);
	transform-origin: top;
	overflow: hidden;
	transition: max-height 0.6s linear 0.2s, opacity 0.2s ease-in-out, transform 0.3s ease-in-out;
	margin: 0;
}

.component-filter.collapsed .facetwp-facet {
	max-height: 0;
	opacity: 0;
	transform: scaleY(50%);
	transition: max-height 0.4s ease-in-out, opacity 0.2s ease-in-out, transform 0.3s ease-in-out;
}

.component-filter .facetwp-facet .facetwp-checkbox {
	display: flex;
	align-items: center;
	padding: 11px;
	background: transparent;
	gap: 17px;
	margin-bottom: 12px;
	border-radius: 5px;
	transition: all 0.2s ease-in-out;
}

.component-filter .facetwp-facet .facetwp-checkbox[data-value="remote"] .facetwp-display-value,
.component-filter .facetwp-facet .facetwp-checkbox[data-value="remote"] .facetwp-counter {
	color: #127C30;
}

.component-filter .facetwp-facet .facetwp-checkbox[data-value="remote"] .facetwp-display-value::after {
	display: inline-block;
	content: '';
	width: 20px;
	height: 17px;
	margin-left: 12px;
	background-image: url( './../../images/remote-green.svg' );
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	vertical-align: middle;
}

.component-filter .facetwp-facet .facetwp-checkbox::before {
	content: '';
	display: block;
	width: 18px;
	height: 18px;
	margin-top: -2px;
	border: 1px solid rgba(112, 112, 112, 0.2);
	border-radius: 3px;
	transition: all 0.2s ease-in-out;
}

.component-filter .facetwp-facet .facetwp-checkbox.checked::before {
	border-color: var(--color-primary);
	background-color: var(--color-primary);
	background-image: url( './../../images/check-white.svg' );
	background-position: center;
	background-repeat: no-repeat;
	background-size: 90%;
}

.component-filter .facetwp-facet .facetwp-checkbox:hover,
.component-filter .facetwp-facet .facetwp-checkbox.checked {
	background-color: #EBF3FF;
}

.component-filter .facetwp-checkbox .facetwp-display-value {
	font-size: 14px;
	font-weight: 400;
	color: var(--color-text);
	flex-grow: 1;
}

.component-filter .facetwp-checkbox .facetwp-counter {
	color: var(--color-primary);
	font-weight: 500;
	font-size: 14px;
}

.component-filter .facetwp-facet .facetwp-toggle:not(.facetwp-hidden) {
	display: block;
	text-align: center;
	color: var(--color-primary);
	text-decoration: underline;
}

.facetwp-display-value img.is-abroad {
	max-height: 12px;
	margin-right: 0.5em;
}

/* Tech stack specific */
.component-filter.techstack-filter .facetwp-checkbox .facet-tech-logo {
	width: 25px;
	height: 25px;
	object-fit: contain;
	filter: grayscale(0.7);
	padding: 3px;
	background-color: var(--color-white);
	border-radius: 3px;
	margin-right: 5px;
	margin-bottom: 3px;
	box-shadow: 0 0 5px #00000012;
	transition: all 0.2s ease-in-out;
}

.component-filter.techstack-filter .facetwp-checkbox:hover .facet-tech-logo {
	filter: grayscale(0.2);
}
/* END Tech stack specific */