.elementor-kit-5{--e-global-color-primary:#005776;--e-global-color-secondary:#9E007E;--e-global-color-text:#15252B;--e-global-color-accent:#00AFD7;--e-global-color-a5206c4:#F6F7EB;--e-global-color-9d16dda:#FFFFFF;--e-global-color-8971883:#99BBC6;--e-global-color-c678267:#436F6170;--e-global-color-783cc56:#F7F9FA;--e-global-color-308fa1a:#8F1103;--e-global-color-ce322b6:#97867D;--e-global-color-5adea24:#CFAE6B;--e-global-color-0b925fe:#4D899D;--e-global-typography-primary-font-family:"Lato";--e-global-typography-primary-font-weight:700;--e-global-typography-secondary-font-family:"Lato";--e-global-typography-secondary-font-weight:500;--e-global-typography-text-font-family:"Lato";--e-global-typography-text-font-size:20px;--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Lato";--e-global-typography-accent-font-weight:500;background-color:#4D899D1A;font-family:"Lato", Sans-serif;}.elementor-kit-5 button,.elementor-kit-5 input[type="button"],.elementor-kit-5 input[type="submit"],.elementor-kit-5 .elementor-button{background-color:var( --e-global-color-9d16dda );font-family:"Montserrat", Sans-serif;font-weight:600;color:var( --e-global-color-primary );box-shadow:0px 0px 4px 0px rgba(29, 29, 29, 0.34);border-radius:6px 6px 6px 6px;padding:10px 7px 10px 7px;}.elementor-kit-5 button:hover,.elementor-kit-5 button:focus,.elementor-kit-5 input[type="button"]:hover,.elementor-kit-5 input[type="button"]:focus,.elementor-kit-5 input[type="submit"]:hover,.elementor-kit-5 input[type="submit"]:focus,.elementor-kit-5 .elementor-button:hover,.elementor-kit-5 .elementor-button:focus{background-color:var( --e-global-color-primary );color:var( --e-global-color-9d16dda );border-style:none;border-radius:6px 6px 6px 6px;}.elementor-kit-5 e-page-transition{background-color:var( --e-global-color-accent );}.elementor-kit-5 a{color:var( --e-global-color-accent );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-kit-5 a:hover{color:var( --e-global-color-secondary );}.elementor-kit-5 h1{color:var( --e-global-color-primary );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-kit-5 h2{color:var( --e-global-color-primary );font-family:"Lato", Sans-serif;}.elementor-kit-5 h3{color:var( --e-global-color-secondary );font-family:"Lato", Sans-serif;}.elementor-kit-5 h4{font-family:"Lato", Sans-serif;}.elementor-kit-5 h5{font-family:"Lato", Sans-serif;}.elementor-kit-5 h6{font-family:"Lato", Sans-serif;}.elementor-kit-5 label{color:var( --e-global-color-primary );}.elementor-kit-5 input:not([type="button"]):not([type="submit"]),.elementor-kit-5 textarea,.elementor-kit-5 .elementor-field-textual{color:var( --e-global-color-text );accent-color:var( --e-global-color-primary );border-style:none;}.elementor-kit-5 input:focus:not([type="button"]):not([type="submit"]),.elementor-kit-5 textarea:focus,.elementor-kit-5 .elementor-field-textual:focus{color:var( --e-global-color-text );accent-color:var( --e-global-color-primary );border-style:none;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1310px;}.e-con{--container-max-width:1310px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* =========================
   Universal Gravity Forms Tweaks
   ========================= */

/* Hide required legend and progress title */
p.gform_required_legend,
p.gf_progressbar_title {
    display: none;
}

/* Universal input styling */
body .gform_wrapper input[type="text"],
body .gform_wrapper input[type="email"],
body .gform_wrapper input[type="tel"],
body .gform_wrapper input[type="url"],
body .gform_wrapper input[type="number"],
body .gform_wrapper input[type="password"],
body .gform_wrapper input[type="date"],
body .gform_wrapper input[type="time"],
body .gform_wrapper input[type="file"],
body .gform_wrapper input[type="search"],
body .gform_wrapper select,
body .gform_wrapper textarea {
    font-size: 14px !important;
    box-sizing: border-box;
}

/* Radio/checkbox styles */
.gchoice {
    text-align: center;
    padding: 10px;
    border-radius: 4px;
}

/* Hide default radio inputs */
.gfield-choice-input {
    display: none !important;
}

/* Radio labels */
.gfield_radio label {
    background-color: #ffffff !important;
    display: inline;
    padding: 10px 20px;
    font-family: 'Lato', sans-serif, Arial;
    color: #005776 !important;
    font-size: 21px !important;
    border: 2px solid #005776;
    border-radius: 4px;
    width: 100%;
    margin: 0 auto;
    cursor: pointer;
}

.gfield_radio label:hover {
    box-shadow: 1px 1px 12px #00577685;
}

/* Selected radio style */
.gform_wrapper input[type=radio]:checked + label {
    background-color: #F2F7F8 !important;
    color: #005776 !important;
}

/* Radio/checkbox layout */
.gform-theme--framework .gfield--type-choice .gchoice,
.gform-theme--framework .gfield--type-choice .ginput_container_consent {
    display: flex !important;
}

.gform-field-label,
legend.gfield_label.gform-field-label {
    margin-left: 0 !important;
    text-align: center;
}

.gform-theme--foundation .gfield.gf_list_2col .gfield_radio,
.gform-theme--foundation .gfield.gf_list_3col .gfield_radio {
    display: grid !important;
}

.gform-theme--foundation .gfield.gf_list_3col .gfield_radio {
    grid-column-gap: 5px;
    width: 100%;
    margin: 0 auto;
}

/* =========================
   Buttons
   ========================= */

/* Previous/Next buttons */
input.gform_next_button,
input.gform_previous_button {
    max-width: 300px;
}

/* Universal submit button */
body .gform_wrapper input[type="submit"] {
    background-color: #005776 !important;
    color: #fff !important;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: background-color 0.2s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

body .gform_wrapper input[type="submit"]:hover {
    background-color: #003A4F !important;
}

/* =========================
   Misc Overrides
   ========================= */

/* Slider bar color */
body .gform-theme--framework .gfield--type-nurslider .noUi-connect {
    background-color: #005776 !important;
}

/* Icon image size */
img.propicon {
    width: 140px;
}

/* =========================
   Lead Capture Widget
   ========================= */

/* Lead Capture Widget */
#gform_wrapper_11 {
  background: #F2F7F8;
  border-radius: 18px;
  padding: 26px 34px 28px;
}

#gform_wrapper_11 .gfield_label {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 18px;
}

