/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/

/* 2026-08-10: retain the original Ann Evans editorial styling for the local build. */
:root {
	--aem-lavender: #9294cf;
	--aem-lavender-dark: #7477b9;
	--aem-ink: #737373;
	--aem-heading: #757575;
	--aem-soft: #f5f5f5;
	--aem-line: #e6e6e6;
}

.aem-original-carousel .l-section-h {
	max-width: 1360px;
	padding-top: 0;
}

.aem-original-carousel .owl-carousel,
.aem-original-carousel .w-grid-list {
	overflow: hidden;
}

.aem-home-intro .l-section-h,
.aem-location-hero .l-section-h {
	background: var(--aem-soft);
	padding: clamp(2rem, 5vw, 5rem);
}

.aem-home-intro h1,
.aem-location-hero h1,
.aem-areas-hero h1 {
	color: var(--aem-heading);
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 500;
	line-height: 1.08;
}

.aem-home-intro .w-image,
.aem-location-hero .w-image {
	border-radius: 0;
	overflow: hidden;
}

.aem-home-intro .w-image img,
.aem-location-hero .w-image img {
	border-radius: 0 !important;
	min-height: 380px;
	object-fit: cover;
}

.aem-home-intro .w-image {
	border-radius: 1rem;
}

.aem-home-intro .w-image img {
	border-radius: 1rem !important;
}

.aem-home-process {
	background: linear-gradient(180deg, #fafafd 0%, #f4f4fa 100%);
}

.aem-home-process .l-section-h {
	max-width: 1280px;
}

.aem-home-process h2 {
	margin-bottom: 0;
}

.aem-home-process > .l-section-h > .g-cols > .vc_column_container > .vc_column-inner > .wpb_wrapper > .wpb_text_column:first-child {
	margin-bottom: 1rem;
}

.aem-home-cta .w-hwrapper {
	gap: 1rem !important;
	margin-top: 1.5rem;
}

.aem-home-cta .w-btn {
	min-width: 220px;
	padding: .9rem 1.8rem !important;
	border: 2px solid #fff !important;
	border-radius: .65rem !important;
	background: #fff !important;
	box-shadow: 0 8px 20px rgba(45, 45, 75, .14);
	color: var(--aem-lavender-dark) !important;
	font-weight: 600 !important;
	letter-spacing: .08em;
	transition: background-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease;
}

.aem-home-cta .w-btn-wrapper:nth-child(2) .w-btn {
	background: transparent !important;
	color: #fff !important;
}

.aem-home-cta .w-btn:hover,
.aem-home-cta .w-btn:focus-visible {
	background: var(--aem-lavender-dark) !important;
	box-shadow: 0 11px 26px rgba(45, 45, 75, .22);
	color: #fff !important;
	transform: translateY(-2px);
}

.aem-home-cta .w-btn-wrapper:nth-child(2) .w-btn:hover,
.aem-home-cta .w-btn-wrapper:nth-child(2) .w-btn:focus-visible {
	background: #fff !important;
	color: var(--aem-lavender-dark) !important;
}

@media (max-width: 600px) {
	.aem-home-cta .w-btn-wrapper,
	.aem-home-cta .w-btn {
		width: 100%;
	}
}

.aem-home-process .g-cols.wpb_row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
}

.aem-home-process .g-cols.wpb_row > .vc_column_container {
	width: auto !important;
}

.aem-home-process .g-cols.wpb_row > .vc_column_container > .vc_column-inner {
	position: relative;
	height: 100%;
	padding: 2rem 1.6rem 1.7rem;
	overflow: hidden;
	border: 1px solid rgba(146, 148, 207, .28);
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 8px 22px rgba(60, 60, 80, .07);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.aem-home-process .g-cols.wpb_row > .vc_column_container > .vc_column-inner::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: .35rem;
	background: var(--aem-lavender);
	content: "";
}

.aem-home-process h3 {
	min-height: 2.3em;
	margin-bottom: 1rem;
	color: var(--aem-lavender-dark) !important;
	font-size: clamp(1.45rem, 2vw, 1.85rem);
	line-height: 1.12;
}

.aem-home-process p {
	margin-bottom: 0;
}

.aem-home-process .g-cols.wpb_row > .vc_column_container > .vc_column-inner:hover {
	border-color: var(--aem-lavender);
	box-shadow: 0 13px 30px rgba(60, 60, 80, .12);
	transform: translateY(-4px);
}

@media (max-width: 1024px) {
	.aem-home-process .g-cols.wpb_row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.aem-home-process .g-cols.wpb_row {
		grid-template-columns: 1fr;
	}
	.aem-home-process h3 {
		min-height: 0;
	}
}

