/* Shared Mentorat page: faithful to Option 1 and the network design system. */
.mentorat-page {
	padding-bottom: clamp(86px, 9vw, 128px);
}

.mentorat-page__article {
	display: grid;
	gap: 24px;
}

.mentorat-hero {
	display: grid;
	align-items: stretch;
	min-height: 430px;
	grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
	gap: clamp(30px, 5vw, 68px);
}

.mentorat-hero__copy.editorial-masthead {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	justify-content: center;
	padding: clamp(30px, 4vw, 52px) 0;
}

.mentorat-kicker.editorial-chip {
	margin: 0 0 18px;
	background: var(--site-action);
	color: var(--site-action-contrast);
}

.mentorat-hero__copy.editorial-masthead h1 {
	max-width: 14ch;
	margin: 0;
	font-size: clamp(42px, 4.7vw, 66px);
	letter-spacing: -0.058em;
	line-height: 1.02;
}

.mentorat-hero__lede,
.mentorat-hero__copy.editorial-masthead .mentorat-hero__lede {
	max-width: 56ch;
	margin: 20px 0 0;
	color: var(--text-secondary);
	font-size: clamp(16px, 1.25vw, 18px);
	line-height: 1.6;
}

.mentorat-hero__actions {
	margin-top: 26px;
}

.mentorat-hero__actions .button,
.mentorat-bio .button,
.mentorat-final__button {
	gap: 8px;
}

.mentorat-hero__actions .dashicons,
.mentorat-bio .button .dashicons,
.mentorat-final__button .dashicons {
	width: 18px;
	height: 18px;
	font-size: 18px;
}

.mentorat-hero__note {
	display: flex;
	align-items: flex-start;
	max-width: 410px;
	margin: 18px 0 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.5;
	gap: 8px;
}

.mentorat-hero__note .dashicons {
	width: 18px;
	height: 18px;
	margin-top: 1px;
	color: var(--site-accent-current);
	font-size: 18px;
}

.mentorat-hero__portrait {
	min-height: 430px;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: var(--surface);
}

.mentorat-hero__portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.mentorat-benefits {
	padding-block: 4px 0;
}

.mentorat-benefits__intro {
	max-width: 720px;
	margin: 0 0 18px;
	color: var(--text-secondary);
	font-size: 15px;
}

.mentorat-benefits__grid,
.mentorat-fit ul,
.mentorat-process__grid,
.mentorat-topics__grid,
.mentorat-outcomes__grid {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mentorat-benefits__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.mentorat-benefits__grid > li {
	display: grid;
	align-items: center;
	min-height: 118px;
	padding: 16px;
	border: 1px solid transparent;
	border-radius: 18px;
	background: var(--surface);
	grid-template-columns: 50px minmax(0, 1fr);
	gap: 14px;
}

.mentorat-icon {
	display: grid;
	width: 50px;
	height: 50px;
	place-items: center;
	border-radius: 13px;
	background: var(--site-action);
	color: var(--site-action-contrast);
}

.mentorat-icon .dashicons {
	width: 23px;
	height: 23px;
	font-size: 23px;
}

.mentorat-benefit__copy,
.mentorat-outcomes__grid > li > span:last-child {
	display: grid;
	gap: 5px;
	min-width: 0;
}

.mentorat-benefit__copy strong,
.mentorat-outcomes__grid strong {
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 15px;
	letter-spacing: -0.025em;
	line-height: 1.24;
}

.mentorat-benefit__copy > span,
.mentorat-outcomes__grid > li > span:last-child > span {
	color: var(--text-secondary);
	font-size: 12px;
	line-height: 1.48;
}

.mentorat-fit {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.mentorat-fit__card {
	padding: clamp(26px, 3vw, 38px);
	border: 1px solid var(--line);
	border-radius: 22px;
	background: var(--surface-strong);
}

.mentorat-fit__card--yes {
	background: color-mix(in srgb, var(--site-primary) 5%, var(--surface-strong));
}

.mentorat-fit__card h2,
.mentorat-section-heading h2,
.mentorat-bio h2,
.mentorat-final h2 {
	margin: 0;
	font-size: clamp(27px, 2.5vw, 38px);
	letter-spacing: -0.045em;
	line-height: 1.08;
	text-wrap: balance;
}

.mentorat-fit__card > p {
	max-width: 54ch;
	margin: 12px 0 0;
	color: var(--text-secondary);
	font-size: 14px;
	line-height: 1.58;
}

.mentorat-fit ul {
	display: grid;
	margin-top: 24px;
	gap: 14px;
}

.mentorat-fit li {
	display: grid;
	align-items: start;
	color: var(--text-secondary);
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 9px;
	font-size: 14px;
	line-height: 1.5;
}

.mentorat-fit li .dashicons {
	width: 19px;
	height: 19px;
	margin-top: 1px;
	color: var(--site-accent-current);
	font-size: 19px;
}

.mentorat-process,
.mentorat-faq {
	padding-block: 30px 8px;
	border-top: 1px solid var(--line);
}

.mentorat-section-heading {
	display: grid;
	align-items: end;
	margin-bottom: 22px;
	grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(24px, 4vw, 54px);
}

.mentorat-section-heading > p {
	max-width: 620px;
	margin: 0;
	color: var(--text-secondary);
	font-size: 15px;
	line-height: 1.6;
}

.mentorat-process__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.mentorat-process__grid > li {
	min-height: 200px;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--surface-strong);
}

.mentorat-process__number {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 9px;
	background: var(--site-action);
	color: var(--site-action-contrast);
	font-size: 13px;
	font-weight: 800;
}

.mentorat-process h3,
.mentorat-topics h3 {
	margin: 20px 0 0;
	font-size: clamp(18px, 1.6vw, 22px);
	letter-spacing: -0.035em;
	line-height: 1.14;
}

.mentorat-process__grid p,
.mentorat-topics__grid p {
	margin: 10px 0 0;
	color: var(--text-secondary);
	font-size: 13px;
	line-height: 1.58;
}

.mentorat-process__note {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	margin: 18px 0 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.5;
	gap: 8px;
	text-align: center;
}

.mentorat-process__note .dashicons {
	width: 18px;
	height: 18px;
	margin-top: 1px;
	font-size: 18px;
}

.mentorat-topics,
.mentorat-outcomes,
.mentorat-bio {
	padding: clamp(26px, 3vw, 38px);
	border: 1px solid var(--line);
	border-radius: 22px;
	background: var(--surface);
}

.mentorat-topics__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.mentorat-topics__grid > li {
	min-height: 220px;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--surface-strong);
}

