/*
 * Generic free-audit offer pattern family (cs-free-audit).
 *
 * Scoped to the NEW pattern family only; a later integration worker loads it in BOTH the
 * editor canvas and the front end (the family contract). The composition deliberately
 * carries almost no presentation of its own: typography and colours are inherited from
 * the theme, and NO page accent is baked (recorded scope decision L4) — each delivered
 * page keeps its own scoped colour layer, so this family only guards the composition's
 * own layout behaviour. None of these rules turns the image into a background or
 * otherwise makes it uneditable.
 */

/* The delivered free-audit rows contain the composition inside a centred container. */
.cs-free-audit__inner {
	max-width: 1220px;
	margin: 0 auto;
}

/* The copy column and the audit mark align on the row's vertical centre, matching the
   delivered free-audit rows. */
.cs-free-audit__row {
	align-items: center;
}

/* Keep each column shrinkable so long benefit lines wrap inside their own column. */
.cs-free-audit__copy,
.cs-free-audit__media {
	min-width: 0;
}

/* The audit mark stays fully editable and never overflows its column. */
.cs-free-audit__figure img {
	height: auto;
	max-width: 100%;
}

/* Below core's own stack point the two columns stack full width; the guard keeps the
   delivered order (copy first, image second) if a theme or plugin interferes with the
   native columns stacking. */
@media (max-width: 781px) {
	.cs-free-audit__row {
		flex-direction: column;
	}
	.cs-free-audit__copy,
	.cs-free-audit__media {
		flex-basis: auto;
		width: 100%;
	}
}
