/* Restyle the original bank, wiki, about, privacy and correspondent lookup pages without replacing their business logic. */
html,body.legacy{background:#fff!important;color:#151a24!important;font-family:Inter,ui-sans-serif,-apple-system,"Segoe UI",Arial,sans-serif!important}
body.legacy{overflow-x:hidden}.legacy a{color:#136ef4}.legacy .site-header{height:88px!important;display:flex!important;align-items:center!important;max-width:none!important;padding:0 clamp(24px,5vw,90px)!important;margin:0!important;border-bottom:1px solid #e7eaf0!important;background:#fff!important}.legacy .site-header .desktop-nav{gap:30px!important;margin-left:auto!important;flex-wrap:nowrap!important}.legacy .site-header a{color:#1b2431!important;font-size:14px!important}.legacy .site-header .wordmark{font-size:30px!important;letter-spacing:-.06em!important;color:#161d29!important}.legacy .site-header .wordmark span{color:#136ef4!important}.legacy .site-header .header-tg{color:white!important;background:#136ef4!important}.legacy .site-header .header-actions{display:flex!important}.legacy .site-header .language-picker select{color:#1a2430!important}
.legacy .site-footer{background:#fff!important;border-top:1px solid #e4eaf2!important;margin-top:80px!important;padding:40px clamp(24px,6vw,100px)!important;color:#647487!important;text-align:left!important;max-width:none!important}.legacy .site-footer .wordmark{font-size:24px!important}.legacy .site-footer .footer-nav a{color:#667487!important}.legacy .site-footer p{color:#7d8896!important}
.legacy .container{max-width:1100px!important}.legacy main,.legacy article{color:#141c28!important}.legacy .hero{min-height:0!important;padding:80px 0 40px!important;overflow:visible!important;border:0!important;text-align:left!important;display:block!important}.legacy h1,.legacy h2,.legacy h3{color:#141c28!important;letter-spacing:-.05em!important}.legacy .hero h1{font-size:clamp(43px,6vw,76px)!important;line-height:1.05!important}.legacy .hero .accent,.legacy .content h3,.legacy .cb-card h3{color:#136ef4!important}.legacy p,.legacy li,.legacy .content,.legacy .hero-sub,.legacy .hero p,.legacy .card p,.legacy .step p,.legacy .cb-copy p,.legacy .cb-intro,.legacy .cb-note,.legacy .cb-card p,.legacy .cb-faq p,.legacy .uetr-card p,.legacy .f-card p,.legacy .section-header p,.legacy .contact-card p,.legacy .text p,.legacy .note p{color:#596b7f!important}
.legacy .card,.legacy .contact-card,.legacy .uetr-card,.legacy .f-card,.legacy .cb-card,.legacy .p-card,.legacy .manifesto-card,.legacy .note,.legacy .crop-box,.legacy .related-card,.legacy .cta-block,.legacy .status-box,.legacy .cb-disclaimer{background:#f7f9fc!important;border:1px solid #e1e9f3!important;color:#172031!important;box-shadow:none!important}.legacy .card *, .legacy .manifesto-card *{color:inherit}.legacy .badge,.legacy .cmd-badge,.legacy .uetr-box{color:#136ef4!important;background:#eff5ff!important;border-color:#dce8fa!important}.legacy .btn,.legacy .btn-primary,.legacy .cb-btn{background:#136ef4!important;color:white!important;border-color:#136ef4!important}.legacy footer a,.legacy .nav-back,.legacy .back{color:#136ef4!important}.legacy .content strong{color:#171f2c!important}.legacy .related-title,.legacy .related-card strong,.legacy .f-card h3{color:#142134!important}.legacy .related-short,.legacy .contact-card p{color:#647588!important}.legacy .crop-box{border-radius:12px!important}.legacy .footer-links{display:none!important}
.legacy .corr-result,.legacy .corr-form,.legacy .corr-limit,.legacy .cb-faq details,.legacy .cb-grid{color:#182335!important}.legacy .corr-form input,.legacy .corr-form select{background:white!important;color:#172134!important;border-color:#d9e3f1!important}.legacy .corr-form button{background:#136ef4!important;color:white!important}.legacy .corr-result{background:#fff!important}.legacy .cb-faq summary{color:#172235!important}
.legacy .related-block{border-color:#e0e7ef!important}.legacy .related-block h3{color:#263247!important}.legacy .content h3{color:#126bf0!important}.legacy .cta-block{margin-bottom:30px!important}
@media(max-width:900px){.legacy .site-header{height:72px!important}.legacy .site-header .desktop-nav,.legacy .site-header .header-tg{display:none!important}.legacy .site-header .menu-toggle{display:block!important}.legacy .container{padding:0 24px!important}}
@media(max-width:620px){.legacy .hero{padding:55px 0 25px!important}.legacy .hero h1{font-size:45px!important}.legacy .site-header .wordmark{font-size:25px!important}.legacy .site-footer{gap:18px!important}.legacy .site-footer .footer-nav{gap:14px!important}}

/* Bank lookup: remove dark legacy card from the new white site. */
.legacy .corr-section{background:#f7faff!important;border:1px solid #e0e9f5!important;border-radius:14px!important;max-width:840px!important;padding:34px!important}
.legacy .corr-section h2{color:#182335!important;font-size:clamp(23px,3vw,37px)!important;letter-spacing:-.045em!important}
.legacy .corr-field{color:#2c3b50!important;font-size:14px!important;font-weight:650!important}
.legacy .corr-field input,.legacy .corr-field select{background:#fff!important;color:#243246!important;border-color:#d9e3ee!important}
.legacy .corr-section .corr-note,.legacy .corr-section .corr-limit,.legacy .corr-section .cb-note{color:#697a8e!important}
.legacy .corr-section .corr-result{border-top-color:#d9e3ef!important;background:transparent!important}
.legacy .corr-section .corr-card{background:#fff!important;border-color:#dce6f1!important;color:#213149!important}
.legacy .corr-section .corr-card strong{color:#1b2736!important}
.legacy .corr-section .corr-meta,.legacy .corr-section .corr-message{color:#5f7186!important}
.legacy .corr-section .corr-next{background:#136ef4!important;color:white!important}
@media(max-width:640px){.legacy .corr-section{padding:23px!important;margin:40px auto!important;width:calc(100% - 32px)!important}}

/* Contrast correction for light pages previously styled for a dark theme. */
.legacy .text strong,.legacy .note strong,.legacy .manifesto-card strong,.legacy .p-card strong{color:#1e293b!important;font-weight:700!important}
.legacy .text p,.legacy .text li,.legacy .note p{color:#405267!important}
.legacy .p-card p,.legacy .manifesto-card p{color:#42546a!important}
/* Let the top banner breathe before the first Wiki article heading. */
body.legacy > article.container{padding-top:clamp(66px,7vw,98px)!important}
@media(max-width:620px){body.legacy > article.container{padding-top:60px!important}}
