.team {
	width: 100%;
	overflow: hidden;
	position: relative;
	margin-top: var(--py-section);
	margin-bottom: var(--py-section);
}

.team.is-grey {
	margin: 0;
	padding-top: var(--py-section);
	padding-bottom: var(--py-section);
	background-color: var(--color-light);
}

.team-list {
	display: grid;
	grid-column-gap: 5px;
	grid-row-gap: 20px;
	margin-top: 30px;
}

.team-image {
	border-radius: 4px;
	position: relative;
	overflow: hidden;
	width: 100%;
}

.team-image picture,
.team-image img {
	display: block;
	width: 100%;
}

.team-item-text {
	padding: 15px 15px 0;
	color: var(--color-purple);
	font-size: 16px;
}

.team-item-text strong {
	font-size: 20px;
}

@media screen and (min-width: 480px) {
	.team-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (min-width: 768px) {
	.team-list {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media screen and (min-width: 1025px) {
	.team-list {
		margin-top: 40px;
	}
}

@media screen and (min-width: 1025px) {
	.team-item-text {
		padding: 30px 30px 0;
	}
}
