/**
 * Campaign Fundraisers Block Styles
 */

.campaign-fundraisers-block {
	margin: 40px 0;
	padding: 30px 0;
}

.campaign-fundraisers-block .fundraisers-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 25px;
	margin-top: 20px;
}

/* Fundraiser Card */
.fundraiser-card {
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
}

.fundraiser-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Content Section */
.fundraiser-content {
	padding: 25px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.fundraiser-title {
	font-size: var(--ambh-font-md, 1.25rem);
	font-weight: 600;
	margin: 0 0 15px 0;
	line-height: 1.3;
	color: var(--ambh-text-color, #2c3e50);
}

.fundraiser-title a {
	color: var(--ambh-text-color, #2c3e50);
	text-decoration: none;
	transition: color 0.2s ease;
}

.fundraiser-title a:hover {
	color: var(--ambh-color-primary, #3498db);
}

/* Owner Section */
.fundraiser-owner {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid #ecf0f1;
}

.owner-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #ecf0f1;
}

.owner-name {
	font-size: var(--ambh-font-sm, 0.875rem);
	color: var(--ambh-text-muted, #7f8c8d);
	font-weight: 500;
}

/* Stats */
.fundraiser-stats {
	margin-top: auto;
}

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

.stat-label {
	font-size: var(--ambh-font-sm, 0.875rem);
	color: #7f8c8d;
}

.stat-value {
	font-size: var(--ambh-font-base, 1rem);
	font-weight: 600;
	color: var(--ambh-text-color, #2c3e50);
}

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
	.campaign-fundraisers-block .fundraisers-grid {
		grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
		gap: 20px;
	}
	
	.fundraiser-content {
		padding: 20px;
	}
	
	.fundraiser-title {
		font-size: var(--ambh-font-md, 1.25rem);
	}
}

@media (max-width: 480px) {
	.campaign-fundraisers-block .fundraisers-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}
	
	.fundraiser-content {
		padding: 18px;
	}
	
	.fundraiser-title {
		font-size: var(--ambh-font-base, 1rem);
	}
}
