  /**
 * 91ÊÓÆµ Faculty Bio - frontend styles.
 */

.ecc-faculty-bio {
	margin: 1.5em 0;
}

/* Header: two-column grid (portrait | info).
   Portrait takes a third of the width, capped at 250px. */
.ecc-faculty-bio__header {
	display: grid;
	grid-template-columns: min(33.333%, 250px) 1fr;
	grid-template-columns: 1fr min(33.333%, 250px);
	gap: 1.5em;
	align-items: start;
}

.ecc-faculty-bio__portrait {
	max-width: 250px;
}

.ecc-faculty-bio__portrait img {
	display: block;
	width: 100%;
	height: auto;
}

.ecc-faculty-bio__name {
	margin: 0 0 0.25em;
}

/* Title: bold + italic, with space before what follows. */
.ecc-faculty-bio__title {
	font-weight: 500;
	font-style: italic;
	margin: 0 0 1em;
	font-size: 18px;
}

/* Certificates block under the title, with space before the contact lines. */
.ecc-faculty-bio__certificates {
	margin: 0 0 1em;
}

/* Divider below the header section. */
.ecc-faculty-bio__divider {
	border: 0;
	border-top: 2px solid var(--light-grey);
	border-top: 2px solid var(--true-blue);
	background: none;
	margin: 1.5em 0;
}

.ecc-faculty-bio__contact {
	margin: 0.25em 0;
}

.ecc-faculty-bio__contact i {
	width: 1.25em;
	margin-right: 0.4em;
	text-align: center;
}

/* Links within the header/info section. */
.ecc-faculty-bio__info a {
	color: #333;
	text-decoration: none;
}

.ecc-faculty-bio__info a:hover {
	color: var(--aqua);
}

/* Stack the header on narrow screens. */
@media (max-width: 600px) {
	.ecc-faculty-bio__header {
		grid-template-columns: 1fr;
	}

	.ecc-faculty-bio__portrait {
		max-width: 250px;
	}
}
