/* ORG Latest Projects */

.elementor-widget-org-latest-projects,
.elementor-widget-org-latest-projects > .elementor-widget-container {
	overflow: visible;
}

.org-latest-projects {
	position: relative;
	width: 100%;
	overflow: visible;
}

.org-latest-projects *,
.org-latest-projects *::before,
.org-latest-projects *::after {
	box-sizing: border-box;
}

/* —— Toolbar —— */
.org-latest-projects__toolbar {
	position: relative;
	z-index: 5;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
	overflow: visible;
}

.org-latest-projects__filters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 12px;
	overflow: visible;
}

.org-latest-projects__dropdown {
	position: relative;
	z-index: 1;
	display: inline-block;
	width: 160px;
	min-width: 160px;
	vertical-align: top;
}

.org-latest-projects__dropdown.is-open {
	z-index: 50;
}

.org-latest-projects__dropdown-toggle {
	display: flex;
	align-items: stretch;
	width: 100%;
	min-height: 0;
	padding: 0;
	margin: 0;
	border: 1px solid #0000c0;
	border-radius: 0;
	background-color: #fff;
	cursor: pointer;
	text-align: left;
}

.org-latest-projects__dropdown-toggle:focus {
	outline: 2px solid #0000c0;
	outline-offset: 2px;
}

.org-latest-projects__dropdown-label {
	display: flex;
	flex: 1;
	align-items: center;
	padding: 10px 12px 10px 16px;
	color: #1a1a1a;
	font-family: Outfit, system-ui, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.2;
	white-space: nowrap;
}

.org-latest-projects__dropdown-arrow {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 44px;
	background-color: #0000c0;
	color: #ffffff !important;
	transition: transform 0.2s ease;
}

.org-latest-projects__dropdown-arrow svg {
	display: block;
	width: 18px;
	height: 18px;
	stroke: #ffffff !important;
	fill: none;
	transition: transform 0.2s ease;
}

.org-latest-projects__dropdown-arrow svg path {
	stroke: #ffffff !important;
	fill: none;
}

.org-latest-projects__dropdown.is-open .org-latest-projects__dropdown-arrow svg {
	transform: rotate(180deg);
}

.org-latest-projects__dropdown-menu {
	position: absolute;
	top: calc(100% - 1px);
	left: 0;
	z-index: 60;
	display: none;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid #0000c0;
	background-color: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.org-latest-projects__dropdown.is-open .org-latest-projects__dropdown-menu {
	display: block;
}

.org-latest-projects__dropdown-option {
	padding: 10px 16px;
	color: #1a1a1a;
	font-family: Outfit, system-ui, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.3;
	cursor: pointer;
}

.org-latest-projects__dropdown-option:hover,
.org-latest-projects__dropdown-option.is-selected {
	background-color: #f5f0e8;
}

/* —— Nav —— */
.org-latest-projects__nav {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	margin-left: auto;
}

.org-latest-projects__nav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	margin: 0;
	border: 1px solid #0000c0;
	border-radius: 0;
	background-color: #fff;
	color: #0000c0;
	cursor: pointer;
	transition: opacity 0.2s ease, background-color 0.2s ease;
}

.org-latest-projects__nav-btn:hover:not(:disabled) {
	background-color: #f5f0e8;
}

.org-latest-projects__nav-btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.org-latest-projects__nav-btn svg {
	display: block;
	width: 16px;
	height: 16px;
}

/* —— Grid —— */
.org-latest-projects__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 24px;
	row-gap: 24px;
	width: 100%;
	transition: opacity 0.2s ease;
}

.org-latest-projects__grid.is-loading {
	opacity: 0.55;
	pointer-events: none;
}

.org-latest-projects__item {
	margin: 0;
	min-width: 0;
}

.org-latest-projects__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	height: 100%;
	padding: 36px 32px;
	background-color: #f5f0e8;
}

.org-latest-projects__tags {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	margin: 0 0 16px;
}

.org-latest-projects__method,
.org-latest-projects__sector {
	margin: 0;
	font-family: Outfit, system-ui, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.2px;
	line-height: 1.3;
	text-transform: uppercase;
}

.org-latest-projects__method {
	color: #7b88c9;
	font-weight: 500;
}

.org-latest-projects__sector {
	color: #0000c0;
}

.org-latest-projects__title {
	margin: 0 0 10px;
	color: #0000c0;
	font-family: "Abril Fatface", Georgia, serif;
	font-size: 26px;
	font-weight: 400;
	line-height: 1.2;
}

.org-latest-projects__title a {
	color: inherit;
	text-decoration: none;
}

.org-latest-projects__title a:hover,
.org-latest-projects__title a:focus-visible {
	opacity: 0.85;
}

.org-latest-projects__subtitle {
	margin: 0 0 14px;
	color: #8a8a8a;
	font-family: Outfit, system-ui, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
}

.org-latest-projects__description {
	flex: 1;
	margin: 0;
	color: #5a5a5a;
	font-family: Outfit, system-ui, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.55;
}

.org-latest-projects__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 28px;
	color: #0000c0;
	font-family: Outfit, system-ui, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	transition: opacity 0.2s ease;
}

.org-latest-projects__cta:hover,
.org-latest-projects__cta:focus-visible {
	opacity: 0.75;
}

.org-latest-projects__cta svg {
	display: block;
	flex-shrink: 0;
}

/* —— Footer / View All —— */
.org-latest-projects__footer {
	display: flex;
	justify-content: flex-end;
	margin-top: 28px;
}

.org-latest-projects__view-all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #0000c0;
	font-family: Outfit, system-ui, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	transition: opacity 0.2s ease;
}

.org-latest-projects__view-all:hover,
.org-latest-projects__view-all:focus-visible {
	opacity: 0.75;
}

.org-latest-projects__view-all svg {
	display: block;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
}

.org-latest-projects__empty {
	grid-column: 1 / -1;
	margin: 0;
	padding: 24px 0;
	color: #5a5a5a;
	font-family: Outfit, system-ui, sans-serif;
	font-size: 15px;
}

@media (max-width: 1024px) {
	.org-latest-projects__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.org-latest-projects__title {
		font-size: 24px;
	}
}

@media (max-width: 767px) {
	.org-latest-projects__toolbar {
		align-items: stretch;
	}

	.org-latest-projects__filters {
		flex: 1 1 auto;
	}

	.org-latest-projects__dropdown {
		min-width: 0;
		flex: 1 1 calc(50% - 6px);
	}

	.org-latest-projects__nav {
		margin-left: 0;
	}

	.org-latest-projects__grid {
		grid-template-columns: 1fr;
	}

	.org-latest-projects__card {
		padding: 28px 24px;
	}

	.org-latest-projects__title {
		font-size: 22px;
	}
}
