/* All six footer links share the same quiet visual treatment. */
.brand-current .site-footer>.footer-bottom-refined,
.brand-current .english-footer .footer-bottom-refined{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
  gap:8px 28px;padding-top:18px;
}
.brand-current .footer-bottom-refined .footer-copyright{white-space:nowrap;font-size:12px}
.brand-current .footer-legal-refined{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:0 20px;min-width:0;font-size:12px}
.brand-current .footer-legal-refined a{display:inline-flex;align-items:center;min-height:44px;padding:0;border:0;background:none;box-shadow:none;color:var(--text-secondary,var(--muted));font-size:12px;font-weight:400;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}
.brand-current .footer-legal-refined a:hover{color:var(--text-primary,var(--text));text-decoration:underline;text-underline-offset:4px}
.brand-current .footer-legal-refined a:focus-visible{outline:2px solid var(--accent,#ed7948);outline-offset:4px;border-radius:3px}
.brand-current .english-footer{display:block}
.brand-current .english-footer .footer-bottom-refined{border-top:0;padding-top:0}
@media(max-width:1000px){.brand-current .footer-legal-refined{justify-content:flex-start}}
@media(max-width:640px){
 .brand-current .site-footer>.footer-bottom-refined,.brand-current .english-footer .footer-bottom-refined{flex-direction:column;align-items:stretch;gap:12px;padding-top:18px}
 .brand-current .footer-legal-refined{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;order:0}
 .brand-current .footer-bottom-refined .footer-copyright{order:1;display:flex;align-items:center;min-height:48px;padding-right:64px}
}

/* Reserve the fixed top control's full width, edge inset and a 16px gap. */
.brand-current .site-footer>.footer-bottom-refined,
.brand-current .english-footer .footer-bottom-refined{
 box-sizing:border-box;
 padding-right:calc(48px + 16px + max(24px, env(safe-area-inset-right, 0px)));
}
@media(max-width:640px){
 .brand-current .site-footer>.footer-bottom-refined,
 .brand-current .english-footer .footer-bottom-refined{
  padding-right:calc(48px + 16px + max(18px, env(safe-area-inset-right, 0px)));
 }
}
@media print{
 .brand-current .site-footer>.footer-bottom-refined,
 .brand-current .english-footer .footer-bottom-refined{padding-right:0}
}
