/* =====================================================================
   Emerald Funding Solutions - site styles (child theme v3.3.0)
   Moved here from WordPress Additional CSS / Divi Theme Options > Custom CSS.
   Loads after the Divi styles, like Additional CSS did.
   Sections: mobile header, footer menu, page components (efs-*), forms,
   responsive rules, Divi global colour variables, loan-card pills,
   mobile-menu buttons, desktop nav room for the Calculator link.
   ===================================================================== */
/* =========================================================
   EMERALD MOBILE/TABLET MENU FIX
   ========================================================= */

@media (max-width: 980px) {

    /* Keep the menu module's internal layout right-aligned */
    .efs-header-mobile .efs-mobile-menu .et_pb_menu__wrap {
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        width: 100%;
    }

    /* Hide the full desktop-style menu */
    .efs-header-mobile .efs-mobile-menu .et_pb_menu__menu {
        display: none !important;
    }

    /* Explicitly display the hamburger on tablet AND phone */
    .efs-header-mobile .efs-mobile-menu .et_mobile_nav_menu {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        width: auto !important;
    }

    /* Keep the hamburger itself visible */
    .efs-header-mobile .efs-mobile-menu .mobile_nav,
    .efs-header-mobile .efs-mobile-menu .mobile_menu_bar {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Set an explicit icon colour */
    .efs-header-mobile .efs-mobile-menu .mobile_menu_bar:before {
        color: #082F28 !important;
    }
}

@media (max-width: 980px) {

    .efs-header-mobile .efs-mobile-header-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .efs-header-mobile .efs-mobile-header-row > .et_pb_column {
        margin-bottom: 0 !important;
    }

    .efs-header-mobile .efs-mobile-header-row > .et_pb_column:first-child {
        width: 65% !important;
        margin-right: 0 !important;
    }

    .efs-header-mobile .efs-mobile-header-row > .et_pb_column:last-child {
        width: 35% !important;
        margin-right: 0 !important;
        text-align: right !important;
    }
}

/* ============================================
   EMERALD FOOTER — VERTICAL NAVIGATION
   ============================================ */

/* Stack navigation links vertically */
.efs-footer-menu .et-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px;
}

