/* ==========================================================================
   About — closing: "Your goals. Our commitment."
   1100px+: the desk illustration left, copy and actions right.
   Below 1100px: copy first, the illustration underneath.
   ========================================================================== */

.el-ac {
	padding: clamp(4rem, 8vw, 6.5rem) var(--el-gutter, 1.25rem) clamp(4rem, 8vw, 6rem);
	color: var(--el-ink, #070816);
}

.el-ac p,
.el-ac h2 {
	margin: 0;
}

.el-ac__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	row-gap: clamp(2rem, 5vw, 3rem);
	max-width: var(--el-wide, 1240px);
	margin: 0 auto;
}

.el-ac__art {
	order: 2;
	max-width: 760px;
	pointer-events: none;
}

.el-ac__art img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1000 / 590;
}

.el-ac__text {
	order: 1;
	display: grid;
	justify-items: start;
	align-content: center;
}

.el-ac__title {
	font-size: clamp(2.125rem, 4vw, 3.5rem);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -0.04em;
}

.el-ac__title .el-grad {
	white-space: nowrap;
}

.el-ac__copy {
	max-width: 30rem;
	margin-top: clamp(1rem, 2vw, 1.375rem) !important;
	font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
	font-weight: 500;
	line-height: 1.55;
}

.el-ac__line {
	margin-top: 1rem !important;
	color: var(--el-muted, #555a6b);
	font-size: 0.9375rem;
	font-style: italic;
	font-weight: 700;
	line-height: 1.5;
}

.el-ac__buttons {
	margin-top: clamp(1.5rem, 2.6vw, 2rem);
}

.el-ac__buttons .wp-block-button__link,
.el-ac__buttons .wp-block-button__link:hover {
	background-color: var(--el-ink, #070816);
	color: #fff;
}

.el-ac__link {
	margin-top: 1rem;
	color: var(--el-ink, #070816);
	font-size: 0.9375rem;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 5px;
}

.el-ac__link:hover {
	color: var(--el-blue, #003dfa);
}

.el-ac__contact {
	margin-top: 0.875rem !important;
	color: var(--el-muted, #555a6b);
	font-size: 0.875rem;
	font-style: italic;
	font-weight: 700;
	line-height: 1.6;
}

.el-ac__contact a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
	overflow-wrap: anywhere;
}

.el-ac__contact a[href^="tel:"] {
	white-space: nowrap;
}

.el-ac__contact a:hover {
	color: var(--el-ink, #070816);
}

.el-ac__buttons .wp-block-button__link:focus-visible,
.el-ac__link:focus-visible,
.el-ac__contact a:focus-visible {
	outline: 2px solid var(--el-blue, #003dfa);
	outline-offset: 3px;
	border-radius: 2px;
}

@media (min-width: 1100px) {
	.el-ac__inner {
		grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
		column-gap: clamp(2.5rem, 5vw, 5rem);
		align-items: center;
	}

	.el-ac__art {
		order: 1;
		max-width: none;
		margin-left: calc(-1 * min(var(--el-gutter, 1.25rem), 2.5rem));
	}

	.el-ac__text {
		order: 2;
	}
}

@media (max-width: 600px) {
	/* The gradient phrase starts its own line on phones */
	.el-ac__title .el-grad {
		display: block;
		white-space: normal;
	}

	.el-ac__text {
		justify-items: stretch;
	}

	.el-ac__buttons .wp-block-button,
	.el-ac__buttons .wp-block-button__link {
		width: 100%;
		box-sizing: border-box;
		text-align: center;
	}

	.el-ac__link {
		justify-self: start;
	}
}
