/*************/
/*** STAFF ***/
/*************/

/* Colori per ruoli */
.staff-member.national_manager { border-left-color: #e74c3c; }
.staff-member.regional_manager { border-left-color: #f39c12; }
.staff-member.judge { border-left-color: #27ae60; }
.staff-member.instructor { border-left-color: #3498db; }
.staff-member.trainer { border-left-color: #9b59b6; }
.staff-member.snaq { background-color: #34495e; }

/* Avatar e badge */
.staff-avatar {
	position: relative;
	margin-right: 20px;
	flex-shrink: 0;
}

.staff-avatar img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #f8f9fa;
}

.staff-member {
	display: flex;
	align-items: center;
	padding: 20px;
	margin: 10px 0;
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	border-left: 4px solid transparent;
	border-left-color: transparent;
}


/* Informazioni */
.staff-info {
	flex-grow: 1;
	min-width: 0;
}

.staff-name {
	margin: 0 0 4px 0;
	font-size: 18px;
	font-weight: 600;
	color: #2c3e50;
}

.staff-role {
	margin: 0 0 4px 0;
	font-size: 14px;
	font-weight: 500;
	color: #7f8c8d;
}

.staff-location {
	margin: 0;
	font-size: 13px;
	color: #95a5a6;
}

.staff-email,
.staff-phone {
	margin: 4px 0 0 0;
	font-size: 13px;
	color: #3498db;
}

.staff-email a,
.staff-phone a {
	color: #3498db;
	text-decoration: none;
}

.staff-email a:hover,
.staff-phone a:hover {
	text-decoration: underline;
}

/* Qualifiche */
.staff-qualifications {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin-left: 15px;
}

.qualification {
	padding: 4px 8px;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 500;
	color: white;
}

.qualification.trainer { background-color: #9b59b6; }
.qualification.instructor { background-color: #3498db; }
.qualification.judge { background-color: #27ae60; }
.qualification.national_manager { background-color: #e74c3c; }
.qualification.regional_manager { background-color: #f39c12; }
.qualification.snaq { background-color: #34495e; }

/* Sezione e card associazioni */
.association-title {
	color: #e67e22;
}

.associations-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 15px;
	margin-top: 10px;
}

.association-card {
	display: flex;
	align-items: center;
	padding: 15px 18px;
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	border-left: 4px solid #e67e22;
	gap: 15px;
}

.assoc-logo-wrap {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f8f9fa;
}

.assoc-logo-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.assoc-logo-placeholder {
	width: 100%;
	height: 100%;
	background-color: #e67e22;
	border-radius: 50%;
}

.assoc-info {
	flex-grow: 1;
	min-width: 0;
}

.assoc-name {
	margin: 0 0 4px 0;
	font-size: 15px;
	font-weight: 600;
	color: #2c3e50;
}

.assoc-location {
	margin: 0 0 3px 0;
	font-size: 13px;
	color: #95a5a6;
}

.assoc-libertas {
	margin: 0;
	font-size: 12px;
	color: #7f8c8d;
}

.assoc-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 6px;
}

.assoc-social {
	display: inline-block;
	font-size: 11px;
	padding: 2px 8px;
	border-radius: 10px;
	background: #eaf0fb;
	color: #2980b9;
	text-decoration: none;
	font-weight: 500;
}

.assoc-social:hover {
	background: #2980b9;
	color: #fff;
}

.assoc-contact {
	margin: 2px 0 0 0;
	font-size: 12px;
	color: #555;
}

.assoc-contact a {
	color: #2980b9;
	text-decoration: none;
}

.assoc-contact a:hover {
	text-decoration: underline;
}


/* Banner CTA per iscrizione */
.staff-cta-banner {
	background: linear-gradient(135deg, #3498db, #2980b9);
	color: white;
	padding: 20px 25px;
	border-radius: 12px;
	margin-bottom: 25px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
	box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.staff-cta-banner p {
	margin: 0;
	font-size: 16px;
}

.staff-cta-banner .cta-button {
	background: white;
	color: #2980b9;
	padding: 10px 25px;
	border-radius: 25px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.staff-cta-banner .cta-button:hover {
	background: #f8f9fa;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
	.staff-member {
		flex-direction: column;
		text-align: center;
		padding: 15px;
	}

	.staff-avatar {
		margin: 0 0 15px 0;
	}

	.staff-qualifications {
		margin: 10px 0 0 0;
		justify-content: center;
	}

	.staff-cta-banner {
		flex-direction: column;
		text-align: center;
	}

	.staff-cta-banner p {
		font-size: 15px;
	}
}