/*
 * Illinois 179511 page-scoped correction styles (odd/tasks/illinois-review-indiana.md T3).
 * Every rule is scoped to .page-id-179511; nothing here may touch other pages or the global
 * .cs-hero-band rules. Geometry from the evidenced source measurements
 * (data/out/illinois-review/original-detail.json / frontend-measure.json):
 *   - content container 1220px centered (x=110 at 1440); hero stays full-bleed
 *   - headings line-height 42px (30px), margins 0 / 22.4px (was 1.25 / 45px / 15px)
 *   - hero + closing banner background position 0% 0% (was 50% 50%)
 *   - both bands 350px tall on mobile (global clamp gives 224px — page-only override)
 *   - closing banner container-width 1220px desktop, 350px wide square on mobile
 *   - Marleen image 458px wide (was column-width 708px), columns 40%/60% like the source
 */

/* Desktop: constrain every direct child except the (first) hero cover to the 1220 container. */
.page-id-179511 .entry-content > * {
	max-width: 1220px;
	margin-inline: auto;
}
.page-id-179511 .entry-content > *:first-child {
	max-width: none;
}

/* Heading rhythm: source h3 30px/42px and h2 32px/44.8px, margins 0/22.4px. */
.page-id-179511 .entry-content h3,
.page-id-179511 .entry-content h2 {
	line-height: 1.4;
	margin-block: 0 22.4px;
}

/* Background crop matches the source modules (background-position 0% 0%). */
.page-id-179511 .wp-block-cover.cs-hero-band .wp-block-cover__image-background {
	object-position: 0% 0%;
}

/* Both bands keep the source's 350px height on phones; the global clamp gives 224px. */
.page-id-179511 .wp-block-cover.cs-hero-band {
	min-height: 350px !important;
}

/* Image-and-text module: source column split 40%/60% with 15px gutters, image 458px.
   The source module has NO inter-column gap (the 15px paddings are the gutter), so the
   default 24px flex gap is zeroed page-scoped to keep 488/732 exact. */
.page-id-179511 .cs-textimg.wp-block-columns {
	column-gap: 0;
}
.page-id-179511 .cs-textimg .wp-block-column {
	padding-inline: 15px;
}
.page-id-179511 .cs-textimg .wp-block-image img {
	width: 458px;
	height: auto;
	max-width: 100%;
}

/* Language-services module: source is two equal 610px columns with NO gap; the LEFT one
   carries 40px right padding so its content (heading + list) is 570px at x=110, and the
   right column's content spans the full 610px at x=720. Fixed basis + border-box, because
   flex-grow distributes content space and would otherwise yield 630/590. */
.page-id-179511 .cs-language.wp-block-columns {
	column-gap: 0;
}
.page-id-179511 .cs-language .wp-block-column {
	box-sizing: border-box;
}
.page-id-179511 .cs-language .wp-block-column:first-child {
	flex: 0 0 610px;
	max-width: 610px;
	padding-right: 40px;
}
.page-id-179511 .cs-language .wp-block-column:last-child {
	flex: 1 1 auto;
}

/* The privacy paragraph carries has-background; WP core gives p.has-background a
   1.25em/2.375em padding — the source box is 0 45px, so zero the block padding. */
.page-id-179511 .wp-block-group p.has-background {
	padding-block: 0;
}

/* Phones: content gains the source's 20px page gutters; the hero stays full-bleed.
   The language module additionally insets its columns 20px (source x=40, content 310). */
@media (max-width: 700px) {
	.page-id-179511 .entry-content > * {
		max-width: none;
		margin-inline: 20px;
	}
	.page-id-179511 .entry-content > *:first-child {
		margin-inline: 0;
	}
	.page-id-179511 .cs-language .wp-block-column,
	.page-id-179511 .cs-language .wp-block-column:first-child {
		flex: 1 1 auto;
		max-width: none;
		padding-inline: 20px;
		padding-right: 20px;
	}
}

/* ==========================================================================
   Editor canvas (this page's edit screen ONLY — the stylesheet is enqueued solely for
   post 179511, so these rules cannot leak to any other page). The canvas iframe body has
   no .page-id class and no .entry-content, so every frontend rule above is inert there;
   these equivalents reproduce the same geometry inside the canvas. Geometry only: the
   theme's global font policy is deliberately NOT touched (no font-family rules here).
   ========================================================================== */

.editor-styles-wrapper .is-root-container > * {
	max-width: 1220px;
	margin-inline: auto;
}
.editor-styles-wrapper .is-root-container > *:first-child {
	max-width: none;
}

.editor-styles-wrapper .is-root-container h3,
.editor-styles-wrapper .is-root-container h2 {
	line-height: 1.4;
	margin-block: 0 22.4px;
}

.editor-styles-wrapper .wp-block-cover.cs-hero-band {
	min-height: 350px !important;
}
.editor-styles-wrapper .wp-block-cover.cs-hero-band .wp-block-cover__image-background {
	object-position: 0% 0%;
}

.editor-styles-wrapper .cs-textimg.wp-block-columns {
	column-gap: 0;
}
.editor-styles-wrapper .cs-textimg .wp-block-column {
	padding-inline: 15px;
}
.editor-styles-wrapper .cs-textimg .wp-block-image img {
	width: 458px;
	height: auto;
	max-width: 100%;
}

.editor-styles-wrapper .cs-language.wp-block-columns {
	column-gap: 0;
}
.editor-styles-wrapper .cs-language .wp-block-column {
	box-sizing: border-box;
}
.editor-styles-wrapper .cs-language .wp-block-column:first-child {
	flex: 0 0 610px;
	max-width: 610px;
	padding-right: 40px;
}
.editor-styles-wrapper .cs-language .wp-block-column:last-child {
	flex: 1 1 auto;
}
.editor-styles-wrapper .wp-block-group p.has-background {
	padding-block: 0;
}
