/* PTE Financial Highlights — hero + two conic-gradient donut charts */

.pte-fh {
	background: var(--pte-white, #fff);
	padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

/* --- Hero -------------------------------------------------------------- */
.pte-fh__hero {
	position: relative;
	background-color: #0e6bb3; /* lighter report banner blue (design 2038:8882) */
	border-radius: 0 0 clamp(24px, 3vw, 50px) clamp(24px, 3vw, 50px);
	overflow: hidden;
}
/* Blue-tinted photo behind a blue veil: the image multiplies into the blue base
   (taking the tint, like the design's 20% multiply), then a translucent blue
   veil on top fades it. Position biased up so the doorway/scene shows, not just
   the centre. */
.pte-fh__hero--image {
	background-image:
		linear-gradient(0deg, rgba(14, 107, 179, .55), rgba(14, 107, 179, .55)),
		var(--pte-fh-hero-img);
	background-size: cover, cover;
	background-position: center 22%, center 22%;
	background-repeat: no-repeat, no-repeat;
	background-blend-mode: normal, multiply;
}
.pte-fh__hero .container {
	position: relative;
	z-index: 1;
}
.pte-fh__hero-content {
	padding: clamp(2.5rem, 9.7vw, 8.75rem) 0 clamp(2rem, 7.15vw, 6.4375rem);
	max-width: 1160px;
}
.pte-fh__title {
	color: #fff;
	font-size: clamp(2.5rem, 5.2vw, 4.5rem); /* ~72px */
	line-height: 1.05;
	font-weight: 700;
	margin: 0;
}
.pte-fh__subtitle {
	color: #fff;
	font-size: clamp(1.25rem, 2.2vw, 2rem); /* ~32px */
	line-height: 1.3;
	font-weight: 500;
	margin: .85rem 0 0;
}

/* --- Intro copy -------------------------------------------------------- */
.pte-fh__intro {
	max-width: 1010px;
	margin: clamp(2rem, 5.4vw, 4.875rem) 0 0;
	color: var(--pte-ink, #251e20);
	font-size: clamp(1.15rem, 1.8vw, 1.625rem); /* 26px at 1440px */
	line-height: 1.54;
}
.pte-fh__intro p { margin: 0 0 1.25em; }
.pte-fh__intro p:last-child { margin-bottom: 0; }

/* --- Chart block ------------------------------------------------------- */
/* Figma layout: donut on the left, heading + legend stacked on the right. */
.pte-fh__chart {
	margin-top: clamp(2.5rem, 5vw, 4rem);
	display: flex;
	align-items: flex-start;
	gap: clamp(1.5rem, 4vw, 3.5rem);
}
.pte-fh__chart-right {
	flex: 1;
	padding-top: clamp(0px, 2.2vw, 2rem); /* ~32px at 1440px, drops to 0 at narrow */
}
.pte-fh__chart-heading {
	color: var(--pte-ink, #251e20);
	font-size: var(--pte-h2-size, 2.625rem); /* 42px */
	line-height: 1.15;
	font-weight: 700;
	margin: 0 0 clamp(1rem, 2vw, 1.75rem);
}

/* Donut: conic ring with a white centre disc holding the total. */
.pte-fh__donut {
	flex: none;
	width: clamp(240px, 28.96vw, 417px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--pte-fh-ring, conic-gradient(#005474, #006db9));
	display: grid;
	place-items: center;
}
.pte-fh__donut-hole {
	width: 67%;
	aspect-ratio: 1;
	background: var(--pte-white, #fff);
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 8%;
	box-sizing: border-box;
}
.pte-fh__donut-label {
	font-weight: 700;
	font-size: clamp(1.1rem, 1.6vw, 1.6rem);
	line-height: 1.2;
	color: var(--pte-ink, #251e20);
}
.pte-fh__donut-value {
	font-weight: 500;
	font-size: clamp(1.1rem, 1.6vw, 1.6rem);
	line-height: 1.2;
	color: var(--pte-ink, #251e20);
}

/* Legend */
.pte-fh__legend {
	flex: 1 1 340px;
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: clamp(.5rem, 1vw, .85rem);
}
.pte-fh__legend-item {
	display: flex;
	align-items: flex-start;
	gap: .85rem;
	color: var(--pte-ink, #251e20);
	font-size: clamp(1rem, 1.389vw, 1.25rem); /* 20px at 1440px */
	line-height: 1.4;
}
.pte-fh__swatch {
	flex: none;
	width: 1.1em;
	height: 1.1em;
	border-radius: 50%;
	margin-top: .18em;
}
.pte-fh__legend-pct { font-weight: 500; }

/* --- Footnote ---------------------------------------------------------- */
.pte-fh__footnote {
	margin-top: clamp(2rem, 4vw, 3rem);
	font-size: 1.125rem;
	line-height: 1.55;
	color: var(--pte-ink, #251e20);
}
.pte-fh__footnote a { color: var(--pte-blue, #006db9); }

/* --- Responsive -------------------------------------------------------- */
@media (max-width: 720px) {
	.pte-fh__chart {
		flex-direction: column;
		align-items: flex-start;
	}
	.pte-fh__chart-right {
		padding-top: 0;
	}
	.pte-fh__donut {
		width: min(320px, 80vw);
		margin: 0 auto;
	}
	.pte-fh__legend { width: 100%; }
}
