/**
 * Ongoing Projects - Year Dropdown Filter Styles
 * Extends the main Projects page styles
 */

/* Year Dropdown */
.ux4g-ongoing-year-dropdown-wrapper {
	flex-shrink: 0;
}

.ux4g-ongoing-year-dropdown {
	padding: 12px 44px 12px 16px;
	border: 1px solid #D4D4D4;
	border-radius: 8px;
	background-color: #ffffff;
	color: #151515;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23374151' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	min-width: 180px;
	height: 56px;
	transition: border-color 0.2s ease;
}

.ux4g-ongoing-year-dropdown:hover {
	border-color: #00600B;
}

.ux4g-ongoing-year-dropdown:focus {
	outline: 2px solid #00600B;
	outline-offset: 1px;
	border-color: #00600B;
}

/* Search input inside custom wrapper — match main page */
.ux4g-ongoing-search-input {
	flex-grow: 1;
	min-width: 0;
}

/* Grid items — match the main projects page li structure */
.ux4g-ongoing-projects-grid.ux4g-projects-grid {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ux4g-ongoing-project-card {
	margin: 0;
	padding: 0;
	display: flex;
}

.ux4g-ongoing-project-card.ux4g-hidden {
	display: none !important;
}

.ux4g-ongoing-project-card.ux4g-fade-in {
	animation: ux4gCardFadeIn 0.3s ease forwards;
}

@keyframes ux4gCardFadeIn {
	from {
		opacity: 0;
		transform: translateY(8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* No Results */
.ux4g-ongoing-no-results {
	text-align: center;
	padding: 60px 20px;
	color: #6b7280;
	font-size: 16px;
	background: #f9fafb;
	border-radius: 8px;
	margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
	.ux4g-ongoing-year-dropdown-wrapper {
		width: 100%;
	}

	.ux4g-ongoing-year-dropdown {
		width: 100%;
	}
}