/**
 * Infrastructure — match approved screenshot layout.
 * Intro split + divider + CSS Grid 3 equal columns (desktop) / Slick slider (tablet & mobile).
 */

.evergrove-infrastructure {
	background-color: var(--color-bg);
	padding-block: 5rem;
	color: var(--color-text);
	overflow-x: clip;
}

.evergrove-infrastructure__inner {
	display: flex;
	flex-direction: column;
}

.evergrove-infrastructure__eyebrow {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 24px;
	font-family: var(--font-family-body);
	font-size: 12px;
	font-weight: var(--font-weight-medium);
	text-transform: uppercase;
	color: #00080e;
}

.evergrove-infrastructure__intro {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	column-gap: 40px;
	align-items: start;
}

.evergrove-infrastructure__title {
	margin: 0;
	font-family: var(--font-family-display);
	font-size: clamp(2.25rem, 4vw, 46px);
	font-weight: var(--font-weight-regular);
	line-height: 1.15;
	text-transform: uppercase;
	color: var(--color-text);
}

.evergrove-infrastructure__copy {
	margin: 0;
	font-family: var(--font-family-body);
	font-size: 16px;
	line-height: 1.4;
	color: #00080e;
}

.evergrove-infrastructure__divider {
	width: 100%;
	height: 1px;
	margin: 40px 0;
	border: 0;
	background-color: #000;
	opacity: 0.3;
}

.evergrove-infrastructure__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap:70px;
	row-gap: 2.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.evergrove-infrastructure__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
}

.evergrove-infrastructure__figure {
	margin: 0 0 32px;
}

.evergrove-infrastructure__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.evergrove-infrastructure__card-heading {
	display: flex;
	align-items: center;
	margin: 0 0 1rem;
	min-width: 0;
}

.evergrove-infrastructure__card-title {
	flex: 0 0 auto;
	padding-right: 40px;
	font-family: var(--font-family-display);
	font-size: 24px;
	line-height: 1.1;
	text-transform: uppercase;
	color: #092632;
}

.evergrove-infrastructure__card-rule {
	flex: 1 1 auto;
	height: 1px;
	min-width: 1.5rem;
	background-color: #000;
	opacity: 1;
}

.evergrove-infrastructure__card-dot {
	flex: 0 0 auto;
	width: 0.375rem;
	height: 0.375rem;
	border-radius: 50%;
	background-color: #000;
}

.evergrove-infrastructure__list {
	margin: 0;
	padding: 0 0 0 1.1rem;
	list-style: disc;
}

.evergrove-infrastructure__list li {
	font-family: var(--font-family-body);
	font-size: 16px;
	line-height: 1.4;
	color: #00080e;
}

.evergrove-infrastructure__list li:last-child {
	margin-bottom: 0;
}

/*--------------------------------------------------------------------------
# Slider — tablet & mobile (native scroll-snap)
--------------------------------------------------------------------------*/

.evergrove-infrastructure__dots {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1.75rem;
}

.evergrove-infrastructure__dots[hidden] {
	display: none;
}

.evergrove-infrastructure__dot {
	width: 0.5rem;
	height: 0.5rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: rgb(0 0 0 / 0.2);
	cursor: pointer;
	transition: background-color var(--transition-fast);
}

.evergrove-infrastructure__dot.is-active {
	background-color: var(--color-text);
}

@media (max-width: 1199.98px) {
	.evergrove-infrastructure__grid {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		-webkit-overflow-scrolling: touch;
		gap: 0;
		row-gap: 0;
		margin-inline: calc(var(--container-padding) * -1);
		padding-inline: var(--container-padding);
		scroll-padding-inline: var(--container-padding);
		scrollbar-width: none;
	}

	.evergrove-infrastructure__grid::-webkit-scrollbar {
		display: none;
	}

	.evergrove-infrastructure__grid > .evergrove-infrastructure__card {
		flex: 0 0 100%;
		scroll-snap-align: start;
		scroll-snap-stop: always;
		padding-inline: 0.25rem;
	}

	.evergrove-infrastructure__card-title {
		padding-right: 1.5rem;
	}
}

@media (max-width: 991.98px) {
	.evergrove-infrastructure__intro {
		grid-template-columns: 1fr;
		row-gap: 0px;
	}

	.evergrove-infrastructure__title {
		max-width: none;
	}

	.evergrove-infrastructure__copy {
		max-width: none;
        margin-bottom:24px;
	}
}

@media (max-width: 767.98px) {
	.evergrove-infrastructure {
		padding-block: 40px;
	}

	.evergrove-infrastructure__title {
		font-size: 28px;
	}

	.evergrove-infrastructure__divider {
		margin: 2rem 0 2.25rem;
	}

	.evergrove-infrastructure__card-title {
		font-size: 20px;
	}

	.evergrove-infrastructure__figure {
		margin-bottom: 1.5rem;
	}
    .evergrove-infrastructure__list li{
    	font-size: 14px;
    }
}

@media (min-width: 1200px) and (max-width: 1439.98px) {
	.evergrove-infrastructure__grid {
		column-gap: 3rem;
	}
}