/**
 * Chicago page 620077 — page-scoped styles (odd/tasks/chicago-footer-sections.md T2, S1-S5).
 *
 * Every rule carries a cs-chicago-* class so nothing leaks into Indiana, Clients or
 * sibling pages. Values are the own-source measurements recorded in
 * inc/chicago-sections.php and data/out/chicago-footer-source-review-20261028/
 * (source1220 @ x110 desktop / inset mobile containers, pink #F7849F and cyan
 * #ECFDFE surrounding bands, navy #00209F). Deferred recent-posts row bytes are
 * untouched by this sheet.
 */

/* --- Containers: 1220 desktop, inset mobile ----------------------------- */
.cs-chicago-grid,
.cs-chicago-process,
.cs-chicago-why-choose,
.cs-chicago-sectors,
.cs-chicago-services,
.cs-chicago-right-choice,
.cs-chicago-intro,
.cs-chicago-case-studies,
.cs-chicago-textimg {
	max-width: 1220px;
	margin-inline: auto;
	padding-inline: 0;
}

@media (max-width: 782px) {
	.cs-chicago-grid,
	.cs-chicago-process,
	.cs-chicago-why-choose,
	.cs-chicago-sectors,
	.cs-chicago-services,
	.cs-chicago-right-choice,
	.cs-chicago-intro,
	.cs-chicago-case-studies,
	.cs-chicago-textimg {
		padding-inline: 20px;
	}
}

/* --- Hero cover: 350px, top-left focal point, also on mobile ------------- */
/* !important is required: a global recovery sheet overrides the inline min-height
 * (measured 224px on 390); this stays scoped to the page's two band covers. */
.wp-block-cover.cs-hero-band {
	min-height: 350px !important;
}
.wp-block-cover.cs-hero-band .wp-block-cover__image-background {
	object-position: left top;
}

/* --- Mid-banner offer cover: inset 1220/350 desktop, 350/350 mobile ------ */
.cs-chicago-offer .wp-block-cover.cs-hero-band {
	max-width: 1220px;
	margin-inline: auto;
}
@media (max-width: 782px) {
	.cs-chicago-offer .wp-block-cover.cs-hero-band {
		max-width: 350px;
		min-height: 350px;
		margin-inline: auto;
	}
}

/* --- Image-card grids (process / why-choose): 33.33% three-up ----------- */
.cs-chicago-grid.wp-block-columns {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}
.cs-chicago-grid .cs-chicago-grid__card {
	flex-basis: 33.33% !important;
	max-width: 33.33%;
}
.cs-chicago-grid .cs-chicago-grid__card img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}
@media (max-width: 782px) {
	.cs-chicago-grid .cs-chicago-grid__card {
		flex-basis: 100% !important;
		max-width: 100%;
	}
}

/* --- Surrounding bands --------------------------------------------------- */
.cs-chicago-offer {
	background-color: #f7849f;
	padding-block: 48px;
}
.cs-chicago-testimonial {
	background-color: #ecfdfe;
	padding-block: 48px;
}
.cs-chicago-testimonial .wp-block-quote,
.cs-chicago-testimonial figure {
	align-items: flex-start;
	text-align: left;
	margin-block: 0;
}

/* --- Centered navy mid CTA (measured defect: default gray, left-aligned) --- */
.cs-chicago-cta__action {
	justify-content: center;
}
.cs-chicago-cta__action .wp-block-button__link {
	background-color: #00209f;
}

/* --- Case studies heading + grid ----------------------------------------- */
.cs-chicago-cases-head {
	text-align: center;
	color: #00209f;
}
.cs-chicago-case-studies .cs-chicago-grid__card {
	display: flex;
	flex-direction: column;
}

/* --- FAQ (navy one-page modifier) ---------------------------------------- */
.cs-chicago-faq details {
	border-block: 1px solid #e2e8f0;
}
.cs-chicago-faq summary {
	cursor: pointer;
	font-weight: 600;
	color: #00209f;
	padding-block: 12px;
}
.cs-chicago-faq details[open] summary {
	margin-bottom: 8px;
}

/* --- Affiliations: six logos, equal flow --------------------------------- */
.cs-chicago-grid.is-affiliations,
.cs-chicago-grid .cs-chicago-grid__card img[src*="affiliation"],
.cs-chicago-sectors img {
	max-width: 160px;
	height: auto;
}

/* --- Ebook alignment ------------------------------------------------------ */
.cs-chicago-textimg {
	display: flex;
	align-items: center;
	gap: 32px;
}
@media (max-width: 782px) {
	.cs-chicago-textimg {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* --- Subscribe: centered form-free band ----------------------------------- */
.cs-chicago-subscribe {
	text-align: center;
}
.cs-chicago-subscribe .wp-block-buttons {
	justify-content: center;
}
