/*--------------------------------------------------------------
# WONDER.LEGAL - 2024
# About
--------------------------------------------------------------*/

.about .editorial-content h2 {
    text-align: center;
    font-size: 1.6rem;
    margin: 7px 0 14px 0;
}

.team {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
	padding: 20px 25px;
}

.team-member {
	display: flex;
	align-items: center;
	border-radius: 8px;
	border: 2px solid #f1f1f1;
	padding: 1em;
	flex: 0 1 calc(50% - 10px);
	gap: 1.5em;
}

.team-member img {
	border-radius: 50%;
	max-width: 50%;
}

.team-info {
	flex: 1;
}

h3.team-name {
	padding: 0;
	text-align: left;
}

p.team-role {
	color: #666;
	margin-bottom: 0;
}

a.team-linkedin {
	color: #191e55;
	font-size: 1.6rem;
	border: none !important;
}

a.team-linkedin:hover {
	color: #0077b5;
	padding-bottom: 0;
}

/*--------------------------------------------------------------
  # RESPONSIVE
  --------------------------------------------------------------*/
@media (max-width: 768px) {
	.team {
		flex-direction: column;
	}

	.team-member {
		width: 100%;
		flex-direction: column;
		gap: 1em;
	}

	.team-member img {
		max-width: 100%;
	}

	p.team-role, h3.team-name {
		text-align: center;
	}
}