/*
 * Functional fixes for live-scraped Squarespace pages. NO restyling:
 * colors/fonts/spacing come from Squarespace's own site.css so pages
 * render identical to spiremortgage.ca. Later brand tweaks happen by
 * redefining the [data-section-theme] CSS variables, not here.
 */

/* Re-bind text colors to the SS theme vars: the base theme's generic
 * h1/a/body rules (loaded between site.css and this file) win otherwise.
 * The vars carry HER palette, so this is a fix, not a reskin. */
.sqs-page h1, .sqs-page h2 { color: var(--headingLargeColor); }
.sqs-page h3 { color: var(--headingMediumColor); }
.sqs-page h4 { color: var(--headingSmallColor); }
.sqs-page p, .sqs-page li, .sqs-page blockquote { color: var(--paragraphMediumColor); }
.sqs-page p a, .sqs-page li a, .sqs-page h4 a { color: var(--paragraphLinkColor); text-decoration: underline; }
.sqs-page h1, .sqs-page h2, .sqs-page h3, .sqs-page h4 {
	font-family: var(--heading-font-font-family);
}
.sqs-page p, .sqs-page li, .sqs-page blockquote {
	font-family: var(--body-font-font-family);
}

/* Buttons: SS sizing rules don't survive the migration -> rebuild from SS vars */
.sqs-page .sqs-block-button-element,
.sqs-page .sqs-button-element--primary {
	display: inline-block;
	padding: 1em 1.67em;
	background: var(--primaryButtonBackgroundColor);
	color: var(--primaryButtonTextColor) !important;
	font-family: var(--primary-button-font-font-family, var(--heading-font-font-family));
	font-weight: 500;
	letter-spacing: 0.02em;
	text-decoration: none !important;
	transition: opacity 0.2s;
}
.sqs-page .sqs-block-button-element:hover { opacity: 0.85; }
.sqs-page .sqs-button-element--secondary {
	background: var(--secondaryButtonBackgroundColor);
	color: var(--secondaryButtonTextColor) !important;
}
.sqs-page .sqs-button-element--tertiary {
	background: var(--tertiaryButtonBackgroundColor);
	color: var(--tertiaryButtonTextColor) !important;
}

/* Brand accent (from the "Bridge" direction Renée picked): terracotta on the
 * calls to action only. Her teal backbone, layout, fonts and photos unchanged.
 * Revert = delete this block. */
.sqs-page .sqs-button-element--primary,
.sqs-page .newsletter-form-button,
.sqs-page a[class*="button-element"][href*="apply"] {
	background: #9e5530 !important;
	border-color: #9e5530 !important;
	color: #ffffff !important;
}
.sqs-page .sqs-button-element--primary:hover,
.sqs-page .newsletter-form-button:hover,
.sqs-page a[class*="button-element"][href*="apply"]:hover {
	background: #874623 !important;
	opacity: 1;
}

/* Markdown resource boxes collapse like the live site (JS adds ui-open/ui-closed) */
.sqs-page .sqs-block-markdown h3 { transition: background 0.15s; }
.sqs-page .sqs-block-markdown h3.ui-closed:hover,
.sqs-page .sqs-block-markdown h3.ui-open:hover { opacity: 0.85; }
.sqs-page .spire-acc-body { padding: 4px 16px 10px; }

/* Native accordion blocks: plus flips to minus when open (visitor JS does
 * this inline on live; keyed to aria-expanded here) + theme-var colors */
.sqs-page .accordion-item__click-target .plus__vertical-line {
	transition: transform 0.25s ease, opacity 0.25s ease;
}
.sqs-page .accordion-item__click-target[aria-expanded="true"] .plus__vertical-line {
	transform: rotate(90deg);
	opacity: 0;
}
.sqs-page .accordion-item__title { color: var(--headingSmallColor); }
.sqs-page .accordion-item__description { color: var(--paragraphMediumColor); }

/* SS keeps image wrappers transparent until its loader JS runs -> always show */
.sqs-page .image-block-wrapper,
.sqs-page .sqs-image,
.sqs-page .sqs-image-shape-container-element { opacity: 1 !important; }

/* SS hides newsletter blocks until its loader adds .rendered */
.sqs-page .newsletter-block { opacity: 1; }

