/**
 * Shared page design — hero band and closing block.
 *
 * Applied to every page and post so the site reads as one product rather than
 * a collection of separately built pages. Mobile-first: the base rules are the
 * phone layout, and the two-column arrangement only appears once there is room
 * for it.
 */

/* ==========================================================================
   Hero band
   ========================================================================== */

.lpa-pagehero {
	position: relative;
	overflow: hidden;
	margin-bottom: clamp(1.5rem, 4vw, 3rem);
	padding: clamp(2rem, 6vw, 4.5rem) var(--lpa-gap);
	background:
		radial-gradient(900px 420px at 88% -20%, rgba(76, 175, 80, .18), transparent 62%),
		linear-gradient(160deg, #FFFFFF 0%, var(--lpa-bg) 62%, #EEF4F8 100%);
	border-bottom: 1px solid var(--lpa-border);
}

/* A soft brand rule along the top edge ties every page together. */
.lpa-pagehero::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 4px;
	background: linear-gradient(90deg, var(--lpa-green) 0%, #7BC97F 45%, var(--lpa-slate) 100%);
}

.lpa-pagehero__inner {
	max-width: var(--lpa-container);
	margin-inline: auto;
	display: grid;
	/*
	 * minmax(0, 1fr), not 1fr.
	 *
	 * A bare 1fr track is minmax(auto, 1fr), and `auto` as a minimum means "at
	 * least the item's min-content width". The city switcher inside this hero
	 * is a nowrap row of fifteen pills, so its min-content is about 1,100px:
	 * the track grew to fit it, the hero's own overflow:hidden swallowed the
	 * evidence, and on a phone the headline and buttons were simply sliced off
	 * at the right edge with no scrollbar to reveal them.
	 */
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
}

.lpa-pagehero__body,
.lpa-pagehero__media {
	min-width: 0;
}

.lpa-pagehero__eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	margin: 0 0 0.75rem;
	color: var(--lpa-slate-400);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.lpa-pagehero__eyebrow a {
	color: var(--lpa-green-700);
	text-decoration: none;
}

.lpa-pagehero__eyebrow a:hover {
	text-decoration: underline;
}

.lpa-pagehero__title {
	margin: 0 0 0.75rem;
	color: var(--lpa-slate);
	font-size: clamp(1.85rem, 5vw, 3.1rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.lpa-pagehero__lead {
	margin: 0 0 1.5rem;
	max-width: 58ch;
	color: var(--lpa-slate-600);
	font-size: clamp(1rem, 1.7vw, 1.15rem);
	line-height: 1.65;
}

.lpa-pagehero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1.25rem;
}

/* Hero media */

.lpa-pagehero__media {
	margin: 0;
	border-radius: var(--lpa-radius-lg);
	overflow: hidden;
	background: var(--lpa-white);
	box-shadow: var(--lpa-shadow-lg);
	line-height: 0;
}

.lpa-pagehero__img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 460px;
	object-fit: cover;
}

/* A logo fallback should sit in space, not be cropped to fill a banner. */
.lpa-pagehero__img--logo {
	max-width: 220px;
	max-height: 220px;
	margin: clamp(1.5rem, 4vw, 3rem) auto;
	object-fit: contain;
}

/* Light support badges for use on the pale hero background. */
.lpa-support--bar-light {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--lpa-slate-600);
}

.lpa-support--bar-light .lpa-support__item {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.lpa-support--bar-light .lpa-support__label {
	white-space: nowrap;
}

/* Two columns once there is genuinely room. */
@media (min-width: 900px) {
	.lpa-pagehero__inner {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	}
}

/* On phones the image leads, then the words. */
@media (max-width: 899px) {
	.lpa-pagehero__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.lpa-pagehero__media {
		order: -1;
	}

	.lpa-pagehero__img {
		max-height: 260px;
	}

	.lpa-pagehero__actions .lpa-btn {
		flex: 1 1 100%;
		justify-content: center;
	}
}

/* ==========================================================================
   Closing block
   ========================================================================== */

.lpa-pageoutro {
	margin-top: clamp(2rem, 6vw, 4rem);
	padding: clamp(2rem, 5vw, 3.5rem) var(--lpa-gap);
	background: var(--lpa-slate);
	color: #E7EDF3;
}

.lpa-pageoutro__inner {
	max-width: var(--lpa-container);
	margin-inline: auto;
	display: grid;
	gap: clamp(1.5rem, 4vw, 2.5rem);
}

.lpa-pageoutro h2 {
	margin: 0 0 0.6rem;
	color: #FFFFFF;
	font-size: clamp(1.35rem, 3vw, 1.9rem);
	line-height: 1.2;
}

.lpa-pageoutro p {
	margin: 0 0 1.25rem;
	max-width: 60ch;
	color: rgba(231, 237, 243, .82);
	line-height: 1.65;
}

.lpa-pageoutro__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.lpa-pageoutro .lpa-btn--secondary {
	color: #FFFFFF;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35);
}

.lpa-pageoutro .lpa-btn--secondary:hover {
	background: rgba(255, 255, 255, .08);
	color: #FFFFFF;
	box-shadow: inset 0 0 0 2px var(--lpa-green);
}

/* Link cards */

.lpa-pageoutro__links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 0.85rem;
	align-content: start;
}

