/* One readable company attribution; individual loan officer licensing stays separate. */
body .company-attribution,
body .site-footer .footer-final-name{white-space:normal;overflow-wrap:anywhere;line-height:1.5}
body .site-header,
body.home-page .site-header,
body .guide-header{height:auto;min-height:100px;align-items:center;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}
body .site-header .brand,
body.home-page .site-header .brand,
body .guide-header .brand{width:190px;flex:0 1 190px;min-width:0;max-width:100%;margin-block:0}
body .site-header .brand img,
body .guide-header .brand img{width:132px;max-width:100%;height:auto;margin-inline:auto}
body .brand .brand-nmls,
body .site-footer .footer-brand .brand-nmls{display:block;font:600 12px/1.5 var(--sans,Arial,sans-serif);letter-spacing:normal;white-space:normal;overflow-wrap:anywhere;margin-top:6px;text-align:center;color:#00283c}
body .site-header .mobile-nav{top:100%}
body .site-footer .footer-brand{width:220px;max-width:100%}
body .site-footer .footer-brand img{width:180px;max-width:100%;margin-inline:auto}
body .site-footer .footer-wordmark .wordmark-attribution{display:block;max-width:650px;margin:18px auto 0;font:600 13px/1.5 var(--sans,Arial,sans-serif);letter-spacing:normal;white-space:normal;overflow-wrap:anywhere;color:#415e70;text-shadow:none}
body .site-footer .footer-identity{min-width:0;max-width:100%}
body .site-footer .footer-final-name{max-width:650px;text-align:center;letter-spacing:normal}
@media(max-width:600px){
 body .site-header,body.home-page .site-header,body .guide-header{column-gap:8px;row-gap:12px}
 body .site-header .brand,body.home-page .site-header .brand,body .guide-header .brand{width:160px;flex-basis:160px}
 body .site-header .brand img,body .guide-header .brand img{width:116px}
 body .site-footer .footer-wordmark .wordmark-attribution{font-size:12px;max-width:300px}
}
@media(max-width:420px){
 body.home-page .site-header .brand{display:grid;grid-template-columns:84px minmax(0,1fr);align-items:center;gap:12px;width:100%;flex-basis:100%;margin-right:0}
 body.home-page .site-header .brand img{width:84px}
 body.home-page .site-header .brand .brand-nmls{margin-top:0;text-align:left}
 body.home-page .site-header .home-header-call{margin-left:auto}
}
/* Homepage menu is a sibling of the auto-height header, so keep its open panel in flow. */
body.home-page #mobile-nav{position:relative;top:auto;max-height:70svh;overflow:auto}
