.aj-project-listing-wrapper {
	position: relative;
	width: 100%;
}

/* Category Filter */
.aj-project-filter {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 30px;
}

.aj-project-category-filter {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-color: #fff;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 8px;
	padding: 10px 40px 10px 16px;
	font-size: 14px;
	font-weight: 500;
	color: #333;
	cursor: pointer;
	min-width: 180px;
	outline: none;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}

.aj-project-category-filter:hover {
	border-color: rgba(0, 0, 0, 0.3);
}

.aj-project-category-filter:focus {
	border-color: #007bff;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

/* No projects message */
.aj-no-projects {
	grid-column: 1 / -1;
	text-align: center;
	padding: 40px 20px;
	color: #999;
	font-size: 16px;
}

.aj-project-grid {
	display: grid;
	/* default is overridden by Elementor inline styles */
	grid-template-columns: repeat(3, 1fr);
	column-gap: 30px;
	row-gap: 40px;
}

.aj-project-card {
	display: flex;
	flex-direction: column;
	text-decoration: none !important;
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aj-project-card:hover {
	transform: translateY(-5px);
}

.aj-project-image-wrap {
	position: relative;
	width: 100%;
	height: 250px;
	border-radius: 12px;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	display: flex;
	padding: 20px;
}

.aj-project-card-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 100%);
	z-index: 1;
}

.aj-project-location {
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 2;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
	display: flex;
	align-items: center;
	backdrop-filter: blur(4px);
}

.aj-project-location-dot {
	width: 6px;
	height: 6px;
	background-color: #007bff; /* default dot color */
	border-radius: 50%;
	display: inline-block;
	margin-right: 6px;
}

.aj-project-title {
	margin: 15px 0 0 0;
	font-size: 20px;
	font-weight: 600;
	color: #333;
	transition: color 0.3s ease;
}

/* Pagination Arrows */
.aj-project-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	margin-top: 40px;
}

.aj-project-pagination a {
	width: 40px;
	height: 40px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #333;
	background-color: transparent;
	transition: all 0.3s ease;
	text-decoration: none;
}

.aj-project-pagination a:hover {
	background-color: rgba(0, 0, 0, 0.05);
	border-color: rgba(0, 0, 0, 0.5);
}

/* Dark mode basic support if theme uses body.dark-mode */
body.dark-mode .aj-project-title,
body.dark-mode .aj-project-pagination a {
	color: #fff;
}
body.dark-mode .aj-project-pagination a {
	border-color: rgba(255, 255, 255, 0.2);
}
body.dark-mode .aj-project-pagination a:hover {
	background-color: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.5);
}
body.dark-mode .aj-project-category-filter {
	background-color: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.2);
	color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}