/* Remove Divi's horizontal menu spacing */
.efs-footer-menu .et-menu > li {
    display: block !important;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

/* Style footer links */
.efs-footer-menu .et-menu > li > a {
    display: inline-block;
    padding: 0 !important;
    line-height: 1.6;
}

/* Prevent the menu container from centering links */
.efs-footer-menu .et_pb_menu__wrap {
    justify-content: flex-start !important;
}

/* Keep the vertical link list visible on tablets and phones */
@media (max-width: 980px) {
    .efs-footer-menu .et_pb_menu__menu {
        display: block !important;
    }

    /* Hide the hamburger menu in the footer */
    .efs-footer-menu .et_mobile_nav_menu {
        display: none !important;
    }
}

/* Align footer menu links with column headings */
.efs-footer-menu .et_pb_menu__menu,
.efs-footer-menu .et-menu-nav,
.efs-footer-menu .et-menu {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.efs-footer-menu .et-menu > li,
.efs-footer-menu .et-menu > li > a {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Remove any default offset from the menu wrapper */
.efs-footer-menu .et_pb_menu__wrap {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* ===== EFS PAGES v1 START ===== */
.efs-section .et_pb_row,.efs-section.et_pb_section .et_pb_row{padding:0!important}
.efs-section{padding-left:0!important;padding-right:0!important}
.efs-hero.et_pb_section{padding-top:clamp(72px,9vw,128px)!important;padding-bottom:clamp(72px,9vw,120px)!important}
.efs-hero--dark{background:radial-gradient(900px 480px at 85% -10%,rgba(19,192,118,.35),transparent 60%),radial-gradient(700px 420px at -5% 110%,rgba(110,198,60,.18),transparent 60%),#082F28!important;color:#fff}
.efs-hero--light{background:linear-gradient(180deg,#F1F8F4 0%,#fff 100%)!important}
.efs-hero h1{font-size:clamp(2.3rem,5.2vw,3.5rem)!important;line-height:1.08!important;font-weight:700!important;margin:0 0 .45em;letter-spacing:-.02em;padding:0}
.efs-hero--dark h1{color:#fff!important}
.efs-hero--light h1{color:#082F28!important}
.efs-hero .efs-lede{max-width:34em;margin:0 0 1.6em}
.efs-hero--dark .efs-lede{color:rgba(255,255,255,.82)}
.efs-hero--dark .efs-eyebrow{color:#6EC63C}
.efs-hero-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:clamp(32px,5vw,72px);align-items:center}
.efs-hero-panel{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);border-radius:24px;padding:clamp(24px,3vw,34px);backdrop-filter:blur(6px)}
.efs-hero-panel h3{color:#fff!important;font-size:1.1rem!important;margin:0 0 1em;padding:0}
.efs-check-list{list-style:none;margin:0;padding:0}
.efs-check-list li{display:flex;gap:12px;align-items:flex-start;padding:.7em 0;border-top:1px solid rgba(255,255,255,.12);font-weight:600;line-height:1.45}
.efs-check-list li:first-child{border-top:0;padding-top:0}
.efs-check-list svg{flex:0 0 22px;margin-top:2px}
.efs-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
a.efs-btn{display:inline-block;text-decoration:none;border:2px solid transparent;line-height:1.25;font-size:1rem;cursor:pointer;text-align:center}
a.efs-btn--primary{background:#06A15B;border-color:#06A15B;color:#fff!important;box-shadow:0 8px 20px rgba(6,161,91,.25)}
a.efs-btn--primary:hover{background:#04683D;border-color:#04683D}
a.efs-btn--secondary{background:transparent;border-color:#04683D;color:#04683D!important}
a.efs-btn--secondary:hover{background:#F1F8F4}
.efs-hero--dark a.efs-btn--secondary,.efs-section--dark a.efs-btn--secondary{border-color:rgba(255,255,255,.55);color:#fff!important}
.efs-hero--dark a.efs-btn--secondary:hover,.efs-section--dark a.efs-btn--secondary:hover{background:rgba(255,255,255,.1)}
a.efs-btn--wa{background:#25D366;border-color:#25D366;color:#06301a!important}
a.efs-btn--wa:hover{background:#1fb858;border-color:#1fb858}
.efs-link{font-weight:700;color:#06A15B;text-decoration:none}.efs-link:hover{color:#04683D;text-decoration:underline}
.efs-head{max-width:42em;margin:0 auto clamp(32px,4vw,52px);text-align:center}
.efs-head--left{margin-left:0;text-align:left}
.efs-head h2,.efs-prose h2{font-size:clamp(1.9rem,3.4vw,2.5rem)!important;line-height:1.15!important;font-weight:700!important;color:#082F28!important;margin:.25em 0 .4em;padding:0;letter-spacing:-.01em}
.efs-section--dark .efs-head h2,.efs-section--dark h2{color:#fff!important}
.efs-head .efs-lede{margin:0 auto}.efs-head--left .efs-lede{margin-left:0}
.efs-grid{display:grid;gap:28px}
.efs-grid--3{grid-template-columns:repeat(3,1fr)}
.efs-grid--2{grid-template-columns:repeat(2,1fr)}
.efs-grid--4{grid-template-columns:repeat(4,1fr)}
.efs-grid--5{grid-template-columns:repeat(6,1fr)}.efs-grid--5>*{grid-column:span 2}.efs-grid--5>*:nth-child(4){grid-column:2/span 2}.efs-grid--5>*:nth-child(5){grid-column:4/span 2}
.efs-card h3{font-size:1.35rem!important;line-height:1.25!important;color:#082F28!important;margin:.9em 0 .35em;padding:0}
.efs-card p{margin:0 0 1em;color:#26332E}
.efs-loan-card{display:flex;flex-direction:column}
.efs-loan-card .efs-loan-card__meta{flex:1}
.efs-loan-card__amount{margin:0 0 1.1em!important;font-size:1.02rem}
.efs-loan-card .efs-actions{gap:10px 18px;margin-top:auto}
.efs-icon{width:52px;height:52px;border-radius:14px;background:#F1F8F4;display:flex;align-items:center;justify-content:center;color:#06A15B}
.efs-icon svg{width:26px;height:26px}
.efs-trust{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;background:#fff;border:1px solid #DDE9E2;border-radius:20px;padding:22px 28px;box-shadow:0 12px 32px rgba(8,47,40,.08);margin-top:-52px;position:relative;z-index:3}
.efs-trust-item{gap:12px}
.efs-trust-item svg{flex:0 0 24px;color:#06A15B}
.efs-section--trust.et_pb_section{padding:0!important;background:transparent!important}
.efs-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;counter-reset:s}
.efs-step{position:relative;padding-top:8px}
.efs-step__n{width:48px;height:48px;border-radius:50%;background:#06A15B;color:#fff;font-weight:700;font-size:1.1rem;display:flex;align-items:center;justify-content:center;margin-bottom:16px;box-shadow:0 0 0 6px rgba(19,192,118,.16)}
.efs-step h3{font-size:1.2rem!important;color:#082F28!important;margin:0 0 .35em;padding:0}
.efs-step p{margin:0;color:#4a5a54}
.efs-calculator.et_pb_row,.efs-form-shell.et_pb_row{width:90%!important;max-width:960px!important;margin-left:auto!important;margin-right:auto!important;padding:clamp(20px,3.5vw,40px)!important;background:#fff}
.efs-form-shell.et_pb_row{max-width:900px!important}
.efs-calculator iframe,.efs-form-shell iframe{max-width:100%;border:0;display:block}
.efs-fallback{max-width:900px;margin:22px auto 0;text-align:center}
.efs-cta-panel{background:radial-gradient(600px 300px at 100% 0%,rgba(19,192,118,.28),transparent 60%),#082F28;color:#fff;border-radius:28px;padding:clamp(32px,5vw,64px);display:flex;flex-wrap:wrap;gap:24px 40px;align-items:center;justify-content:space-between}
.efs-cta-panel h2{color:#fff!important;font-size:clamp(1.7rem,3vw,2.3rem)!important;margin:0 0 .3em;padding:0}
.efs-cta-panel p{margin:0;color:rgba(255,255,255,.8);max-width:32em}
.efs-final{text-align:center;max-width:40em;margin:0 auto}
.efs-final h2{font-size:clamp(1.9rem,3.4vw,2.6rem)!important;color:#082F28!important;padding:0;margin:0 0 .4em}
.efs-final .efs-actions{justify-content:center;margin-top:1.4em}
.efs-table-wrap{overflow-x:auto;border:1px solid #DDE9E2;border-radius:16px;background:#fff}
.efs-table{width:100%;border-collapse:collapse;min-width:640px}
.efs-table th{background:#F1F8F4;color:#082F28;text-align:left;font-weight:700;padding:14px 18px;font-size:.92rem}
.efs-table td{padding:16px 18px;border-top:1px solid #DDE9E2;vertical-align:top;font-size:.98rem}
.efs-table td:first-child{font-weight:700;color:#082F28}
.efs-prose{max-width:760px;margin:0 auto}
.efs-prose p{margin:0 0 1.2em;line-height:1.75}
.efs-faq-list{max-width:820px;margin:0 auto}
.efs-faq-list details{background:#fff;border:1px solid #DDE9E2;border-radius:14px;margin:0 0 12px;transition:border-color .18s,box-shadow .18s}
.efs-faq-list details[open]{border-color:rgba(19,192,118,.5);box-shadow:0 10px 26px rgba(8,47,40,.07)}
.efs-faq-list summary{cursor:pointer;list-style:none;padding:20px 56px 20px 24px;font-weight:700;font-size:1.06rem;color:#082F28;position:relative;line-height:1.4}
.efs-faq-list summary::-webkit-details-marker{display:none}
.efs-faq-list summary::after{content:"";position:absolute;right:24px;top:50%;width:10px;height:10px;border-right:2.5px solid #06A15B;border-bottom:2.5px solid #06A15B;transform:translateY(-70%) rotate(45deg);transition:transform .18s}
.efs-faq-list details[open] summary::after{transform:translateY(-30%) rotate(-135deg)}
.efs-faq-list .efs-faq-a{padding:0 24px 22px;color:#26332E;line-height:1.75}
.efs-faq-list .efs-faq-a p{margin:0 0 .8em}
.efs-contact-card{display:flex;flex-direction:column;align-items:flex-start;text-decoration:none!important;color:inherit}
.efs-contact-card h3{margin-top:.8em!important}
.efs-contact-card .efs-link{margin-top:auto}
.efs-info{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.efs-info h3{font-size:1.1rem!important;color:#082F28!important;margin:0 0 .4em;padding:0}
.efs-info p{margin:0;color:#26332E;line-height:1.7}
.efs-form-card .et_pb_contact_form_container{padding:0}
.efs-page-form.et_pb_row{width:90%!important;max-width:760px!important}
.efs-page-form .et_pb_contact_field input,.efs-page-form .et_pb_contact_field textarea{border:1px solid #DDE9E2!important;border-radius:12px!important;padding:14px 16px!important;background:#fff!important;color:#26332E!important}
.efs-page-form .et_pb_contact_field input:focus,.efs-page-form .et_pb_contact_field textarea:focus{border-color:#13C076!important;outline:3px solid rgba(19,192,118,.25)}
.efs-page-form .et_contact_bottom_container .et_pb_button,.efs-page-form .et_pb_contact_submit{background:#06A15B!important;border:2px solid #06A15B!important;color:#fff!important;border-radius:999px!important;padding:.7em 1.6em!important;font-weight:700!important}
.efs-page-form .et_pb_button:hover{background:#04683D!important;border-color:#04683D!important}
.efs-value{display:flex;gap:16px}
.efs-stat{display:flex;gap:36px;flex-wrap:wrap;margin-top:1.8em}
.efs-stat b{display:block;font-size:2rem;color:#fff;line-height:1}
.efs-stat span{font-size:.88rem;color:rgba(255,255,255,.75)}
.efs-note{background:#F1F8F4;border-left:4px solid #13C076;border-radius:0 12px 12px 0;padding:14px 18px;font-size:.95rem;color:#26332E;margin:0 0 1.4em}
#how-it-works,#calculator,#products{scroll-margin-top:90px}
@media(max-width:1100px){.efs-grid--5{grid-template-columns:repeat(2,1fr)}.efs-grid--5>*,.efs-grid--5>*:nth-child(4),.efs-grid--5>*:nth-child(5){grid-column:auto}.efs-grid--4,.efs-steps{grid-template-columns:repeat(2,1fr)}}
@media(max-width:980px){.efs-hero-grid{grid-template-columns:1fr}.efs-grid--3{grid-template-columns:1fr 1fr}.efs-trust{grid-template-columns:1fr;margin-top:-36px;padding:20px 22px}}
@media(max-width:767px){.efs-grid--3,.efs-grid--2,.efs-grid--4,.efs-grid--5,.efs-steps,.efs-info{grid-template-columns:1fr}.efs-actions a.efs-btn{width:100%}.efs-cta-panel{border-radius:22px}.efs-faq-list summary{padding:18px 48px 18px 18px}.efs-faq-list .efs-faq-a{padding:0 18px 20px}}

.efs-card h3,.efs-step h3,.efs-info h3,.efs-hero-panel h3,.efs-faq-list summary{font-weight:700!important}
.efs-legal-content .efs-note{margin-bottom:2em}

.efs-calc-row{display:flex!important;flex-wrap:wrap;align-items:center;gap:clamp(24px,5vw,72px)}
.efs-calc-row>.et_pb_column{margin:0!important;float:none!important;width:auto!important;flex:1 1 360px;min-width:0}
.efs-calc-row>.efs-calc-compact{flex:0 1 480px;max-width:480px;width:100%!important;margin-left:auto!important;padding:clamp(18px,3vw,28px)}
.efs-calc-compact iframe{margin:0 auto}
@media(max-width:767px){.efs-calc-row>.efs-calc-compact{margin:0 auto!important;max-width:100%}}

.efs-result mark{padding:0!important}
.efs-search-head h1{font-weight:700!important}
.efs-site-header .et_pb_menu__search-button{color:#06A15B!important}
.efs-site-header .et_pb_menu__search-container{background:#fff}
.efs-site-header .et_pb_menu__search-input{color:#082F28!important;font-family:inherit}

.efs-site-header .et_pb_menu__search-input{border:1px solid #DDE9E2!important;border-radius:999px!important;padding:10px 20px!important;background:#fff!important;font-size:16px!important;box-shadow:none!important}
.efs-site-header .et_pb_menu__search-input:focus{border-color:#13C076!important;outline:3px solid rgba(19,192,118,.25)!important}
.efs-site-header .et_pb_menu__close-search-button{color:#06A15B!important}

/* hero banner image with green mask */
.efs-hero--dark{background:linear-gradient(100deg,rgba(8,47,40,.95) 0%,rgba(8,47,40,.88) 42%,rgba(4,104,61,.74) 100%),radial-gradient(900px 480px at 85% -10%,rgba(19,192,118,.35),transparent 60%),url(/wp-content/uploads/2026/10/home-banner.png) center/cover no-repeat #082F28!important}
@media(max-width:980px){.efs-hero--dark{background:linear-gradient(180deg,rgba(8,47,40,.9) 0%,rgba(4,104,61,.78) 100%),url(/wp-content/uploads/2026/10/home-banner.png) 70% center/cover no-repeat #082F28!important}}
/* header search icon */
.efs-site-header .et_pb_menu__search-button{transform:scaleX(-1)}
.efs-header-desktop .et_pb_menu__search-button{margin-left:22px}
.efs-header-mobile .et_pb_menu__icon{display:flex!important;align-items:center;gap:10px}
.efs-header-mobile .et_pb_menu__search-button{margin:0!important}

html body .efs-header-mobile .et_pb_menu .et_pb_menu__wrap .et_mobile_nav_menu{margin-left:0!important;margin-right:0!important}
html body .efs-header-mobile .et_pb_menu .et_pb_menu__wrap{gap:12px!important;align-items:center!important}

.efs-contact-card{position:relative;display:flex;flex-direction:column;align-items:flex-start}
.efs-contact-card .efs-link{margin-top:auto}
.efs-contact-card .efs-link::after{content:"";position:absolute;inset:0;border-radius:16px}



/* Fluent Forms: brand styling */
.efs-page-form .fluentform{font-family:inherit;color:#26332E}
.efs-page-form .fluentform .ff-el-input--label label{font-weight:600;color:#082F28;font-size:.95rem;margin-bottom:6px}
.efs-page-form .fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label:after{color:#B42318}
.efs-page-form .fluentform .ff-el-form-control{border:1px solid #DDE9E2;border-radius:12px;padding:14px 16px;background:#fff;color:#26332E;font-family:inherit;font-size:1rem;line-height:1.4;box-shadow:none;transition:border-color .18s,box-shadow .18s}
.efs-page-form .fluentform .ff-el-form-control:focus{border-color:#13C076;outline:3px solid rgba(19,192,118,.25);outline-offset:0;box-shadow:none;background:#fff;color:#26332E}
.efs-page-form .fluentform textarea.ff-el-form-control{min-height:150px}
.efs-page-form .fluentform .ff-el-group{margin-bottom:20px}
.efs-page-form .fluentform .ff-btn-submit{background:#06A15B;border:2px solid #06A15B;color:#fff;border-radius:999px;padding:.8em 1.9em;font-family:inherit;font-weight:700;font-size:1rem;line-height:1.25;box-shadow:0 8px 20px rgba(6,161,91,.22);opacity:1;transition:background .18s,transform .18s}
.efs-page-form .fluentform .ff-btn-submit:hover,.efs-page-form .fluentform .ff-btn-submit:focus-visible{background:#04683D;border-color:#04683D;color:#fff;opacity:1;transform:translateY(-1px)}
.efs-page-form .fluentform .ff-el-is-error .ff-el-form-control{border-color:#B42318}
.efs-page-form .fluentform .error.text-danger,.efs-page-form .fluentform .ff-el-is-error .text-danger{color:#B42318;font-size:.9rem;margin-top:6px}
.efs-page-form .ff-message-success,.efs-page-form .ff-errors-in-stack{background:#F1F8F4;border:1px solid #DDE9E2;border-left:4px solid #13C076;border-radius:12px;color:#26332E;padding:18px 20px;box-shadow:none;font-size:1rem}
.efs-page-form .ff-errors-in-stack{border-left-color:#B42318;background:#FFF5F4}
@media(max-width:767px){.efs-page-form .fluentform .ff-btn-submit{width:100%}}

.efs-page-form .fluentform .ff-btn-submit,.efs-page-form .fluentform .ff-btn-submit.ff-btn-md{background-color:#06A15B!important;border:2px solid #06A15B!important;color:#fff!important;border-radius:999px!important;padding:.8em 1.9em!important;font-weight:700!important;box-shadow:0 8px 20px rgba(6,161,91,.22)!important;opacity:1!important}
.efs-page-form .fluentform .ff-btn-submit:hover,.efs-page-form .fluentform .ff-btn-submit:focus-visible{background-color:#04683D!important;border-color:#04683D!important;color:#fff!important}
/* ===== EFS PAGES v1 END ===== */

/* CTA panel: secondary button legible on the dark panel */
.efs-cta-panel .efs-btn--secondary,body .efs-cta-panel .et_pb_button.efs-btn--secondary,a.efs-cta-panel .efs-btn--secondary{background:transparent !important;border-color:rgba(255,255,255,.7) !important;color:#fff !important;}
.efs-cta-panel .efs-btn--secondary:hover,.efs-cta-panel .efs-btn--secondary:focus-visible{background:#fff !important;border-color:#fff !important;color:var(--efs-ink,#082F28) !important;}

/* Footer: restore brand colours (module CSS is not generated on this site) */
footer.et-l--footer .efs-site-footer{background-color:var(--efs-ink,#082F28) !important;}
footer.et-l--footer .efs-site-footer .et_pb_module_header,footer.et-l--footer .efs-site-footer h4{color:var(--efs-mist,#F1F8F4) !important;}
footer.et-l--footer .efs-site-footer a{color:#fff !important;}
footer.et-l--footer .efs-site-footer a:hover,footer.et-l--footer .efs-site-footer a:focus-visible{color:var(--efs-emerald,#13C076) !important;}

/* Divi global colours that did not carry over in the staging sync (same ids as staging) */
:root{--gcid-1unw26ll79:#dde9e2;--gcid-3tp264625g:#04683d;--gcid-4ejau92g41:#082f28;--gcid-vqsjp2969j:#f1f8f4;--gcid-wxhprmfnij:#ffffff;}

/* Responsive sweep: tighter vertical rhythm on phones, bigger search tap target on phones and tablets */
@media (max-width:767px){
.et-l--post .et_builder_inner_content > .et_pb_section.efs-hero{padding-top:40px !important;padding-bottom:40px !important;}
.et-l--post .et_builder_inner_content > .et_pb_section:not(.efs-hero){padding-top:48px !important;padding-bottom:48px !important;}
}
@media (max-width:980px){
.et_pb_menu .et_pb_menu__search-button{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;}
}

/* Responsive sweep (2): trim the dead space between page intros and the content below */
@media (max-width:767px){
.et-l--post .et_builder_inner_content > .et_pb_section.efs-hero{padding-top:32px !important;padding-bottom:8px !important;}
.et-l--post .et_builder_inner_content > .et_pb_section:not(.efs-hero){padding-top:40px !important;padding-bottom:40px !important;}
}
@media (min-width:768px) and (max-width:980px){
.et-l--post .et_builder_inner_content > .et_pb_section.efs-hero{padding-bottom:24px !important;}
}

/* Loan cards: max amount and term pills */
.efs-loan-card__facts{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px;}
.efs-loan-card__facts .efs-pill{display:inline-flex;align-items:center;gap:5px;padding:6px 12px;border-radius:999px;background:var(--efs-mist,#F1F8F4);border:1px solid #DDE9E2;color:var(--efs-deep,#04683D);font-size:13px;font-weight:600;line-height:1.2;white-space:nowrap;}
.efs-loan-card__facts .efs-pill__label{font-weight:500;color:#4d5f58;}

@media (max-width:980px){
.efs-mobile-menu .et_mobile_menu{min-width:min(240px,calc(100vw - 32px)) !important;padding-bottom:14px !important;}
}

@media (max-width:980px){
.efs-mobile-menu .et_mobile_menu{left:auto !important;right:0 !important;}
}

/* Desktop nav: make room for the Calculator link (logo already links home) */
@media (min-width:981px){
.et_pb_menu_0_tb_header .et-menu > li{padding-left:7px !important;padding-right:7px !important;}
.et_pb_menu_0_tb_header .et-menu{margin-left:-7px !important;margin-right:-7px !important;}
.et_pb_menu_0_tb_header .et-menu > li.menu-item-home{display:none !important;}
}

/* The Calculator link points into the Loans page, so it should not look like the active page */
.et_pb_menu .et-menu a[href$="#calculator"],.et_pb_menu .et_mobile_menu a[href$="#calculator"]{color:var(--efs-ink,#082F28) !important;}
.et_pb_menu .et-menu a[href$="#calculator"]:hover,.et_pb_menu .et_mobile_menu a[href$="#calculator"]:hover{color:var(--efs-green,#06A15B) !important;}

html body .et_pb_menu.et_pb_menu .et_pb_menu__menu ul.et-menu li.menu-item.menu-item > a[href$="#calculator"],html body .et_pb_menu.et_pb_menu ul.et_mobile_menu li.menu-item.menu-item > a[href$="#calculator"]{color:var(--efs-ink,#082F28) !important;}
html body .et_pb_menu.et_pb_menu .et_pb_menu__menu ul.et-menu li.menu-item.menu-item > a[href$="#calculator"]:hover,html body .et_pb_menu.et_pb_menu ul.et_mobile_menu li.menu-item.menu-item > a[href$="#calculator"]:hover{color:var(--efs-green,#06A15B) !important;}

/* Mobile menu: Client Login and Apply Now stand out as buttons.
   Matched by link target, not by menu item ID, so they survive a menu rebuild. */
@media (max-width:980px){
.efs-mobile-menu .et_mobile_menu li:has(> a[href*="clients.emeraldfundingsols.com"]),.efs-mobile-menu .et_mobile_menu li:has(> a[href$="/online-loan-application/"]){padding:0 14px !important;margin:10px 0 0 !important;border:0 !important;background:none !important;}
.efs-mobile-menu .et_mobile_menu li:has(> a[href*="clients.emeraldfundingsols.com"]){margin-top:16px !important;}
.efs-mobile-menu .et_mobile_menu a[href*="clients.emeraldfundingsols.com"],.efs-mobile-menu .et_mobile_menu a[href$="/online-loan-application/"]{display:block !important;text-align:center !important;border-radius:999px !important;padding:12px 18px !important;font-weight:700 !important;line-height:1.2 !important;border:2px solid var(--efs-green,#06A15B) !important;}
.efs-mobile-menu .et_mobile_menu a[href*="clients.emeraldfundingsols.com"]{background:#fff !important;color:var(--efs-deep,#04683D) !important;}
.efs-mobile-menu .et_mobile_menu a[href$="/online-loan-application/"]{background:var(--efs-green,#06A15B) !important;color:#fff !important;box-shadow:0 6px 14px rgba(6,161,91,.28);}
.efs-mobile-menu .et_mobile_menu a[href*="clients.emeraldfundingsols.com"]:hover,.efs-mobile-menu .et_mobile_menu a[href*="clients.emeraldfundingsols.com"]:focus-visible{background:var(--efs-mist,#F1F8F4) !important;}
.efs-mobile-menu .et_mobile_menu a[href$="/online-loan-application/"]:hover,.efs-mobile-menu .et_mobile_menu a[href$="/online-loan-application/"]:focus-visible{background:var(--efs-deep,#04683D) !important;border-color:var(--efs-deep,#04683D) !important;}
}