.mentorat-topics__grid > li > .dashicons {
	width: 28px;
	height: 28px;
	color: var(--site-accent-current);
	font-size: 28px;
}

.mentorat-outcomes__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 3vw, 42px);
}

.mentorat-outcomes__grid > li {
	display: grid;
	align-items: center;
	grid-template-columns: 50px minmax(0, 1fr);
	gap: 14px;
}

.mentorat-outcomes__note {
	max-width: 760px;
	margin: 24px auto 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.55;
	text-align: center;
}

.mentorat-bio {
	display: grid;
	align-items: stretch;
	padding: 0;
	overflow: hidden;
	background: var(--surface-strong);
	grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
}

.mentorat-bio__portrait {
	min-height: 330px;
	margin: 0;
	background: var(--surface);
}

.mentorat-bio__portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.mentorat-bio__copy {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	justify-content: center;
	padding: clamp(28px, 4vw, 52px);
}

.mentorat-bio__kicker,
.mentorat-final__kicker {
	margin: 0 0 10px;
	color: var(--site-accent-current);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.075em;
	line-height: 1.3;
	text-transform: uppercase;
}

.mentorat-bio__copy > p:not(.mentorat-bio__kicker) {
	max-width: 62ch;
	margin: 14px 0 0;
	color: var(--text-secondary);
	font-size: 14px;
	line-height: 1.62;
}

.mentorat-bio__copy .button {
	margin-top: 22px;
}

.mentorat-faq__list {
	border-top: 1px solid var(--line);
}

.mentorat-faq details {
	border-bottom: 1px solid var(--line);
	background: transparent;
}

.mentorat-faq summary {
	display: grid;
	min-height: 62px;
	align-items: center;
	padding: 14px 8px;
	color: var(--ink);
	grid-template-columns: minmax(0, 1fr) 24px;
	gap: 20px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.42;
	list-style: none;
	cursor: pointer;
}

.mentorat-faq summary::-webkit-details-marker {
	display: none;
}

.mentorat-faq summary .dashicons {
	width: 20px;
	height: 20px;
	font-size: 20px;
	transition: transform var(--transition);
}

.mentorat-faq details[open] summary .dashicons {
	transform: rotate(180deg);
}

.mentorat-faq__answer {
	max-width: 850px;
	padding: 0 44px 22px 8px;
}

.mentorat-faq__answer p {
	margin: 0;
	color: var(--text-secondary);
	font-size: 14px;
	line-height: 1.65;
}

.mentorat-final {
	display: grid;
	align-items: center;
	min-height: 230px;
	padding: clamp(30px, 4vw, 48px);
	border: 1px solid var(--site-primary-hover);
	border-radius: 22px;
	background: var(--site-primary);
	color: var(--site-primary-contrast);
	grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
	gap: clamp(28px, 5vw, 70px);
}

.mentorat-final h2 {
	max-width: 18ch;
	color: var(--site-primary-contrast);
}

.mentorat-final > div > p:not(.mentorat-final__kicker) {
	max-width: 52ch;
	margin: 14px 0 0;
	color: color-mix(in srgb, var(--site-primary-contrast) 78%, transparent);
	font-size: 14px;
	line-height: 1.58;
}

.mentorat-final__kicker {
	color: color-mix(in srgb, var(--site-primary-contrast) 68%, transparent);
}

.mentorat-final__action {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 10px;
}

.mentorat-final__button,
.mentorat-final__button:hover {
	border-color: var(--site-primary-contrast);
	background: var(--site-primary-contrast);
	color: var(--site-primary);
}

