/**
 * How It Works page — dark brand layout with step illustrations.
 */

body.page-id-361 {
	background: var(--ls-brand-bg, #f5f7f4);
}

body.page-id-361 .wp-block-post-title {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
}

body.page-id-361 .entry-content > .wp-block-spacer,
body.page-id-361 .sharedaddy,
body.page-id-361 .sd-sharing-enabled {
	display: none !important;
}

.ls-hiw-page {
	--ls-hiw-max: 1040px;
	max-width: var(--ls-hiw-max);
	margin: 0 auto;
	padding: 0 clamp(1.25rem, 4vw, 2rem) 4rem;
	color: #1a301f;
	font-family: var(--ls-brand-font, "Source Sans 3", sans-serif);
}

.ls-hiw-page__hero {
	position: relative;
	padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.25rem, 4vw, 3.25rem);
	text-align: center;
	overflow: hidden;
}

.ls-hiw-page__hero::before {
	content: "";
	position: absolute;
	inset: -10% -5% auto;
	height: 120%;
	background: radial-gradient(ellipse 70% 55% at 50% 35%, rgba(201, 168, 76, 0.14) 0%, transparent 70%);
	pointer-events: none;
}

.ls-hiw-page__brand {
	position: relative;
	margin: 0 0 0.75rem;
	font-family: var(--ls-brand-font-serif, "Lora", Georgia, serif);
	font-size: clamp(1.85rem, 4vw, 2.75rem);
	font-weight: 700;
	line-height: 1.15;
	color: #1a301f !important;
}

.ls-hiw-page__headline {
	position: relative;
	margin: 0 0 0.85rem;
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #8a6e28 !important;
}

.ls-hiw-page__lede {
	position: relative;
	margin: 0 auto 1.5rem;
	max-width: 40rem;
	font-size: 1.05rem;
	line-height: 1.55;
	color: #5a6b60;
}

.ls-hiw-page__hero-cta,
.ls-hiw-page__footer-links {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.ls-hiw-page__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.55rem 1.15rem;
	border: 1px solid rgba(26, 48, 31, 0.22);
	border-radius: 8px;
	color: #1a301f !important;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none !important;
	background: #fff;
}

.ls-hiw-page__cta:hover,
.ls-hiw-page__cta:focus {
	border-color: var(--ls-chrome-accent, #c9a84c);
	color: #8a6e28 !important;
}

.ls-hiw-page__cta--primary {
	background: #1a301f;
	border-color: #1a301f;
	color: #fff !important;
}

.ls-hiw-page__cta--primary:hover,
.ls-hiw-page__cta--primary:focus {
	background: #243d2a;
	border-color: #243d2a;
	color: #fff !important;
}

.ls-hiw-page__section {
	margin: 0 0 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(26, 48, 31, 0.12);
}

.ls-hiw-page__section-head {
	max-width: 40rem;
	margin: 0 0 1.75rem;
}

.ls-hiw-page__eyebrow {
	margin: 0 0 0.5rem !important;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #8a6e28 !important;
}

.ls-hiw-page__section-title {
	margin: 0 0 0.65rem !important;
	font-family: var(--ls-brand-font-serif, "Lora", Georgia, serif) !important;
	font-size: clamp(1.45rem, 3vw, 1.85rem) !important;
	font-weight: 700 !important;
	color: #1a301f !important;
	line-height: 1.25 !important;
}

.ls-hiw-page__section-lede,
.ls-hiw-page__step-desc,
.ls-hiw-page__note,
.ls-hiw-page__footer-text {
	margin: 0 !important;
	font-size: 1.02rem;
	line-height: 1.6;
	color: #5a6b60 !important;
}

.ls-hiw-page__steps {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.ls-hiw-page__step {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: 1.5rem 2rem;
	align-items: center;
}

.ls-hiw-page__step:nth-child(even) {
	direction: rtl;
}

.ls-hiw-page__step:nth-child(even) > * {
	direction: ltr;
}

.ls-hiw-page__step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	margin-bottom: 0.65rem;
	border-radius: 999px;
	background: rgba(201, 168, 76, 0.18);
	border: 1px solid rgba(201, 168, 76, 0.55);
	color: var(--ls-chrome-accent, #c9a84c);
	font-weight: 700;
	font-size: 0.9rem;
}

.ls-hiw-page__step-title {
	margin: 0 0 0.55rem !important;
	font-family: var(--ls-brand-font-serif, "Lora", Georgia, serif) !important;
	font-size: clamp(1.2rem, 2.4vw, 1.4rem) !important;
	font-weight: 700 !important;
	color: #1a301f !important;
	line-height: 1.3 !important;
}

.ls-hiw-page__step-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 0.85rem;
	font-weight: 600;
	color: #8a6e28 !important;
	text-decoration: none !important;
}

.ls-hiw-page__step-link:hover,
.ls-hiw-page__step-link:focus {
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

.ls-hiw-page__step-visual {
	margin: 0;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid rgba(26, 48, 31, 0.12);
	background: #f5f7f4;
	box-shadow: 0 10px 28px rgba(26, 48, 31, 0.1);
}

.ls-hiw-page__step-visual svg {
	display: block;
	width: 100%;
	height: auto;
}

.ls-hiw-page__note {
	margin-top: 1.75rem !important;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(26, 48, 31, 0.1);
}

.ls-hiw-page__note a {
	color: #8a6e28 !important;
}

.ls-hiw-page__footer-cta {
	margin-top: 1rem;
	padding: 2rem 0 0;
	border-top: 1px solid rgba(26, 48, 31, 0.12);
	text-align: center;
}

.ls-hiw-page__footer-title {
	margin: 0 0 0.65rem !important;
	font-family: var(--ls-brand-font-serif, "Lora", Georgia, serif) !important;
	font-size: 1.45rem !important;
	font-weight: 700 !important;
	color: #1a301f !important;
}

.ls-hiw-page__footer-text {
	max-width: 36rem;
	margin: 0 auto 1.35rem !important;
}

@media (max-width: 781px) {
	.ls-hiw-page__step,
	.ls-hiw-page__step:nth-child(even) {
		grid-template-columns: 1fr;
		direction: ltr;
	}

	.ls-hiw-page__step-visual {
		order: -1;
	}

	.ls-hiw-page__cta,
	.ls-hiw-page__hero-cta,
	.ls-hiw-page__footer .es-btn,
	.ls-hiw-page__footer a.ls-hiw-page__cta {
		display: inline-flex;
		width: 100%;
		max-width: none;
		min-height: 48px;
		justify-content: center;
		box-sizing: border-box;
	}

	.ls-hiw-page__hero,
	.ls-hiw-page__body {
		padding-left: 1rem;
		padding-right: 1rem;
	}
}
