/* East Star Mortgage — one brand system for inner pages (2026-11-16).
   Generated by re-targeting the home page rules; remove this file's <link> to roll back. */
@font-face{font-family:'Fraunces';font-style:normal;font-weight:500 600;font-display:swap;src:url(/assets/fonts/fraunces-latin-ext-500-600.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:500 600;font-display:swap;src:url(/assets/fonts/fraunces-latin-500-600.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/inter-latin-ext-400-600.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/inter-latin-400-600.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
body:not(.home-premium){--es-navy:#0E2238;--es-navy-2:#16314F;--es-red:#D23A2E;--es-paper:#F7F3EC;--es-surface:#fff;--es-ink:#1A1A1A;--es-muted:#5B6472;--es-line:#E3DED5;--navy:var(--es-navy);--navy-2:var(--es-navy-2);--gold:var(--es-red);--gold-2:var(--es-red);--cream:var(--es-paper);--ink:var(--es-ink);--muted:var(--es-muted);--line:var(--es-line);--container:1200px;--radius:16px;--shadow-soft:0 1px 2px rgba(14,34,56,.06),0 12px 32px rgba(14,34,56,.08);font:400 16px/1.6 Inter,sans-serif;background:var(--es-paper);color:var(--es-ink)}
/* --- header, footer and consent prompt: same rules as the home page --- */
body:not(.home-premium) .site-header{background:#fff;border-bottom:1px solid var(--es-line);box-shadow:none}
body:not(.home-premium) .header-inner{min-height:88px;gap:24px}
body:not(.home-premium) .brand-logo{width:170px;height:auto}
body:not(.home-premium) .nav-trigger{font-size:13px;min-height:44px;font-weight:500;color:var(--es-navy)}
body:not(.home-premium) .nav-apply{background:var(--es-red)!important;color:#fff!important;border-radius:12px;min-height:44px;box-shadow:none;font-weight:600}
body:not(.home-premium) .language-switch{border:1px solid var(--es-line);background:var(--es-paper);padding:3px;box-shadow:none}
body:not(.home-premium) .language-button{min-height:44px;min-width:44px;font-size:12px}
body:not(.home-premium) .language-button[aria-pressed=true]{background:var(--es-navy);color:#fff;box-shadow:none}
body:not(.home-premium) .nav-apply:hover{background:#B8322A!important}
body:not(.home-premium) .site-footer{background:var(--es-navy);color:#e1e6ec}
body:not(.home-premium) .site-footer :is(h2,h3,.footer-brand-name){color:#fff}
body:not(.home-premium) .site-footer h2{font-family:Inter,sans-serif!important;font-size:17px;font-weight:600!important}
body:not(.home-premium) .site-footer :is(p,address,.footer-list,.legal-copy){color:#d9e2eb}
body:not(.home-premium) .ads-consent-banner{padding:16px 20px;border:1px solid var(--es-line);border-radius:16px;background:#fff;color:var(--es-navy);box-shadow:var(--shadow-soft)}
body:not(.home-premium) .ads-consent-copy strong{font-weight:600;font-size:14px}
body:not(.home-premium) .ads-consent-copy p{color:var(--es-muted);font-size:13px;line-height:1.5}
body:not(.home-premium) .ads-consent-button{min-height:44px;border-color:var(--es-navy);background:var(--es-navy);border-radius:8px;font-weight:600}
body:not(.home-premium) .ads-consent-button.secondary{background:#fff;color:var(--es-navy)}
@media(max-width:1100px) and (min-width:721px){body:not(.home-premium) .header-inner{gap:12px}
body:not(.home-premium) .brand-logo{width:145px}}
@media(max-width:720px){body:not(.home-premium) .header-inner{display:flex!important;min-height:64px!important;height:64px!important;gap:12px}
body:not(.home-premium) .brand-logo{width:132px!important;max-height:48px}
body:not(.home-premium) .header-controls{display:none!important}
body:not(.home-premium) .header-controls .phone-link{display:none}
body:not(.home-premium) .header-controls .language-switch{display:none!important}
body:not(.home-premium) .language-button{min-width:40px;padding:5px 8px;border-radius:8px}
body:not(.home-premium) .mobile-nav-toggle{order:3;width:44px!important;height:44px!important;min-height:44px;padding:10px!important;background:transparent!important;border:1px solid var(--es-line)!important;border-radius:10px!important;box-shadow:none;color:var(--es-navy)!important}
body:not(.home-premium) .mobile-nav-toggle span:not(.mobile-menu-glyph){background:var(--es-navy)!important}
body:not(.home-premium) .mobile-menu-glyph{display:none!important}
body:not(.home-premium) .site-footer{padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))}
body:not(.home-premium) .ads-consent-banner{left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom,0px));padding:8px;gap:6px;border-radius:14px;grid-template-columns:minmax(0,1fr)}
body:not(.home-premium) .ads-consent-copy strong{font-size:13px;line-height:16px;margin:0 0 2px}
body:not(.home-premium) .ads-consent-copy p{font-size:13px;line-height:16px;margin:0}
body:not(.home-premium) .ads-consent-button{font-size:14px;padding:0 12px;height:44px;min-height:44px}
body:not(.home-premium) .ads-consent-manage-footer{color:var(--es-navy)}}
body:not(.home-premium) .site-footer .footer-tagline{color:#e1e6ec!important}
body:not(.home-premium) .brand-logo{width:170px!important}
@media(max-width:720px){body:not(.home-premium) .header-inner{flex-direction:row!important;flex-wrap:nowrap!important;padding:0!important}
body:not(.home-premium) .header-controls{width:auto!important;flex:0 0 auto;gap:0}
body:not(.home-premium) .header-inner .brand{flex:0 1 132px}
body:not(.home-premium) .header-inner .brand-logo{width:132px!important}
body:not(.home-premium) .header-inner .language-button{min-width:44px}
body:not(.home-premium) .mobile-nav-toggle::before,body:not(.home-premium) .mobile-nav-toggle::after{background:var(--es-navy)!important}
body:not(.home-premium) .mobile-nav-toggle::before{box-shadow:0 -5.8px 0 var(--es-navy),0 5.8px 0 var(--es-navy)!important}
body:not(.home-premium) .desktop-nav{top:64px!important}
body:not(.home-premium) .ads-consent-copy p{font-size:13px}}
body:not(.home-premium) .site-footer address{white-space:pre-line}
body:not(.home-premium) .footer-brand-name{font-family:Inter,sans-serif;font-weight:600;font-size:24px;letter-spacing:-.01em}
body:not(.home-premium) .site-footer .equal-housing-logo{box-sizing:content-box;width:64px;height:auto;padding:10px;background:#fff;border-radius:10px;opacity:1;filter:none;mix-blend-mode:normal}
body:not(.home-premium) .site-footer .equal-housing-logo:hover{opacity:1;filter:none}
body:not(.home-premium) .site-footer .footer-copyright{color:#d9e2eb!important}
body:not(.home-premium) .site-footer .social-links a{opacity:1;color:#d9e2eb;border-color:#627387;background:transparent;box-shadow:none;width:44px;height:44px}
body:not(.home-premium) .ads-consent-manage.ads-consent-manage-footer{position:static;left:auto;bottom:auto;justify-self:start;min-height:44px;margin:0;box-shadow:none}
@media(max-width:720px){body:not(.home-premium) .header-inner{justify-content:space-between;align-items:center}
body:not(.home-premium) .mobile-nav-toggle{flex:0 0 44px;margin:0 0 0 auto;align-self:center}
body:not(.home-premium) .ads-consent-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body:not(.home-premium) .footer-grid{gap:40px}
body:not(.home-premium) .footer-bottom{width:calc(100% - 40px);margin-inline:auto;gap:24px}}
body:not(.home-premium) .site-footer>.ads-consent-manage.ads-consent-manage-footer{display:block;margin:8px 0 24px max(20px,calc((100% - 1200px)/2))!important}
@media(max-width:720px){body:not(.home-premium) .header-inner .brand{
    --mobile-logo-width:clamp(150px,42vw,176px);
    flex:0 0 var(--mobile-logo-width);width:var(--mobile-logo-width);padding:0;
  }
body:not(.home-premium) .header-inner img.brand-logo{
    width:var(--mobile-logo-width)!important;max-width:100%;height:auto;
    max-height:60px!important;display:block;
  }}
@media(max-width:720px){body:not(.home-premium) .site-footer{padding-top:48px!important}
body:not(.home-premium) .site-footer .footer-tagline{display:none!important}
body:not(.home-premium) .footer-grid{gap:24px!important}
body:not(.home-premium) .footer-brand-name{font-size:20px}
body:not(.home-premium) .site-footer :is(.footer-company address,.footer-contact .footer-list,.footer-contact .office-hours p){font-size:15px}
body:not(.home-premium) .site-footer .footer-licensing{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
body:not(.home-premium) .site-footer .footer-licensing :is(h2,p){flex:0 0 100%;margin:0}
body:not(.home-premium) .site-footer .social-links{margin:0}
body:not(.home-premium) .footer-bottom{gap:16px}
body:not(.home-premium) .site-footer .legal-copy{font-size:13px;line-height:1.55}}
@media(min-width:721px){html body:not(.home-premium) .ads-consent-banner.ads-consent-slim{left:auto;right:16px;bottom:16px;max-width:560px;margin:0;padding:10px 12px 10px 16px;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border-radius:12px;box-shadow:0 12px 32px rgba(6,27,49,.16)}
html body:not(.home-premium) .ads-consent-banner.ads-consent-slim .ads-consent-summary{display:block;min-height:44px;margin:0;padding:0;border:0;background:none;color:var(--es-navy);font:600 14px/1.3 Inter,sans-serif;text-align:left;cursor:pointer}
html body:not(.home-premium) .ads-consent-banner.ads-consent-slim .ads-consent-more{text-decoration:underline;text-underline-offset:2px;white-space:nowrap;font-weight:500}
html body:not(.home-premium) .ads-consent-banner.ads-consent-slim:not(.is-expanded) .ads-consent-copy{display:none}
html body:not(.home-premium) .ads-consent-banner.ads-consent-slim.is-expanded .ads-consent-copy{display:block;grid-column:1 / -1;padding-top:4px}
html body:not(.home-premium) .ads-consent-banner.ads-consent-slim .ads-consent-copy strong{display:block;margin:0 0 4px;font-size:13px}
html body:not(.home-premium) .ads-consent-banner.ads-consent-slim .ads-consent-copy p{display:block;font-size:13px;line-height:1.5}
html body:not(.home-premium) .ads-consent-banner.ads-consent-slim .ads-consent-actions{grid-column:2;grid-row:1}
html body:not(.home-premium) .ads-consent-banner.ads-consent-slim .ads-consent-button{min-height:40px;padding:0 14px;font-size:13px}}
@media(max-width:720px){body:not(.home-premium) .site-footer a{display:inline-block;padding:6px 0}}
@media(min-width:721px){html body:not(.home-premium) .ads-consent-banner.ads-consent-slim{left:16px;right:auto}}
@media(max-width:720px){body:not(.home-premium) .site-footer .footer-contact .footer-list{display:grid;grid-template-columns:1fr 1fr;column-gap:16px}
body:not(.home-premium) .site-footer .footer-grid{row-gap:20px}}
/* --- inner-page specifics --- */
body:not(.home-premium){font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
body:not(.home-premium) :is(h1,h2){font-family:Fraunces,Georgia,serif;font-weight:500;letter-spacing:-.01em;line-height:1.1}
body:not(.home-premium) h3{font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-weight:600;letter-spacing:-.005em;line-height:1.3}
html[lang="zh-Hant"] body:not(.home-premium) :is(h1,h2,h3):not(.site-footer *){text-wrap:balance;font-family:'Songti TC','PMingLiU','Noto Serif TC',serif;font-weight:600;letter-spacing:0;line-height:1.25}
/* headings sized for Fraunces rather than the old condensed serif */
body:not(.home-premium) .program-hero h1{font-size:clamp(2.4rem,4.72vw,4.25rem);line-height:1.07;letter-spacing:-.01em;max-width:720px}
html[lang="zh-Hant"] body:not(.home-premium) .program-hero h1{font-size:clamp(2rem,4vw,3.5rem);line-height:1.2}
/* dark hero: readable eyebrow and card title, red primary action as on the home page */
body:not(.home-premium) .program-hero .eyebrow{color:#e1e6ec}
body:not(.home-premium) .program-hero-card strong{color:#fff}
body:not(.home-premium) .program-hero .button.primary,body:not(.home-premium) .program-final-cta .button.primary{background:var(--es-red);color:#fff;border-color:var(--es-red);box-shadow:none}
body:not(.home-premium) .program-hero .button.primary:hover,body:not(.home-premium) .program-final-cta .button.primary:hover{background:#b8322a;color:#fff}
body:not(.home-premium) .button{border-radius:10px;font-weight:600}
/* phones: text first, card second in the hero; the action bar matches the home page bar */
@media(max-width:860px){
  body:not(.home-premium) .program-hero-card{order:2}
}
@media(max-width:720px){
  body:not(.home-premium) .mobile-sticky-resource-cta{left:0;right:0;bottom:0;width:100%;max-width:none;margin:0;transform:none;grid-template-columns:1.2fr 1fr 1fr;gap:8px;padding:8px 16px calc(8px + env(safe-area-inset-bottom,0px));border:0;border-top:1px solid #42576b;border-radius:0;background:#0E2238;box-shadow:none;backdrop-filter:none}
  body:not(.home-premium) .mobile-sticky-resource-cta.is-hero-cta-visible{transform:translateY(calc(100% + 16px))}
  body:not(.home-premium) .mobile-sticky-resource-cta a{min-height:52px;border-radius:10px;background:transparent;color:#fff;font-size:13px;font-weight:600;white-space:normal;line-height:1.2}
  body:not(.home-premium) .mobile-sticky-resource-cta a:first-child{background:var(--es-red);color:#fff}
  body:not(.home-premium) .mobile-sticky-resource-cta a:last-child{background:transparent;color:#fff}
}
@media(max-width:720px){
  body:not(.home-premium) .mobile-sticky-resource-cta.authority-sticky-cta{width:100%!important;max-width:none}
  body:not(.home-premium) .authority-sticky-cta a:nth-child(n){border:0;white-space:normal}
  body:not(.home-premium) .authority-sticky-cta a:nth-child(1){background:var(--es-red);color:#fff}
  body:not(.home-premium) .authority-sticky-cta a:nth-child(2),body:not(.home-premium) .authority-sticky-cta a:nth-child(3){background:transparent;color:#fff}
}
/* single-column articles (privacy policy): the lone card uses the full width with article-sized headings */
body:not(.home-premium) .authority-article-grid>.authority-article-card:only-child{grid-column:1/-1;max-width:880px}
body:not(.home-premium) .authority-article-grid>.authority-article-card:only-child h2{font-size:clamp(1.35rem,2.2vw,1.75rem);line-height:1.25;margin:2rem 0 .6rem}
body:not(.home-premium) .authority-article-grid>.authority-article-card:only-child h3{font-size:1.1rem;margin:1.4rem 0 .4rem}
/* hero photos on inner pages */
.page-hero-photo{margin:0}
.page-hero-photo img{display:block;width:100%;height:auto;aspect-ratio:8/5;object-fit:cover;border-radius:16px}
.page-hero-photo figcaption{margin-top:6px;font-size:11px;letter-spacing:.04em;color:#8a94a3}
.program-hero-card .page-hero-photo{margin:0 0 18px}
.program-hero-card .page-hero-photo figcaption{color:rgba(255,255,255,.6)}
@media(min-width:900px){
  .tools-hero-card.has-hero-photo{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);column-gap:clamp(24px,4vw,56px);align-items:start}
  .tools-hero-card.has-hero-photo>*{grid-column:1}
  .tools-hero-card.has-hero-photo>.page-hero-photo{grid-column:2;grid-row:1/span 12;align-self:center}
}
@media(max-width:899px){
  .tools-hero-card.has-hero-photo>.page-hero-photo{margin-top:20px}
  .page-hero-photo img{aspect-ratio:16/9}
}
/* footer office line */
.site-footer .footer-office-phone span{color:#d9e2eb;font-weight:400}
