/* Team grid layout only. Colors, type and spacing come from the site's global styles. */
.lp-team__list {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	display: grid;
	gap: 2rem 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

@media (min-width: 60em) {
	.lp-team--cols-2 .lp-team__list { grid-template-columns: repeat(2, 1fr); }
	.lp-team--cols-3 .lp-team__list { grid-template-columns: repeat(3, 1fr); }
	.lp-team--cols-4 .lp-team__list { grid-template-columns: repeat(4, 1fr); }
}

.lp-team__photo {
	aspect-ratio: 1 / 1;
	margin-bottom: 1rem;
	overflow: hidden;
}

.lp-team__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lp-team__initials {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	font-size: 2.5rem;
	background: var(--lp-color-accent);
	color: var(--lp-color-on-accent);
}

.lp-team__name,
.lp-team__title {
	margin: 0;
}

.lp-team__bio {
	margin: 0.5rem 0 0;
}

.lp-team__specialty,
.lp-team__credentials,
.lp-team__location,
.lp-team__more {
	margin: 0.25rem 0 0;
}

.lp-team-profile {
	display: grid;
	gap: 2rem;
}

@media (min-width: 48em) {
	.lp-team-profile { grid-template-columns: minmax(12rem, 1fr) 2fr; }
}

.lp-team-profile__photo {
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.lp-team-profile__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
