/* The consultation block and WordPress-owned inquiry forms share the source controls. */
.sp-consult {
	background-position: center;
	padding: 120px 20px;
	color: #fff;
}
.sp-consult-inner { max-width: 1400px; }
.sp-consult #sp-consult-title { margin: 0; font: 600 48px/56px var(--sp-heading); color: #fff; }
.sp-consult .sp-consult-subtitle { margin: 24px 0; color: #fdb602; font: 400 20px/30px var(--sp-body); }
.sp-consult .sp-consult-subtitle span { color: inherit; }
.sp-consult-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sp-consult-details > h2, .sp-consult-form > h2 {
	margin: 0 0 24px; color: #fdb602; text-align: left; font: 600 24px/32px var(--sp-heading);
}
.sp-consult-details ol { max-width: 455px; margin: 0 0 24px; border-left: 2px solid white; padding-left: 39px; }
.sp-office-grid { display: grid; justify-items: start; gap: 24px; }
.sp-office-grid :is(h3,p) { margin: 0; font: inherit; }
.sp-office-grid h3 { font-weight: 700; }
.sp-office-grid strong { display: inline-block; min-width: 100px; }
.sp-office-address { display: inline-flex; align-items: baseline; gap: 10px; color: white; text-decoration: none; }
.sp-office-address:hover { color: #fdb602; }
.sp-consult-actions { flex-direction: column; align-items: flex-start; gap: 24px; margin-top: 24px; }
.sp-consult .sp-consult-actions > .sp-button {
	min-height: 48px; display: inline-flex; align-items: center; gap: 10px;
	background: transparent; color: #fff; border: 1px solid #fff; border-radius: 6px;
	padding: 15px 30px; font: 500 16px/16px var(--sp-body); letter-spacing: 2px;
}
.sp-consult .sp-consult-actions > .sp-button:first-child { min-height: 56px; }
.sp-consult .sp-consult-actions > .sp-button:hover { color: #1f2f5c; background: #fff; }
.sp-consult-icon { width: 16px; height: 16px; flex: 0 0 16px; background: currentColor; mask: var(--sp-action-icon) center / contain no-repeat; }
.sp-consult-pin { --sp-action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22S4 13.9 4 9a8 8 0 1 1 16 0c0 4.9-8 13-8 13m0-9.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7' fill-rule='evenodd'/%3E%3C/svg%3E"); }
.sp-consult-phone { --sp-action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 2h14a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3m3 4L6 8c0 5 5 10 10 10l2-2-3-3-2 1c-1.8-.8-3.2-2.2-4-4l1-1z' fill-rule='evenodd'/%3E%3C/svg%3E"); }
.sp-consult-calendar { --sp-action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h2V2h2v2h6V2h2v2h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2m0 6v10h14V10z' fill-rule='evenodd'/%3E%3Cpath d='M7 12h3v3H7zm5 0h3v3h-3zm-5 5h3v2H7zm5 0h3v2h-3z'/%3E%3C/svg%3E"); }
.sp-consult .sp-consult-form { padding: 0; color: #fff; background: transparent; border-radius: 0; min-width: 0; }
.sp-consult-form .sp-inquiry-note { margin: 24px 0 0; font: 400 16px/26px var(--sp-body); }

.schaller-inquiry .schaller-inquiry-grid { display: block; }
.schaller-inquiry .schaller-inquiry-grid :is(p,label) { display: block; margin: 0; min-width: 0; }
.schaller-inquiry .schaller-inquiry-grid label { margin-bottom: 10px; }
.schaller-inquiry .schaller-inquiry-grid .schaller-inquiry-message { margin-bottom: 0; }
.schaller-inquiry .schaller-inquiry-grid br { display: none; }
.schaller-inquiry .schaller-inquiry-grid label[hidden] { display: none; }
.schaller-inquiry .schaller-inquiry-grid .wpcf7-form-control-wrap { display: block; }
.schaller-inquiry .schaller-inquiry-grid :is(input,select,textarea) {
	display: block; width: 100%; max-width: 100%; margin: 0; padding: 12px 16px;
	height: 60px; border: 1px solid #f7f7f7; border-radius: 6px;
	background: rgb(255 255 255 / 85%); color: #0e1834; font: 400 16px/24px var(--sp-body);
}
.schaller-inquiry .schaller-inquiry-grid :is(input,textarea)::placeholder { color: currentColor; opacity: 1; }
.schaller-inquiry .schaller-inquiry-grid textarea { height: 200px; min-height: 0; resize: vertical; }
.schaller-inquiry p:has(.wpcf7-submit) { margin: 20px 0 0; }
.schaller-inquiry input.wpcf7-submit, .ma-location-block-map-img .directions_form input[type="submit"] {
	background: #1f2f5c; color: #fff; border: 0; border-radius: 6px;
	min-height: 46px; margin: 0; padding: 15px 30px; font: 500 16px/16px var(--sp-body);
	letter-spacing: 2px; text-transform: uppercase; cursor: pointer;
}
.schaller-inquiry input.wpcf7-submit:hover, .ma-location-block-map-img .directions_form input[type="submit"]:hover { color: #fff; background: #0e1834; }
.schaller-inquiry .wpcf7-not-valid-tip { padding-top: 4px; color: #a72a23; font-size: 14px; }
.sp-consult-form .wpcf7-not-valid-tip { color: #fff3c3; }

.sp-contact-form { max-width: none; margin: 0; }
.entry-content .sp-contact-form .schaller-inquiry .schaller-inquiry-grid :is(input,select,textarea) {
	height: 50px; background: #fff; border: 0; color: #475569;
}
.entry-content .sp-contact-form .schaller-inquiry .schaller-inquiry-grid textarea { height: 112px; }
.entry-content .sp-contact-form .schaller-inquiry :is(input,textarea)::placeholder { color: #697881; }
.entry-content .sp-contact-form .wpcf7 form .wpcf7-response-output { margin-inline: 0; }
.entry-content .wp-block-spectra-container:has(> .wp-block-spectra-container > .ma-widget-ek39rdulwk) {
	display: grid; grid-template-columns: minmax(0, .974fr) minmax(0, 1.026fr); align-items: start; gap: 30px;
}
.entry-content .wp-block-spectra-container:has(> .ma-widget-ek39rdulwk) {
	padding: 30px; border-radius: 20px; background: #f7f7f7;
}
.entry-content .wp-block-spectra-container:has(> .ma-location-block-map-img) table { width: auto; margin-bottom: 4px; }
.entry-content .wp-block-spectra-container:has(> .ma-location-block-map-img) td { border: 0; padding: 0 14px 5px 0; }
.entry-content .wp-block-spectra-container:has(> .ma-location-block-map-img) td:first-child { font-weight: 700; }
.ma-location-block-map-img img { display: block; width: 100%; height: 277px; object-fit: cover; border-radius: 30px 30px 0 0; }
.ma-location-block-map-img .directions_form { margin: 0; padding: 30px 30px 40px; border: 1px solid #ddd; }
.ma-location-block-map-img .ma-map-form-title { display: block; margin: 0 0 10px; color: #1f2f5c; font: 600 20px/28px var(--sp-body); }
.ma-location-block-map-img .ma-map-form-input {
	width: 100%; height: 40px; margin: 0; padding: 10px; border: 1px solid #e0e0e0;
	border-radius: 4px; background: #fff; color: #0e1834; font: 400 16px/24px var(--sp-body);
}
.ma-location-block-map-img .ma-map-form-button-wrapper { margin-top: 20px; }
.ma-widget-mlq4196tmi a { color: #0e1834; text-decoration: none; }
.ma-widget-mlq4196tmi .ma-media-object { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.ma-widget-mlq4196tmi .ma-location-block-icon { display: grid; place-items: center; width: 20px; }

/* Keep locally controlled privacy and reading tools in the source positions. */
body .svt { --svt-blue: #0d5cab; --svt-teal: #087f99; --svt-bottom: calc(23px + env(safe-area-inset-bottom)); }
body .svt__launcher { width: 44px; height: 44px; z-index: 13; border: 0; }
body .svt__launcher--reading { left: max(20px, env(safe-area-inset-left)); }
body .svt__launcher--contact { width: 52px; height: 52px; right: max(20px, env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); }
body .svt__banner {
	inset: auto 0 0; min-height: 105px; justify-content: space-between;
	padding: 18px max(75px, calc((100% - 1040px) / 2)); border: 0; border-radius: 0; background: #fff; color: #202124;
	font-family: system-ui, sans-serif; font-size: 14px; line-height: 1.5;
}
body .svt__banner > div:first-child { max-width: 650px; }
body .svt__banner strong { font-size: 16px; font-weight: 600; }
body .svt__banner .svt__text-button { color: #1a1a1a; }
body .svt__banner .svt__primary { min-height: 44px; border-radius: 8px; }
body .svt__banner .svt__actions { gap: 10px; }
body .svt__banner-close {
	position: absolute; inset: 12px 60px auto auto; width: 32px; height: 32px;
	padding: 0; border: 0; background: transparent; color: #202124; font: 600 20px/1 system-ui, sans-serif;
	cursor: pointer;
}
body #svt-contact { inset: auto 20px 82px auto; width: min(400px, calc(100% - 30px)); margin: 0; }
body #svt-contact::backdrop { background: transparent; }
body #svt-contact > header { margin: -20px -20px 20px; padding: 12px 16px; align-items: center; background: #087f99; }
body #svt-contact > header :is(h2,button) { margin: 0; color: #fff; }
body #svt-contact > header h2 { font-size: 16px; }
body #svt-contact > header button:hover { background: #ffffff28; }

@media (max-width: 1024px) {
	.sp-consult { padding-block: 70px; }
	body .svt { --svt-bottom: calc(74px + env(safe-area-inset-bottom)); }
	body .svt__launcher--contact { bottom: calc(72px + env(safe-area-inset-bottom)); }
	body .svt__banner { padding-inline: 75px 30px; }
}
@media (max-width: 767px) {
	.sp-consult { padding-block: 60px; }
	.sp-consult #sp-consult-title { font-size: 30px; line-height: 38px; }
	.sp-consult .sp-consult-subtitle { margin-block: 18px 24px; font-size: 18px; line-height: 26px; }
	.sp-consult-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
	.sp-consult-details > h2, .sp-consult-form > h2 { font-size: 22px; line-height: 30px; }
	.sp-consult .sp-consult-actions > .sp-button { padding-inline: 20px; }
	.entry-content .wp-block-spectra-container:has(> .wp-block-spectra-container > .ma-widget-ek39rdulwk) { grid-template-columns: minmax(0, 1fr); }
	.ma-location-block-map-img .directions_form { padding-inline: 20px; }
	body .svt__banner { align-content: center; justify-content: flex-start; padding: 20px 28px 20px 76px; min-height: 313px; }
	body .svt__banner .svt__actions { justify-content: flex-start; gap: 8px; }
	body .svt__banner button { min-height: 38px; }
	body .svt__banner-close { right: 12px; top: 10px; }
	body .svt__launcher--contact { width: 44px; height: 44px; right: 12px; }
}
@media (max-width: 375px) {
	body .svt__banner { min-height: 330px; }
}
