/* Additional illustrations, scoped to the editable illustrated blocks. */

/* Homepage: three generous image cards with a number beside each heading. */
body.home .a4a-approach-section.a4a-approach-illustrated {
	box-sizing: border-box;
	height: auto;
	min-height: 0;
	padding: 48px 0 58px;
}

body.home .a4a-approach-illustrated > .a4a-approach-inner {
	width: min(1386px, calc(100% - 2 * var(--a4a-gutter)));
	max-width: 1386px;
}

body.home .a4a-approach-illustrated .a4a-approach-inner > p:not(.a4a-page-eyebrow) {
	margin-bottom: 36px;
}

body.home .a4a-approach-illustrated .a4a-steps-grid--illustrated {
	display: grid !important;
	width: 100%;
	max-width: none;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px;
	align-items: stretch;
}

body.home .a4a-approach-illustrated .a4a-steps-grid--illustrated > .a4a-step-card {
	position: relative;
	display: grid !important;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	min-width: 0;
	min-height: 0;
	grid-template-columns: 44px minmax(0, 1fr);
	grid-template-rows: auto auto 1fr;
	gap: 17px 10px;
	align-content: start;
	align-items: start;
	margin: 0;
	padding: 0;
	border: 0;
	text-align: left;
}

body.home .a4a-approach-illustrated .a4a-step-card > .a4a-step-illustration {
	grid-column: 1 / -1;
	grid-row: 1;
	width: 100%;
	max-width: none;
	min-width: 0;
	margin: 0 0 4px !important;
	padding: 0;
	border-radius: 14px;
	overflow: hidden;
	line-height: 0;
	background: #f2f8fe;
}

body.home .a4a-approach-illustrated .a4a-step-illustration img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 14px;
}

body.home .a4a-approach-illustrated .a4a-steps-grid--illustrated > .a4a-step-card > .a4a-page-eyebrow {
	position: static;
	inset: auto;
	grid-column: 1;
	grid-row: 2;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
	color: var(--a4a-number-accessible, #168eda);
	font-size: 29px;
	font-weight: 400;
	letter-spacing: -1px;
	line-height: 1.2;
}

body.home .a4a-approach-illustrated .a4a-step-card > .a4a-page-eyebrow::after {
	content: none;
	display: none;
}

body.home .a4a-approach-illustrated .a4a-step-card > h3 {
	grid-column: 2;
	grid-row: 2;
	align-self: center;
	max-width: none;
	margin: 0;
	padding: 0;
	font-size: 25px;
	line-height: 1.25;
}

body.home .a4a-approach-illustrated .a4a-step-card > p:not(.a4a-page-eyebrow) {
	grid-column: 1 / -1;
	grid-row: 3;
	max-width: none;
	margin: 0;
	font-size: 16px;
	line-height: 1.65;
}

/* Interior pages: keep the text editable and pair it with a native image block. */
.a4a-page-section > .a4a-illustrated-row,
.a4a-project-section > .a4a-project-card.a4a-illustrated-row {
	display: grid !important;
	max-width: var(--a4a-content-width, 1386px);
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .85fr);
	gap: clamp(32px, 4.2vw, 64px);
	align-items: center;
}

.a4a-page-section > .a4a-illustrated-row > .a4a-illustrated-copy,
.a4a-page-section > .a4a-illustrated-row > .a4a-editorial-illustration {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	min-width: 0;
	margin: 0 !important;
}

.a4a-illustrated-copy > .a4a-page-eyebrow {
	margin: 0 0 12px;
	color: var(--a4a-small-text-accessible, #0067ad);
	font-size: 12px;
}

.a4a-illustrated-copy > h2 {
	margin-bottom: 22px;
	font-size: clamp(28px, 2.5vw, 36px);
}

.a4a-illustrated-copy > :last-child {
	margin-bottom: 0;
}

.a4a-page-section > .a4a-illustrated-row--reverse,
.a4a-project-section > .a4a-project-card.a4a-illustrated-row--reverse {
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.1fr);
}