.lpa-linkcard {
	padding: 1rem 1.15rem;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: var(--lpa-radius);
	background: rgba(255, 255, 255, .05);
	transition: border-color var(--lpa-transition), background var(--lpa-transition), transform var(--lpa-transition);
}

.lpa-linkcard:hover {
	border-color: var(--lpa-green);
	background: rgba(255, 255, 255, .09);
	transform: translateY(-2px);
}

.lpa-linkcard__kicker {
	margin: 0 0 0.3rem;
	color: var(--lpa-green);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.lpa-linkcard__link {
	color: #FFFFFF;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	/* Comfortable tap target on touch screens. */
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 44px;
}

.lpa-linkcard__link:hover {
	color: var(--lpa-green);
	text-decoration: underline;
}

.lpa-linkcard__ext {
	font-size: 0.85em;
	opacity: .8;
}

@media (min-width: 900px) {
	.lpa-pageoutro__inner {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		align-items: center;
	}
}

@media (max-width: 899px) {
	.lpa-pageoutro__actions .lpa-btn {
		flex: 1 1 100%;
		justify-content: center;
	}
}

/* ==========================================================================
   Location switcher
   A row of city pills that re-points the page in place. Scrolls horizontally
   inside its own track rather than wrapping to five rows on a phone.
   ========================================================================== */

.lpa-locswitch {
	margin: 0 0 1.25rem;
	padding: 0.9rem 1rem;
	border: 1px solid var(--lpa-border);
	border-radius: var(--lpa-radius);
	background: var(--lpa-white);
	box-shadow: var(--lpa-shadow-sm);
	/* Own the width: a long pill track must never widen the page. */
	max-width: 100%;
	min-width: 0;
}

.lpa-locswitch__label {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0 0 0.6rem;
	color: var(--lpa-slate-600);
	font-size: 0.85rem;
	line-height: 1.4;
}

.lpa-locswitch__label strong {
	color: var(--lpa-slate);
}

.lpa-locswitch__dot {
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--lpa-green);
	box-shadow: 0 0 0 3px var(--lpa-green-050);
}