.aem-home-trust-grid .vc_column-inner,
.aem-areas-grid .vc_column-inner > .wpb_wrapper,
.aem-service-card {
	background: #fff;
	border: 1px solid var(--aem-line);
	padding: 0 1.6rem 1.6rem;
	overflow: hidden;
}

.aem-home-services > .l-section-h > .g-cols > .vc_column_container > .vc_column-inner {
	padding: 0;
	border: 0;
	background: transparent;
}

.aem-home-post-grid .w-grid-list {
	gap: 1.5rem !important;
	background: transparent;
}

.aem-home-post-grid .w-grid-item {
	padding: 0 !important;
}

.aem-home-service-grid-item {
	height: 100%;
	border: 1px solid var(--aem-line);
	background: #fff;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.aem-home-service-grid-item .w-vwrapper {
	height: 100%;
	padding-bottom: 1.6rem;
}

.aem-home-service-grid-item .w-vwrapper > *:not(.w-post-elm.post_image) {
	margin-left: 1.6rem;
	margin-right: 1.6rem;
}

.aem-home-service-grid-item .post_image img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.aem-home-service-grid-item:hover,
.aem-home-service-grid-item:focus-within {
	border-color: var(--aem-lavender);
	box-shadow: 0 10px 26px rgba(60, 60, 80, .11);
	transform: translateY(-3px);
}

/* Existing Impreza SERVICE CARDS layout used by the homepage post grid. */
.aem-home-post-grid .w-grid-item-h {
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--aem-line);
	background: #fff;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.aem-home-post-grid .w-vwrapper {
	height: 100%;
	padding-bottom: 1.6rem;
}

.aem-home-post-grid .w-vwrapper > *:not(.w-post-elm.post_image) {
	margin-left: 1.6rem !important;
	margin-right: 1.6rem !important;
}

.aem-home-post-grid .usg_post_custom_field_1 {
	margin-top: 0 !important;
}

.aem-home-post-grid .post_image img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.aem-home-post-grid .w-grid-item-h:hover,
.aem-home-post-grid .w-grid-item-h:focus-within {
	border-color: var(--aem-lavender);
	box-shadow: 0 10px 26px rgba(60, 60, 80, .11);
	transform: translateY(-3px);
}

.aem-why-ann .w-image,
.aem-about-intro .w-image {
	padding: 1rem;
	overflow: hidden;
	border-radius: 1.25rem;
	background: var(--aem-soft);
}

.aem-why-ann .w-image img,
.aem-about-intro .w-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: .6rem;
}

.aem-why-ann h2 {
	margin-bottom: 1.2rem;
}

@media (max-width: 1024px) {
	.aem-why-ann .w-image,
	.aem-about-intro .w-image {
		max-width: 520px;
		margin-right: auto;
		margin-bottom: 1rem;
		margin-left: auto;
	}
}

/* Restored Contact composition: original wide form and compact info rail. */
.aem-contact-hero .l-section-h {
	padding-bottom: 1.5rem;
}

.aem-contact-main > .l-section-h {
	align-items: stretch;
}

.aem-contact-main .vc_col-sm-8 > .vc_column-inner {
	padding: clamp(1.5rem, 3vw, 3rem);
	background: var(--aem-soft);
}

.aem-contact-sidebar > .vc_column-inner {
	height: 100%;
	padding-left: 2rem;
	border-left: 2px solid var(--aem-line);
}

.aem-contact-sidebar .w-image {
	margin-bottom: 1.5rem;
}

.aem-contact-sidebar .w-image img {
	display: block;
	width: 100%;
	height: auto;
}

.aem-contact-main .w-form-row-field input,
.aem-contact-main .w-form-row-field textarea {
	background: #fff;
}

.aem-contact-before .l-section-h {
	max-width: 1000px;
}

/* Restored service-page visual language from the original Impreza build. */
.aem-service-feature-hero .l-section-h {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}

.aem-service-feature-copy > .vc_column-inner {
	height: 100%;
	padding: clamp(1.5rem, 4vw, 3.2rem);
	border-radius: 1.25rem;
	background: var(--aem-lavender);
	color: #fff !important;
}

.aem-service-feature-copy h1,
.aem-service-feature-copy p,
.aem-service-feature-copy a:not(.w-btn) {
	color: #fff !important;
}

.aem-service-feature-image .w-image,
.aem-service-feature-image .w-image-h,
.aem-service-feature-image img {
	height: 100%;
	min-height: 420px;
}

