/* Team Grid Styles */
.team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 2rem;
	margin: 2rem 0;
}

@media (max-width: 768px) {
	.team-grid {
		grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	}
}

@media (max-width: 576px) {
	.team-grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 1rem;
	}
}

.team-member {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 0.5rem;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.3s ease;
}

.team-member:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.member-img {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: #f7f7f7;
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

.member-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 25% !important;
	display: block;
	min-width: 100%;
	min-height: 100%;
}

.member-img .no-image {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #eb6b40;
	color: #fff;
	font-size: 3rem;
	font-weight: bold;
}

.member-info {
	padding: 1.5rem;
	text-align: center;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.member-name {
	font-size: 1.25rem;
	font-weight: bold;
	color: #364b54;
	margin: 0 0 0.5rem 0;
}

.member-title {
	color: #eb6b40;
	font-size: 1rem;
	margin-bottom: 0.5rem;
	font-weight: 600;
}

.member-fun-fact {
	color: #7b7c7f;
	font-size: 0.875rem;
	margin-top: auto;
	padding-top: 0.5rem;
	border-top: 1px solid #f7f7f7;
}

@media (max-width: 768px) {
	.member-img {
		aspect-ratio: 4 / 5;
	}
	
	.member-img img {
		object-position: center 20% !important;
	}
}

@media (max-width: 576px) {
	.member-info {
		padding: 1rem;
	}

	.member-name {
		font-size: 1rem;
	}

	.member-title {
		font-size: 0.875rem;
	}

	.member-fun-fact {
		font-size: 0.75rem;
	}
}

