/* Hide Astra's leftover page title so our in-content H1 lines up with the body. */
body:has(.itpe-page) .entry-header,
body:has(.itpe-page) .ez-toc,
body:has(.itpe-page) nav.ez-toc-container,
body:has(.itpe-page) .ez-toc-container-wrapper {
	display: none !important;
}

.itpe-page {
	--itpe-green: #1d6b0a;
	--itpe-text: #1f2937;
	--itpe-muted: #6b7280;
	--itpe-line: #e7ebe4;
	max-width: 860px;
	margin: 0 auto;
	padding: 0;
	color: var(--itpe-text);
	font-size: 1.02rem;
	line-height: 1.75;
}

.itpe-page .itpe-kicker {
	display: inline-block;
	margin: 0 0 0.55rem;
	padding: 0.28rem 0.75rem;
	border-radius: 999px;
	background: #eef7ea;
	color: var(--itpe-green);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.itpe-page h1,
.itpe-page .itpe-title {
	margin: 0 0 0.55rem;
	color: var(--itpe-green);
	font-size: clamp(1.85rem, 3vw, 2.35rem);
	line-height: 1.2;
	font-weight: 700;
	font-family: "Plus Jakarta Sans", sans-serif;
}

.itpe-page h2 {
	margin: 2.15rem 0 0.65rem;
	color: var(--itpe-green);
	font-size: 1.4rem;
	line-height: 1.3;
	font-family: "Plus Jakarta Sans", sans-serif;
}

.itpe-page h3 {
	margin: 0;
	color: var(--itpe-green);
	font-size: 1.15rem;
	line-height: 1.3;
	font-family: "Plus Jakarta Sans", sans-serif;
}

.itpe-page p {
	margin: 0 0 1rem;
}

.itpe-lede {
	margin: 0 0 1.15rem;
	font-size: 1.22rem;
	line-height: 1.55;
	color: #111827;
	font-weight: 650;
}

.itpe-updated {
	margin: 0 0 1.35rem;
	color: var(--itpe-muted);
	font-size: 0.9rem;
}

.itpe-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.85rem;
	margin: 1.1rem 0 1.5rem;
}

.itpe-card {
	padding: 1.05rem 1.15rem;
	border: 1px solid var(--itpe-line);
	border-radius: 14px;
	background: #fbfdfb;
}

.itpe-card strong {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--itpe-green);
}

.itpe-note {
	padding: 1.1rem 1.2rem;
	border-left: 3px solid var(--itpe-green);
	background: #f6faf4;
	border-radius: 0 12px 12px 0;
}

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

.itpe-cta {
	margin-top: 2rem;
	padding: 1.3rem 1.4rem;
	border-radius: 16px;
	background: #1d6b0a;
	color: #fff;
}

.itpe-cta p,
.itpe-cta a {
	color: #fff;
}

.itpe-cta p:last-child {
	margin-bottom: 0;
}

.itpe-cta a {
	font-weight: 700;
	text-decoration: underline;
}

.itpe-team-block {
	margin: 2.2rem 0 0.4rem;
	padding: 1.4rem 1.25rem 1.3rem;
	border: 1px solid var(--itpe-line);
	border-radius: 20px;
	background: #f7faf6;
}

.itpe-team-block > h2 {
	margin: 0 0 0.35rem;
}

.itpe-team-intro {
	margin: 0 0 1.15rem;
	color: var(--itpe-muted);
}

.itpe-team {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

.itpe-person {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	height: 100%;
	padding: 1.45rem 1.2rem 1.3rem;
	border: 1px solid var(--itpe-line);
	border-radius: 16px;
	background: #ffffff;
}

.itpe-person img {
	width: 92px;
	height: 92px;
	margin: 0 0 0.85rem;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #ffffff;
	box-shadow: 0 0 0 2px #1d6b0a;
}

.itpe-person h3 {
	margin: 0 0 0.2rem;
}

.itpe-person .itpe-role {
	margin: 0 0 0.75rem;
	color: var(--itpe-muted);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.4;
}

.itpe-person .itpe-person__bio {
	margin: 0;
	padding-top: 0.75rem;
	border-top: 1px solid var(--itpe-line);
	color: #374151;
	font-size: 0.94rem;
	line-height: 1.65;
	text-align: left;
}

.itpe-legal h2 {
	font-size: 1.18rem;
}

@media (min-width: 760px) {
	.itpe-cards,
	.itpe-team {
		grid-template-columns: 1fr 1fr;
	}

	.itpe-team-block {
		padding: 1.6rem 1.45rem 1.45rem;
	}
}
