/* =============================================================
   Elite Pearl Charter — "Key Facts"

   Two-column numbered list. The entries run 30 to 40 words, so
   cards four across would be unreadably narrow; a wider measure
   with a hairline between rows suits the length better.
   ============================================================= */

.epc-facts {
	background: var(--epc-black);
	color: var(--epc-silver);
	border-top: 1px solid var(--epc-line-soft);
}

.epc-facts__inner {
	width: 100%;
	max-width: var(--epc-container);
	margin-inline: auto;
	padding: 4rem var(--epc-gutter);
}

@media (min-width: 768px) {
	.epc-facts__inner {
		padding-block: 5.5rem;
	}
}

@media (min-width: 1200px) {
	.epc-facts__inner {
		padding-block: 7rem;
	}
}

/* --- Intro --------------------------------------------------------- */

.epc-facts__intro {
	max-width: 56rem;
	margin: 0 auto 2.5rem;
	text-align: center;
}

@media (min-width: 768px) {
	.epc-facts__intro {
		margin-bottom: 3.5rem;
	}
}

.epc-facts__eyebrow {
	margin: 0 0 0.75rem;
	font-family: var(--epc-font-sans);
	font-size: clamp(0.6875rem, 1.6vw, 0.8125rem);
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--epc-silver);
}

.epc-facts__heading {
	margin: 0;
	font-family: var(--epc-font-serif);
	font-size: clamp(1.5rem, 4.2vw, 2.5rem);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	text-wrap: balance;
}

.epc-facts__rule {
	display: block;
	width: 72px;
	height: 1px;
	margin: 1.25rem auto 0;
	background: linear-gradient(
		to right,
		transparent 0%,
		rgb(255 255 255 / 70%) 50%,
		transparent 100%
	);
}

/* --- List ------------------------------------------------------------ */

.epc-facts__list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 900px) {
	.epc-facts__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 3.5rem;
	}
}

@media (min-width: 1200px) {
	.epc-facts__list {
		column-gap: 4.5rem;
	}
}

.epc-facts__item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.6rem 0;
	border-bottom: 1px solid var(--epc-line-soft);
}

@media (min-width: 900px) {
	.epc-facts__item {
		gap: 1.25rem;
		padding: 1.85rem 0;
	}

	/* Two columns of four: drop the rule under the last row of each column. */
	.epc-facts__item:nth-last-child(-n + 2) {
		border-bottom: 0;
	}
}

@media (max-width: 899.98px) {
	.epc-facts__item:last-child {
		border-bottom: 0;
	}
}

/* --- Index ------------------------------------------------------------ */

.epc-facts__index {
	flex-shrink: 0;
	font-family: var(--epc-font-serif);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.02em;
	color: transparent;
	-webkit-text-stroke: 1px rgb(255 255 255 / 40%);
	transition: -webkit-text-stroke-color 520ms var(--epc-ease-soft);
}

@media (min-width: 900px) {
	.epc-facts__index {
		font-size: 1.75rem;
	}
}

.epc-facts__item:hover .epc-facts__index {
	-webkit-text-stroke-color: rgb(255 255 255 / 85%);
}

/* --- Body -------------------------------------------------------------- */

.epc-facts__title {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0 0 0.5rem;
	font-family: var(--epc-font-serif);
	font-size: clamp(1rem, 2.1vw, 1.125rem);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--epc-white);
}

.epc-facts__title i {
	flex-shrink: 0;
	font-size: 0.8125rem;
	color: var(--epc-silver);
	transition: color 520ms var(--epc-ease-soft);
}

.epc-facts__item:hover .epc-facts__title i {
	color: var(--epc-white);
}

.epc-facts__text {
	margin: 0;
	font-family: var(--epc-font-sans);
	font-size: clamp(0.8125rem, 1.8vw, 0.875rem);
	line-height: 1.85;
	color: var(--epc-nav-idle);
	text-wrap: pretty;
}

/* --- Reduced motion ------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
	.epc-facts__index,
	.epc-facts__title i {
		transition-duration: 0.01ms !important;
	}
}