.lpa-locswitch__nav {
	min-width: 0;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.lpa-locswitch__nav::-webkit-scrollbar {
	display: none;
}

.lpa-locswitch__list {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.4rem;
	margin: 0;
	padding: 0 0 0.15rem;
	list-style: none;
}

.lpa-locswitch__item {
	margin: 0;
	flex: 0 0 auto;
}

.lpa-locswitch__pill {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0.35rem 0.85rem;
	border: 1px solid var(--lpa-border);
	border-radius: 999px;
	background: var(--lpa-bg);
	color: var(--lpa-slate-600);
	font-size: 0.82rem;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none;
	transition: border-color var(--lpa-transition), background var(--lpa-transition), color var(--lpa-transition);
}

a.lpa-locswitch__pill:hover,
a.lpa-locswitch__pill:focus {
	border-color: var(--lpa-green);
	background: var(--lpa-green-050);
	color: var(--lpa-green-700);
}

.lpa-locswitch__pill.is-active {
	border-color: var(--lpa-green);
	background: var(--lpa-green);
	color: var(--lpa-white);
}

.lpa-locswitch__phone {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	margin: 0.7rem 0 0;
	color: var(--lpa-slate-600);
	font-size: 0.85rem;
}

.lpa-locswitch__phone a {
	color: var(--lpa-green-700);
	font-weight: 700;
	text-decoration: none;
}

.lpa-locswitch__phone a:hover {
	text-decoration: underline;
}

.lpa-locswitch__tag {
	padding: 0.1rem 0.5rem;
	border-radius: 999px;
	background: var(--lpa-green-050);
	color: var(--lpa-green-700);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* Dark surfaces (the local-trust band). */
.lpa-locswitch--dark {
	border-color: rgba(255, 255, 255, .16);
	background: rgba(255, 255, 255, .05);
	box-shadow: none;
}

.lpa-locswitch--dark .lpa-locswitch__label,
.lpa-locswitch--dark .lpa-locswitch__phone {
	color: rgba(231, 237, 243, .8);
}

.lpa-locswitch--dark .lpa-locswitch__label strong {
	color: #FFFFFF;
}

.lpa-locswitch--dark .lpa-locswitch__pill {
	border-color: rgba(255, 255, 255, .18);
	background: rgba(255, 255, 255, .06);
	color: rgba(255, 255, 255, .85);
}

.lpa-locswitch--dark .lpa-locswitch__pill.is-active {
	background: var(--lpa-green);
	border-color: var(--lpa-green);
	color: #FFFFFF;
}

.lpa-locswitch--dark .lpa-locswitch__phone a {
	color: #81C784;
}

.lpa-locswitch--dark .lpa-locswitch__tag {
	background: rgba(255, 255, 255, .1);
	color: #81C784;
}

/* ==========================================================================
   Local trust band (service pages)
   ========================================================================== */

.lpa-localtrust {
	margin-top: clamp(2rem, 5vw, 3.5rem);
	padding: clamp(2rem, 5vw, 3.5rem) var(--lpa-gap);
	background:
		radial-gradient(760px 340px at 90% -20%, rgba(76, 175, 80, .16), transparent 62%),
		linear-gradient(160deg, #0d2117 0%, #163220 100%);
	color: rgba(231, 237, 243, .82);
}

.lpa-localtrust__inner {
	max-width: var(--lpa-container);
	margin-inline: auto;
}

.lpa-localtrust__eyebrow {
	margin: 0 0 0.5rem;
	color: #81C784;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.lpa-localtrust__heading {
	margin: 0 0 0.6rem;
	color: #FFFFFF;
	font-size: clamp(1.35rem, 3vw, 2rem);
	line-height: 1.18;
	text-wrap: balance;
}

.lpa-localtrust__intro {
	max-width: 62ch;
	margin: 0 0 1.25rem;
	line-height: 1.65;
}

.lpa-localtrust__call {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem 0.9rem;
	margin: 0 0 1.75rem;
}

.lpa-localtrust__linelabel {
	color: rgba(231, 237, 243, .7);
	font-size: 0.85rem;
	font-weight: 600;
}

.lpa-localtrust__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
	gap: 0.9rem;
	margin: 0 0 1.75rem;
	padding: 0;
	list-style: none;
}

.lpa-localtrust__item {
	margin: 0;
	padding: 1.1rem 1.2rem;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: var(--lpa-radius);
	background: rgba(255, 255, 255, .05);
}

.lpa-localtrust__title {
	margin: 0 0 0.4rem;
	color: #FFFFFF;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
}

.lpa-localtrust__text {
	margin: 0;
	color: rgba(231, 237, 243, .78);
	font-size: 0.92rem;
	line-height: 1.6;
}

/* Inside the dark band the switcher takes the dark treatment automatically. */
.lpa-localtrust .lpa-locswitch {
	margin: 0;
	border-color: rgba(255, 255, 255, .16);
	background: rgba(255, 255, 255, .05);
	box-shadow: none;
}

.lpa-localtrust .lpa-locswitch__label,
.lpa-localtrust .lpa-locswitch__phone {
	color: rgba(231, 237, 243, .8);
}

.lpa-localtrust .lpa-locswitch__label strong {
	color: #FFFFFF;
}

.lpa-localtrust .lpa-locswitch__pill {
	border-color: rgba(255, 255, 255, .18);
	background: rgba(255, 255, 255, .06);
	color: rgba(255, 255, 255, .85);
}

.lpa-localtrust .lpa-locswitch__pill.is-active {
	background: var(--lpa-green);
	border-color: var(--lpa-green);
	color: #FFFFFF;
}

.lpa-localtrust .lpa-locswitch__phone a {
	color: #81C784;
}

.lpa-localtrust .lpa-locswitch__tag {
	background: rgba(255, 255, 255, .1);
	color: #81C784;
}

.lpa-localtrust {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* ==========================================================================
   Card panels — About Us and Contact
   ========================================================================== */

.lpa-panels {
	display: grid;
	gap: clamp(1rem, 2.5vw, 1.5rem);
	max-width: var(--lpa-container);
	margin-inline: auto;
}

.lpa-panel {
	padding: clamp(1.25rem, 3.5vw, 2.25rem);
	border: 1px solid var(--lpa-border);
	border-radius: var(--lpa-radius-lg);
	background: var(--lpa-white);
	box-shadow: var(--lpa-shadow-sm);
	transition: box-shadow var(--lpa-transition);
}

.lpa-panel:hover {
	box-shadow: var(--lpa-shadow);
}

.lpa-panel > *:first-child {
	margin-top: 0;
}

.lpa-panel > *:last-child {
	margin-bottom: 0;
}

.lpa-panel > h2:first-child,
.lpa-panel > h2 {
	position: relative;
	margin: 0 0 1rem;
	padding-left: 0.85rem;
	font-size: clamp(1.25rem, 2.6vw, 1.7rem);
	line-height: 1.25;
	color: var(--lpa-slate);
}

.lpa-panel > h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.15em;
	bottom: 0.15em;
	width: 4px;
	border-radius: 2px;
	background: var(--lpa-green);
}

.lpa-panel p {
	color: var(--lpa-slate-600);
	line-height: 1.7;
	max-width: 72ch;
}

/* The opening block sets the tone, so it gets the tinted treatment. */
.lpa-panel--lead {
	background:
		radial-gradient(620px 240px at 92% -10%, var(--lpa-green-050), transparent 68%),
		var(--lpa-bg);
}

/* "Our Aims" and similar runs of bare H4s become a chip row. */
.lpa-panel h4 {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0.35rem 0.5rem 0.35rem 0;
	padding: 0.5rem 0.95rem;
	border: 1px solid var(--lpa-border);
	border-radius: 999px;
	background: var(--lpa-bg);
	color: var(--lpa-slate);
	font-size: 0.92rem;
	font-weight: 700;
}

.lpa-panel h4::before {
	content: "\2713";
	color: var(--lpa-green);
	font-weight: 800;
}

.lpa-panel img {
	max-width: 100%;
	height: auto;
	border-radius: var(--lpa-radius);
}

/* Credential chips (About) */

.lpa-creds {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: 0.7rem;
	max-width: var(--lpa-container);
	margin: 0 auto clamp(1rem, 2.5vw, 1.5rem);
	padding: 0;
	list-style: none;
}

.lpa-cred {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	margin: 0;
	padding: 0.85rem 1rem;
	border: 1px solid var(--lpa-border);
	border-left: 4px solid var(--lpa-green);
	border-radius: var(--lpa-radius);
	background: var(--lpa-white);
	box-shadow: var(--lpa-shadow-sm);
}

.lpa-cred__badge {
	color: var(--lpa-slate);
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.01em;
}

.lpa-cred__text {
	color: var(--lpa-slate-600);
	font-size: 0.82rem;
	line-height: 1.45;
}

/* ==========================================================================
   Contact channel cards
   ========================================================================== */

.lpa-channels {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 0.9rem;
	max-width: var(--lpa-container);
	margin: 0 auto clamp(1.25rem, 3vw, 2rem);
	padding: 0;
	list-style: none;
}

.lpa-channel {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 1.25rem 1.35rem;
	border: 1px solid var(--lpa-border);
	border-radius: var(--lpa-radius-lg);
	background: var(--lpa-white);
	box-shadow: var(--lpa-shadow-sm);
	transition: border-color var(--lpa-transition), box-shadow var(--lpa-transition), transform var(--lpa-transition);
}

.lpa-channel:hover {
	border-color: var(--lpa-green);
	box-shadow: var(--lpa-shadow);
	transform: translateY(-2px);
}

.lpa-channel__icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	margin-bottom: 0.8rem;
	border-radius: 10px;
	background: var(--lpa-green-050);
	color: var(--lpa-green-700);
	font-size: 1.15rem;
}

.lpa-channel__icon::before {
	line-height: 1;
}

.lpa-support__icon--pin::before { content: "\1F4CD"; }

.lpa-channel__kicker {
	margin: 0 0 0.2rem;
	color: var(--lpa-slate-400);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.lpa-channel__title {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--lpa-slate);
}

.lpa-channel__value {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	margin-bottom: 0.5rem;
	color: var(--lpa-green-700);
	font-weight: 700;
	font-size: 0.98rem;
	text-decoration: none;
	/* Long addresses must wrap, never widen the card. */
	overflow-wrap: anywhere;
}

a.lpa-channel__value:hover {
	text-decoration: underline;
}

.lpa-channel__note {
	margin: auto 0 0;
	color: var(--lpa-slate-600);
	font-size: 0.85rem;
	line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Card treatment for the builder-rendered About and Contact pages.

   Both are Elementor documents whose top-level sections are already the right
   content boundaries. Rather than rewriting that markup — which would mean
   re-cutting nested containers at render time on every request — each section
   is given the same card as .lpa-panel, and the leftover inline classes from
   the old hand-written page (.container, .intro, .contact-form-container) are
   neutralised so they stop fighting it.
   -------------------------------------------------------------------------- */

.lpa-cardpage {
	max-width: var(--lpa-container);
	margin-inline: auto;
}

.lpa-cardpage .elementor-top-section {
	margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
	padding: clamp(1.25rem, 3.5vw, 2.25rem);
	border: 1px solid var(--lpa-border);
	border-radius: var(--lpa-radius-lg);
	background: var(--lpa-white);
	box-shadow: var(--lpa-shadow-sm);
	transition: box-shadow var(--lpa-transition);
}

.lpa-cardpage .elementor-top-section:hover {
	box-shadow: var(--lpa-shadow);
}

/* Elementor pads its own containers; the card already provides the padding. */
.lpa-cardpage .elementor-top-section > .elementor-container {
	max-width: 100%;
}

.lpa-cardpage .elementor-widget-wrap {
	padding: 0;
}

/* Leftovers from the pre-builder markup. */
.lpa-cardpage .container {
	max-width: 100%;
	margin: 0;
	padding: 0;
	background: none;
	box-shadow: none;
}

.lpa-cardpage .contact-form-container {
	padding: 0;
	border-radius: 0;
	background: none;
}

.lpa-cardpage .intro {
	margin-bottom: 1.25rem;
}

.lpa-cardpage h2 {
	position: relative;
	margin: 0 0 1rem;
	padding-left: 0.85rem;
	color: var(--lpa-slate);
	font-size: clamp(1.25rem, 2.6vw, 1.7rem);
	line-height: 1.25;
}

.lpa-cardpage h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.15em;
	bottom: 0.15em;
	width: 4px;
	border-radius: 2px;
	background: var(--lpa-green);
}

.lpa-cardpage h2 + h2 {
	margin-top: 1.5rem;
}

.lpa-cardpage p {
	color: var(--lpa-slate-600);
	line-height: 1.7;
	max-width: 72ch;
}

/* Runs of bare H4s ("Accuracy", "Timely Business Support") read as chips. */
.lpa-cardpage .elementor-widget-heading h4,
.lpa-cardpage > .elementor h4 {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0.35rem 0.5rem 0.35rem 0;
	padding: 0.5rem 0.95rem;
	border: 1px solid var(--lpa-border);
	border-radius: 999px;
	background: var(--lpa-bg);
	color: var(--lpa-slate);
	font-size: 0.92rem;
	font-weight: 700;
}

.lpa-cardpage .elementor-widget-heading h4::before,
.lpa-cardpage > .elementor h4::before {
	content: "\2713";
	color: var(--lpa-green);
	font-weight: 800;
}

.lpa-cardpage img {
	max-width: 100%;
	height: auto;
}

/* Enquiry form card */

.lpa-formcard {
	margin: clamp(1rem, 3vw, 1.75rem) 0 0;
	padding: clamp(1.25rem, 3.5vw, 2rem);
	border: 1px solid var(--lpa-border);
	border-top: 4px solid var(--lpa-green);
	border-radius: var(--lpa-radius-lg);
	background: var(--lpa-white);
	box-shadow: var(--lpa-shadow);
}

.lpa-formcard__kicker {
	margin: 0 0 1rem;
	color: var(--lpa-green-700);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
	.lpa-channel:hover {
		transform: none;
	}
}

/* ==========================================================================
   Shared page rhythm
   ========================================================================== */

/* Keep body copy to a readable measure everywhere, without constraining
   full-bleed builder sections. */
.entry-content > p,
.entry-content > ul,
.entry-content > ol,
.entry-content > h2,
.entry-content > h3,
.entry-content > h4 {
	max-width: 72ch;
}

.entry-content > h2 {
	margin-top: 2em;
	font-size: clamp(1.4rem, 3vw, 2rem);
}

.entry-content > h3 {
	margin-top: 1.6em;
}

/* The hero and outro are full-bleed even inside a padded container. */
.lpa-pagehero,
.lpa-pageoutro {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/*
 * The page's own plain content (see lpa_wrap_plain_content() in
 * inc/page-design.php). Astra's page-builder shell assumes a builder
 * supplies its own container, so without this a plain page is left flush to
 * the viewport edge with no padding at all — the hero and outro above and
 * below it are the only things that look designed.
 */
.lpa-page-content {
	max-width: var(--lpa-container);
	margin-inline: auto;
	padding-inline: var(--lpa-gap);
}

/*
 * Document-level overflow containment lives in assets/css/lpa-mobile.css.
 * It was here as `overflow-x: hidden` on html and body, which made body a
 * scroll container and stopped `position: sticky` working anywhere inside it.
 */

@media (prefers-reduced-motion: reduce) {
	.lpa-linkcard:hover {
		transform: none;
	}
}
