.single-team-member-page {
	background: #fafaf8
}

.team-member-container {
	max-width: 800px;
	margin: 2.5rem auto 4rem;
	padding: 0 1.5rem
}

.profile-card {
	background: #fff;
	border-radius: 1rem;
	box-shadow: 0 1px 3px rgba(0,0,0,.05),0 20px 40px rgba(0,0,0,.03);
	overflow: hidden
}

.profile-header {
	padding: 3rem;
	background: linear-gradient(135deg,#f8f9fa 0,#fcfbf9 100%);
	border-bottom: 1px solid #eef0f7
}

.profile-header-content {
	display: flex;
	align-items: center;
	gap: 2rem
}

.profile-photo {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	box-shadow: 0 8px 16px rgb(0 0 0 / 15%);
	border: 1px solid #fbfbfa
}

.profile-info {
	flex: 1;
	min-width: 0;
	text-align: left
}

.profile-name {
	font-size: 2rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 .5rem 0;
	line-height: 1.2;
	text-align: left
}

.profile-role {
	font-size: 1.125rem;
	font-weight: 600;
	color: #003e86;
	margin: 0 0 .25rem 0
}

.profile-department {
	font-size: 1rem;
	color: #6b7280;
	margin: 0
}

.profile-department a {
	color: #6b7280;
	text-decoration: none;
	transition: all .2s ease
}

.profile-department a:hover {
	color: #003e86;
	transform: translateX(2px)
}

.profile-contact {
	padding: 2.5rem 3rem;
	background: #fff
}

.profile-contact-title {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-size: .875rem;
	font-weight: 700;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 0 0 1.5rem 0
}

.profile-contact-title svg {
	width: 1.25em;
	height: 1.25em;
	color: #003e86;
	flex-shrink: 0
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
	gap: 1.5rem 2rem
}

.contact-item {
	display: flex;
	flex-direction: column;
	gap: .5rem
}

.contact-label {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-size: .75rem;
	font-weight: 600;
	color: #9ca3af;
	text-transform: uppercase;
	letter-spacing: .5px
}

.contact-label svg,
.contact-label i {
	width: 1.1em;
	height: 1.1em;
	color: #003e86;
	flex-shrink: 0;
	vertical-align: middle
}

/* WhatsApp brand green */
.contact-label[data-social="whatsapp"] svg {
	color: #25D366
}

/* Signal brand blue */
.contact-label[data-social="signal"] svg {
	color: #3A76F0
}

.contact-value {
	font-size: .95rem;
	font-weight: 500;
	color: #0f172a
}

.contact-value a {
	color: #0f172a;
	text-decoration: none;
	transition: all .2s ease;
	display: inline-block
}

.contact-value a:hover {
	color: #003e86;
	transform: translateX(2px)
}

.profile-bio {
	padding: 2.5rem 3rem 3rem;
	background: #fff;
	border-top: 1px solid #f3f4f6
}

.profile-bio-content {
	font-size: 1rem;
	line-height: 1.75;
	color: #374151
}

.profile-bio-content p {
	margin: 0 0 1rem 0
}

.profile-bio-content p:last-child {
	margin-bottom: 0
}

.profile-bio-content h2,.profile-bio-content h3 {
	font-size: 1.25rem;
	font-weight: 700;
	color: #0f172a;
	margin: 2rem 0 1rem 0
}

.profile-bio-content h2:first-child,.profile-bio-content h3:first-child {
	margin-top: 0
}

.profile-bio-content ol,.profile-bio-content ul {
	margin: 0 0 1rem 1.5rem;
	padding: 0
}

.profile-bio-content li {
	margin-bottom: .5rem
}

@media (max-width: 768px) {
	.team-member-container {
		margin:1.5rem auto 3rem;
		padding: 0 1rem
	}

	.profile-header {
		padding: 2rem 1.5rem
	}

	.profile-header-content {
		flex-direction: column;
		gap: 1.5rem
	}

	.profile-info {
		text-align: left;
		width: 100%
	}

	.profile-photo {
		width: 100px;
		height: 100px
	}

	.profile-name {
		font-size: 1.5rem
	}

	.profile-role {
		font-size: 1rem
	}

	.profile-bio,.profile-contact {
		padding: 2rem 1.5rem
	}

	.contact-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem
	}
}

@media (max-width: 480px) {
	.profile-header {
		padding:1.5rem 1rem
	}

	.profile-bio,.profile-contact {
		padding: 1.5rem 1rem
	}
}
