/*
 * Team member hero — Figma 209:1554.
 *
 * Geometry comes from sections/service-hero.css; this file only adds the
 * specialisation / education block that replaces the rating chip.
 */

.member-hero__facts {
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
}

.member-fact {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}

.member-fact__label {
	color: var(--color-neutral-2);
	font-size: var(--body-small-size);
	line-height: 1.4;
	letter-spacing: -0.14px;
}

.member-fact__value {
	color: var(--color-primary);
	font-size: var(--body-main-size);
	font-weight: var(--body-main-weight);
	line-height: var(--body-main-lh);
}

.member-fact__list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.member-fact__list li {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	color: var(--color-primary);
	font-size: var(--body-main-size);
	font-weight: var(--body-main-weight);
	line-height: var(--body-main-lh);
}

/* A 6px bullet dot — drawn in CSS rather than shipped as an icon file. */
.member-fact__list li::before {
	content: "";
	width: 6px;
	height: 6px;
	flex: 0 0 6px;
	border-radius: 50%;
	background: currentColor;
}

@media (min-width: 1024px) {
	/*
	 * The copy column has no third block here, so the two it does have sit at
	 * the top and bottom of the 645px column exactly as Figma places them.
	 */
	.member-hero .service-hero__content { gap: var(--space-8); }
}

/*
 * Compact variant: the whole biography lives in the hero, so the copy column
 * can no longer be pinned to the 645px the split layout gives it.
 */
.member-hero__bio {
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
}

.member-hero__bio p {
	color: var(--color-neutral-1);
	font-size: var(--body-main-size);
	font-weight: var(--body-main-weight);
	line-height: var(--body-main-lh);
}

.member-hero__bio .member-hero__lead {
	color: var(--color-primary);
	font-family: var(--font-heading);
	font-size: var(--h5-size);
	line-height: var(--h5-lh);
}

@media (min-width: 1024px) {
	.member-hero--compact .service-hero__container { align-items: flex-start; }

	.member-hero--compact .service-hero__left {
		height: auto;
		min-height: 695px;
		justify-content: flex-start;
	}

	.member-hero--compact .service-hero__content { gap: var(--space-7); }
}
