/* Team member biography — Figma 209:2245. */

.member-bio__container {
	display: flex;
	flex-direction: column;
	gap: 60px;
	max-width: var(--container);
	margin: 0 auto;
}

.member-bio__main,
.member-bio__aside {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.member-bio__main { gap: 30px; }
.member-bio__aside { gap: 60px; }

.member-bio__lead,
.member-bio__heading {
	margin: 0;
	color: var(--color-primary);
	font-family: var(--font-heading);
	font-size: 26px;
	font-weight: var(--h2-weight);
	line-height: var(--h2-lh);
}

.member-bio__text {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	color: var(--color-primary);
	font-size: var(--body-main-size);
	line-height: 1.4;
}

/* Figma justifies the long biography column. */
.member-bio__text p { text-align: justify; }

.member-bio__block {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

/* Figma bullets these two lists; the reset strips list markers site-wide. */
.member-bio__list {
	margin: 0;
	padding-left: 25px;
	list-style: disc outside;
	color: var(--color-primary);
	font-size: var(--body-main-size);
	line-height: 1.4;
}

.member-bio__list li + li { margin-top: var(--space-2); }

@media (min-width: 1024px) {
	.member-bio__container { flex-direction: row; gap: 71px; }
	.member-bio__main { flex: 0 1 609px; }
	.member-bio__aside { flex: 0 1 660px; }
	.member-bio__lead,
	.member-bio__heading { font-size: 32px; }
}

/*
 * Members with no "Praxe" / "Publikace" lists (everyone but the lead doctor,
 * for now) would otherwise leave the whole right half of the row blank. Their
 * biography gets the full container instead, capped at a readable measure.
 */
@media (min-width: 1024px) {
	.member-bio__container--solo .member-bio__main { flex: 1 1 auto; max-width: 900px; }
	.member-bio__container--solo .member-bio__aside { display: none; }
}