/* newsletter field: visible box on any band (SS loader normally paints it) */
.sqs-page .newsletter-form-field-element {
	background: #ffffff;
	border: 1px solid #c9c4b8;
	padding: 10px 14px;
}
.sqs-page .newsletter-form-button {
	background: var(--primaryButtonBackgroundColor);
	color: var(--primaryButtonTextColor);
	padding: 12px 24px;
	font-family: var(--primary-button-font-font-family, inherit);
}

/* SS grids size against 100vw (scrollbar included) -> clip the spill like SS does */
body.sqs-seven-one { overflow-x: clip; }
#siteWrapper.sqs-page { overflow-x: clip; }

/* header social/email icons: live paints them with the nav link color (white) */
.sqs-page header .header-actions-action--social a.icon { color: var(--navigationLinkColor); }

/* native <video> swapped in for SS background players */
.sqs-page video.content-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---- Scroll-reveal (replaces SS global animations JS) ---- */
.sqs-page .spire-pre {
	opacity: 0;
	transform: translateY(26px);
}
.sqs-page .spire-in {
	opacity: 1;
	transform: none;
	transition: opacity 0.75s cubic-bezier(0.33, 1, 0.68, 1), transform 0.75s cubic-bezier(0.33, 1, 0.68, 1);
}
@media (prefers-reduced-motion: reduce) {
	.sqs-page .spire-pre { opacity: 1; transform: none; }
	.sqs-page .spire-in { transition: none; }
}

