/**
 * Executive Education — Faculty list and quote band, from the Figma frame
 * (1080:17596) and the source HTML's `.fac` / `.quote` rules
 * (figma_make/LSB - Exed/src/imports/LSB_ExEd_source.html), on our tokens.
 *
 * @package lsb
 */

.exed-fac__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: var(--space-10) 0 0;
	padding: 0;
	list-style: none;
	border-block-start: 1px solid var(--bib-line-2);
}

.exed-fac__item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: var(--space-4);
	align-items: start;
	padding: var(--space-6) var(--space-7) var(--space-6) 0;
	border-block-end: 1px solid var(--bib-line);
}

/* The Faculty CPT's photo and a profile link (2026-09-29). */
.exed-fac__photo {
	display: block;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	object-fit: cover;
	background: var(--bib-paper);
}

.exed-fac__profile {
	padding-block-start: var(--space-3);
}

.exed-fac__name {
	margin: 0 0 var(--space-2);
	font-family: var(--font-display);
	font-size: var(--fs-editorial);
	font-weight: 400;
	line-height: 1.3;
	color: var(--color-navy);
}

.exed-fac__role {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--fs-ui-sm);
	line-height: 1.5;
	color: var(--bib-ink-2);
}

.exed-fac__more {
	margin: var(--space-6) 0 0;
}

.exed-quote {
	/* One column (2026-11-15, Domagoj): the real quotes run to several
	   sentences and there is no photo for the right side, so the text takes
	   the card's full width and the attribution sits under it. */
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-8);
	margin: var(--space-20) 0 0;
	padding: var(--space-12) var(--space-14);
	border-radius: var(--radius-lg);
	background: var(--bib-glow);
	color: var(--color-white);
}

.exed-quote__text {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--fs-editorial-lg);   /* 24 */
	font-style: italic;
	line-height: 1.5;
	color: var(--color-white);
}

/* The attribution: a short crimson rule, then name and role on one line. */
.exed-quote__by {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-2) var(--space-3);
	font-family: var(--font-body);
	font-size: var(--fs-ui-sm);
	line-height: 1.6;
	color: color-mix(in srgb, var(--color-white) 78%, transparent);
}

.exed-quote__by::before {
	content: "";
	inline-size: var(--space-8);
	block-size: 1px;
	background: var(--color-crimson);
}

.exed-quote__by b {
	font-size: var(--fs-ui-xs);
	font-weight: var(--fw-medium);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-white);
}

.exed-quote__by b:empty {
	display: none;
}

@media (max-width: 63.99em) {
	.exed-fac__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 47.99em) {
	.exed-fac__list {
		grid-template-columns: 1fr;
	}

	.exed-quote {
		gap: var(--space-6);
		margin-block-start: var(--space-14);
		padding: var(--space-8) var(--space-6);
	}
}

/* Phones (2026-09-27): a step smaller than desktop's 24. */
@media (max-width: 47.99em) {
	.exed-quote__text {
		font-size: var(--fs-editorial);      /* 20 */
		line-height: 1.4;
	}
}

/* ---------------------------------------------------------------------------
   Meet the team (ExEd review 01, slide 33, 2026-11-13)
   ------------------------------------------------------------------------ */

.exed-team__title {
	margin-block-end: var(--space-10);
}

.exed-team__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-8);
	margin: 0;
	padding: 0;
	list-style: none;
}

.exed-team__person {
	display: flex;
	flex-direction: column;
	gap: var(--space-1);
}

img.exed-team__photo {
	width: 100%;
	max-width: 18rem;
	aspect-ratio: 4 / 5;
	margin-block-end: var(--space-4);
	border-radius: var(--bib-r-lg);
	object-fit: cover;
	object-position: center top;
}

.exed-team__name {
	font-family: var(--font-display);
	font-size: 1.375rem;
	font-weight: var(--fw-regular);
	color: var(--color-navy);
}

.exed-team__role {
	font-family: var(--font-body);
	font-size: var(--fs-ui-base);
	line-height: 1.5;
	color: var(--bib-ink-2);
}

@media (max-width: 47.99em) {
	.exed-team__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--space-6) var(--space-4);
	}
}