.aem-service-feature-image .w-image {
	overflow: hidden;
	border-radius: 2rem;
}

.aem-service-feature-image img {
	display: block;
	width: 100%;
	object-fit: cover;
}

.aem-service-editorial .w-image {
	overflow: hidden;
	border-radius: 2rem;
}

.aem-service-editorial .w-image img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.aem-service-process .vc_column-inner > .wpb_wrapper {
	height: 100%;
	padding: 1.4rem;
	border: 1px solid var(--aem-line);
	background: #fff;
}

.aem-service-process .vc_row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
}

.aem-service-process .vc_column_container {
	width: auto !important;
}

@media (max-width: 1024px) {
	.aem-contact-sidebar > .vc_column-inner {
		padding-top: 2rem;
		padding-left: 0;
		border-top: 2px solid var(--aem-line);
		border-left: 0;
	}
	.aem-service-process .vc_row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.aem-service-feature-image .w-image,
	.aem-service-feature-image .w-image-h,
	.aem-service-feature-image img {
		min-height: 340px;
	}
}

@media (max-width: 600px) {
	.aem-service-process .vc_row {
		grid-template-columns: 1fr;
	}
}

.aem-home-trust-card .vc_column-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.aem-home-trust-card .w-image {
	width: calc(100% + 3.2rem);
	margin: -1.6rem -1.6rem 1.4rem;
	overflow: hidden;
}

.aem-home-trust-card .w-image img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	transition: transform .25s ease;
}

.aem-home-trust-card h3 a {
	color: inherit;
}

.aem-home-trust-card:hover .vc_column-inner,
.aem-home-trust-card:focus-within .vc_column-inner {
	border-color: var(--aem-lavender);
	box-shadow: 0 10px 26px rgba(60, 60, 80, .11);
	transform: translateY(-3px);
}

.aem-home-trust-card:hover .w-image img,
.aem-home-trust-card:focus-within .w-image img {
	transform: scale(1.025);
}

.aem-home-trust-grid .l-section-h,
.aem-home-services .l-section-h,
.aem-areas-grid .l-section-h,
.aem-location-overview .l-section-h,
.aem-location-visuals .l-section-h,
.aem-related-areas .l-section-h {
	max-width: 1280px;
}

.aem-home-trust-grid .g-cols,
.aem-areas-grid .vc_row,
.aem-services-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	margin-bottom: 1rem;
}

.aem-services-grid + p {
	margin-top: 0;
}

.aem-home-trust-grid .g-cols {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.aem-home-trust-grid .vc_column_container,
.aem-areas-grid .vc_column_container {
	width: auto !important;
}

.aem-home-trust-grid h3,
.aem-home-services h3,
.aem-areas-grid h2,
.aem-services-grid a {
	font-family: "Cormorant Garamond", Georgia, serif;
}

.aem-service-card {
	min-height: 120px;
	color: var(--aem-ink);
}

.aem-service-card a:not(.aem-service-card-image) {
	display: block;
	margin-bottom: .35rem;
	color: var(--aem-lavender-dark);
	font-size: 1.25rem;
	font-weight: 600;
}

.aem-service-card .aem-service-card-image {
	display: block;
	width: calc(100% + 3.2rem);
	margin: 0 -1.6rem 1.35rem;
	overflow: hidden;
}

.aem-service-card .aem-service-card-img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	transition: transform .25s ease;
}

.aem-service-card .aem-service-card-image:hover .aem-service-card-img,
.aem-service-card .aem-service-card-image:focus-visible .aem-service-card-img {
	transform: scale(1.025);
}

@media (prefers-reduced-motion: reduce) {
	.aem-service-card .aem-service-card-img {
		transition: none;
	}
}

/* Keep the closing calls to action distinct from the lavender section. */
body:is(.page-id-26732, .page-id-26741, .page-id-26742, .page-id-26743, .page-id-26744)
	.l-section.color_primary .w-btn.us-btn-style_1 {
	background: #fff;
	border: 2px solid #fff;
	color: var(--aem-lavender-dark);
	box-shadow: 0 3px 12px rgba(45, 46, 72, .14);
}

body:is(.page-id-26732, .page-id-26741, .page-id-26742, .page-id-26743, .page-id-26744)
	.l-section.color_primary .w-btn.us-btn-style_1 .w-btn-label {
	color: var(--aem-lavender-dark) !important;
}

body:is(.page-id-26732, .page-id-26741, .page-id-26742, .page-id-26743, .page-id-26744)
	.l-section.color_primary .w-hwrapper .w-btn-wrapper:last-child .w-btn.us-btn-style_1 {
	background: transparent;
	color: #fff !important;
}

