.am-lm-cta {
	display: flex;
    justify-content: space-between;
	flex-wrap: nowrap;
	align-items: stretch;
	background: #EFEEFB;
	border-radius: 24px;
	overflow: hidden;
	margin: 50px 0;
	box-shadow: 0 4px 4px rgba(51, 53, 110, 0.08);
	position: relative;
	/* display: none; */
}

/* =========================
   LEFT CONTENT
   ========================= */

.am-lm-cta .am-lm-content {
	flex: 0 0 55%;
	padding: 35px 70px 25px 80px;
	box-sizing: border-box;
	position: relative;
	z-index: 2;
}

.am-lm-cta .am-lm-icon {
	width: 80px;
	height: auto;
	margin-bottom: 5px;
	display: block;
}

.am-lm-cta h3 {
	color: var(--sky-blue);
	font-size: 1.75rem;
	line-height: 1.2;
	margin: 0 0 14px;
	font-weight: 800;
}

.am-lm-cta .am-lm-sub {
	color: var(--bold-blue);
    font-size: 1rem;
    line-height: 1.45;
    margin-bottom: 20px;
    max-width: 650px;
}

.am-lm-cta .am-lm-intro {
	font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    margin: 0 0 18px;
}

.am-lm-cta .am-lm-intro u {
	color: var(--sky-blue);
	font-weight: 700;
    font-size: 0.875rem;
}

.am-lm-cta .am-lm-intro span {
    font-size: 1.1rem;
    color: var(--sky-blue);
}

.am-lm-cta ul.am-lm-checklist {
	list-style: none;
	margin: 0 0 38px 25px;
	padding: 0;
	max-width: 700px;
}

