/* BFJ Team: front end. Uses the BFJ theme's variables, with fallbacks. */
.bfj-team {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	margin: 10px 0 20px;
}

.bfj-team__member {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	padding: 0;
	background: transparent;
}

.bfj-team__photo {
	flex: 0 0 150px;
	width: 150px;
	height: 210px;
	overflow: hidden;
	background: var(--bfj-sand-in, #e1dfd6);
	box-shadow: 0 2px 8px rgba(56, 57, 62, 0.12);
}

.bfj-team__photo img,
.entry-content .bfj-team__photo img {
	display: block;
	width: 150px;
	max-width: none;
	height: 210px;
	margin: 0;
	object-fit: cover;
}

.bfj-team__body {
	flex: 1 1 auto;
	min-width: 0;
}

.bfj-team .bfj-team__name {
	margin: 2px 0 4px;
	color: var(--bfj-ink, #38393e);
	font-family: var(--bfj-font-head, "Barlow Condensed", "Arial Narrow", sans-serif);
	font-size: 26px;
	font-weight: 600;
	line-height: 1.05;
	text-transform: uppercase;
}

.bfj-team .bfj-team__role {
	margin: 0 0 12px;
	color: var(--bfj-muted, #777879);
	font-family: var(--bfj-font-head, "Barlow Condensed", "Arial Narrow", sans-serif);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-transform: uppercase;
}

.bfj-team .bfj-team__details {
	margin: 0;
	padding: 0;
	list-style: none;
	color: #55565a;
	font-size: 16px;
	line-height: 1.35;
}

.bfj-team__details li {
	position: relative;
	margin: 0 0 7px;
	padding-left: 16px;
}

.bfj-team__details li:last-child { margin-bottom: 0; }

.bfj-team__details li::before {
	content: "";
	position: absolute;
	top: 0.5em;
	left: 0;
	width: 6px;
	height: 6px;
	background: var(--bfj-green, #54b948);
}

@media (max-width: 560px) {
	.bfj-team__member {
		flex-direction: column;
	}
}
