:root{--erc-navy:#1b1848;--erc-navy-2:#25215e;--erc-green:#7aa033;--erc-green-dark:#648426;--erc-ink:#1d2433;--erc-muted:#687182;--erc-line:#e3e7eb;--erc-soft:#f5f7f8;--erc-white:#fff}
html{scroll-behavior:smooth}body.de_light,body.erc-modern{background:#fff;color:var(--erc-ink);font-family:Lato,Arial,sans-serif;font-size:16px;line-height:1.7}#wrapper{background:#fff}.erc-section-inner{width:100%;max-width:none;margin:0 auto;padding-left:clamp(24px,4vw,72px);padding-right:clamp(24px,4vw,72px)}
.erc-header{position:relative;z-index:1000;width:100%;background:#fff;border-bottom:1px solid rgba(27,24,72,.08);box-shadow:0 5px 25px rgba(18,24,36,.06)}.erc-header-inner{min-height:98px;padding:0 clamp(20px,3vw,52px);display:grid;grid-template-columns:minmax(210px,280px) 1fr auto;align-items:center;gap:24px}.erc-logo{display:flex;align-items:center;justify-content:flex-start}.erc-logo img{display:block;max-width:245px;width:100%;height:auto}.erc-primary-nav{justify-self:center}.erc-nav-list,.erc-nav-list ul{list-style:none;margin:0;padding:0}.erc-nav-list{display:flex;align-items:center;justify-content:center;gap:clamp(14px,1.7vw,28px)}.erc-nav-list>li{position:relative}.erc-nav-list>li>a,.erc-nav-trigger-row>a{display:flex;align-items:center;min-height:98px;color:var(--erc-navy);font-size:14px;font-weight:700;letter-spacing:.01em;text-transform:uppercase;text-decoration:none;white-space:nowrap}.erc-nav-list>li>a:hover,.erc-nav-trigger-row>a:hover{color:var(--erc-green)}.erc-nav-trigger-row{display:flex;align-items:center}.erc-submenu-toggle{border:0;background:transparent;color:var(--erc-navy);padding:10px 0 10px 7px;cursor:pointer}.erc-submenu{position:absolute;left:50%;top:calc(100% - 13px);transform:translateX(-50%) translateY(10px);min-width:245px;padding:10px 0!important;background:#fff;border-top:3px solid var(--erc-green);box-shadow:0 16px 40px rgba(20,25,45,.16);opacity:0;visibility:hidden;transition:.2s ease}.erc-submenu:before{content:"";position:absolute;left:0;right:0;top:-16px;height:16px}.erc-submenu li a{display:block;padding:10px 20px;color:#283041;font-size:13px;font-weight:600;line-height:1.4;text-decoration:none}.erc-submenu li a:hover{background:var(--erc-soft);color:var(--erc-green-dark)}@media(min-width:1101px){.erc-has-submenu:hover>.erc-submenu{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}}.erc-header-cta{display:inline-flex;align-items:center;gap:9px;background:var(--erc-green);color:#fff!important;padding:13px 18px;border-radius:4px;font-weight:800;font-size:13px;text-transform:uppercase;letter-spacing:.04em;text-decoration:none;white-space:nowrap}.erc-header-cta:hover{background:var(--erc-green-dark);color:#fff!important}.erc-menu-toggle{display:none}
.erc-hero{position:relative;min-height:680px;display:flex;align-items:center;background:url('../images/slider/wide1.jpg') center/cover no-repeat;color:#fff;overflow:hidden}.erc-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,19,54,.93) 0%,rgba(20,19,54,.79) 48%,rgba(20,19,54,.42) 100%)}.erc-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr);gap:clamp(40px,6vw,90px);align-items:center;padding-top:80px;padding-bottom:80px}.erc-hero-copy{max-width:800px}.erc-eyebrow{font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#c7df94;margin-bottom:14px}.erc-eyebrow-dark{color:var(--erc-green-dark)}.erc-hero h1{margin:0 0 22px;color:#fff;font-size:clamp(42px,5vw,72px);line-height:1.04;letter-spacing:-.035em;font-weight:700}.erc-hero-copy>p{max-width:720px;margin:0 0 30px;font-size:clamp(18px,1.7vw,23px);line-height:1.6;color:rgba(255,255,255,.84)}.erc-hero-actions{display:flex;gap:12px;flex-wrap:wrap}.erc-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 23px;border-radius:4px;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;text-decoration:none!important;transition:.2s ease}.erc-btn-primary{background:var(--erc-green);color:#fff!important}.erc-btn-primary:hover{background:var(--erc-green-dark)}.erc-btn-outline{border:1px solid rgba(255,255,255,.55);color:#fff!important;background:rgba(255,255,255,.04)}.erc-btn-outline:hover{background:#fff;color:var(--erc-navy)!important}.erc-btn-light{background:#fff;color:var(--erc-navy)!important}.erc-btn-outline-light{border:1px solid rgba(255,255,255,.6);color:#fff!important}.erc-hero-meta{display:flex;flex-wrap:wrap;gap:22px;margin-top:35px;font-size:13px;color:rgba(255,255,255,.74)}.erc-hero-meta i{color:#c7df94;margin-right:6px}.erc-calculator-card{background:rgba(255,255,255,.97);color:var(--erc-ink);padding:32px;border-radius:8px;box-shadow:0 22px 60px rgba(7,9,26,.3)}.erc-calculator-kicker{font-size:11px;color:var(--erc-green-dark);font-weight:800;text-transform:uppercase;letter-spacing:.14em}.erc-calculator-card h2{margin:6px 0 7px;color:var(--erc-navy);font-size:27px;line-height:1.2}.erc-calculator-card>p{color:var(--erc-muted);font-size:14px;margin-bottom:20px}.erc-calculator-form label{display:block;color:#3e4655;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;margin:12px 0 5px}.erc-calculator-form .form-control{width:100%;height:46px;border:1px solid #d8dde3;background:#fff;border-radius:3px;box-shadow:none;padding:9px 12px;font-size:16px}.erc-calc-button{width:100%;min-height:48px;margin-top:16px;border:0;border-radius:3px;background:var(--erc-green);color:#fff;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;cursor:pointer}.erc-calc-button:hover{background:var(--erc-green-dark)}.erc-cal-result{display:none;margin-top:16px;padding:13px;background:#f0f5e6;color:var(--erc-navy);border-left:3px solid var(--erc-green);font-weight:700}.erc-calc-note{margin-top:12px;color:#7a8290;font-size:11px;line-height:1.45}
.erc-section{padding:clamp(70px,7vw,110px) 0}.erc-section-heading{margin-bottom:40px}.erc-section-heading h2,.erc-about-copy h2,.erc-feature-copy h2,.erc-cta-inner h2{color:var(--erc-navy);font-size:clamp(32px,3.4vw,48px);line-height:1.15;letter-spacing:-.025em;margin:0}.erc-heading-row{display:flex;align-items:flex-end;justify-content:space-between;gap:30px}.erc-text-link{display:inline-flex;align-items:center;gap:9px;color:var(--erc-green-dark)!important;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;text-decoration:none!important}.erc-news-section{background:#f5f7f8}.erc-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.erc-resource-card{background:#fff;border:1px solid var(--erc-line);min-width:0;transition:.2s ease}.erc-resource-card:hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(24,28,42,.09)}.erc-resource-image{display:block;aspect-ratio:16/9;overflow:hidden;background:#e9ecef}.erc-resource-image img{width:100%;height:100%;object-fit:cover;transition:.35s ease}.erc-resource-card:hover .erc-resource-image img{transform:scale(1.035)}.erc-resource-body{padding:24px}.erc-card-label{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:var(--erc-green-dark);margin-bottom:8px}.erc-resource-body h3{font-size:21px;line-height:1.3;margin:0 0 10px}.erc-resource-body h3 a{color:var(--erc-navy);text-decoration:none}.erc-resource-excerpt{color:var(--erc-muted);font-size:14px;line-height:1.65}.erc-resource-excerpt p{margin-bottom:10px}.erc-card-link{display:inline-flex;gap:8px;align-items:center;margin-top:12px;color:var(--erc-green-dark)!important;font-size:12px;font-weight:800;text-transform:uppercase;text-decoration:none!important}
.erc-about-section{background:#fff}.erc-about-grid{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr);gap:clamp(50px,7vw,110px);align-items:center}.erc-about-photo-wrap{position:relative;max-width:520px}.erc-about-photo{display:block;width:100%;height:auto;position:relative;z-index:2}.erc-photo-accent{position:absolute;left:-18px;bottom:-18px;width:75%;height:76%;background:var(--erc-green);z-index:1}.erc-experience-badge{position:absolute;right:-18px;bottom:30px;z-index:3;background:var(--erc-navy);color:#fff;padding:19px 24px;box-shadow:0 14px 30px rgba(27,24,72,.2)}.erc-experience-badge strong{display:block;font-size:23px;color:#fff;line-height:1}.erc-experience-badge span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:rgba(255,255,255,.7)}.erc-prose{color:#4d5665;font-size:16px;line-height:1.8}.erc-prose h1,.erc-prose h2,.erc-prose h3,.erc-prose h4{color:var(--erc-navy);line-height:1.25}.erc-prose a{color:var(--erc-green-dark)}.erc-prose img{max-width:100%;height:auto}.erc-about-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:26px}
.erc-feature-band{background:var(--erc-navy);color:#fff}.erc-feature-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);gap:60px;align-items:center}.erc-feature-copy h2{color:#fff;margin-bottom:20px}.erc-prose-light{color:rgba(255,255,255,.76)}.erc-prose-light *{color:inherit!important}.erc-feature-image img{width:100%;display:block;max-height:430px;object-fit:cover}.erc-feature-copy .erc-btn{margin-top:22px}
.erc-cta-section{background:var(--erc-green);color:#fff;padding:58px 0}.erc-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:40px}.erc-cta-inner h2{color:#fff;font-size:clamp(30px,3vw,42px);margin-bottom:8px}.erc-cta-inner p{margin:0;color:rgba(255,255,255,.86)}.erc-cta-inner .erc-eyebrow{color:rgba(255,255,255,.7)}.erc-cta-actions{display:flex;gap:10px;flex-shrink:0}
.erc-loans-section{background:#fff}.erc-heading-center{text-align:center;max-width:760px;margin-left:auto;margin-right:auto}.erc-heading-center p{color:var(--erc-muted);font-size:17px;margin:14px auto 0}.erc-loan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--erc-line);border-left:1px solid var(--erc-line)}.erc-loan-card{position:relative;min-height:250px;padding:34px;background:#fff;border-right:1px solid var(--erc-line);border-bottom:1px solid var(--erc-line);text-decoration:none!important;transition:.2s ease}.erc-loan-card>span{font-size:11px;font-weight:800;letter-spacing:.14em;color:var(--erc-green-dark)}.erc-loan-card h3{color:var(--erc-navy);font-size:25px;margin:30px 0 9px}.erc-loan-card p{color:var(--erc-muted);font-size:14px;line-height:1.65;max-width:330px}.erc-loan-card>i{position:absolute;right:28px;bottom:28px;color:var(--erc-green)}.erc-loan-card:hover{background:var(--erc-navy)}.erc-loan-card:hover h3,.erc-loan-card:hover p,.erc-loan-card:hover i{color:#fff}.erc-loan-card-wide{grid-column:span 3;min-height:180px}.erc-loan-card-wide h3{margin-top:18px}
.erc-page-hero{position:relative;min-height:330px;display:flex;align-items:flex-end;background-size:cover;background-position:center;color:#fff}.erc-page-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(27,24,72,.9),rgba(27,24,72,.58))}.erc-page-hero .erc-section-inner{position:relative;z-index:2;padding-top:110px;padding-bottom:58px}.erc-page-hero h1{font-size:clamp(38px,4vw,58px);line-height:1.05;color:#fff;margin:0}.erc-page-content-section{background:#fff}.erc-page-content{width:100%;max-width:none}.erc-page-content>h2:first-child{margin-top:0}
.erc-footer{background:#151330;color:rgba(255,255,255,.7);padding-top:74px}.erc-footer-grid{display:grid;grid-template-columns:1.35fr .85fr .75fr 1fr;gap:clamp(30px,4vw,70px);padding-bottom:64px}.erc-footer-brand img{max-width:245px;background:#fff;padding:8px}.erc-footer-brand p{max-width:420px;margin-top:20px;line-height:1.75}.erc-footer-license{font-size:12px;color:#aeb3c4;margin-top:16px}.erc-footer h3{color:#fff;font-size:16px;margin:7px 0 18px;text-transform:uppercase;letter-spacing:.06em}.erc-footer ul{list-style:none;margin:0;padding:0}.erc-footer li{margin:0 0 8px}.erc-footer a{color:rgba(255,255,255,.72);text-decoration:none}.erc-footer a:hover{color:#c7df94}.erc-footer-contact p{line-height:1.7}.erc-socials{display:flex;gap:8px;margin-top:18px}.erc-socials a{display:flex;width:38px;height:38px;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.18);border-radius:50%}.erc-subfooter{border-top:1px solid rgba(255,255,255,.1);padding:20px 0;font-size:12px}.erc-subfooter-inner{display:flex;justify-content:space-between;gap:25px;align-items:center}
@media(max-width:1240px){.erc-header-inner{grid-template-columns:220px 1fr auto;gap:16px}.erc-nav-list{gap:14px}.erc-nav-list>li>a,.erc-nav-trigger-row>a{font-size:12px}.erc-header-cta{padding:12px 14px;font-size:11px}}
@media(max-width:1100px){.erc-header-inner{min-height:82px;grid-template-columns:1fr auto;position:relative}.erc-logo img{max-width:220px}.erc-menu-toggle{display:flex;width:46px;height:46px;border:1px solid #dce1e5;background:#fff;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:0;cursor:pointer}.erc-menu-toggle span{display:block;width:22px;height:2px;background:var(--erc-navy)}.erc-header-cta{display:none}.erc-primary-nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-top:1px solid #e8ebee;box-shadow:0 16px 30px rgba(20,24,40,.12);justify-self:stretch;max-height:calc(100vh - 82px);overflow:auto}.erc-primary-nav.is-open{display:block}.erc-nav-list{display:block;padding:10px 20px 22px}.erc-nav-list>li{border-bottom:1px solid #edf0f2}.erc-nav-list>li>a,.erc-nav-trigger-row>a{min-height:52px;font-size:14px;text-transform:none}.erc-nav-trigger-row{justify-content:space-between}.erc-nav-trigger-row>a{flex:1}.erc-submenu-toggle{display:flex;width:48px;height:48px;align-items:center;justify-content:center}.erc-submenu{display:none;position:static;transform:none!important;opacity:1;visibility:visible;box-shadow:none;border:0;border-left:2px solid var(--erc-green);margin:0 0 12px 10px!important;padding:4px 0!important;min-width:0}.erc-has-submenu.is-open>.erc-submenu{display:block}.erc-submenu li a{padding:9px 16px;font-size:13px}.erc-hero-grid{grid-template-columns:1fr;max-width:850px;margin:0 auto}.erc-calculator-card{max-width:620px}.erc-resource-grid{grid-template-columns:repeat(2,1fr)}.erc-footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:767px){.erc-section-inner{padding-left:20px;padding-right:20px}.erc-header-inner{padding:0 18px}.erc-logo img{max-width:190px}.erc-hero{min-height:0}.erc-hero-grid{padding-top:60px;padding-bottom:60px;gap:34px}.erc-hero h1{font-size:42px}.erc-hero-copy>p{font-size:17px}.erc-hero-meta{gap:10px 18px}.erc-calculator-card{padding:24px}.erc-heading-row,.erc-cta-inner,.erc-subfooter-inner{display:block}.erc-heading-row .erc-text-link{margin-top:18px}.erc-resource-grid,.erc-about-grid,.erc-feature-grid,.erc-loan-grid,.erc-footer-grid{grid-template-columns:1fr}.erc-resource-grid{gap:18px}.erc-about-grid{gap:48px}.erc-about-photo-wrap{max-width:430px}.erc-experience-badge{right:-5px}.erc-feature-grid{gap:35px}.erc-cta-actions{margin-top:25px;flex-wrap:wrap}.erc-loan-card-wide{grid-column:span 1}.erc-footer-grid{gap:36px}.erc-subfooter-inner>div+div{margin-top:8px}.erc-page-hero{min-height:260px}.erc-page-hero .erc-section-inner{padding-top:85px;padding-bottom:42px}}

/* ==================================================
   BLOG LISTING — MATCH HOMEPAGE RESOURCE CARDS
   ================================================== */
.erc-blog-listing{width:100%;}
.erc-blog-grid{width:100%;margin:0;}
.erc-blog-listing .pagination,
.erc-blog-listing ul.pagination{margin-top:36px;}
.erc-blog-listing .erc-resource-card{height:100%;display:flex;flex-direction:column;}
.erc-blog-listing .erc-resource-body{display:flex;flex:1;flex-direction:column;}
.erc-blog-listing .erc-resource-excerpt{flex:1;}
.erc-blog-listing .erc-card-link{align-self:flex-start;}


/* =========================================================
   EDGEWATER MODERN V3 — SECTION SURFACES / VISUAL RHYTHM
   Keeps the full-width layout while separating long content
   areas with a restrained brand-based background system.
   ========================================================= */

:root {
    --ew-surface-white: #ffffff;
    --ew-surface-warm: #f7f6f3;
    --ew-surface-blue: #eef4f8;
    --ew-surface-blue-strong: #e5eef5;
}

/* Full-width sections keep their backgrounds edge-to-edge.
   Inner content remains comfortably padded. */
main section,
#content section {
    position: relative;
}

.ew-section-soft,
.section-soft,
.section-light,
#section-news,
#section-blog {
    background-color: var(--ew-surface-warm);
}

.ew-section-blue,
.section-blue-soft {
    background-color: var(--ew-surface-blue);
}

/* Homepage: Mortgage News / Resources */
body.home #section-news,
body.home .edgewater-news-section,
body.home .mortgage-news-section {
    background-color: var(--ew-surface-warm);
}

/* Homepage long-form mortgage / service-area content */
body.home .edgewater-local-content,
body.home .mortgage-broker-content,
body.home .seo-content-section {
    background-color: var(--ew-surface-blue);
}

/* Mortgage products get a soft neutral field so white cards pop. */
body.home .edgewater-products,
body.home .mortgage-products-section,
body.home #section-services {
    background-color: var(--ew-surface-warm);
}

/* Blog listing: same visual family as homepage cards. */
body.blog-page #content,
body.blog-page .blog-listing,
.edgewater-blog-page {
    background-color: var(--ew-surface-warm);
}

/* Generic inner-page content treatment. Alternating sections can opt in
   without changing legacy ASP markup. */
.edgewater-soft-panel {
    background: var(--ew-surface-blue);
    border: 1px solid rgba(26, 67, 94, .08);
    border-radius: 18px;
    padding: clamp(28px, 4vw, 56px);
}

.edgewater-warm-panel {
    background: var(--ew-surface-warm);
    border-radius: 18px;
    padding: clamp(28px, 4vw, 56px);
}

/* Give cards definition against tinted surfaces without making them heavy. */
.edgewater-news-card,
.edgewater-blog-card,
.edgewater-product-card,
.mortgage-resource-card,
.news-card {
    background: #fff;
}

/* More intentional spacing at transitions between major homepage bands. */
body.home main section,
body.home #content > section {
    padding-top: clamp(64px, 7vw, 100px);
    padding-bottom: clamp(64px, 7vw, 100px);
}

/* Don't double-pad the hero/header or compact CTA bands. */
body.home .edgewater-hero,
body.home #section-welcome,
body.home .hero-section {
    padding-top: 0;
    padding-bottom: 0;
}

body.home .edgewater-cta,
body.home .cta-section {
    padding-top: clamp(48px, 5vw, 72px);
    padding-bottom: clamp(48px, 5vw, 72px);
}

@media (max-width: 767px) {
    .edgewater-soft-panel,
    .edgewater-warm-panel {
        border-radius: 12px;
        padding: 24px 20px;
    }

    body.home main section,
    body.home #content > section {
        padding-top: 52px;
        padding-bottom: 52px;
    }
}


/* =========================================================
   EDGEWATER MODERN V4 — PRE-QUALIFICATION / ABOUT BANDS
   Adds visual separation to the two remaining white bands
   visible between the main homepage content sections.
   ========================================================= */

/* About / lender image band */
body.home .edgewater-about,
body.home .about-section,
body.home #section-about {
    background-color: #eef4f8 !important;
}

/* Pre-qualification prompt / action band */
body.home .edgewater-prequal,
body.home .prequal-section,
body.home .prequalification-section,
body.home #section-prequal,
body.home #section-prequalification {
    background-color: #f7f6f3 !important;
}

/* Generic homepage bands containing the pre-qualification CTAs.
   Classes are added to index.asp below for precise targeting. */
body.home .ew-about-band {
    background-color: #eef4f8 !important;
}

body.home .ew-prequal-band {
    background-color: #f3f6f8 !important;
}

/* Keep the transition polished across the full viewport. */
body.home .ew-about-band,
body.home .ew-prequal-band {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* If these areas contain cards/images, keep them crisp on the tint. */
body.home .ew-about-band img {
    display: block;
}

@media (max-width: 767px) {
    body.home .ew-about-band,
    body.home .ew-prequal-band {
        padding-top: 52px;
        padding-bottom: 52px;
    }
}

/* =========================================================
   EDGEWATER MODERN V5 — SEO LOCATION MORTGAGE CALCULATOR
   Replaces the legacy third-party iframe on location pages.
   ========================================================= */
.erc-seo-calculator-wrap{margin:30px 0 55px;padding:clamp(24px,3vw,42px);background:#eef4f8;border:1px solid rgba(20,19,54,.08);border-radius:12px}
.erc-seo-calculator-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,460px);gap:clamp(28px,5vw,70px);align-items:center}
.erc-seo-calculator-copy h2{margin:0 0 14px;color:var(--erc-navy);font-size:clamp(28px,3vw,42px);line-height:1.15}
.erc-seo-calculator-copy p{margin:0;color:var(--erc-muted);font-size:17px;line-height:1.7;max-width:720px}
.erc-seo-calculator-copy .erc-eyebrow{margin-bottom:12px}
.erc-seo-calculator-card{background:#fff;color:var(--erc-ink);padding:28px;border-radius:8px;box-shadow:0 16px 38px rgba(20,19,54,.10)}
.erc-seo-calculator-card h3{margin:5px 0 6px;color:var(--erc-navy);font-size:25px;line-height:1.2}
.erc-seo-calculator-card>p{margin:0 0 18px;color:var(--erc-muted);font-size:14px}
.erc-seo-calculator-card .erc-calculator-form label{margin-top:11px}
@media(max-width:900px){.erc-seo-calculator-grid{grid-template-columns:1fr}.erc-seo-calculator-card{max-width:620px}}
@media(max-width:767px){.erc-seo-calculator-wrap{margin:22px 0 40px;padding:22px 18px}.erc-seo-calculator-card{padding:22px}}


/* =========================================================
   SEO DRIVER FIX — INDEPENDENT OF LEGACY .de_light
   ========================================================= */
body.erc-modern,
body.erc-seo-page{
    margin:0;
    background:#fff;
    color:var(--erc-ink);
    font-family:Lato,Arial,sans-serif;
    font-size:16px;
    line-height:1.7;
}

body.erc-seo-page #wrapper{
    width:100%;
    background:#fff;
    overflow:hidden;
}

body.erc-seo-page #content{
    width:100%;
    background:#fff;
    color:var(--erc-ink);
}

body.erc-seo-page #subheader{
    min-height:300px;
    margin:0;
    padding:0;
    display:flex;
    align-items:flex-end;
    position:relative;
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
    border:0;
}

body.erc-seo-page #subheader:before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(20,19,54,.90),rgba(20,19,54,.60));
}

body.erc-seo-page #subheader .container{
    width:100%;
    max-width:none;
    position:relative;
    z-index:2;
    padding:72px clamp(24px,4vw,72px) 42px;
}

body.erc-seo-page #subheader .row{
    margin:0;
}

body.erc-seo-page #subheader .col-md-12{
    padding:0;
}

