.cifal-staff-wrap {
	font-family: "Gilroy", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.cifal-staff-section {
	margin-bottom: 48px;
}

.cifal-staff-section-title {
	position: relative;
	display: inline-block;
	margin: 0 0 26px;
	padding-bottom: 10px;
	font-size: 22px;
	font-weight: 800;
	color: #305e87;
}

.cifal-staff-section-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 46px;
	height: 4px;
	border-radius: 2px;
	background: linear-gradient(90deg, #318cdd, #305e87);
}

.cifal-staff-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 24px;
}

.cifal-staff-card {
	display: block;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border: 1px solid #e9ecef;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(48, 94, 135, 0.06);
	transition: transform .2s ease, box-shadow .2s ease;
}

.cifal-staff-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 14px 26px rgba(48, 94, 135, 0.18);
}

.cifal-staff-card:hover .cifal-staff-readmore {
	opacity: 1;
	transform: translateX(0);
}

.cifal-staff-photo {
	width: 100%;
	aspect-ratio: 1 / 1;
	background: #f8f9fa;
	overflow: hidden;
}

.cifal-staff-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cifal-staff-photo-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #318cdd, #305e87);
	color: #fff;
	font-size: 42px;
	font-weight: 800;
	letter-spacing: .04em;
}

.cifal-staff-body {
	padding: 16px 18px 20px;
	position: relative;
}

.cifal-staff-name {
	margin: 0 0 4px;
	font-size: 17px;
	font-weight: 700;
	color: #212529;
	line-height: 1.3;
}

.cifal-staff-position {
	margin: 0 0 10px;
	font-size: 12.5px;
	font-weight: 600;
	color: #318cdd;
	text-transform: uppercase;
	letter-spacing: .03em;
	line-height: 1.35;
}

.cifal-staff-excerpt {
	margin: 0 0 12px;
	font-size: 13.5px;
	line-height: 1.5;
	color: #5a5a5a;
}

.cifal-staff-readmore {
	display: inline-block;
	font-size: 12.5px;
	font-weight: 700;
	color: #305e87;
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity .2s ease, transform .2s ease;
}

.cifal-staff-empty {
	opacity: .7;
}

/* Single profile page */
.cifal-staff-back {
	display: inline-block;
	margin: 0 0 22px;
	color: #305e87;
	font-weight: 600;
	text-decoration: none;
	font-family: "Gilroy", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.cifal-staff-back:hover {
	text-decoration: underline;
}

.cifal-staff-profile-header {
	display: flex;
	gap: 32px;
	align-items: center;
	margin-bottom: 28px;
	padding: 28px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(49, 140, 221, .07), rgba(48, 94, 135, .05));
	font-family: "Gilroy", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.cifal-staff-profile-photo {
	flex: 0 0 auto;
	width: 170px;
	height: 170px;
	border-radius: 50%;
	overflow: hidden;
	border: 4px solid #fff;
	box-shadow: 0 6px 18px rgba(48, 94, 135, 0.2);
}

.cifal-staff-profile-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cifal-staff-profile-photo .cifal-staff-photo-placeholder {
	font-size: 48px;
}

.cifal-staff-profile-name {
	margin: 0 0 8px;
	font-size: 28px;
	font-weight: 800;
	color: #212529;
}

.cifal-staff-profile-position {
	display: inline-block;
	margin: 0 0 14px;
	padding: 5px 14px;
	border-radius: 999px;
	background: #318cdd;
	color: #fff;
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .03em;
}

.cifal-staff-profile-links {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.cifal-staff-profile-links a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #305e87;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}

.cifal-staff-icon {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}

.cifal-staff-profile-links a:hover {
	text-decoration: underline;
}

.cifal-staff-profile-bio {
	font-size: 16px;
	line-height: 1.75;
	color: #33383d;
	max-width: 760px;
}

@media (max-width: 600px) {
	.cifal-staff-profile-header {
		flex-direction: column;
		text-align: center;
	}
	.cifal-staff-profile-links {
		justify-content: center;
	}
	.cifal-staff-profile-photo {
		width: 140px;
		height: 140px;
	}
}
