/*
 * Fiche "don" (don.php) — inspirée d'une référence utilisateur (titre + méta,
 * photo, montants suggérés, formulaire, sidebar Catégories/Articles récents)
 * mais SANS aucune passerelle de paiement fictive : pas de "Test Mode", pas
 * de sélecteur "Credit Card" — seulement un formulaire de contact qui
 * recueille les coordonnées d'un donateur potentiel (voir don.php pour le
 * détail du raisonnement).
 */

.don-excerpt {
	color: #555;
	line-height: 1.7;
	font-size: 16px;
	margin: 16px 0 24px;
}

.don-photo-frame {
	margin-bottom: 24px;
}

.don-progress {
	margin-bottom: 40px;
}

.don-section {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	padding: 32px;
	margin-bottom: 40px;
}

.don-section h2 {
	color: #126D30;
	font-size: 22px;
	margin: 0 0 20px;
}

.don-notice {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	background: var(--jade-background, #F2F1EE);
	border-radius: 8px;
	padding: 14px 16px;
	font-size: 14px;
	color: #444;
	line-height: 1.6;
	margin: 0 0 24px;
}

.don-notice i {
	color: var(--jade-primary, #097D50);
	margin-top: 3px;
	flex: 0 0 auto;
}

.don-form-label {
	display: block;
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 10px;
}

.don-amounts {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 28px;
}

.don-amount-chip {
	cursor: pointer;
}

.don-amount-chip input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.don-amount-chip span {
	display: inline-flex;
	align-items: center;
	padding: 12px 22px;
	border: 2px solid var(--jade-background, #F2F1EE);
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
	color: #333;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.don-amount-chip input:checked + span {
	background: var(--jade-primary, #097D50);
	border-color: var(--jade-primary, #097D50);
	color: #fff;
}

.don-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 20px;
	margin-bottom: 24px;
}

.don-fields .inscription-field:last-child {
	grid-column: 1 / -1;
}

.don-contact-alt h2 {
	color: #126D30;
	font-size: 22px;
	margin: 0 0 20px;
}

.don-contact-cards {
	grid-template-columns: repeat(2, 1fr);
	margin-top: 0;
	border-radius: 12px;
	overflow: hidden;
}

@media (max-width: 600px) {
	.don-fields {
		grid-template-columns: 1fr;
	}

	.don-contact-cards {
		grid-template-columns: 1fr;
	}
}

/* ---------- Mobile Money MVola, en grand ---------- */

.don-mvola {
	display: flex;
	align-items: center;
	gap: 18px;
	background: var(--jade-primary, #097D50);
	color: #fff;
	border-radius: 12px;
	padding: 20px 24px;
	margin: 0 0 28px;
}

.don-mvola i {
	font-size: 30px;
	color: var(--jade-yellow, #FFC107);
	flex: 0 0 auto;
}

.don-mvola-label {
	display: block;
	font-size: 13px;
	opacity: 0.85;
	margin-bottom: 4px;
}

.don-mvola-number {
	display: block;
	font-size: 30px;
	font-weight: 800;
	letter-spacing: 0.5px;
}

/* ---------- Champ "Autre montant" ---------- */

.don-montant-autre-wrap {
	margin: -14px 0 24px;
}

/* ---------- Case "rester anonyme" ---------- */

.don-anonyme-check {
	margin-bottom: 24px;
}

/* ---------- Widget "Nos Causes" (sidebar) ---------- */

.don-causes-widget .recent-widget-body span {
	color: var(--jade-primary, #097D50);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

/* ---------- Mur des donateurs ---------- */

.don-wall {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	padding: 32px;
	margin-bottom: 40px;
}

.don-wall h2 {
	color: #126D30;
	font-size: 22px;
	margin: 0 0 20px;
}

.don-wall-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.don-wall-item {
	padding: 16px 0;
	border-top: 1px solid #f2f1ee;
}

.don-wall-item:first-child {
	border-top: none;
	padding-top: 0;
}

.don-wall-item-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.don-wall-name {
	font-weight: 700;
	color: #14181f;
}

.don-wall-name i {
	color: var(--jade-primary, #097D50);
	margin-right: 8px;
}

.don-wall-amount {
	font-weight: 800;
	color: var(--jade-primary, #097D50);
}

.don-wall-message {
	margin: 8px 0 0 28px;
	color: #666;
	font-size: 14px;
	font-style: italic;
}

/* ---------- Forme décorative de la barre latérale (assets/shape) ---------- */
/* Ciblée via la classe body (don.php définit $current_slug = 'nos-causes')
   pour ne pas dupliquer .evenement-aside, partagée avec evenement.php. */

body.page-nos-causes .evenement-aside {
	position: relative;
}

body.page-nos-causes .evenement-aside::before {
	content: "";
	position: absolute;
	right: -24px;
	top: -24px;
	width: 140px;
	height: 90px;
	background: url('/assets/shape/sidebar-donation-shape-2-2.png') center / contain no-repeat;
	opacity: 0.25;
	pointer-events: none;
	z-index: 0;
}

body.page-nos-causes .evenement-aside > * {
	position: relative;
	z-index: 1;
}

/* ---------- Widget vidéo (sidebar fiche don) ---------- */

.don-video-widget video {
	display: block;
	width: 100%;
	border-radius: 8px;
	background: #000;
}