.am-lm-cta ul.am-lm-checklist li {
	display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.am-lm-cta ul.am-lm-checklist li:last-child {
	margin-bottom: 0;
}

.am-lm-cta ul.am-lm-checklist img {
	width: 30px;
    height: 30px;
}

/* =========================
   FORM
   ========================= */

.am-lm-cta .gform_wrapper.gravity-theme {
	margin: 0;
	max-width: 640px;
}

.am-lm-cta .gform_wrapper .gform_heading {
	display: none;
}

.am-lm-cta .gform_wrapper form {
	margin: 0;
}

.am-lm-cta .gform_wrapper .gfield {
	margin-bottom: 20px !important;
}

/* First + Last name */
.am-lm-cta .gform_wrapper .ginput_container_name {
	display: flex;
	flex-wrap: nowrap;
	gap: 15px;
    width: calc(100% - 4px) !important
}

.am-lm-cta .gform_wrapper .ginput_container_name span {
	padding-right: 0;
    flex: 1;
}

/* Hide Gravity Forms labels */
.am-lm-cta .gform_wrapper .ginput_container_name label,
.am-lm-cta .gform_wrapper .ginput_container_name .gform-field-label {
	display: none !important;
}

.am-lm-cta .gform_wrapper input[type="text"],
.am-lm-cta .gform_wrapper input[type="email"] {
	border: 2px solid var(--bold-blue) !important;
    border-radius: 999px !important;
    padding: 10px 24px !important;
    font-size: 16px !important;
    margin: 0 !important;
    min-height: auto !important;
}

.am-lm-cta .gform_wrapper input:focus-visible {
    outline: 0;
    border-color: var(--dark-blue) !important;
}

.am-lm-cta .gform_wrapper input::placeholder {
	color: #666;
	opacity: 1;
    font-style: normal !important;
    font-size: 0.8rem;
}

/* Email field */
.am-lm-cta .gform_wrapper .ginput_container_email input {
	width: 100% !important;
}

/* =========================
   BUTTON
   ========================= */

.am-lm-cta .gform_footer,
.am-lm-cta .gform_wrapper .gform_footer {
	margin-top: 25px !important;
	padding: 0 !important;
	display: flex;
	justify-content: center;
}

.am-lm-cta .gform_button {
	background: var(--theme-green) !important;
	color: #fff !important;
	border: 3px solid #fff !important;
	outline: 2px solid #14B892 !important;
	border-radius: 999px !important;
	padding: 15px 28px !important;
	min-width: 230px;
	height: 56px;
	font-weight: 700 !important;
	font-size: 13px !important;
	line-height: 1 !important;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	cursor: pointer;
	box-sizing: border-box;
}

.am-lm-cta .gform_button::after {
    opacity: 0;
}

.am-lm-cta .gform_button:hover {
	background: var(--light-blue) !important;
    outline: 2px solid var(--light-blue) !important;
}

/* =========================
   RIGHT VISUAL
   ========================= */

.am-lm-cta .am-lm-visual {
	flex: 0 0 32%;
	width: 32%;
	min-width: 0;
	min-height: 100%;
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	box-sizing: border-box;
	z-index: 1;
}

/*
 * Large guide cover.
 * It intentionally overlaps the left content area
 * to match the supplied design.
 */
.am-lm-cta .am-lm-visual img {
	position: absolute;
	width: 470px;
    max-width: none;
    height: auto;
    display: block;
    right: 70px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
}

.am-lm-cta .gform_legacy_markup_wrapper .gform_validation_errors>h2.hide_summary {
    line-height: 1.4em;
}

/* =========================
   TABLET & MOBILE
   =========================
   Below this, the two-column layout (55%/32% split) doesn't
   have enough room for the heading/checklist at their desktop
   sizes and wraps awkwardly (e.g. title breaks to 2 lines from
   ~1075px down, visual image clips past ~800px). Stacking here
   instead of trying to shrink text into a too-narrow column.
   Was previously two breakpoints (tablet @1100px kept the
   2-column layout with bigger text than desktop; mobile @767px
   stacked) — merged into one stacked layout starting at 1100px. */

@media (max-width: 1240px) {

	body.single-post .entry-content {
		padding: 0 15px;
	}

	.am-lm-cta {
		flex-direction: column;
		min-height: 0;
		border-radius: 20px;
	}

	.am-lm-cta .am-lm-visual {
		order: -1;
		flex: none;
		width: 100%;
		min-height: 300px;
		height: 300px;
		overflow: hidden;
	}

	.am-lm-cta .am-lm-visual img {
		position: absolute;
		width: 360px;
		max-width: 85%;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
	}

	.am-lm-cta .am-lm-content {
		flex: none;
		width: 100%;
		padding: 35px 25px 40px;
	}

	.am-lm-cta .am-lm-icon {
		width: 80px;
		margin-bottom: 18px;
	}

	.am-lm-cta h3 {
		font-size: 28px;
	}

	.am-lm-cta .am-lm-sub {
		font-size: 17px;
	}

	.am-lm-cta .am-lm-intro {
		font-size: 16px;
	}

	.am-lm-cta ul.am-lm-checklist {
		margin-left: 0;
	}

	.am-lm-cta ul.am-lm-checklist li {
		font-size: 15px;
		align-items: flex-start;
	}

	.am-lm-cta ul.am-lm-checklist img {
		width: 28px;
		height: 28px;
		flex-basis: 28px;
	}

	.am-lm-cta .gform_wrapper.gravity-theme {
		max-width: none;
	}

	.gform_wrapper {
		height: auto;
		overflow: unset;
	}

	.am-lm-cta .ginput_container_name {
		flex-direction: column;
		gap: 14px !important;
	}

	.am-lm-cta .gform_wrapper input[type="text"] {
		padding: 8px 24px !important;
	}

	.am-lm-cta .gform_wrapper .ginput_container_name span {
		width: 100%;
	}

	.am-lm-cta .gform_footer,
	.am-lm-cta .gform_wrapper .gform_footer {
		margin-top: 25px !important;
	}

	.am-lm-cta .gform_button {
		width: auto;
		min-width: 220px;
	}
}

/* =========================
   SMALL MOBILE
   ========================= */

@media (max-width: 480px) {

	.am-lm-cta .am-lm-visual {
		min-height: 370px;
		height: 370px;
	}

	.am-lm-cta .am-lm-content {
		padding: 30px 20px 35px;
	}

	.am-lm-cta h3 {
		font-size: 25px;
	}

	.am-lm-cta .am-lm-sub {
		font-size: 16px;
	}

	.am-lm-cta .am-lm-checklist li {
		font-size: 14px !important;
	}

	.am-lm-cta .gform_button {
		width: 100%;
	}
}