/* Dons — bandeau : portrait à gauche, appel et montants à droite */

.hsadb {
	--hsadb-media: 32%;
	display: flex;
	align-items: stretch;
	gap: 0;
	padding: 0;
	overflow: hidden;
	text-align: left;
}

.hsadb--reverse {
	flex-direction: row-reverse;
}

/* --- Portrait ------------------------------------------------------------ */

.hsadb__media {
	position: relative;
	flex: 0 0 var(--hsadb-media);
	min-height: 270px;
	overflow: hidden;
	background-color: #000;
}

/* Deux classes : indispensable pour passer devant « .elementor img { height: auto } ». */
.hsadb__media .hsadb__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center top;
}

/* --- Contenu -------------------------------------------------------------- */

.hsadb__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	min-width: 0;
	padding: 32px 36px;
}

.hsadb .hsad__heading {
	display: flex;
	/* Aligné sur la première ligne plutôt que centré sur l'ensemble :
	   un titre sur deux lignes ne décale plus le filet. */
	align-items: flex-start;
	gap: 14px;
	text-wrap: balance;
	text-transform: none;
	letter-spacing: 0;
}

.hsadb__accent {
	display: block;
	flex: 0 0 auto;
	width: 6px;
	height: 1em;
	margin-top: 0.18em;
	background-color: #ffc800;
}

.hsadb .hsad__subheading {
	margin: 0;
}

.hsadb__signature {
	margin: 2px 0 0;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
}

.hsadb .hsad__actions {
	justify-content: flex-start;
	margin-top: 18px;
}

.hsadb .hsad__note {
	margin-top: 12px;
}

/* --- Tablettes et mobiles -------------------------------------------------- */

@media (max-width: 1024px) {
	.hsadb,
	.hsadb--reverse {
		flex-direction: column;
	}

	.hsadb__media {
		flex: 0 0 auto;
		width: 100%;
	}

	.hsadb__content {
		padding: 24px 20px;
		text-align: center;
	}

	/* Centré, un filet vertical à gauche d'un titre sur deux lignes est
	   bancal : il devient un trait horizontal au-dessus. */
	.hsadb .hsad__heading {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 10px;
	}

	.hsadb__accent {
		width: 44px;
		height: 4px;
		margin-top: 0;
	}

	.hsadb .hsad__actions {
		justify-content: center;
	}
}
