/* =============================================================
   Volunteer Plugin — Frontend Styles
   ============================================================= */

.volunteer-plugin { margin: 1.5rem 0; }

.vp-section-heading {
	font-size: 1.5rem;
	font-weight: 700;
	color: #1a202c;
	margin: 0 0 1.25rem;
	padding-bottom: .65rem;
	border-bottom: 3px solid #667eea;
}

.vp-empty {
	color: #718096;
	font-style: italic;
}

/* ----------------------------------------------------------
   Opportunities
   ---------------------------------------------------------- */

.vp-opportunities {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 1.75rem 2rem;
}

.vp-opps-list {
	display: flex;
	flex-direction: column;
}

.vp-opp-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: .95rem 0;
	border-bottom: 1px solid #edf2f7;
}
.vp-opp-row:last-child { border-bottom: none; }

/* Zebra tint on even rows */
.vp-opp-row:nth-child(even) {
	background: #f7fafc;
	margin: 0 -2rem;
	padding-left: 2rem;
	padding-right: 2rem;
}

.vp-opp-icon {
	font-size: 1.35rem;
	flex-shrink: 0;
	width: 2.2rem;
	text-align: center;
}

.vp-opp-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: .25rem;
}

.vp-opp-title {
	font-size: 1rem;
	font-weight: 600;
	color: #2b6cb0;
	line-height: 1.4;
}

.vp-opp-location {
	display: flex;
	align-items: center;
	gap: .25rem;
	font-size: .82rem;
	color: #718096;
}

.vp-pin { font-size: .85rem; }

.vp-opp-cta {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	padding: .45rem 1.1rem;
	background: #667eea;
	color: #fff;
	border-radius: 6px;
	font-size: .85rem;
	font-weight: 600;
	text-decoration: none;
	transition: background .2s, transform .15s;
	white-space: nowrap;
}
.vp-opp-cta:hover {
	background: #5a67d8;
	color: #fff;
	text-decoration: none;
	transform: translateX(2px);
}

@media (max-width: 580px) {
	.vp-opportunities { padding: 1.25rem 1rem; }
	.vp-opp-row {
		flex-wrap: wrap;
		gap: .5rem;
	}
	.vp-opp-row:nth-child(even) {
		margin: 0 -1rem;
		padding-left: 1rem;
		padding-right: 1rem;
	}
	.vp-opp-cta { margin-left: 3rem; }
}

/* ----------------------------------------------------------
   Team grid
   ---------------------------------------------------------- */

.vp-team { margin-top: 3rem; }

.vp-team-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

@media (max-width: 900px) {
	.vp-team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.vp-team-grid { grid-template-columns: 1fr; }
}

.vp-volunteer-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 2rem 1.5rem 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transition: box-shadow .2s, transform .2s;
}
.vp-volunteer-card:hover {
	box-shadow: 0 8px 28px rgba(0, 0, 0, .1);
	transform: translateY(-3px);
}

.vp-volunteer-photo-wrap {
	margin-bottom: 1.1rem;
}

.vp-volunteer-photo {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	border: 3px solid #e2e8f0;
}

.vp-volunteer-photo--placeholder {
	background: linear-gradient(135deg, #667eea, #764ba2);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: .02em;
	border: 3px solid #e2e8f0;
}

.vp-volunteer-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .3rem;
	width: 100%;
}

.vp-volunteer-name {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: #1a202c;
}

.vp-volunteer-location {
	display: flex;
	align-items: center;
	gap: .2rem;
	font-size: .8rem;
	color: #718096;
}

.vp-volunteer-desc {
	margin: .4rem 0 0;
	font-size: .85rem;
	color: #4a5568;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.vp-volunteer-link {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	margin-top: .85rem;
	padding: .4rem 1rem;
	border: 1.5px solid #667eea;
	border-radius: 999px;
	color: #667eea;
	font-size: .8rem;
	font-weight: 600;
	text-decoration: none;
	transition: background .2s, color .2s;
}
.vp-volunteer-link:hover {
	background: #667eea;
	color: #fff;
	text-decoration: none;
}

.vp-link-icon {
	width: 13px;
	height: 13px;
	flex-shrink: 0;
}