/* ---- Homepage additions (Renée's asks): eyebrow, stats band, native reviews ---- */
.sqs-page .spire-eyebrow {
	margin: 0 0 0.6em;
	text-align: center;
	font-family: var(--body-font-font-family);
	font-size: 0.95rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 700;
	color: #ffffff;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}
.sqs-page .spire-stats-band { background: #21424a; }
.sqs-page .spire-stats {
	max-width: 1100px;
	margin: 0 auto;
	padding: 44px max(16px, 4vw);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	text-align: center;
}
.sqs-page .spire-stat { color: #ffffff; text-decoration: none; }
.sqs-page .spire-stat-num {
	font-family: var(--heading-font-font-family);
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.1;
}
.sqs-page .spire-stat-label {
	font-family: var(--body-font-font-family);
	font-size: 0.95rem;
	letter-spacing: 0.06em;
	margin-top: 6px;
	opacity: 0.85;
}
.sqs-page a.spire-stat:hover .spire-stat-num { color: #e9c9b4; }
@media (max-width: 640px) {
	.sqs-page .spire-stats { grid-template-columns: 1fr; gap: 18px; padding-block: 32px; }
}
.sqs-page .spire-reviews-section { background: #ffffff; }
.sqs-page .spire-reviews {
	max-width: 820px;
	margin: 0 auto;
	padding: 64px max(16px, 4vw);
	text-align: center;
	color: #21424a;
}
.sqs-page .spire-reviews-head { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 28px; }
.sqs-page .spire-reviews-head h2 { margin: 0; color: #21424a; }
.sqs-page .spire-reviews-badge {
	font-family: var(--body-font-font-family);
	color: #21424a;
	text-decoration: none;
	border: 1px solid #c9d0d1;
	padding: 6px 14px;
}
.sqs-page .spire-reviews-stars, .sqs-page .review-stars { color: #9e5530; letter-spacing: 2px; }
.sqs-page .review-slide { display: none; }
.sqs-page .review-slide.is-active { display: block; animation: spire-review-fade 0.5s ease; }
@keyframes spire-review-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sqs-page .review-text {
	font-family: var(--heading-font-font-family);
	font-size: clamp(1.1rem, 2.2vw, 1.4rem);
	line-height: 1.55;
	margin: 0 0 16px;
	color: #21424a;
}
.sqs-page .review-meta { font-family: var(--body-font-font-family); color: #4c5e65; }
.sqs-page .review-dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.sqs-page .review-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: #c9d0d1; cursor: pointer; }
.sqs-page .review-dot.is-active { background: #9e5530; }
.sqs-page .spire-video-wrap { width: 100%; box-sizing: border-box; max-width: 960px; margin: 0 auto; padding-block: 56px; padding-left: max(16px, 4vw); padding-right: max(16px, 4vw); text-align: center; }
.sqs-page .spire-video-wrap h2 { margin: 0 0 24px; color: #21424a; }
.sqs-page .spire-video { position: relative; width: 100%; aspect-ratio: 16 / 9; max-width: 100%; }
.sqs-page .spire-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Homepage hero, "Bridge" layout in her fonts + colors: copy left, framed photo right */
.sqs-page .spire-hero { background: #ffffff; }
.sqs-page .spire-hero-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding-block: clamp(48px, 7vw, 88px);
	padding-left: max(16px, 4vw);
	padding-right: max(16px, 4vw);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(32px, 5vw, 64px);
}
.sqs-page .spire-hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.sqs-page .spire-hero-eyebrow {
	margin: 0;
	font-family: var(--body-font-font-family);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #9e5530;
}
.sqs-page .spire-hero h1 {
	margin: 0;
	font-family: var(--heading-font-font-family);
	font-size: clamp(2.4rem, 4.6vw, 3.9rem);
	line-height: 1.1;
	color: #21424a;
	text-wrap: balance;
}
.sqs-page .spire-hero-sub {
	margin: 0;
	max-width: 34em;
	font-family: var(--body-font-font-family);
	font-size: 1.12rem;
	line-height: 1.65;
	color: #4c5e65;
}
.sqs-page .spire-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.sqs-page .spire-btn {
	display: inline-block;
	padding: 15px 28px;
	font-family: var(--body-font-font-family);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0.02em;
	text-decoration: none !important;
	transition: background 0.2s, color 0.2s;
}
.sqs-page .spire-btn--primary { background: #9e5530; color: #ffffff !important; border: 2px solid #9e5530; }
.sqs-page .spire-btn--primary:hover { background: #874623; border-color: #874623; }
.sqs-page .spire-btn--outline { background: transparent; color: #21424a !important; border: 2px solid #21424a; }
.sqs-page .spire-btn--outline:hover { background: #21424a; color: #ffffff !important; }
.sqs-page .spire-hero-chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sqs-page .spire-hero-chips li {
	margin: 0;
	padding: 7px 14px;
	border: 1px solid #c9d0d1;
	border-radius: 999px;
	font-family: var(--body-font-font-family);
	font-size: 0.85rem;
	color: #4c5e65;
}
.sqs-page .spire-hero-media { flex: 1 1 420px; min-width: 0; padding: 28px 0 0 22px; }
.sqs-page .spire-hero-frame { position: relative; background: #f2eee6; border-radius: 16px; }
.sqs-page .spire-hero-frame img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: clamp(300px, 36vw, 470px);
	object-fit: cover;
	border-radius: 16px;
	transform: translate(-22px, -28px);
}
@media (max-width: 760px) {
	.sqs-page .spire-hero-media { padding: 20px 0 0 14px; }
	.sqs-page .spire-hero-frame img { transform: translate(-14px, -20px); height: 280px; }
}

/* Mobile menu: long folders (Mortgage Solutions) centered their list up
 * under the 107px header bar, so Back sat beside the logo and the logo
 * layer swallowed the tap. Keep every folder's content below the bar. */
.header-menu-nav-folder-content { padding-top: 110px; box-sizing: border-box; }

/* Form stopgap (Connect, REALTOR + Builder Partnerships): the Squarespace
 * forms can't run here; this contact card fills the box until the lead
 * system replaces it (marked <!-- spire-form-stopgap --> in page content). */
.sqs-page .spire-stopgap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding: 28px;
	background: #f2eee6;
	border-radius: 16px;
}
.sqs-page .spire-stopgap-title {
	margin: 0;
	font-family: var(--heading-font-font-family);
	font-size: 1.5rem;
	line-height: 1.25;
	color: #21424a;
}
.sqs-page .spire-stopgap-lines {
	margin: 0;
	font-family: var(--body-font-font-family);
	font-size: 1.05rem;
	line-height: 1.7;
	color: #4c5e65;
}
.sqs-page .spire-stopgap-lines a { color: #21424a; overflow-wrap: anywhere; }

/* Partner lead form (REALTOR® + Builder Partnerships): name + phone,
 * saved as a Lead in wp-admin (inc/leads.php). Sits inside .spire-stopgap. */
.sqs-page .spire-lead-form { display: flex; flex-wrap: wrap; gap: 14px; width: 100%; }
.sqs-page .spire-lead-form > * { flex: 1 1 100%; }
.sqs-page .spire-lead-form > .spire-lead-half { flex-basis: calc(50% - 7px); }
.sqs-page .spire-lead-form > .spire-btn { flex: 0 0 auto; order: 1; }
.sqs-page .spire-lead-form > .spire-lead-note:has(+ .spire-btn) { order: 2; flex: 1 1 200px; align-self: center; }
@media screen and (max-width: 767px) { .sqs-page .spire-stopgap { padding: 20px; } }
.sqs-page .spire-lead-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-family: var(--body-font-font-family);
	font-size: 0.95rem;
	color: #21424a;
}
.sqs-page .spire-lead-form input[type="text"],
.sqs-page .spire-lead-form input[type="email"],
.sqs-page .spire-lead-form input[type="tel"] {
	width: 100%;
	box-sizing: border-box;
	min-height: 48px;
	padding: 12px 14px !important;
	font: inherit;
	font-size: 1rem !important;
	color: #21424a;
	background: #fff;
	border: 1px solid #c9d2d4;
	border-radius: 8px;
}
.sqs-page .spire-lead-form input:focus { outline: 2px solid #21424a; outline-offset: 1px; }
.sqs-page .spire-lead-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sqs-page .spire-lead-note { margin: 0; font-family: var(--body-font-font-family); font-size: 0.85rem; color: #4c5e65; }
.sqs-page .spire-lead-msg { margin: 0; font-family: var(--body-font-font-family); font-size: 1.05rem; color: #21424a; }
.sqs-page .spire-lead-msg[hidden] { display: none; }
.sqs-page .spire-lead-privacy { margin: 10px 0 0; font-family: var(--body-font-font-family); font-size: 0.85rem; opacity: 0.8; }
.sqs-page .spire-lead-privacy a { color: inherit; text-decoration: underline; }
.sqs-page .spire-lead-form .spire-btn { align-self: flex-start; cursor: pointer; }
.sqs-page .spire-lead-form[hidden] { display: none; }
.sqs-page .spire-lead-form textarea,
.sqs-page .spire-lead-form select {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	min-height: 48px;
	padding: 12px 14px !important;
	font: inherit;
	font-size: 1rem !important;
	color: #21424a;
	background: #fff;
	border: 1px solid #c9d2d4;
	border-radius: 8px;
}
.sqs-page .spire-lead-form select { text-overflow: ellipsis; }
.sqs-page .spire-lead-choices { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--body-font-font-family); color: #21424a; }
.sqs-page .spire-lead-choices legend { width: 100%; margin-bottom: 6px; padding: 0; font-size: 0.95rem; }
.sqs-page .spire-lead-form .spire-lead-choice { flex-direction: row; align-items: center; gap: 8px; font-size: 1rem; }
.sqs-page .spire-lead-opt { color: #4c5e65; font-size: 0.85em; }

.sqs-page .spire-lead-form input[type="email"] { max-width: 100%; min-width: 0; }
.sqs-page .spire-lead-form input[type="radio"] {
	-webkit-appearance: radio;
	appearance: auto;
	width: 18px !important;
	height: 18px !important;
	min-height: 0;
	margin: 0 !important;
	padding: 0 !important;
	flex: none;
}
.sqs-page .spire-stopgap, .sqs-page .spire-lead-form, .sqs-page .spire-lead-form label { min-width: 0; max-width: 100%; box-sizing: border-box; }

/* Apply Now: the Newton application box sits in a "medium height"
 * section (min-height ~66vh), leaving a big empty band around it. */
section[data-section-id="642b0f6a0cbb20637a1063c6"] { min-height: 0 !important; }

/* Calculators: the hub grid sits in a grid sized for the old Squarespace
 * embed, leaving a big empty band under it. Let the rows fit the cards. */
section[data-section-id="63239f733106882c371bfb73"] .fluid-engine { grid-template-rows: none !important; grid-auto-rows: auto !important; }

/* Team page: "Get to know Renée" reads as the bottom of her bio box
 * (same background, no gap between them). */
.sqs-page section[data-section-id="5efe4caf4b4ac711e480be10"] .content-wrapper { padding-bottom: 24px !important; }
.sqs-page .spire-video-section { background: rgb(105, 122, 129); }
.sqs-page .spire-video-section .spire-video-wrap { padding-block: 8px 72px; }
.sqs-page .spire-video-section .spire-video-wrap h2 { color: #fff; }

/* New Build Mortgages, phone: the road-map cards kept desktop block
 * heights (big gaps) and left-aligned buttons. Stack them in DOM order. */
@media screen and (max-width: 767px) {
	section[data-section-id="64be83f281aeff79a561ad47"] .fluid-engine {
		display: flex !important;
		flex-direction: column;
		row-gap: 12px;
	}
	section[data-section-id="64be83f281aeff79a561ad47"] .fe-block {
		grid-area: auto !important;
		width: auto;
		margin-left: 23px;
		margin-right: 23px;
	}
	section[data-section-id="64be83f281aeff79a561ad47"] .fe-block:not(:has(.sqs-block-image)) { height: auto !important; }
	section[data-section-id="64be83f281aeff79a561ad47"] .fe-block:not(:has(.sqs-block-image)) .sqs-block { height: auto !important; }
	section[data-section-id="64be83f281aeff79a561ad47"] .fe-block:has(.sqs-block-image) { height: 200px; }
	section[data-section-id="64be83f281aeff79a561ad47"] .fe-block:has(.sqs-block-button) {
		display: flex;
		justify-content: center;
		margin-bottom: 40px;
	}
	section[data-section-id="64be83f281aeff79a561ad47"] .sqs-block-button .sqs-block-content,
	section[data-section-id="64be83f281aeff79a561ad47"] .sqs-block-button-container { text-align: center; justify-content: center; }
}

/* Guided intake (inc/leads.php form "intake", paging in js/sqs-animate.js):
 * one step per screen, answers as tappable cards, Back/Next at the bottom. */
.sqs-page .spire-intake-page { max-width: 720px; margin: 0 auto; padding: 260px 6vw 80px; box-sizing: border-box; }
@media screen and (max-width: 767px) { .sqs-page .spire-intake-page { padding-top: 150px; } }
/* hand-written section: SS section-theme colors don't resolve here (KNOWN-QUIRKS), so set them */
.sqs-page .spire-intake-page h1 { margin: 0 0 12px; text-wrap: balance; color: #21424a; font-family: var(--heading-font-font-family); }
.sqs-page .spire-intake-page .spire-intake-lede { margin: 0 0 28px; font-family: var(--body-font-font-family); font-size: 1.05rem; color: #4c5e65; }
.sqs-page .spire-step { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.sqs-page .spire-step[hidden], .sqs-page .spire-intake [data-show][hidden] { display: none !important; }
.sqs-page .spire-step-title { padding: 0; margin-bottom: 4px; font-family: var(--heading-font-font-family); font-size: 1.35rem; color: #21424a; }
.sqs-page .spire-intake .spire-lead-choices { flex-direction: column; gap: 8px; }
.sqs-page .spire-intake .spire-lead-choices legend { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.sqs-page .spire-intake .spire-lead-choice { padding: 12px 14px; border: 1px solid #c9d2d4; border-radius: 8px; background: #fff; cursor: pointer; }
.sqs-page .spire-intake .spire-lead-choice:has(input:checked) { border-color: #21424a; background: #eef3f3; }
.sqs-page .spire-intake input[type="checkbox"] { -webkit-appearance: checkbox; appearance: auto; width: 18px !important; height: 18px !important; min-height: 0; margin: 0 !important; padding: 0 !important; flex: none; }
.sqs-page .spire-intake > .spire-lead-note { order: 0; }
.sqs-page .spire-step-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; order: 3; padding-top: 8px; border-top: 1px solid #e3e8e9; }
.sqs-page .spire-step-count { flex: 1 1 auto; font-family: var(--body-font-font-family); font-size: 0.9rem; color: #4c5e65; }
.sqs-page .spire-step-nav .spire-btn[hidden] { display: none; }
.sqs-page .spire-btn--secondary { background: transparent; color: #21424a !important; border: 2px solid #21424a; }
.sqs-page .spire-btn--secondary:hover { background: #eef3f3; }
@media screen and (min-width: 768px) {
	.sqs-page .spire-intake .spire-lead-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; }
	.sqs-page .spire-intake .spire-lead-choices legend { grid-column: 1 / -1; }
}
.sqs-page .spire-intake .spire-lead-choice { padding: 10px 14px; line-height: 1.3; }

/* "Start here" band at the foot of each service page (inc/leads.php spire_lead_start_band) */
.sqs-page .spire-start-band { background: #eef3f3; padding: 56px 6vw; }
.sqs-page .spire-start-inner { max-width: 1020px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.sqs-page .spire-start-copy { flex: 1 1 420px; min-width: 0; }
.sqs-page .spire-start-band h2 { margin: 0 0 8px; color: #21424a; font-family: var(--heading-font-font-family); text-wrap: balance; }
.sqs-page .spire-start-band p { margin: 0; color: #4c5e65; font-family: var(--body-font-font-family); font-size: 1.05rem; line-height: 1.55; max-width: 60ch; }
.sqs-page .spire-start-band .spire-btn { flex: 0 0 auto; }
.sqs-page .spire-start-band p.spire-start-alt { margin-top: 10px; font-size: .95rem; }
.sqs-page .spire-start-band p.spire-start-alt a { color: #21424a; text-decoration: underline; }

/* email typo check (js/sqs-animate.js): "Did you mean jane@gmail.com?" */
.sqs-page .spire-email-hint { flex: 1 1 100%; margin: -4px 0 0; font-family: var(--body-font-font-family); font-size: 0.9rem; color: #9e5530; }
.sqs-page .spire-email-fix { padding: 0; border: 0; background: none; font: inherit; color: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }

/* blog post body: Lato Light read thin on phones; one step heavier, same look */
.sqs-page .blog-item-content p, .sqs-page .blog-item-content li { font-weight: 400; }

/* search results + 404 (search.php, 404.php): plain layout; functions.php sets
 * the real top padding from the header's height, these are the fallbacks */
.sqs-page .spire-simple { background: #fff; color: #21424a; padding: 250px max(16px, 6vw) 8vmax; }
.sqs-page .spire-simple-inner { max-width: 720px; margin: 0 auto; }
.sqs-page .spire-simple h1 { margin: 0 0 24px; color: #21424a; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; text-wrap: balance; }
.sqs-page .spire-simple p { margin: 0 0 1em; color: #4c5e65; font-family: var(--body-font-font-family); font-size: 1.05rem; line-height: 1.6; }
.sqs-page .spire-simple a { color: #21424a; }
.sqs-page .spire-simple .search-form { display: flex; gap: 8px; margin: 0 0 16px; }
.sqs-page .spire-simple .search-form label { flex: 1 1 auto; min-width: 0; }
.sqs-page .spire-simple .search-field { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid #c9d3d5; font: inherit; font-size: 1rem; color: #21424a; background: #fff; }
.sqs-page .spire-simple .search-submit { padding: 12px 20px; border: 0; background: #21424a; color: #fff; font-family: var(--body-font-font-family); font-size: 0.95rem; cursor: pointer; }
.sqs-page .spire-simple .search-form .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sqs-page .spire-simple .search-field, .sqs-page .spire-simple .search-submit { height: 48px !important; margin: 0 !important; line-height: 1.2 !important; }
.sqs-page .spire-simple .search-submit { flex: 0 0 auto; width: auto !important; padding: 0 22px !important; }
.sqs-page .spire-result { padding: 24px 0; border-bottom: 1px solid #e3e8e9; }
.sqs-page .spire-result-type { display: block; margin-bottom: 6px; font-family: var(--body-font-font-family); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: #9e5530; }
.sqs-page .spire-result h3 { margin: 0 0 8px; font-size: 1.4rem; line-height: 1.3; }
.sqs-page .spire-result h3 a { text-decoration: none; }
.sqs-page .spire-result h3 a:hover { text-decoration: underline; }
.sqs-page .spire-result p { margin: 0; }
.sqs-page .spire-simple-pages { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; font-family: var(--body-font-font-family); }
.sqs-page .spire-simple--center { text-align: center; }
.sqs-page .spire-simple-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.sqs-page .spire-simple-btn { display: inline-block; padding: 1em 1.67em; background: #21424a; color: #fff !important; border: 1px solid #21424a; text-decoration: none; font-family: var(--body-font-font-family); }
.sqs-page .spire-simple-btn--outline { background: transparent; color: #21424a !important; }
@media screen and (max-width: 767px) {
	.sqs-page .spire-simple { padding-top: 150px; }
}
