.wp-block-jf-coaches-team-staff.jf-team-staff-block,
.jf-mfb-pill-wrapper {
	text-align: inherit;
}

.team-staff-cards {
	display: flex;
	flex-direction: column;
	gap: var(--wp--style--block-gap, 2rem);
}

.team-staff-card {
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr);
	gap: 1.5rem;
	align-items: start;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.team-staff-card:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.team-staff-photo,
.team-staff-photo-placeholder{
	display:block;
	width:140px;
	height:140px;
	max-width:100%;
	overflow:hidden;
	border-radius:8px;
}

.team-staff-photo img,
.team-staff-photo-placeholder{
	width:100%;
	height:100%;
	display:block;
	object-fit:cover;
	object-position:center top;
}

.team-staff-photo-placeholder {
	background: rgba(0, 0, 0, 0.08);
}

.team-staff-content {
	min-width: 0;
}

.team-staff-content--full {
	grid-column: 1 / -1;
}

.team-staff-heading {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-bottom: 0.75rem;
}

.team-staff-name {
	font-size: inherit;
	font-weight: 700;
	color: inherit;
	text-decoration: none;
	line-height: 1.2;
}

a.team-staff-name:hover {
	text-decoration: underline;
}

.team-staff-role-pill {
	display: inline-flex;
	background: #0059a8;
	color: #fff;
	border-radius: 999px;
	padding: 0.25rem 0.75rem;
	font-size: inherit;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.team-staff-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	min-width: 42px;
	text-decoration: none;
	border-radius: 999px;
	transition: all 0.25s ease;
	line-height: 1;
	color: inherit;
	border: 1px solid var(--wp--style--color--link, currentColor);
	background-color: var(--wp--style--color--link, transparent);
	margin-right: 0.5rem;
}

.team-staff-action:last-of-type {
	margin-right: 0;
}

.team-staff-action:link,
.team-staff-action:visited,
.team-staff-action:hover,
.team-staff-action:active {
	color: inherit;
	text-decoration: none;
}

.team-staff-action:hover {
	transform: translateY(-2px);
}

.team-staff-action i {
	color: inherit !important;
	font-size: inherit;
	line-height: 1;
}

.team-staff-details {
	margin-top: 0.7rem;
	font-size: inherit;
	line-height: 1.4;
}

.team-staff-details span {
	opacity: 0.55;
	margin: 0 0.35rem;
}

.jf-team-staff-block__preview-note {
	margin: 1rem 0 0;
	opacity: 0.7;
}

.wp-block-jf-coaches-team-staff.jf-team-staff-block.has-text-align-center .team-staff-card,
.jf-mfb-pill-wrapper.has-text-align-center .team-staff-card {
	text-align: center;
}

.wp-block-jf-coaches-team-staff.jf-team-staff-block.has-text-align-center .team-staff-photo,
.wp-block-jf-coaches-team-staff.jf-team-staff-block.has-text-align-center .team-staff-photo-placeholder,
.jf-mfb-pill-wrapper.has-text-align-center .team-staff-photo,
.jf-mfb-pill-wrapper.has-text-align-center .team-staff-photo-placeholder {
	margin-inline: auto;
}

.wp-block-jf-coaches-team-staff.jf-team-staff-block.has-text-align-right .team-staff-card,
.jf-mfb-pill-wrapper.has-text-align-right .team-staff-card {
	text-align: right;
}

.wp-block-jf-coaches-team-staff.jf-team-staff-block.has-text-align-right .team-staff-photo,
.wp-block-jf-coaches-team-staff.jf-team-staff-block.has-text-align-right .team-staff-photo-placeholder,
.jf-mfb-pill-wrapper.has-text-align-right .team-staff-photo,
.jf-mfb-pill-wrapper.has-text-align-right .team-staff-photo-placeholder {
	margin-left: auto;
}

.team-meta-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.has-text-align-center .team-meta-list {
	justify-content: center;
}

.has-text-align-right .team-meta-list {
	justify-content: flex-end;
}

.has-text-align-left .team-meta-list {
	justify-content: flex-start;
}

.team-meta-list li {
	border-radius: 20px;
	padding: 4px 10px;
	font-size: inherit;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	width: auto !important;
	flex: 0 0 auto;
	color: inherit !important;
}

.team-meta-list li:not(.has-background) {
	background: rgba(255, 255, 255, 0.2);
}

.team-meta-list li span,
.team-meta-list li i {
	color: inherit !important;
}

.team-meta-list li a,
.team-meta-list li a:link,
.team-meta-list li a:visited,
.team-meta-list li a:hover,
.team-meta-list li a:active {
	color: inherit !important;
	text-decoration: none;
}

.team-meta-list li a:hover {
	text-decoration: underline;
}

.team-meta-list li::marker {
	content: "";
}

.team-meta-list i {
	font-size: inherit;
	opacity: 0.85;
}

@media (max-width: 700px) {
	.team-staff-card {
		grid-template-columns: 1fr;
	}

	.team-staff-photo,
	.team-staff-photo-placeholder {
		width: min(160px, 100%);
	}
}
