/**
 * Alumni Page Styles
 * Styles for the Young Meijers Committee Alumni page
 */

/* Spacing between content and alumni grid */
.entry-content > *:last-child {
	margin-bottom: 0;
}

/* Alumni Grid */
.ymc-alumni-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin: 40px 0;
}

@media (max-width: 768px) {
	.ymc-alumni-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}

@media (max-width: 480px) {
	.ymc-alumni-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

/* Alumni Member Card */
.ymc-alumni-member {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow 0.3s ease;
}

.ymc-alumni-member:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Photo */
.ymc-alumni-photo {
	width: 100%;
	height: 250px;
	overflow: hidden;
	background-color: #f5f5f5;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ymc-alumni-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ymc-alumni-photo-placeholder {
	background-color: #e8e8e8;
	color: #999;
}

.ymc-placeholder-text {
	font-size: 14px;
	color: #999;
}

/* Info Section */
.ymc-alumni-info {
	padding: 20px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.ymc-alumni-name {
	margin: 0 0 10px 0;
	font-size: 18px;
	font-weight: 600;
	color: #333;
	line-height: 1.3;
}

.ymc-alumni-subcommittee {
	margin: 0 0 15px 0;
	font-size: 14px;
	color: #666;
	line-height: 1.5;
	flex-grow: 1;
}

.ymc-alumni-link {
	margin: 15px 0 0 0;
}

.ymc-alumni-link a {
	display: inline-block;
	color: #01AAF3;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: color 0.3s ease;
}

.ymc-alumni-link a:hover {
	color: #0088cc;
	text-decoration: underline;
}

/* Year Selector */
.ymc-year-selector {
	margin: 30px 0;
	padding: 20px;
	background-color: #f9f9f9;
	border-radius: 4px;
}

.ymc-year-selector label {
	display: inline-block;
	margin-right: 10px;
	font-weight: 600;
	color: #333;
}

.ymc-year-selector select {
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	background-color: #fff;
	cursor: pointer;
}

.ymc-year-selector select:hover {
	border-color: #01AAF3;
}

.ymc-year-selector select:focus {
	outline: none;
	border-color: #01AAF3;
	box-shadow: 0 0 0 2px rgba(1, 170, 243, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.ymc-alumni-photo {
		height: 200px;
	}
	
	.ymc-alumni-info {
		padding: 15px;
	}
	
	.ymc-alumni-name {
		font-size: 16px;
	}
}

