.ab-projfilter-wrap {
	--ab-red: #d10d14;
	--ab-black: #111319;
	font-family: 'Inter', Arial, sans-serif;
	color: var(--ab-black);
	padding: 60px 0
}

.ab-projfilter-wrap * {
	box-sizing: border-box
}

.ab-projfilter-wrap a,
.ab-projfilter-wrap a:hover,
.ab-projfilter-wrap a:focus,
.ab-projfilter-wrap a:visited {
	text-decoration: none !important;
	box-shadow: none !important
}

.ab-projfilter-wrap .ab-container {
	width: min(1440px, calc(100% - 76px));
	margin: auto
}

/* Background style variants */
.ab-projfilter-wrap.ab-bg-white {
	background: #fff
}

.ab-projfilter-wrap.ab-bg-grey {
	background: #f5f6f8
}

.ab-projfilter-wrap.ab-bg-gradient {
	background: linear-gradient(135deg, var(--ab-red) 0%, var(--ab-black) 65%)
}

.ab-projfilter-wrap.ab-bg-dark {
	background: var(--ab-black)
}

.ab-projfilter-wrap.ab-bg-gradient .ab-projfilter-card,
.ab-projfilter-wrap.ab-bg-dark .ab-projfilter-card {
	background: #1b1d24;
	box-shadow: 0 2px 14px rgba(0, 0, 0, .4)
}

.ab-projfilter-wrap.ab-bg-gradient .ab-projfilter-title,
.ab-projfilter-wrap.ab-bg-dark .ab-projfilter-title {
	color: #fff !important
}

.ab-projfilter-wrap.ab-bg-gradient .ab-projfilter-desc,
.ab-projfilter-wrap.ab-bg-dark .ab-projfilter-desc {
	color: #9a9ba1 !important
}

.ab-projfilter-wrap.ab-bg-gradient .ab-projfilter-tab,
.ab-projfilter-wrap.ab-bg-dark .ab-projfilter-tab {
	background: #1b1d24;
	color: #d8d8dc !important
}

/* ---- Filter tabs ---- */
.ab-projfilter-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 34px
}

.ab-projfilter-tab {
	appearance: none;
	border: none;
	cursor: pointer;
	background: #f2f3f5;
	color: #444;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 600;
	padding: 11px 20px;
	border-radius: 50px;
	transition: background .2s ease, color .2s ease
}

.ab-projfilter-tab:hover {
	background: #e6e8ec
}

.ab-projfilter-tab.is-active {
	background: var(--ab-red);
	color: #fff
}

/* ---- Grid ---- */
.ab-projfilter-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px
}

.ab-projfilter-grid.ab-projfilter-cols-2 {
	grid-template-columns: repeat(2, 1fr)
}

.ab-projfilter-grid.ab-projfilter-cols-4 {
	grid-template-columns: repeat(4, 1fr)
}

.ab-projfilter-card {
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 2px 14px rgba(0, 0, 0, .08);
	transition: transform .25s ease, box-shadow .25s ease
}

.ab-projfilter-card.is-hidden {
	display: none
}

.ab-projfilter-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 30px rgba(0, 0, 0, .14)
}

.ab-projfilter-media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: #eee;
	overflow: hidden
}

.ab-projfilter-media img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	display: block;
	transition: transform .35s ease
}

.ab-projfilter-card:hover .ab-projfilter-media img {
	transform: scale(1.06)
}

.ab-projfilter-badge {
	position: absolute;
	left: 12px;
	bottom: 12px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(17, 19, 25, .72);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 50px
}

.ab-projfilter-badge i {
	color: var(--ab-red)
}

.ab-projfilter-body {
	position: relative;
	padding: 18px 46px 20px 18px
}

.ab-projfilter-cat {
	margin: 0 0 6px;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--ab-red) !important
}

.ab-projfilter-title {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 800;
	color: #111 !important
}

.ab-projfilter-desc {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: #777 !important
}

.ab-projfilter-arrow {
	position: absolute;
	right: 16px;
	bottom: 16px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1.5px solid var(--ab-red);
	display: grid;
	place-items: center;
	color: var(--ab-red) !important;
	font-size: 12px;
	background: #fff;
	transition: background .2s ease, color .2s ease
}

.ab-projfilter-arrow:hover {
	background: var(--ab-red);
	color: #fff !important
}

.ab-projfilter-empty {
	text-align: center;
	padding: 40px 0;
	color: #777;
	font-size: 14px
}

@media(max-width:1200px) {
	.ab-projfilter-wrap .ab-container {
		width: calc(100% - 36px)
	}
}

@media(max-width:900px) {
	.ab-pcta-text {
		flex: unset;
		text-align: center;
	}

	.ab-projfilter-wrap {
		padding: 40px 0
	}

	.ab-projfilter-tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 6px;
		margin-bottom: 26px;
		-webkit-overflow-scrolling: touch
	}

	.ab-projfilter-tab {
		white-space: nowrap;
		font-size: 13px;
		padding: 9px 16px
	}

	.ab-projfilter-grid,
	.ab-projfilter-grid.ab-projfilter-cols-3,
	.ab-projfilter-grid.ab-projfilter-cols-4 {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px
	}

	.ab-projfilter-title {
		font-size: 14.5px
	}

	.ab-projfilter-desc {
		font-size: 12px
	}
}

@media(max-width:560px) {

	.ab-projfilter-grid,
	.ab-projfilter-grid.ab-projfilter-cols-2,
	.ab-projfilter-grid.ab-projfilter-cols-3,
	.ab-projfilter-grid.ab-projfilter-cols-4 {
		grid-template-columns: 1fr
	}
}