/*
 * Generic offer-download family: its own scoped stylesheet, loaded by the parent in
 * BOTH contexts (front end and editor) so the pattern's geometry is shared.
 *
 * Shape recovered from the four delivered page sections (florida, california, new york,
 * boston), which share one composition — centered "Downloads" heading area, a 50/50 row
 * with the offer card left and the resource image right, stacking at the 900px
 * breakpoint — and differ only by per-page accent modifiers. This generic starter bakes
 * NO page accent (recorded scope decision L4): neutral theme tokens only, so each
 * delivered page's own scoped colour layer stays in charge of the accent. The button
 * keeps the stored geometry and takes its colours from the theme's element button
 * styling. The delivered pages' 44x44 download badge is intentionally not part of this
 * family (its glyph files live in the uploads volume, not the repository — see the
 * module docblock).
 */

.cs-offer-download {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin-block: 0;
	padding: 80px 20px;
	color: var(--color-body, #333330);
	font-family: "CS Hero Poppins", sans-serif;
	font-size: var(--text-base);
	font-weight: 400;
	line-height: 1.6;
}

.cs-offer-download__inner {
	box-sizing: border-box;
	width: 100%;
	max-width: 1220px;
	margin-inline: auto;
}

.cs-offer-download .wp-block-heading.cs-offer-download__heading {
	margin: 0;
	color: var(--color-ink, #1c1b1a);
	font-family: inherit;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
}

.cs-offer-download .cs-offer-download__intro {
	margin: 9px 0 0;
	color: var(--color-ink, #1c1b1a);
	font-size: 18px;
	line-height: 1.5;
	text-align: center;
}

.cs-offer-download .cs-offer-download__row {
	display: flex;
	align-items: center;
	margin: 27px 0;
}

.cs-offer-download .cs-offer-download__card {
	box-sizing: border-box;
	display: flex;
	flex: 1 1 50%;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 24px;
	text-align: center;
	background-color: #fafafa;
	border-radius: 4px;
}

.cs-offer-download .wp-block-heading.cs-offer-download__title {
	margin: 0;
	color: var(--color-ink, #1c1b1a);
	font-size: var(--text-lg);
	font-weight: 700;
	line-height: 1.25;
}

.cs-offer-download .cs-offer-download__copy {
	margin: 0;
}

.cs-offer-download .cs-offer-download__action {
	margin: 0;
}

.cs-offer-download .cs-offer-download__button .wp-block-button__link {
	display: inline-block;
	padding: 8px 24px;
	border-radius: 0;
	font-size: var(--text-base);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.cs-offer-download .cs-offer-download__media {
	flex: 1 1 50%;
}

.cs-offer-download .cs-offer-download__figure {
	margin: 0;
}

.cs-offer-download .cs-offer-download__figure img {
	display: block;
	width: 100%;
	height: auto;
}

/* Recovered 900px breakpoint: the two cells stack full-width, like the delivered shape. */
@media (max-width: 900px) {
	.cs-offer-download .cs-offer-download__row { flex-direction: column; }
	.cs-offer-download .cs-offer-download__card,
	.cs-offer-download .cs-offer-download__media { width: 100%; }
}
