/*
 * Impact section pages (landing, Results so far, Stories of Change).
 * Figma: Global Learning Forum 2026 — impact-page / result so far -2 / Stories of Change.
 */

/* ---------- Hero banner ---------- */

.hc-impact-hero {
	position: relative;
	min-height: 240px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.hc-impact-hero--compact {
	min-height: 200px;
}

.hc-impact-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

.hc-impact-hero__overlay {
	position: absolute;
	inset: 0;
	background: #01536c;
	opacity: 0.8;
}

.hc-impact-hero__title {
	position: relative;
	margin: 0;
	padding: 40px 15px;
	color: #fff;
	font-size: 52px;
	font-weight: 700;
	text-align: center;
}

/* ---------- Sections ---------- */

.hc-impact-section {
	padding: 20px 0;
}

.hc-impact-section--first {
	padding-top: 64px;
}

.hc-impact-section--last {
	padding-bottom: 80px;
}

.hc-impact-section--tight {
	padding-top: 8px;
}

.hc-impact-section__title {
	margin: 0 0 20px;
	color: #01536c;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.2;
}

.hc-impact-section__title--sub {
	font-size: 28px;
}

.hc-impact-divider {
	height: 2px;
	background: #e5e7eb;
	margin-bottom: 24px;
}

.hc-impact-note {
	background: #f9fafb;
	border-left: 4px solid #75c5cc;
	border-radius: 4px;
	padding: 28px;
	margin-bottom: 24px;
	color: #231f20;
	font-size: 18px;
	line-height: 30px;
}

.hc-impact-note p:last-child {
	margin-bottom: 0;
}

.hc-impact-lead {
	color: #231f20;
	font-size: 18px;
	line-height: 26px;
	margin-bottom: 0;
}

/* ---------- Buttons ---------- */

.hc-btn-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 28px;
	border: 1.5px solid #73bfc7;
	border-radius: 50px;
	background: #fff;
	color: #464646;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.hc-btn-pill:hover,
.hc-btn-pill:focus {
	background: #01536c;
	border-color: #01536c;
	color: #fff;
	text-decoration: none;
}

/* ---------- Landing: explore cards ---------- */

.hc-impact-explore {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-top: 16px;
}

.hc-explore-card {
	background: #fff;
	border: 2px solid #f1f4f8;
	box-shadow: 4px 4px 2px rgba(167, 167, 167, 0.08);
	padding: 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	text-align: center;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.hc-explore-card:hover {
	transform: translateY(-4px);
	background: #f1f9fa;
	box-shadow: 0 12px 28px rgba(0, 60, 55, 0.1);
}

.hc-explore-card__icon {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: #f1f4f8;
	box-shadow: 0 2px 2px rgba(0, 0, 0, 0.02);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.25s ease;
}

.hc-explore-card__icon img {
	width: 24px;
	height: 24px;
	transition: filter 0.25s ease;
}

.hc-explore-card:hover .hc-explore-card__icon {
	background: #01536c;
}

.hc-explore-card:hover .hc-explore-card__icon img {
	filter: brightness(0) invert(1);
}

.hc-explore-card__title {
	margin: 0;
	color: #01536c;
	font-size: 18px;
	font-weight: 700;
	line-height: 26px;
}

/* ---------- Results: stat cards ---------- */

.hc-impact-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin: 16px 0 40px;
}

.hc-stat-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 4px;
	overflow: hidden;
}

.hc-stat-card__accent {
	height: 4px;
}

.hc-stat-card__body {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 24px;
}