body:is(.page-id-26732, .page-id-26741, .page-id-26742, .page-id-26743, .page-id-26744)
	.l-section.color_primary .w-hwrapper .w-btn-wrapper:last-child .w-btn-label,
body:is(.page-id-26732, .page-id-26741, .page-id-26742, .page-id-26743, .page-id-26744)
	.l-section.color_primary .w-btn.us-btn-style_1:hover .w-btn-label,
body:is(.page-id-26732, .page-id-26741, .page-id-26742, .page-id-26743, .page-id-26744)
	.l-section.color_primary .w-btn.us-btn-style_1:focus-visible .w-btn-label {
	color: #fff !important;
}

body:is(.page-id-26732, .page-id-26741, .page-id-26742, .page-id-26743, .page-id-26744)
	.l-section.color_primary .w-btn.us-btn-style_1:hover,
body:is(.page-id-26732, .page-id-26741, .page-id-26742, .page-id-26743, .page-id-26744)
	.l-section.color_primary .w-btn.us-btn-style_1:focus-visible {
	background: var(--aem-ink);
	border-color: var(--aem-ink);
	color: #fff;
}

.aem-location-visuals .g-cols {
	align-items: stretch;
}

.aem-location-visuals .w-image,
.aem-location-visuals .w-image-h,
.aem-location-visuals img,
.aem-location-visuals .wpb_text_column,
.aem-location-visuals .wpb_wrapper,
.aem-map-wrap,
.aem-map-wrap iframe {
	width: 100%;
	height: 100%;
	min-height: 420px;
}

.aem-location-visuals img {
	display: block;
	object-fit: cover;
}

.aem-map-wrap {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--aem-line);
	background: #f4f4f7;
}

.aem-map-wrap iframe {
	display: block;
	border: 0;
}

.aem-map-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .75rem;
	padding: 2rem;
	text-align: center;
	background: linear-gradient(135deg, #f6f6f8, #e8e8f2);
}

.aem-map-placeholder span {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.5rem;
	color: var(--aem-ink);
}

.aem-map-load {
	padding: .75rem 1.2rem;
	border: 1px solid var(--aem-lavender-dark);
	background: var(--aem-lavender-dark);
	color: #fff;
	cursor: pointer;
}

.aem-map-load:hover,
.aem-map-load:focus-visible {
	background: var(--aem-ink);
	border-color: var(--aem-ink);
}

.aem-map-placeholder a {
	color: var(--aem-lavender-dark);
	text-decoration: underline;
}

.aem-map-wrap.is-loaded .aem-map-placeholder {
	display: none;
}

.aem-footer-locations h2 {
	margin-bottom: 1.25rem;
	font-size: clamp(1.75rem, 2.4vw, 2.6rem);
}

.aem-footer-location-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: .75rem;
}

.aem-footer-location-grid a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: .6rem;
	border: 1px solid currentColor;
	text-align: center;
}

/* Keep the legacy Mortgage Capacity builder rows inside the 1280px canvas.
 * WPBakery's negative outer gutter made the first row 18px wider than its
 * section; removing only that outer margin preserves the internal columns. */
.page-id-26673 .l-main .l-section-h > .g-cols.vc_row {
	margin-left: 0;
	margin-right: 0;
}

@media (max-width: 1320px) {
	.l-header .w-nav.type_desktop .w-nav-list.level_1 {
		font-size: .88rem;
	}
	.l-header .w-nav.type_desktop .w-nav-anchor.level_1 {
		padding-left: .55rem;
		padding-right: .55rem;
	}
}

@media (max-width: 1024px) {
	.aem-home-trust-grid .g-cols,
	.aem-home-services .vc_row,
	.aem-areas-grid .vc_row,
	.aem-services-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.aem-footer-location-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.aem-home-intro .w-image img,
	.aem-location-hero .w-image img {
		min-height: 320px;
	}
}

@media (max-width: 600px) {
	.aem-home-trust-grid .g-cols,
	.aem-home-services .vc_row,
	.aem-areas-grid .vc_row,
	.aem-services-grid,
	.aem-footer-location-grid {
		grid-template-columns: 1fr;
	}
	.aem-home-intro .l-section-h,
	.aem-location-hero .l-section-h {
		padding: 1.4rem;
	}
	.aem-location-visuals .w-image,
	.aem-location-visuals .w-image-h,
	.aem-location-visuals img,
	.aem-location-visuals .wpb_text_column,
	.aem-location-visuals .wpb_wrapper,
	.aem-map-wrap,
	.aem-map-wrap iframe {
		min-height: 300px;
	}
}