.mentorat-final__button:hover {
	box-shadow: 0 10px 28px color-mix(in srgb, var(--site-primary-contrast) 15%, transparent);
}

.mentorat-final__button:focus-visible {
	outline-color: var(--site-focus-on-dark);
}

.mentorat-final__action small {
	color: color-mix(in srgb, var(--site-primary-contrast) 62%, transparent);
	font-size: 11px;
	line-height: 1.45;
	text-align: center;
}

@media (max-width: 980px) {
	.mentorat-hero {
		grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
		gap: 28px;
	}

	.mentorat-topics__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mentorat-topics__grid > li {
		min-height: 190px;
	}
}

@media (max-width: 720px) {
	.mentorat-page__article {
		gap: 18px;
	}

	.mentorat-hero,
	.mentorat-fit,
	.mentorat-bio,
	.mentorat-final {
		grid-template-columns: minmax(0, 1fr);
	}

	.mentorat-hero {
		gap: 18px;
	}

	.mentorat-hero__copy.editorial-masthead {
		padding: 18px 2px 8px;
	}

	.mentorat-hero__portrait {
		min-height: 0;
		aspect-ratio: 4 / 3;
	}

	.mentorat-benefits__grid,
	.mentorat-process__grid,
	.mentorat-outcomes__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.mentorat-process__grid > li {
		min-height: 0;
	}

	.mentorat-section-heading {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.mentorat-bio__portrait {
		min-height: 0;
		aspect-ratio: 4 / 3;
	}

	.mentorat-final__action {
		align-items: flex-start;
	}
}

@media (max-width: 520px) {
	.mentorat-page {
		padding-bottom: 72px;
	}

	.mentorat-hero__copy.editorial-masthead h1 {
		font-size: clamp(38px, 12vw, 50px);
	}

	.mentorat-hero__lede,
	.mentorat-hero__copy.editorial-masthead .mentorat-hero__lede {
		margin-top: 16px;
		font-size: 15px;
	}

	.mentorat-hero__actions,
	.mentorat-hero__actions .button,
	.mentorat-final__action,
	.mentorat-final__button {
		width: 100%;
	}

	.mentorat-benefits__grid > li {
		min-height: 104px;
	}

	.mentorat-fit__card,
	.mentorat-topics,
	.mentorat-outcomes,
	.mentorat-bio__copy,
	.mentorat-final {
		padding: 24px;
		border-radius: 20px;
	}

	.mentorat-process,
	.mentorat-faq {
		padding-block: 24px 0;
	}

	.mentorat-topics__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.mentorat-topics__grid > li {
		min-height: 0;
	}

	.mentorat-outcomes__grid {
		gap: 20px;
	}

	.mentorat-faq summary {
		min-height: 58px;
		padding-inline: 4px;
		font-size: 14px;
	}

	.mentorat-faq__answer {
		padding: 0 34px 20px 4px;
	}
}

@media (max-width: 380px) {
	.mentorat-benefits__grid > li,
	.mentorat-outcomes__grid > li {
		align-items: start;
		grid-template-columns: minmax(0, 1fr);
	}

	.mentorat-icon {
		width: 44px;
		height: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mentorat-faq summary .dashicons {
		transition: none;
	}

	.mentorat-final__button:hover {
		transform: none;
	}
}

@media (prefers-contrast: more) {
	.mentorat-hero__portrait,
	.mentorat-fit__card,
	.mentorat-process__grid > li,
	.mentorat-topics,
	.mentorat-topics__grid > li,
	.mentorat-outcomes,
	.mentorat-bio,
	.mentorat-final {
		border-width: 2px;
	}
}

@media (forced-colors: active) {
	.mentorat-icon,
	.mentorat-process__number,
	.mentorat-final,
	.mentorat-final__button {
		forced-color-adjust: auto;
	}

	.mentorat-hero__portrait,
	.mentorat-fit__card,
	.mentorat-process__grid > li,
	.mentorat-topics,
	.mentorat-topics__grid > li,
	.mentorat-outcomes,
	.mentorat-bio,
	.mentorat-final,
	.mentorat-faq details {
		border-color: CanvasText;
	}
}

@media print {
	.mentorat-page {
		width: 100%;
		padding: 0;
	}

	.mentorat-page__article {
		gap: 20px;
	}

	.mentorat-hero,
	.mentorat-fit,
	.mentorat-process__grid,
	.mentorat-topics__grid,
	.mentorat-outcomes__grid,
	.mentorat-bio {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mentorat-hero__actions,
	.mentorat-bio .button,
	.mentorat-final {
		display: none !important;
	}

	.mentorat-hero,
	.mentorat-fit__card,
	.mentorat-process,
	.mentorat-process__grid > li,
	.mentorat-topics,
	.mentorat-outcomes,
	.mentorat-bio,
	.mentorat-faq details {
		break-inside: avoid;
	}

	.mentorat-faq details {
		padding-block: 8px;
	}

	.mentorat-faq details > .mentorat-faq__answer {
		display: block !important;
	}
}
