.cpt-grid-f511bacb {
	display: grid;
}

.cpt-card-f511bacb {
	display: flex;
	flex-direction: column;
	background-color: #f8f8f6;
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cpt-card-f511bacb:hover {
	transform: translateY(-4px);
}

.cpt-card-img-wrapper-f511bacb {
	width: 100%;
	overflow: hidden;
	margin-bottom: 16px;
	display: block;
	position: relative; /* Added to support absolute positioning of the badge overlay */
}

.cpt-card-img-wrapper-f511bacb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Badge overlay styling */
.cpt-card-badge-f511bacb {
	position: absolute;
	top: 12px;
	left: 12px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	line-height: 1;
	z-index: 2;
}

.cpt-card-content-f511bacb {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.cpt-card-category-f511bacb {
	font-size: 11px;
	text-transform: uppercase;
	margin-bottom: 8px;
	letter-spacing: 0.5px;
}

.cpt-tax-link-f511bacb {
	text-decoration: none;
	transition: color 0.2s ease;
}

.cpt-card-bottom-f511bacb {
	display: flex;
	justify-content: space-between;
	align-items: flex-start !important;
	margin-top: auto;
}

.cpt-card-title-f511bacb {
	margin: 0;
	line-height: 1.3;
	padding-right: 15px;
}

.cpt-card-title-link-f511bacb {
	text-decoration: none;
	color: inherit;
}

.cpt-card-icon-f511bacb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	flex-shrink: 0;
	transition: opacity 0.2s;
	overflow: hidden;
	text-decoration: none;
}

.cpt-card-icon-f511bacb svg,
.cpt-card-icon-f511bacb i {
	width: 16px;
	height: 16px;
}

.cpt-dynamic-tax-icon-f511bacb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cpt-card-f511bacb:hover .cpt-card-icon-f511bacb {
	opacity: 0.8;
}

.cpt-grid-empty-f511bacb {
	grid-column: 1 / -1;
	text-align: center;
	color: #999;
	padding: 40px 0;
}

/* Responsive optimization - Hide "+" / dynamic category icon on mobile and tablet */
@media (max-width: 1024px) {
	.cpt-card-icon-f511bacb {
		display: none !important;
	}
	.cpt-card-title-f511bacb {
		padding-right: 0 !important;
	}
}

/* Force 1 column below 470px on Mobile */
@media (max-width: 470px) {
	.cpt-grid-f511bacb {
		grid-template-columns: repeat(1, 1fr) !important;
	}
}

.cpt-grid-f511bacb {
	display: grid;
}

.cpt-card-f511bacb {
	display: flex;
	flex-direction: column;
	background-color: #f8f8f6;
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cpt-card-f511bacb:hover {
	transform: translateY(-4px);
}

.cpt-card-img-wrapper-f511bacb {
	width: 100%;
	overflow: hidden;
	margin-bottom: 16px;
	display: block;
	position: relative; /* Added to support absolute positioning of the badge overlay */
}

.cpt-card-img-wrapper-f511bacb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Badge overlay styling */
.cpt-card-badge-f511bacb {
	position: absolute;
	top: 12px;
	left: 12px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	line-height: 1;
	z-index: 2;
}

.cpt-card-content-f511bacb {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.cpt-card-category-f511bacb {
	font-size: 11px;
	text-transform: uppercase;
	margin-bottom: 8px;
	letter-spacing: 0.5px;
}

.cpt-tax-link-f511bacb {
	text-decoration: none;
	transition: color 0.2s ease;
}

.cpt-card-bottom-f511bacb {
	display: flex;
	justify-content: space-between;
	align-items: flex-start !important;
	margin-top: auto;
}

.cpt-card-title-f511bacb {
	margin: 0;
	line-height: 1.3;
	padding-right: 15px;
}

.cpt-card-title-link-f511bacb {
	text-decoration: none;
	color: inherit;
}

.cpt-card-icon-f511bacb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	flex-shrink: 0;
	transition: opacity 0.2s;
	overflow: hidden;
	text-decoration: none;
}

.cpt-card-icon-f511bacb svg,
.cpt-card-icon-f511bacb i {
	width: 16px;
	height: 16px;
}

.cpt-dynamic-tax-icon-f511bacb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cpt-card-f511bacb:hover .cpt-card-icon-f511bacb {
	opacity: 0.8;
}

.cpt-grid-empty-f511bacb {
	grid-column: 1 / -1;
	text-align: center;
	color: #999;
	padding: 40px 0;
}

/* Responsive optimization - Hide "+" / dynamic category icon on mobile and tablet */
@media (max-width: 1024px) {
	.cpt-card-icon-f511bacb {
		display: none !important;
	}
	.cpt-card-title-f511bacb {
		padding-right: 0 !important;
	}
}

/* Force 1 column below 470px on Mobile */
@media (max-width: 470px) {
	.cpt-grid-f511bacb {
		grid-template-columns: repeat(1, 1fr) !important;
	}
}

/* Pagination */
.cpt-pagination-f511bacb {
	margin-top: 30px;
	display: flex;
	justify-content: center;
}

.cpt-pagination-f511bacb ul {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 8px;
}

.cpt-pagination-f511bacb li span,
.cpt-pagination-f511bacb li a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 6px;
	border-radius: 50%;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	color: #2b2b2b;
	border: 1px solid #e0e0e0;
	transition: all 0.2s ease;
}

.cpt-pagination-f511bacb li span.current {
	background-color: #e6a836;
	color: #ffffff;
	border-color: #e6a836;
}

.cpt-pagination-f511bacb li a:hover {
	background-color: #f7f7f7;
	border-color: #ccc;
}
