/* Projects archive — no border-radius */

body.post-type-archive-lh_property,
body.tax-lh_type,
body.tax-lh_status,
body.tax-lh_location,
body.tax-lh_amenity {
	background: #fff;
	color: #24367d;
}

.lh-projects-page {
	background: #fff;
	color: #24367d;
}

.lh-projects-filters {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
	gap: 0.75rem;
	align-items: stretch;
	margin-bottom: 2.25rem;
}

.lh-projects-filters .lh-field--bare {
	margin: 0;
}

.lh-projects-filters select {
	width: 100%;
	height: 3.15rem;
	padding: 0 2.4rem 0 1rem;
	border: 0;
	border-radius: 0;
	background-color: #eef1f4;
	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 fill='none' stroke='%2324367d' stroke-width='1.6' d='M1 1.5L6 6.5L11 1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	appearance: none;
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0;
	color: #24367d;
}

.lh-projects-filters__submit {
	height: 3.15rem;
	padding: 0 1.6rem;
	border: 0;
	border-radius: 0;
	background: #24367d;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0;
	color: #fff;
	cursor: pointer;
	white-space: nowrap;
}

.lh-projects-filters__submit:hover,
.lh-projects-filters__submit:focus-visible {
	background: #1a2759;
}

.lh-projects-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.lh-project-card {
	min-width: 0;
	border-radius: 0;
}

.lh-project-card__link {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: #eef0f4;
	color: #fff;
}

.lh-project-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.lh-project-card__link:hover .lh-project-card__img {
	transform: scale(1.05);
}

.lh-project-card__link::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 33, 0.08) 35%, rgba(0, 0, 33, 0.72) 100%);
	pointer-events: none;
}

.lh-project-card__status {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 2;
	padding: 0.35rem 0.7rem;
	background: #a2d7df;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #24367d;
	border-radius: 0;
}

.lh-project-card__info {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 1.25rem 1.15rem 1.35rem;
}

.lh-project-card__loc {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0;
	color: #fff;
}

.lh-project-card__pin {
	flex-shrink: 0;
}

.lh-project-card__rule {
	display: block;
	width: 100%;
	height: 1px;
	margin: 0.75rem 0 0.85rem;
	background: rgba(255, 255, 255, 0.35);
}

.lh-project-card__title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
	color: #fff;
}

.lh-projects-empty {
	margin: 0;
	color: #24367d;
}

.lh-projects-page .nav-links,
.lh-projects-page .pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-top: 2.75rem;
}

.lh-projects-page .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.4rem;
	height: 2.4rem;
	padding: 0 0.7rem;
	border: 1px solid rgba(36, 54, 125, 0.22);
	border-radius: 0;
	font-size: 0.88rem;
	font-weight: 600;
	color: #24367d;
}

.lh-projects-page .page-numbers.current,
.lh-projects-page a.page-numbers:hover,
.lh-projects-page a.page-numbers:focus-visible {
	border-color: #24367d;
	background: #24367d;
	color: #fff;
}

@media (max-width: 960px) {
	.lh-projects-filters {
		grid-template-columns: 1fr 1fr;
	}

	.lh-projects-filters__submit {
		grid-column: 1 / -1;
	}

	.lh-projects-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	.lh-projects-filters {
		grid-template-columns: 1fr;
	}

	.lh-projects-grid {
		grid-template-columns: 1fr;
	}
}
