/* Chiller landing wide-screen composition. */

@media (min-width: 1024px) {
	.jlb-chiller-maintenance-page .jlb-internal-shell {
		width: min(100% - 5rem, 1400px);
	}

	/* Full-bleed section backgrounds with a controlled 1400px content canvas. */
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section,
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(odd):not(:first-child),
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:first-child,
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:last-child {
		width: 100%;
		max-width: none;
		margin-inline: 0;
		padding-inline: max(2.5rem, calc((100vw - 1400px) / 2));
	}

	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:first-child > * {
		max-width: 940px;
	}

	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:first-child h1 {
		max-width: 15ch;
	}

	/* Split editorial sections: heading on the left, technical detail on the right. */
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(2),
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(4),
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(5),
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(6),
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(7),
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(9),
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(10) {
		display: grid;
		grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
		column-gap: clamp(3rem, 6vw, 7rem);
		align-items: start;
	}

	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(2) > h2,
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(4) > h2,
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(5) > h2,
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(6) > h2,
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(7) > h2,
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(9) > h2,
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(10) > h2 {
		grid-column: 1;
		grid-row: 1 / span 20;
		max-width: 13ch;
		margin-bottom: 0;
	}

	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(2) > :not(h2),
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(4) > :not(h2),
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(5) > :not(h2),
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(6) > :not(h2),
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(7) > :not(h2),
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(9) > :not(h2),
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(10) > :not(h2) {
		grid-column: 2;
		max-width: 760px;
	}

	/* Evaluation section: use the width as a technical specification matrix. */
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(3) {
		display: grid;
		grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
		column-gap: clamp(2.5rem, 5vw, 6rem);
		row-gap: 0;
	}

	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(3) > h2,
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(3) > p:first-of-type,
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(3) > p:last-of-type {
		grid-column: 1 / -1;
	}

	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(3) > p:first-of-type {
		max-width: 900px;
		margin-bottom: 2.5rem;
	}

	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(3) > h3 {
		grid-column: 1;
		max-width: none;
		margin: 0;
		padding: 1.5rem 0;
		border-top: 1px solid var(--jlb-line);
	}

	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(3) > ul {
		grid-column: 2;
		max-width: none;
		margin: 0;
		padding: 1.3rem 0 1.3rem 1.35rem;
		border-top: 1px solid var(--jlb-line);
	}

	/* Real-work evidence should use the full content canvas. */
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(8) > p {
		max-width: 900px;
	}

	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(8) > div {
		max-width: none !important;
	}

	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(8) img {
		min-height: 320px;
	}
}

@media (min-width: 1024px) and (max-width: 1240px) {
	.jlb-chiller-maintenance-page .jlb-internal-shell {
		width: min(100% - 3rem, 1160px);
	}

	.jlb-chiller-maintenance-page .jlb-internal-page__content > section,
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(odd):not(:first-child),
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:first-child,
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:last-child {
		padding-inline: 1.5rem;
	}

	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(2),
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(4),
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(5),
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(6),
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(7),
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(9),
	.jlb-chiller-maintenance-page .jlb-internal-page__content > section:nth-child(10) {
		grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
		column-gap: 3rem;
	}
}

/* Ensure the final conversion block always wins over alternating section backgrounds. */
.jlb-chiller-maintenance-page .jlb-internal-page__content > section:last-child {
	background: var(--jlb-navy) !important;
	color: var(--jlb-white) !important;
}

.jlb-chiller-maintenance-page .jlb-internal-page__content > section:last-child h2 {
	color: var(--jlb-white) !important;
}

.jlb-chiller-maintenance-page .jlb-internal-page__content > section:last-child > p {
	color: rgba(255, 255, 255, 0.78) !important;
}

.jlb-chiller-maintenance-page .jlb-internal-page__content > section:last-child > p:last-child a:first-child {
	background: var(--jlb-white) !important;
	color: var(--jlb-navy) !important;
}

.jlb-chiller-maintenance-page .jlb-internal-page__content > section:last-child > p:last-child a:last-child {
	border-color: rgba(255, 255, 255, 0.36) !important;
	background: transparent !important;
	color: var(--jlb-white) !important;
}