#gform_wrapper_11 .lead-goal-title {
  display: block;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.1;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

#gform_wrapper_11 .lead-goal-house {
  width: clamp(100px, 12vw, 150px);
  height: auto;
  display: block;
}

#gform_wrapper_11 .gfield_radio {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

#gform_wrapper_11 .gchoice {
  border: 2px solid #005776;
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
}

#gform_wrapper_11 .gchoice label {
  width: 100%;
  min-height: 210px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 18px !important;
}

#gform_wrapper_11 input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.houselabels {
  width: 100%;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.houselabels .propicon {
  width: clamp(85px, 9vw, 125px);
  height: auto;
  display: block;
}

.houselabels .house-title {
  display: block;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.12;
  font-weight: 400;
  color: #005776;
}

#gform_wrapper_11 .gform_footer,
#gform_wrapper_11 input[type="submit"],
#gform_wrapper_11 button[type="submit"] {
  display: none !important;
}
#gform_wrapper_11 .gfield_label::after {
  content: "";
  display: block;
  width: clamp(100px, 12vw, 150px);
  height: 70px;
  margin: 10px auto 0;
  background-image: url("https://finofi.com/wp-content/uploads/2024/12/Asset-2.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}


/* Confirmation message */
#gform_confirmation_message_8 {
    font-size: 18px;
}

/* Hover underline on Previous buttons */
a.gform_previous_button:hover {
    text-decoration: underline;
}

/* Force spans to 100% width */
span#input_10_48_5_container,
span#input_8_48_5_container {
    inline-size: 100% !important;
}

/* Elementor heading override */
.elementor-widget-container h5 {
    font-weight: bold;
    font-size: 2rem;
}

.facetwp-reset {
    height: 40px;
}

/* =========================
   Focus States
   ========================= */

