/* Mammacita Lead Magnet – Box mit Formular. Farben laut Brand Book. */
.mc-lm {
	display: flex;
	gap: 28px;
	align-items: flex-start; /* Bild oben bündig mit dem Text */
	margin: 36px 0;
	padding: 28px;
	background: #d6eae7; /* Mint Soft */
	border-radius: 24px;
	color: #1d2b2a;
	box-sizing: border-box;
	container-type: inline-size; /* für die Anpassung an schmale Spalten weiter unten */
}
/* In Elementor-Widgets (z. B. Kategorie-Archive) derselbe Außenabstand wie die
   Produkt-Teaser (.pd_marketing: 20px), damit beide Boxen oben auf einer Höhe stehen. */
.elementor-widget-shortcode .mc-lm {
	margin: 20px 0;
}
.mc-lm *,
.mc-lm *::before,
.mc-lm *::after {
	box-sizing: border-box;
}
.mc-lm__media {
	flex: 0 0 38%;
	max-width: 38%;
}
.mc-lm__media img.mc-lm__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 16px;
	margin: 0;
}
.mc-lm__body {
	flex: 1 1 auto;
	min-width: 0;
}
.mc-lm .mc-lm__eyebrow {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #0a897d;
}
.mc-lm .mc-lm__title {
	margin: 0 0 10px;
	font-size: 26px;
	line-height: 1.2;
	color: #1d2b2a;
}
.mc-lm .mc-lm__text {
	margin: 0 0 18px;
	font-size: 17px;
	line-height: 1.5;
}
.mc-lm__form {
	position: relative;
	display: grid;
	gap: 10px;
	margin: 0;
}
.mc-lm__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.mc-lm__form input:focus {
	outline: 2px solid #80cbb7;
	outline-offset: 1px;
	border-color: #80cbb7 !important;
}
.mc-lm__btn:hover,
.mc-lm__btn:focus-visible {
	filter: brightness(0.9);
}
.mc-lm__btn[disabled] {
	opacity: 0.6;
	cursor: wait !important;
}
.mc-lm .mc-lm__error {
	margin: 0;
	font-size: 14px;
	color: #b8348c;
}
.mc-lm .mc-lm__note {
	margin: 2px 0 0;
	font-size: 13px;
	line-height: 1.4;
	color: #5a6b69;
}
.mc-lm .mc-lm__note a {
	color: #0a897d;
	text-decoration: underline;
}
.mc-lm__success {
	padding: 18px 20px;
	background: #ffffff;
	border-radius: 16px;
	border-left: 5px solid #80cbb7;
}
.mc-lm__success p {
	margin: 0;
	font-size: 17px;
	line-height: 1.5;
}
.mc-lm__debug {
	margin: 12px 0 0;
	padding: 12px;
	background: #1d2b2a;
	color: #ffffff;
	border-radius: 10px;
	font-size: 12px;
	white-space: pre-wrap;
	word-break: break-word;
}
.mc-lm [hidden] {
	display: none !important;
}

/* Lange Wörter (z. B. "Wochenbettbauchmassage") trennen statt aus der Box laufen lassen. */
.mc-lm .mc-lm__title,
.mc-lm .mc-lm__text {
	overflow-wrap: anywhere;
	-webkit-hyphens: auto;
	hyphens: auto;
}

/* Box in einer schmalen Spalte (z. B. halbe Breite auf Kategorieseiten):
   kleineres Bild und kleinere Schrift, damit der Text Platz hat. */
@container (max-width: 480px) {
	.mc-lm__media {
		flex-basis: 30%;
		max-width: 30%;
	}
	.mc-lm .mc-lm__title {
		font-size: 21px;
	}
	.mc-lm .mc-lm__text {
		font-size: 16px;
	}
}

@media (max-width: 680px) {
	.mc-lm {
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
		padding: 20px;
		border-radius: 20px;
	}
	.mc-lm__media {
		flex: none;
		max-width: 260px;
		margin: 0 auto;
	}
	.mc-lm .mc-lm__title {
		font-size: 22px;
	}
}