.hc-stat-card__icon {
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hc-stat-card__icon img {
	width: 24px;
	height: 24px;
}

.hc-stat-card__number {
	color: #01536c;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
}

.hc-stat-card__label {
	color: #464646;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
}

.hc-accent-pink {
	background: #f2a4c8;
}

.hc-accent-teal {
	background: #75c5cc;
}

.hc-accent-blue {
	background: #86a2d4;
}

.hc-accent-rose {
	background: #e287b2;
}

.hc-accent-grey {
	background: #f1f4f8;
}

/* ---------- Results: outcome cards ---------- */

.hc-impact-outcomes {
	display: flex;
	flex-direction: column;
	gap: 32px;
	margin-top: 16px;
}

.hc-outcome-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 4px;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.hc-outcome-card:hover {
	transform: translateY(-4px);
	background: #f1f9fa;
	box-shadow: 0 12px 28px rgba(0, 60, 55, 0.1);
}

.hc-outcome-card__accent {
	height: 4px;
}

.hc-outcome-card__body {
	display: flex;
	align-items: center;
	gap: 40px;
	padding: 40px;
}

.hc-outcome-card__photo {
	flex: 0 0 47%;
	align-self: stretch;
	min-height: 360px;
	background-size: cover;
	background-position: center;
}

.hc-outcome-card__content {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 30px;
}

.hc-outcome-card__title {
	margin: 0;
	color: #01536c;
	font-size: 24px;
	font-weight: 700;
	line-height: 32px;
}

.hc-outcome-card__text {
	margin: 0;
	color: #464646;
	font-size: 15px;
	line-height: 24px;
}

.hc-outcome-callout {
	display: flex;
	gap: 16px;
	align-items: center;
}

.hc-outcome-callout__icon {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #f0f9fa;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hc-outcome-callout__icon img {
	width: 20px;
	height: 20px;
}

.hc-outcome-callout__text {
	margin: 0;
	color: #464646;
	font-size: 14px;
	line-height: 20px;
}

.hc-outcome-callout__text b,
.hc-outcome-callout__text strong {
	color: #01536c;
}

.hc-outcome-card--soft {
	border-color: rgba(117, 197, 204, 0.24);
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.05);
}

.hc-outcome-card__body--top {
	align-items: flex-start;
}

.hc-outcome-card__photo--sm {
	flex: 0 0 40%;
	align-self: auto;
	min-height: 0;
	aspect-ratio: 460 / 288;
	border-radius: 4px;
}

.hc-outcome-card__title--lg {
	font-size: 26px;
	line-height: 34px;
}

.hc-outcome-card__content--tight {
	gap: 24px;
}

.hc-outcome-card__prose {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.hc-outcome-card__prose p {
	margin: 0;
	color: #464646;
	font-size: 15px;
	line-height: 24px;
}

.hc-outcome-card__prose p:first-child {
	font-weight: 600;
}

/* ---------- Stories: filter bar ---------- */

.hc-stories-filter {
	background: rgba(135, 163, 214, 0.31);
	padding: 34px 0;
}

.hc-stories-filter__row {
	display: flex;
	align-items: center;
	gap: 32px;
	flex-wrap: wrap;
}

.hc-stories-filter__label {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: #01536c;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.hc-stories-filter__select {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	border-radius: 0;
	background-color: #f1f4f8;
	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' fill='none' stroke='%2301536c' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 20px center;
	height: 48px;
	min-width: 240px;
	padding: 0 48px 0 20px;
	color: #01536c;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
}

.hc-stories-filter__select:focus {
	outline: 2px solid #01536c;
	outline-offset: -2px;
}

.hc-stories-filter__reset {
	color: #01536c;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: underline;
}

.hc-stories-filter__reset:hover {
	color: #01536c;
	text-decoration: none;
}

@media (max-width: 767.98px) {
	.hc-stories-filter {
		padding: 20px 0;
	}

	.hc-stories-filter__row {
		gap: 16px;
	}

	.hc-stories-filter__select {
		width: 100%;
		min-width: 0;
	}
}

/* ---------- Stories: listing ---------- */

.hc-impact-stories-grid {
	margin-top: 16px;
}

.hc-impact-pagination {
	display: flex;
	justify-content: center;
	margin-top: 24px;
}

.hc-impact-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	margin: 0 4px;
	padding: 0 8px;
	border: 1px solid #e5e7eb;
	border-radius: 4px;
	color: #01536c;
	font-weight: 600;
	text-decoration: none;
}

.hc-impact-pagination .page-numbers.current {
	background: #01536c;
	border-color: #01536c;
	color: #fff;
}

.hc-impact-pagination .page-numbers:hover:not(.current) {
	background: #f0f9fa;
}

/* ---------- Responsive ---------- */

@media (max-width: 991.98px) {
	.hc-impact-hero__title {
		font-size: 36px;
	}

	.hc-impact-section__title {
		font-size: 28px;
	}

	.hc-impact-explore,
	.hc-impact-stats {
		grid-template-columns: 1fr;
	}

	.hc-outcome-card__body {
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
		padding: 24px;
	}

	.hc-outcome-card__photo {
		flex: 0 0 auto;
		min-height: 0;
		aspect-ratio: 3 / 2;
	}
}

@media (max-width: 575.98px) {
	.hc-impact-hero {
		min-height: 180px;
	}

	.hc-impact-hero__title {
		font-size: 30px;
	}

	.hc-impact-note {
		padding: 20px;
		font-size: 16px;
		line-height: 26px;
	}

	.hc-stat-card__body {
		padding: 24px;
	}
}
