:root{--navy:#081d33;--rb-brand-blue:#00aeff}
.site-header .custom-logo-link,.site-footer__logo{display:inline-flex;align-items:center;gap:2px;max-width:100%}
.rb-domain-suffix{font-family:Arial,sans-serif;font-weight:800;font-size:22px;letter-spacing:-.6px;color:#081d33;line-height:1;flex-shrink:0;margin-top:1px}
.site-footer .rb-domain-suffix{color:#fff;font-size:24px}.site-header .custom-logo{width:230px}.site-footer .site-footer__logo-img{width:240px}
.rb-canadian{display:flex;align-items:center;gap:.45rem;margin:.85rem 0 1rem;color:#eef8fc;font-size:.8rem;font-weight:600}.rb-canadian>span{font-size:1.2rem;line-height:1}
.rb-socials{display:flex;gap:.65rem;margin-top:1.25rem}.rb-socials a{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #ffffff55;border-radius:50%;color:#fff;transition:background .15s}.rb-socials a:hover,.rb-socials a:focus-visible{background:#007ea5;outline:2px solid #00aeff;outline-offset:3px}.rb-socials svg{width:18px;height:18px}
.site-footer .site-footer__base{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:1.2rem;width:100%}
.site-footer .site-footer__legal,.site-footer .site-footer__privacy,.site-footer .rb-footer-credit{font-size:11px;line-height:1.5;margin:0;padding:0;letter-spacing:0;text-transform:none}
.site-footer .site-footer__legal,.site-footer .site-footer__privacy{white-space:nowrap}.site-footer .rb-footer-credit{margin-left:auto;text-align:right;color:#c5d1dc;white-space:nowrap}.rb-footer-credit a{color:inherit;text-decoration:none}.rb-footer-credit a:hover{text-decoration:underline}.site-footer .site-footer__privacy{color:#d6e1e9}
.rb-business-email-hint{font-size:12px!important;color:#526375;margin:.4rem 0 0!important;line-height:1.5!important}
@media(min-width:801px) and (max-width:1100px){.site-header .custom-logo{width:165px}.rb-domain-suffix{font-size:17px}.site-footer .site-footer__base{gap:.8rem}.site-footer .site-footer__legal,.site-footer .site-footer__privacy,.site-footer .rb-footer-credit{font-size:10px}}
@media(max-width:800px){.site-header .custom-logo{width:183px}.rb-domain-suffix{font-size:18px}.site-footer .site-footer__base{flex-direction:column;align-items:flex-start;gap:.7rem}.site-footer .site-footer__legal,.site-footer .rb-footer-credit{white-space:normal}.site-footer .rb-footer-credit{margin-left:0;text-align:left}.site-footer .site-footer__legal,.site-footer .site-footer__privacy,.site-footer .rb-footer-credit{font-size:12px}}
@media(max-width:360px){.site-header .custom-logo{width:160px}.rb-domain-suffix{font-size:16px}}
@media(prefers-reduced-motion:reduce){.rb-socials a{transition:none}}

/* Approved supplied RIVERBANKS.CA artwork: no separate suffix, no artificial letter gap. */
.site-header .custom-logo-link{display:inline-flex;align-items:center;gap:0}.site-header .custom-logo{width:285px;max-width:100%;height:auto;display:block}.site-footer__logo{display:inline-flex;align-items:center;gap:0;background:#fff;padding:10px 12px;border-radius:6px;max-width:100%;width:100%}.site-footer .site-footer__logo-img{display:block;width:275px;max-width:100%;height:auto}.rb-domain-suffix{display:none!important}
@media(min-width:801px) and (max-width:1100px){.site-header .custom-logo{width:210px}}
@media(max-width:800px){.site-header .custom-logo{width:245px}.site-footer .site-footer__logo-img{width:270px}}
@media(max-width:360px){.site-header .custom-logo{width:210px}}
/* Keep the existing native CAPTCHA inside very narrow inline application forms. */
@media(max-width:360px){.srfm-form .g-recaptcha{width:100%;max-width:100%;height:57px;overflow:hidden}.srfm-form .g-recaptcha>div{transform:scale(.7);transform-origin:top left}}
/* Owner correction: restore the previous transparent footer logo, no white plate. */
.site-footer__logo{background:transparent;padding:0;border-radius:0;width:auto}.site-footer .site-footer__logo-img{width:270px;max-width:100%;height:auto}

/* Same approved .CA artwork on the dark footer: white lettering, original cyan, transparent. */
.site-footer .site-footer__logo-img{filter:url("#rb-footer-light-ink")!important}.site-footer__logo{background:transparent!important;padding:0!important;border-radius:0}