body .gform_wrapper input:focus,
body .gform_wrapper select:focus,
body .gform_wrapper textarea:focus {
    border-color: #005776 !important;
    outline: none;
}

.gform-field-label, legend.gfield_label.gform-field-label {
    margin-left: 0 !important;
    text-align: left;
}

input.facetwp-autocomplete.fcomplete-enabled {
    border: 1px solid black !important;
}

input.facetwp-autocomplete-update {
    border: none;
    width: 25%;
    margin-top: 10px;
    border-radius: 0px !important;
    text-align: center;
}

/* =========================
   FacetWP Results Grid
   ========================= */

.facetwp-template .fwpl-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 60px;
    justify-items: center;
    margin-top: 40px;
}

.facetwp-template .fwpl-result {
    text-align: center;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.facetwp-template .fwpl-result .elementor-widget-image img {
    aspect-ratio: 1/1;
    width: 100%;
    max-width: 180px;
    height: auto !important;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 15px;
}

.facetwp-template .fwpl-result .elementor-heading-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #005776;
    margin: 10px 0 5px;
    text-align: center;
}

.facetwp-template .fwpl-result .elementor-widget-text-editor {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 0;
    text-align: center;
}

@media (max-width: 1024px) {
    .facetwp-template .fwpl-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .facetwp-template .fwpl-row { grid-template-columns: 1fr; }
}

/* =========================
   FacetWP Submit Buttons
   ========================= */

.facetwp-submit {
    display: block;
    width: 200px;
    margin: 10px auto 0 auto;
    border-radius: 0 !important;
    text-align: center;
    background-color: #005776;
    color: #fff;
    font-size: 16px;
    padding: 10px 0;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

.facetwp-submit:hover {
    background-color: #003A4F;
}

.facetwp-facet-search_by_name input.facetwp-autocomplete {
    border: 1px solid #000 !important;
    border-radius: 3px;
    padding: 0.5rem 1rem;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
}

.facetwp-facet-search_by_area input.facetwp-location {
    border: 1px solid #000 !important;
    border-radius: 3px;
    padding: 0.5rem 1rem;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
}

span.facetwp-input-wrap {
    width: 100%;
}

/* =========================
   MLO Button Wrapper
   ========================= */

.mlo-button-wrap { position: relative; z-index: 10; }
.mlo-button-wrap a.btn-make-mlo { pointer-events: auto !important; }
.elementor-section::before,
.elementor-container::before { pointer-events: none; }

/* =========================
   Toast Notification
   ========================= */

.fc-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    background: #005776;
    color: #fff;
    padding: 10px 14px;
    border-radius: 12px;
    opacity: 0;
    transition: opacity .2s, transform .2s;
    z-index: 99999;
    font-family: Montserrat, sans-serif;
    pointer-events: none;
}
.fc-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

/* =========================
   MLO Sticky Footer — Photo
   ========================= */

img.fc-mlo-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto;
    border: 2px solid #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
    img.fc-mlo-photo {
        width: 60px;
        height: 60px;
    }
}

/* =========================
   MLO Sticky Footer — Photo Link
   ========================= */

a.fc-mlo-page-link {
    display: block;
}

a.fc-mlo-page-link:focus,
a.fc-mlo-page-link:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