.a4a-illustrated-row--reverse > .a4a-illustrated-copy {
	grid-column: 2;
	grid-row: 1;
}

.a4a-illustrated-row--reverse > .a4a-editorial-illustration {
	grid-column: 1;
	grid-row: 1;
}

.a4a-editorial-illustration img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 16px;
	background: #f2f8fe;
}

.a4a-service-section > .a4a-illustrated-row > .a4a-editorial-illustration {
	align-self: start;
	margin-top: 64px !important;
}

.a4a-editorial-illustration figcaption {
	max-width: 100%;
	margin: 12px 0 0;
	padding: 0 2px;
	color: var(--a4a-body, #2d447b);
	font-family: var(--a4a-font-sans, Inter, system-ui, sans-serif);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.55;
	text-align: left;
	overflow-wrap: break-word;
}

@media (max-width: 1100px) and (min-width: 901px) {
	body.home .a4a-approach-illustrated .a4a-steps-grid--illustrated {
		gap: 24px;
	}
	body.home .a4a-approach-illustrated .a4a-steps-grid--illustrated > .a4a-step-card {
		grid-template-columns: 36px minmax(0, 1fr);
		column-gap: 8px;
	}
	body.home .a4a-approach-illustrated .a4a-step-card > h3 {
		font-size: 21px;
	}
	body.home .a4a-approach-illustrated .a4a-step-card > p:not(.a4a-page-eyebrow) {
		font-size: 15px;
	}
}

@media (max-width: 900px) {
	body.home .a4a-approach-section.a4a-approach-illustrated {
		padding: 38px 0 44px;
	}
	body.home .a4a-approach-illustrated .a4a-steps-grid--illustrated {
		max-width: 580px;
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
		margin-inline: auto;
	}
	body.home .a4a-approach-illustrated .a4a-steps-grid--illustrated > .a4a-step-card {
		padding: 0;
		border: 0;
	}
	.a4a-page-section > .a4a-illustrated-row,
	.a4a-project-section > .a4a-project-card.a4a-illustrated-row,
	.a4a-page-section > .a4a-illustrated-row--reverse,
	.a4a-project-section > .a4a-project-card.a4a-illustrated-row--reverse {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
	}
	.a4a-illustrated-row > .a4a-illustrated-copy,
	.a4a-illustrated-row > .a4a-editorial-illustration {
		grid-column: 1;
		grid-row: auto;
	}
	.a4a-page-section > .a4a-illustrated-row > .a4a-editorial-illustration {
		max-width: 680px;
		justify-self: center;
		grid-row: 1;
		margin-top: 0 !important;
	}
	.a4a-page-section > .a4a-illustrated-row > .a4a-illustrated-copy {
		grid-row: 2;
	}
}

@media (max-width: 689px) {
	body.home .a4a-approach-illustrated > .a4a-approach-inner {
		width: calc(100% - 40px);
	}
	body.home .a4a-approach-illustrated .a4a-step-card > h3 {
		font-size: 23px;
	}
	body.home .a4a-approach-illustrated .a4a-step-card > p:not(.a4a-page-eyebrow) {
		font-size: 16px;
	}
	.a4a-editorial-illustration img {
		border-radius: 12px;
	}
	.a4a-illustrated-copy > h2 {
		font-size: 28px;
	}
}

@media (max-width: 350px) {
	body.home .a4a-approach-illustrated .a4a-steps-grid--illustrated > .a4a-step-card {
		grid-template-columns: 36px minmax(0, 1fr);
		column-gap: 8px;
		padding: 0;
	}
	body.home .a4a-approach-illustrated .a4a-step-card > h3 {
		font-size: 21px;
	}
	body.home .a4a-approach-illustrated .a4a-steps-grid--illustrated > .a4a-step-card > .a4a-page-eyebrow {
		font-size: 26px;
	}
}