body.erc-seo-page #subheader h1{
    margin:0 0 10px;
    color:#fff;
    font-size:clamp(36px,4.2vw,64px);
    line-height:1.08;
    font-weight:700;
    text-transform:none;
}

body.erc-seo-page #subheader .crumb{
    margin:0;
    padding:0;
    list-style:none;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    color:rgba(255,255,255,.75);
}

body.erc-seo-page #subheader .crumb li{
    margin:0;
    color:rgba(255,255,255,.75);
}

body.erc-seo-page #subheader .crumb a{
    color:#fff;
    text-decoration:none;
}

body.erc-seo-page #subheader .crumb a:hover{
    color:#c7df94;
}

body.erc-seo-page .erc-seo-content .container{
    width:100%;
    max-width:none;
    padding-left:clamp(24px,4vw,72px);
    padding-right:clamp(24px,4vw,72px);
}

body.erc-seo-page h1,
body.erc-seo-page h2,
body.erc-seo-page h3,
body.erc-seo-page h4,
body.erc-seo-page h5,
body.erc-seo-page h6{
    color:var(--erc-navy);
}

body.erc-seo-page p,
body.erc-seo-page li{
    color:var(--erc-ink);
}

body.erc-seo-page a{
    color:var(--erc-green-dark);
}

body.erc-seo-page .erc-cta,
body.erc-seo-page .erc-footer{
    color:#fff;
}

body.erc-seo-page .erc-cta h2,
body.erc-seo-page .erc-cta p,
body.erc-seo-page .erc-footer h3,
body.erc-seo-page .erc-footer p,
body.erc-seo-page .erc-footer li{
    color:inherit;
}

/* Keep the new calculator as a full-width modern content band. */
body.erc-seo-page .erc-seo-calculator-wrap{
    border-radius:0;
    border-left:0;
    border-right:0;
    margin-top:0;
    padding-left:clamp(24px,4vw,72px);
    padding-right:clamp(24px,4vw,72px);
}

@media(max-width:767px){
    body.erc-seo-page #subheader{
        min-height:235px;
    }

    body.erc-seo-page #subheader .container{
        padding-top:54px;
        padding-bottom:30px;
    }

    body.erc-seo-page #subheader h1{
        font-size:36px;
    }
}
