/* Team member profile (single-evolve_team.php). */

.profile {
	padding-block: calc(var(--space-section) * .6) var(--space-section);
}

/* Bootstrap .row: photo .col-md-5 | text .col-md-7. */
.profile__inner {
	--bs-gutter-x: clamp(40px, 6vw, 96px);
	--bs-gutter-y: 40px;
}

.profile__photo {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 22px;
	background: var(--c-sand);
}

.profile__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.profile__body {
	padding-top: 8px;
}

.profile__name {
	margin: 0;
}

.profile__role {
	margin: 12px 0 0;
	color: var(--c-muted);
	font-size: var(--fs-lead);
	line-height: var(--lh-lead);
}

.profile__bio {
	margin-top: 32px;
}

.profile__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px 32px;
	margin-top: 40px;
}

@media (max-width: 767px) {
	.profile__photo {
		max-width: 420px;
	}
}
