.tbnw-team {
	display: grid;
	gap: 22px;
	width: 100%;
	margin: 24px auto;
}

.tbnw-team *,
.tbnw-team *::before,
.tbnw-team *::after {
	box-sizing: border-box;
}

.tbnw-team__member {
	display: grid;
	grid-template-columns: minmax(185px, 220px) minmax(0, 1fr);
	gap: 22px;
	align-items: center;
	min-width: 0;
}

.tbnw-team__portrait-wrap {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-width: 0;
	height: 190px;
}

.tbnw-team .tbnw-team__portrait {
	position: relative;
	z-index: 1;
	display: block;
	flex: 0 0 auto;
	width: calc(100% + 40px) !important;
	max-width: none !important;
	height: calc(100% + 40px) !important;
	max-height: none !important;
	margin-left: -20px;
	object-fit: contain;
	object-position: center bottom;
}

.tbnw-team__content {
	min-width: 0;
	padding: 8px 0;
}

.tbnw-team__name {
	margin: 0 0 3px;
	color: var(--tbnw-team-name-color);
	font-family: var(--tbnw-team-name-font), sans-serif;
	font-size: var(--tbnw-team-name-size);
	letter-spacing: var(--tbnw-team-name-letter-spacing);
	font-weight: var(--tbnw-team-name-weight, 700);
	text-transform: var(--tbnw-team-name-transform, uppercase);
	line-height: 1.2;
	text-align: left !important;
}

.tbnw-team__designation {
	position: relative;
	display: table;
	margin: 0 0 9px;
	padding-bottom: 7px;
	color: var(--tbnw-team-designation-color);
	font-family: var(--tbnw-team-designation-font), sans-serif;
	font-size: var(--tbnw-team-designation-size);
	letter-spacing: var(--tbnw-team-designation-letter-spacing);
	font-weight: var(--tbnw-team-designation-weight, 700);
	text-transform: var(--tbnw-team-designation-transform, none);
	line-height: 1.25;
	text-align: left !important;
}

.tbnw-team__designation::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 48px;
	height: 2px;
	background: var(--tbnw-team-gold);
	content: "";
}

.tbnw-team__college {
	margin: -4px 0 8px;
	color: var(--tbnw-team-college-color);
	font-family: var(--tbnw-team-college-font), sans-serif;
	font-size: var(--tbnw-team-college-size);
	letter-spacing: var(--tbnw-team-college-letter-spacing);
	font-weight: var(--tbnw-team-college-weight, 400);
	text-transform: var(--tbnw-team-college-transform, none);
	line-height: 1.3;
	text-align: left !important;
}

.tbnw-team__about {
	color: var(--tbnw-team-about-color);
	font-family: var(--tbnw-team-about-font), sans-serif;
	font-size: var(--tbnw-team-about-size);
	letter-spacing: var(--tbnw-team-about-letter-spacing);
	font-weight: var(--tbnw-team-about-weight, 400);
	text-transform: var(--tbnw-team-about-transform, none);
	line-height: 1.4;
	overflow-wrap: anywhere;
	text-align: left !important;
}

.tbnw-team__about p {
	margin: 0 0 .6em;
	font-family: inherit !important;
	font-weight: inherit !important;
	font-size: inherit !important;
	letter-spacing: inherit !important;
	color: inherit !important;
	text-transform: inherit !important;
	text-align: inherit !important;
}

.tbnw-team .tbnw-team__about > * {
	font-family: inherit !important;
	font-weight: inherit !important;
	font-size: inherit !important;
	letter-spacing: inherit !important;
	color: inherit !important;
	text-transform: inherit !important;
	line-height: inherit !important;
	text-align: inherit !important;
}

.tbnw-team__about p:last-child {
	margin-bottom: 0;
}

@media (max-width: 620px) {
	.tbnw-team__member {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}

	.tbnw-team__portrait-wrap {
		width: 100%;
		max-width: 320px;
		height: 220px;
		margin: 0 auto;
	}

	.tbnw-team .tbnw-team__portrait {
		width: calc(100% + 20px) !important;
		height: calc(100% + 20px) !important;
		margin-left: -10px;
	}

	.tbnw-team__content {
		padding: 8px 12px 14px;
	}

	.tbnw-team__name {
		font-size: min(var(--tbnw-team-name-size), 18px);
	}
}

@media (max-width: 420px) {
	.tbnw-team__member {
		grid-template-columns: minmax(0, 1fr);
		gap: 6px;
	}

	.tbnw-team__portrait-wrap {
		max-width: 100%;
		height: 200px;
	}

	.tbnw-team .tbnw-team__portrait {
		width: calc(100% + 16px) !important;
		height: calc(100% + 16px) !important;
		margin-left: -8px;
	}
}

/* Staff cards reveal with a gentle zoom only after the animation script initializes. */
.tbnw-team.tbnw-zoom-init .tbnw-team__member {
	opacity: 0;
	transform: scale(.75);
}

.tbnw-team.tbnw-zoom-init .tbnw-team__member.tbnw-zoom-in-view {
	opacity: 1;
	transform: scale(1);
	animation: tbnw-team-card-zoom-in var(--tbnw-zoom-duration, 3s) ease-in-out both;
}

@keyframes tbnw-team-card-zoom-in {
	from {
		opacity: 0;
		transform: scale(.75);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.tbnw-team.tbnw-zoom-init .tbnw-team__member,
	.tbnw-team.tbnw-zoom-init .tbnw-team__member.tbnw-zoom-in-view {
		opacity: 1;
		transform: none;
		animation: none;
	}
}
