/**
 * Shortcode [mps_team_by_role] — κάρτες style9 + πράσινο organic ring (PNG φόντο πίσω από τη φωτο).
 * Scoped: .mps-team-by-role — URL PNG μέσω inline style (--mps-team-green-ring).
 */

.mps-team-by-role {
	display: flex;
	flex-wrap: wrap;
	gap: 28px 24px;
	justify-content: center;
	align-items: stretch;
	margin: 0 0 2.5rem;
}

.mps-team-by-role .team.style9 {
	position: relative;
	flex: 1 1 260px;
	max-width: 340px;
	margin: 0;
	background: #f5f8ed;
	text-align: center;
	padding: 28px 22px 26px;
	border-radius: 20px;
	border: 1px solid rgba(0, 24, 25, 0.1);
	box-sizing: border-box;
}

/* Κυκλική φωτογραφία + PNG πλαίσιο (background πίσω από το avatar) */
.mps-team-by-role .team.style9 .image {
	margin: 0 auto 8px;
	position: relative;
	z-index: 1;
	max-width: 85%;
}

.mps-team-by-role .team.style9 .mps-team-visual {
	position: relative;
	width: 200px;
	max-width: 100%;
	margin: 0 auto;
	aspect-ratio: 1 / 1;
}

.mps-team-by-role .team.style9 .mps-team-visual::before {
	content: "";
	position: absolute;
	z-index: 0;
	inset: -14%;
	background-image: var(--mps-team-green-ring, none);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	pointer-events: none;
}

.mps-team-by-role .team.style9 .mps-team-visual img {
	position: relative;
	z-index: 2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	display: block;
	border: 4px solid #fff;
	box-sizing: border-box;
	box-shadow: 0 4px 18px rgba(0, 24, 25, 0.08);
}

.mps-team-by-role .team.style9 .content {
	position: relative;
	padding: 28px 0 0;
}

.mps-team-by-role .team.style9.mps-team-no-social .content {
	padding-top: 14px;
}

.mps-team-by-role .team.style9 h2.name {
	font-size: 22px;
	font-weight: 600;
	margin: 0;
	color: #001819;
	line-height: 1.25;
}

.mps-team-by-role .team.style9 .mps-team-role-kicker {
	margin: 14px 0 0;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #6e7c7c;
	line-height: 1.2;
}

.mps-team-by-role .team.style9 h5.designation {
	font-size: 14px;
	font-weight: 500;
	color: #79b900;
	margin: 6px 0 0;
	text-transform: uppercase;
	line-height: 1.35;
}

.mps-team-by-role .team.style9 ul.social-icon {
	position: absolute;
	left: 0;
	right: 0;
	top: -32px;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
	z-index: 4;
}

.mps-team-by-role .team.style9 ul.social-icon li {
	display: inline-block;
	margin: 0 4px;
	list-style: none;
}

.mps-team-by-role .team.style9 ul.social-icon li a {
	display: inline-block;
	text-decoration: none;
}

.mps-team-by-role .team.style9 ul.social-icon li i {
	display: inline-block;
	background: #001819;
	width: 40px;
	height: 40px;
	color: #fff;
	font-size: 15px;
	border-radius: 20px;
	line-height: 40px;
	transition: background 0.35s, color 0.35s;
	text-align: center;
}

.mps-team-by-role .team.style9 ul.social-icon li a:hover i,
.mps-team-by-role .team.style9 ul.social-icon li i:hover {
	background: #79b900;
	color: #fff;
}

.mps-team-by-role .mps-team-empty,
.mps-team-by-role .mps-team-by-role-error {
	flex: 1 1 100%;
	text-align: center;
	margin: 0;
	padding: 1rem;
}
