section.team-members {
	padding: 45px 0;
	margin: 0;
	width: 100%;
	background: var(--olive-white);
}

section.team-members .title{
	text-align:center;
}

section.team-members .members{
	display:flex;
	flex-wrap:wrap;
	gap:0;
	margin:30px 0;
	
}

section.team-members .staff-item{
	width:33.333%;
	padding:0.5%;
	
}

section.team-members .staff-item .inner{
	display: flex;
	flex-direction: column;
	background:#fff;
	border-radius:8px;
	box-shadow:0 2px 4px rgba(0,0,0,0.1);
	height:100%;
}

section.team-members .staff-item .staff-image {
	border-radius: 8px 8px 0 0;
	padding-bottom:150%;
	background-size:cover;
	backgroun-position:center top;
}

section.team-members .staff-item img{
	width:100%;
	height:auto;
	display:block;
}

section.team-members .staff-item .staff-information {
	padding: 15px;
	display: flex;
	flex-grow: 1;
	flex-direction: column;
}

section.team-members .staff-item .staff-information h5{
	margin: 0;
}

section.team-members .staff-item .staff-information p.job-description {
	margin: 0;
	font-weight: 600;
}

section.team-members .staff-item .staff-information p.email a{
	font-weight: 600;
}

section.team-members .staff-item .description p{
	font-weight:500;
}

section.team-members .staff-item .staff-information a.read-more{
	font-weight:600;
}



@media screen and (max-width:960px){
	section.team-members .staff-item{
		width:48%;
		padding:1%;
	}
	section.team-members .staff-item .staff-image {
		padding-bottom:120%;
	}
}

@media screen and (max-width:680px){
	section.team-members .staff-item{
		width:100%;
		padding:10px 0;
	}
	section.team-members .staff-item .staff-image {
		padding-bottom:100%;
	}
}

/* MINIMAL VERSION */

section.team-members-minimal {
	margin: 0;
	width: 100%;
	background: var(--olive-white);
}

section.team-members-minimal .members {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin: 0 -0.5%;
}

section.team-members-minimal .staff-item{
	width:33.333%;
	padding:0.5%;
}

section.team-members-minimal .staff-item .inner{
	display: flex;
	flex-direction: row;
	background:#fff;
	border-radius:8px;
	box-shadow:0 2px 4px rgba(0,0,0,0.1);
	height:100%;
	position:relative;
}

section.team-members-minimal .staff-item .staff-image {
	border-radius: 8px 0 80px 8px;
	overflow: hidden;
	width: 40%;
	/* margin-bottom: 12px; */
	position: relative;
}

section.team-members-minimal .staff-item .staff-image .image {
	width: 100%;
	height: calc(100% - 8px);
	position: absolute;
	top: 0;
	left: 0;
	background-size: cover;
	background-position: center top;
	border-radius: 0 0 90px 0;
}
/*section.team-members-minimal .staff-item .inner:before{
	content:'';
	position:absolute;
	top:0;
	left:0;
	width:32px;
	height:32px;
	background-image:url(assets/tartan-pattern.png);
	background-size:50px;
	filter:brightness(1.15);
	border-radius:0 0 32px 0;
}*/


section.team-members-minimal .staff-item .staff-information {
	padding: 40px 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

section.team-members-minimal .staff-item .staff-information h5{
	margin: 0;
}

section.team-members-minimal .staff-item .staff-information p.job-description {
	margin: 0;
	font-weight: 600;
	line-height: 1.25rem;
}
section.team-members-minimal .staff-item .staff-information p.email{
	margin:0;
}
section.team-members-minimal .staff-item .staff-information p.email a{
	font-weight: 600;
}

@media screen and (max-width:1300px){
	section.team-members-minimal .staff-item {
		width: 50%;
		padding: 0.5%;
		min-height: 250px;
	}
}

@media screen and (max-width:840px){
	section.team-members-minimal .staff-item {
		width: 100%;
		padding: 10px 0;
		max-width: 480px;
		min-height: auto;
	}
	section.team-members-minimal .members {
		flex-direction: column;
		align-items: center;
		margin:0;
	}
}