.team-row.grid {
    display: grid;
}
.team-row.grid.equal {
	grid-template-columns: repeat(auto-fit, minmax(256px, 1fr));
}
.team-row article {
	margin-bottom: 30px;
}
body.single-team #header-section {
	background-color: #e1eaeb !important;
}
.team-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}
/*.team-header h1,*/
.team-header h2,
.team-header h3,
.team-header h4,
.team-header h5 {
	padding-bottom: 0;
}
.team-avatar-container {
	overflow: hidden;
    height: 140px;
    width: 140px;
    max-height: 100%;
    max-width: 100%;
    border-radius: 50%;
    background-size: cover;
}
.team-avatar-container img {
	transform-origin: center center;
    transform: scale(1.15);
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-row .team-meta,
.team-row .bio-link {
    margin-top: 20px;
}
.team-row .team-meta .entry-title,
.team-row .team-meta .job-title {
	color: var(--lightOrange);
}
.team-row .team-meta .job-title {
	font-weight: 600;
}
.team-row .team-meta p {
	color: var(--white);
	font-weight: 600;
}
.team-position {
	text-transform: uppercase;
	margin-bottom: 30px;
	text-align: center;
}
ul.resources-container {
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	border-top: 1px solid var(--lightGrey);
    padding-top: 30px;
    padding-bottom: 40px;
}
li.resource-item:not(:last-child) {
	margin-right: 30px;
}
li.resource-item a {
	font-weight: 600;
	text-transform: uppercase;
}
li.resource-item a:after {
	content: url('../../img/icon-arrow-right.svg');
    opacity: 1;
    margin-left: 0.5em;
    transition: .4s ease;
}
.team-post .team-header a {
	display: flex;
    flex-direction: column;
    align-items: center;
	text-align: center;
}
.team-post .team-header .team-avatar {
	order: 0;
	margin-bottom: 15px;
}
.team-post .team-header .entry-title {
	order: 1;
}
.team-post .team-header .team-position {
	order: 2;
	line-height: 1.3;
}
@media only screen and (min-width: 768px) {
	.team-avatar-container {
		width: 200px;
		height: 200px;
	}
	.team-row.grid {
		grid-gap: 4%;
	}
	.team-row.grid.grid-1x {
		grid-template-columns: repeat(1, 58%);
	}
	.team-container.multi .team-row.grid:not(.equal) {
		grid-template-columns: 58% 38%;
	}
	.team-container.multi .team-row:nth-child(odd).grid:not(.equal)  {
		grid-template-columns: 38% 58%;
	}
	.team-row.grid.grid-3x {
		grid-template-columns: repeat(3, 30%);
	}
	.team-row.grid.grid-4x {
		grid-template-columns: repeat(4, 25%);
	}
	.team-row .team-meta p {
		font-size: calc(var(--mediumFontMin) + 2 * ((100vw - 320px) / 960));
	}
}
@media only screen and (min-width: 981px) {
	.team-row .team-meta p {
		font-size: var(--mediumFontMax);
	}
	/*.team-row.grid.equal {
		grid-template-columns: repeat(5, 1fr);
	}*/
}