/**
 * Team Members (Ambassadors) Block Styles
 */

.fundraiser-ambassadors-block {
	margin: 40px 0;
}

.fundraiser-ambassadors-block .ambassadors-title {
	font-size: var(--ambh-font-xl, 2rem);
	font-weight: 700;
	margin-bottom: 24px;
	color: inherit;
}

.ambassadors-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

/* Card */
.ambassador-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	padding: 20px 16px;
	flex: 1 1 120px;
	max-width: 160px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ambassador-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Circular avatar */
.ambassador-avatar {
	display: block;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	overflow: hidden;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	margin-bottom: 12px;
	flex-shrink: 0;
}

.ambassador-avatar img,
.ambassador-avatar svg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Name */
.ambassador-name {
	font-size: var(--ambh-font-sm, 0.875rem);
	font-weight: 600;
	margin: 0 0 10px 0;
	color: inherit;
	line-height: 1.3;
}

.ambassador-name a {
	color: inherit;
	text-decoration: none;
}

.ambassador-name a:hover {
	text-decoration: underline;
}

/* Stats */
.ambassador-stats {
	width: 100%;
	font-size: var(--ambh-font-xs, 0.75rem);
}

.stat-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 3px;
}

.stat-label {
	color: var(--ambh-text-muted, #646970);
}

.stat-value {
	font-weight: 600;
	color: inherit;
}

/* Progress bar */
.progress-bar {
	width: 100%;
	height: 5px;
	background: var(--ambh-border-color, #e0e0e0);
	border-radius: 3px;
	overflow: hidden;
	margin: 8px 0 3px;
}

.progress-fill {
	height: 100%;
	background: var(--ambh-color-progress, #27ae60);
	border-radius: 3px;
	transition: width 0.6s ease;
}

.progress-text {
	font-size: var(--ambh-font-xs, 0.75rem);
	font-weight: 600;
	color: var(--ambh-color-progress, #27ae60);
	text-align: right;
	margin: 0;
}

@media (max-width: 480px) {
	.ambassador-card {
		flex: 1 1 100px;
		max-width: 140px;
		padding: 16px 12px;
	}

	.ambassador-avatar {
		width: 64px;
		height: 64px;
	}
}
