.rb-footer-r2{--rbf-bg:#07111c;--rbf-panel:#0b1a28;--rbf-text:#edf3f8;--rbf-muted:#a7b8c7;--rbf-line:#243a4a;--rbf-accent:#ff8a1f;--rbf-focus:#69d7ed;box-sizing:border-box;width:min(1280px,100%);margin:0 auto;padding:32px 28px!important;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:24px 32px;border-top:1px solid var(--rbf-line);background:var(--rbf-bg);color:var(--rbf-text);font:14px/1.5 Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.rb-footer-r2 *{box-sizing:border-box}
.rb-footer-r2 a{color:inherit;text-decoration:none;touch-action:manipulation;min-width:44px;min-height:44px}
.rb-footer-r2 .brand{display:inline-flex;align-items:center;gap:12px;font-size:24px;font-weight:760;line-height:1.25}
.rb-footer-r2 .brand svg{width:38px;height:38px;flex:none}
.rb-footer-r2 p{margin:0;color:var(--rbf-muted)}
.rb-footer-r2>div>p{font-size:14px;margin-top:12px}
.rb-footer-r2 .footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,auto));gap:8px 24px;margin:0}
.rb-footer-r2 .footer-links a{display:inline-flex;align-items:center;gap:8px;max-width:100%;font-size:14px;line-height:1.4;color:var(--rbf-muted);overflow-wrap:anywhere}
.rb-footer-r2 .footer-links a>span:first-child{min-width:0}
.rb-footer-r2>.small-note{grid-column:1/-1;margin:0;max-width:none;font-size:12px!important;line-height:1.6}
.rb-footer-r2 .footer-socials{grid-column:1/-1;width:100%;min-width:0;margin:0;padding:0}
.rb-footer-r2 .footer-socials ul{display:flex;flex-wrap:wrap;gap:12px;list-style:none;margin:0;padding:0}
.rb-footer-r2 .footer-socials li{list-style:none;margin:0;padding:0;min-width:0}
.rb-footer-r2 .footer-socials li::marker{content:""}
.rb-footer-r2 .footer-socials a{display:inline-flex;align-items:center;justify-content:center;flex:none;gap:0;width:48px;height:48px;min-width:48px;min-height:48px;max-width:100%;padding:11px;border:1px solid var(--rbf-line);border-radius:4px;background:var(--rbf-panel);color:var(--rbf-text);font-size:14px;line-height:1.4;overflow-wrap:anywhere;text-decoration:none}
.rb-footer-r2 .footer-socials svg{display:block;flex:none;width:24px;height:24px;fill:currentColor;pointer-events:none}
.rb-footer-r2 .footer-socials__label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
.rb-footer-r2 a:hover{color:var(--rbf-accent)}
.rb-footer-r2 .footer-socials a:hover{border-color:var(--rbf-accent)}
.rb-footer-r2 a:focus-visible{outline:3px solid var(--rbf-focus);outline-offset:4px}
@media(max-width:620px){.rb-footer-r2{grid-template-columns:minmax(0,1fr);gap:24px;padding:28px 20px!important}.rb-footer-r2 .footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}}
@media(forced-colors:active){.rb-footer-r2 .footer-socials a{border-color:ButtonText}.rb-footer-r2 a:focus-visible{outline-color:Highlight}}

/* W117 part 2: scoped, text-only links; existing social icons unchanged. */
.rb-footer-r2 .w117-footer-row{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 8px;width:100%;max-width:520px;min-width:0;margin:0;padding:0}
.rb-footer-r2 .w117-footer-row>a{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;width:100%;padding:10px 4px;border:1px solid var(--rbf-line);border-radius:4px;background:var(--rbf-panel);color:var(--rbf-text);font-size:14px;font-weight:600;line-height:1.4;white-space:nowrap;text-decoration:none}
.rb-footer-r2 .w117-footer-row>a:hover{color:var(--rbf-accent);border-color:var(--rbf-accent)}
.rb-footer-r2 .w117-footer-row>p{grid-column:1/-1;min-width:0;margin:0;font-size:12px;line-height:1.6;color:var(--rbf-muted);overflow-wrap:anywhere}
@media(forced-colors:active){.rb-footer-r2 .w117-footer-row>a{border-color:ButtonText}}
@media(max-width:767px){.rb-footer-r2 .w117-footer-row--matty{padding-bottom:44px}}
