/**
 * Single Team Member page (/team/{slug}/) — single-team_member.php.
 *
 * Plain navy banner (no image), then role + bio + LinkedIn on the left
 * and the headshot on the right. The banner reuses the compact
 * page-banner and the .iema-post-hero breadcrumb; the bio text reuses
 * .iema-post-content (blocks/news/style.css). Added 2026-10-06.
 * Scoped to .iema-team-hero / .iema-team-bio, so inert elsewhere.
 */

/* Banner: solid brand navy instead of a photo. */
.iema-page-banner.iema-team-hero {
	min-height: 340px;
	background-color: #002147;
}

/* Bio: two columns ------------------------------------------------------ */
.iema-team-bio {
	background-color: #ffffff;
	color: #002147;
	font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
}

.iema-team-bio__inner {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 64px;
	align-items: start;
	max-width: 1440px;
	margin: 0 auto;
	/* 80px sides = .iema-page-banner__inner, so the bio lines up with the H1. */
	padding: 64px 80px 80px;
}

.iema-team-bio__role {
	margin: 0 0 24px;
	color: #002147;
	font-weight: 700;
	font-size: 28px;
	line-height: 36px;
}

.iema-team-bio__linkedin {
	display: inline-flex;
	align-items: center;
	margin-top: 24px;
	line-height: 0;
	transition: opacity 0.2s ease;
}

.iema-team-bio__linkedin:hover,
.iema-team-bio__linkedin:focus-visible {
	opacity: 0.7;
}

.iema-team-bio__linkedin-icon {
	display: block;
	width: 32px;
	height: 32px;
}

/* Photos: the cut-out PNGs sit on a light panel, anchored to the base.
   With two photos the track slides between them (assets/js/team-single.js);
   the dots copy the bio modal's slider controls (assets/css/our-team.css). */
.iema-team-bio__photo {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: 16px;
	background-color: #f2f4f7;
	aspect-ratio: 1 / 1;
}

.iema-team-bio__track {
	display: flex;
	height: 100%;
	overflow: hidden;
}

.iema-team-bio__track.is-dragging {
	user-select: none;
}

.iema-team-bio__image {
	display: block;
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: bottom center;
	-webkit-user-drag: none;
}

.iema-team-bio__dots {
	position: absolute;
	right: 0;
	bottom: 24px;
	left: 0;
	z-index: 1;
	display: flex;
	justify-content: center;
	gap: 12px;
}

.iema-team-bio__dot {
	width: 16px;
	height: 16px;
	padding: 0;
	border: 1px solid #ffffff;
	border-radius: 50%;
	background-color: #767676;
	cursor: pointer;
}

.iema-team-bio__dot:hover,
.iema-team-bio__dot.is-active {
	border-color: #c1d82a;
	background-color: #002147;
}

.iema-team-bio__dot:focus-visible {
	outline: 2px solid #002147;
	outline-offset: 2px;
}

@media (max-width: 1024px) {
	.iema-page-banner.iema-team-hero {
		min-height: 300px;
	}

	.iema-team-bio__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
		padding: 40px 24px;
	}

	/* Photo above the text on a narrow screen. */
	.iema-team-bio__photo {
		order: -1;
		max-width: 420px;
	}

	.iema-team-bio__role {
		font-size: 22px;
		line-height: 30px;
	}
}
