/* Panel: Team Members */

.panel-team-members {
	background: #ffffff;
}

.panel-team-members .container {
	max-width: 1100px;
}

/* Header Section */
.team-members-header {
	text-align: center;
	margin-bottom: 22px;
}

.team-members-heading {
	
	font-size: 42px;
	font-weight: 600;
	line-height: 54px;
	letter-spacing: 1px;
	color: #252c32;
	margin-bottom: 24px;
	margin-left: auto;
	margin-right: auto;
}

.team-members-description {
	margin: 0 auto 60px;
}

.team-members-description p {
	font-family: "neue-haas-grotesk-display", sans-serif;
	font-size: 22px;
	font-weight: 500;
	line-height: 32px;
	letter-spacing: 1px;
	color: #080808;
	margin: 0;
}

.team-members-subheading {
	
	font-size: 24px;
	font-weight: 600;
	line-height: 30px;
	letter-spacing: 0.48px;
	color: #080808;
	margin: 0;
}

/* Responsive column override for 1200px and wider - Mini Style Only */
@media (min-width: 1200px) {
	.panel-style-mini .team-members-grid .team-member-col {
		flex: 0 0 20%;
		max-width: 20%;
		padding:0 30px;
	}
}

/* Standard Style Grid */
.panel-style-standard .team-members-grid {
	justify-content: center;
}

.panel-style-standard .team-members-grid .team-member-col {
	margin-bottom: 66px;
}

/* Team Member Card - Mini Style */
.team-member-card-mini {
	display: flex;
	flex-direction: column;
	gap: 21px;
}

/* Photo Wrapper - Mini Style */
.team-member-card-mini .team-member-photo-wrapper {
	width: 100%;
	overflow: hidden;
	border-radius: 8.244px;
	border: 1.03px solid #e5e7eb;
	aspect-ratio: 1 / 1.07;
	position: relative;
}

.team-member-card-mini .team-member-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Team Member Info - Mini Style */
.team-member-card-mini .team-member-info {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.team-member-card-mini .team-member-name {
	font-size: 18px;
	font-weight: 600;
	line-height: 26px;
	letter-spacing: 0.54px;
	color: #080808;
	margin: 0;
}

.team-member-card-mini .team-member-position {
	font-size: 16px;
	font-weight: 400;
	line-height: 26px;
	letter-spacing: 0.54px;
	color: #6b7280;
	margin: 0;
}

/* Team Member Card - Standard Style */
.team-member-card-standard {
	display: flex;
	flex-direction: column;
	gap: 16px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 0 0 24px 0;
	overflow: hidden;
	background: #ffffff;
	height: 100%;
}

/* Photo Wrapper - Standard Style */
.team-member-card-standard .team-member-photo-wrapper {
	width: 100%;
	height: 326px;
	overflow: hidden;
	position: relative;
	margin: 0;
	border: none;
	border-radius: 0;
}

.team-member-card-standard .team-member-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Team Member Info - Standard Style */
.team-member-card-standard .team-member-info {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 0 24px;
}

.team-member-name-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 0;
}

.team-member-card-standard .team-member-name {
	font-family: "neue-haas-grotesk-display", sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 26px;
	letter-spacing: 0.54px;
	color: #252c32;
	margin: 0;
	flex: 1;
}

.team-member-linkedin {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 29.5px;
	height: 29.5px;
	background: #f7f7f8;
	color:#6B7280;
	border-radius: 137.667px;
	text-decoration: none;
	flex-shrink: 0;
	transition: transform 0.3s ease, background-color 0.3s ease;
}

.team-member-linkedin:hover {
	transform: scale(1.1);
	background: #e5e7eb;
}

.team-member-linkedin svg {
	width: 100%;
	height: 100%;
	display: block;
}

.team-member-card-standard .team-member-position {
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: 0;
	color: #6b7280;
	margin: 0;
	margin-top: 0;
}

/* Responsive adjustments */
@media (max-width: 1199px) {
	
}

@media (max-width: 991px) {
	.team-members-heading {
		font-size: 36px;
		line-height: 46px;
		margin-bottom: 20px;
	}
	
	.team-members-description p {
		font-size: 20px;
		line-height: 30px;
	}
	
	.team-members-subheading {
		font-size: 22px;
		line-height: 28px;
	}
	
	
}

@media (max-width: 767px) {
	.team-members-heading {
		font-size: 32px;
		line-height: 40px;
		margin-bottom: 18px;
	}
	
	.team-members-description p {
		font-size: 18px;
		line-height: 28px;
	}
	
	.team-members-description {
		margin-bottom: 32px;
	}
	
	.team-members-subheading {
		font-size: 20px;
		line-height: 26px;
	}
	
	.panel-style-standard .team-members-grid .team-member-col {
		margin-bottom:30px;
	}
	
	.team-member-card-mini .team-member-name {
		font-size: 16px;
		line-height: 24px;
	}
	
	.team-member-card-mini .team-member-position {
		font-size: 15px;
		line-height: 22px;
	}
	
	/* Standard Style Responsive */
	
	.team-member-card-standard .team-member-info {
		padding: 0 20px;
	}
	
	.team-member-card-standard .team-member-name {
		font-size: 16px;
		line-height: 24px;
	}
	
	.team-member-card-standard .team-member-position {
		font-size: 14px;
		line-height: 22px;
	}
}

@media (max-width: 575px) {
	.team-members-heading {
		font-size: 28px;
		line-height: 36px;
	}
	
	.team-members-description p {
		font-size: 16px;
		line-height: 26px;
	}
	
}

