/* PTE Impact Carousel — light section, coloured stat cards */

.pte-impact__bg {
	background: #fbf9ef;
	color: var(--pte-ink, #251e20);
	padding: clamp(56px, 8vw, 74px) 0;
	background-size: cover;
	background-position: center;
}

.pte-impact__head { max-width: 920px; margin: 0 0 clamp(36px, 5vw, 56px); text-align: left; }
.pte-impact__eyebrow {
	font-size: 1rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	color: var(--pte-green, #00a576); margin: 0 0 .75rem;
}
.pte-impact__title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; font-weight: 800; color: var(--pte-ink, #251e20); margin: 0 0 1rem; }
.pte-impact__intro { font-size: clamp(1.15rem, 1.9vw, 1.625rem); line-height: 1.3; color: var(--pte-ink, #251e20); }
.pte-impact__intro p { margin: 0; }

.pte-impact__carousel { max-width: 1180px; }
.pte-impact__viewport { overflow: hidden; }
.pte-impact__track {
	display: flex; margin: 0; padding: 0; list-style: none;
	transition: transform .5s cubic-bezier(.4,0,.2,1); will-change: transform;
}
.pte-impact__slide { flex: 0 0 100%; min-width: 100%; }

.pte-impact__modules { display: grid; gap: clamp(20px, 2.5vw, 32px); }
.pte-impact__modules--1 { grid-template-columns: 1fr; max-width: 420px; }
.pte-impact__modules--2 { grid-template-columns: repeat(2, 1fr); }
.pte-impact__modules--3 { grid-template-columns: repeat(3, 1fr); }

/* Cards — light-blue / dark-blue / green, matching the homepage comp. */
.pte-impact__module {
	border-radius: 24px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: 420px;
}
/* Match the Astro homepage impact card colours exactly. */
.pte-impact__module:nth-child(3n+1) { background: #41b981; color: #000; }
.pte-impact__module:nth-child(3n+2) { background: #3169ae; color: #fff; }
.pte-impact__module:nth-child(3n+3) { background: #c3df6c; color: #000; }

/* Centre card is pushed down 44px like the Astro stagger. */
.pte-impact__modules--3 .pte-impact__module:nth-child(2) {
	transform: translateY(44px);
}

.pte-impact__module-inner {
	padding: clamp(1.75rem, 3vw, 2.5rem);
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	text-align: left;
}
/* Icon-only cards (no bottom photo) left-align content like photo cards. */
.pte-impact__module--nophoto .pte-impact__module-inner {
	align-items: flex-start;
	justify-content: flex-start;
	text-align: left;
}
.pte-impact__module--nophoto .pte-impact__icon {
	margin: 0 0 1.5rem;
}

.pte-impact__icon {
	width: 108px; height: 108px; border-radius: 50%; background: #fff;
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto 1.5rem;
}
.pte-impact__icon img { width: 60px; height: 60px; object-fit: contain; }

.pte-impact__number { font-size: clamp(2.75rem, 5.5vw, 4.25rem); font-weight: 800; line-height: 1; color: inherit; }
.pte-impact__label { font-size: 1.15rem; font-weight: 700; margin-top: .75rem; line-height: 1.3; color: inherit; }
.pte-impact__desc { font-size: 1rem; line-height: 1.5; color: inherit; opacity: .9; margin: .75rem 0 0; }

.pte-impact__photo { width: 100%; height: 200px; object-fit: cover; display: block; margin-top: auto; }

/* Dots (multi-slide only) */
.pte-impact__dots { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: clamp(24px, 4vw, 36px); }
.pte-impact__dot {
	width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(0,40,60,.4); padding: 0; cursor: pointer;
	background: transparent; transition: background-color .2s, transform .2s;
}
.pte-impact__dot[aria-selected="true"] { background: var(--pte-green, #00a576); border-color: var(--pte-green, #00a576); transform: scale(1.2); }

/* CTA */
.pte-impact__cta { text-align: center; margin-top: clamp(32px, 5vw, 48px); }
.pte-impact__cta .pte-btn { display: inline-flex; align-items: center; gap: .5rem; }

@media (max-width: 780px) {
	.pte-impact__modules--2, .pte-impact__modules--3 { grid-template-columns: 1fr; }
	.pte-impact__module { min-height: 0; }
}