a.fc-mlo-page-link img.fc-mlo-photo {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.fc-mlo-page-link:hover img.fc-mlo-photo {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

/* =========================
   MLO Sticky Footer — Text & Layout
   ========================= */

.fc-mlo-name {
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 1.4px;
}

.fc-sticky-footer .fc-mlo-name .elementor-heading-title {
    white-space: nowrap;
    overflow: hidden;
    font-size: clamp(13px, 1.4vw, 18px);
    line-height: 1.2;
}

.fc-sticky-footer .fc-mlo-title-line .elementor-heading-title {
    white-space: nowrap;
    overflow: hidden;
    font-size: clamp(11px, 1.1vw, 14px);
    line-height: 1.2;
}

.fc-sticky-footer .fc-mlo-nmls-line .elementor-heading-title {
    white-space: nowrap;
    overflow: hidden;
    font-size: clamp(11px, 1.1vw, 14px);
    line-height: 1.2;
}

.fc-sticky-footer .fc-mlo-phone .elementor-heading-title {
    white-space: nowrap;
    overflow: hidden;
    font-size: clamp(11px, 1.2vw, 16px);
    line-height: 1.3;
}

.fc-sticky-footer .fc-mlo-email .elementor-heading-title {
    white-space: nowrap;
    overflow: hidden;
    font-size: clamp(10px, 1.1vw, 14px);
    line-height: 1.3;
}

.fc-sticky-footer .elementor-widget-button .elementor-button {
    white-space: nowrap;
}

/* =========================
   MLO Sticky Footer — Focus/Link Cleanup
   ========================= */

.fc-footer-phone a,
.fc-footer-phone a:focus,
.fc-footer-phone a:active,
.fc-footer-email a,
.fc-footer-email a:focus,
.fc-footer-email a:active,
.fc-mlo-phone a,
a.fc-mlo-phone,
.fc-mlo-phone a:focus,
a.fc-mlo-phone:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* =========================
   Hero Sections — All Templates
   Targets any container using the diagonal SVG background.
   Covers: homepage, top level pages, loan sub-pages,
   and any future templates using the same asset.
   ========================= */

/* Gold title (h1 or h2) — single line, shrinks aggressively */
[data-dce-background-image-url*="Asset-14.svg"] .elementor-widget-theme-post-title .elementor-heading-title,
[data-dce-background-image-url*="Asset-14.svg"] .elementor-widget-heading h2.elementor-heading-title {
    font-size: clamp(18px, 3.5vw, 44px) !important;
    white-space: nowrap !important;
}

/* Green subheading — wraps naturally, font scales with viewport */
[data-dce-background-image-url*="Asset-14.svg"] .elementor-widget-heading:not(.elementor-widget-theme-post-title) .elementor-heading-title {
    font-size: clamp(14px, 2.2vw, 40px) !important;
    white-space: normal !important;
    max-width: 45vw;
    line-height: 1.3;
}

/* Button grid — responsive, left aligned, 15px gap */
[data-dce-background-image-url*="Asset-14.svg"] .e-grid {
    grid-template-columns: repeat(auto-fit, minmax(0, max-content)) !important;
    gap: 15px !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
}

/* Buttons inside hero grids — never wrap */
[data-dce-background-image-url*="Asset-14.svg"] .e-grid .elementor-button {
    white-space: nowrap !important;
    width: fit-content !important;
}

/* Blog/news/learning center hero — long titles must wrap
   Add CSS class 'fc-hero-wrap-title' to the hero container
   in Elementor Advanced tab for these templates */
.fc-hero-wrap-title .elementor-widget-theme-post-title .elementor-heading-title,
.fc-hero-wrap-title .elementor-widget-heading .elementor-heading-title {
    white-space: normal !important;
    font-size: clamp(18px, 2.8vw, 40px) !important;
    max-width: 45vw;
    line-height: 1.3;
}

.facetwp-facet-mlo_search_by_name {
    display: flex;
    flex-direction: column;
}

.facetwp-facet-mlo_search_by_name .facetwp-submit {
    order: 3;
    margin-top: 10px;
}

.facetwp-facet-mlo_search_by_name .fcomplete-wrap {
    order: 2;
    position: relative;
}
body.single-post .fc-single-blog-title .elementor-heading-title {
  font-size: clamp(28px, 4vw, 52px) !important;
  line-height: 1.12 !important;
  max-width: 1100px !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

/* Hide visible post-view count on single blog posts */
body.single-post .post-views {
  display: none !important;
}

.elementor-widget-theme-post-content {
    font-family: "Lato", sans-serif;
    font-size: 20px;
    line-height: 1.6;
}

.elementor-widget-theme-post-content p,
.elementor-widget-theme-post-content ul,
.elementor-widget-theme-post-content ol,
.elementor-widget-theme-post-content li {
    font: inherit;
}

/* =========================
   Responsive
   ========================= */

@media only screen and (max-width: 1024px) {
    .alignleft {
        float: none;
    }
}

@media (max-width: 767px) {
  .fc-single-blog-title,
  .fc-single-blog-title .elementor-heading-title {
    font-size: clamp(24px, 8vw, 36px);
    line-height: 1.15;
    max-width: 100%;
  }
}/* End custom CSS */