/* Common footer: brand and service navigation remain readable at narrow widths. */
footer.fs-site-footer,
footer .fs-site-footer {
  display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-start;
  gap:12px 28px; min-width:0; padding-block:20px;
  color:var(--fp-text-secondary,#57536B);
  font-size:var(--fp-font-small,14px); line-height:1.55;
}
.fs-site-footer > .fs-footer-brand {display:grid; gap:3px; min-width:0; max-width:100%}
.fs-site-footer > .fs-footer-links {
  display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end;
  gap:2px 20px; min-width:0; max-width:100%;
}
.fs-site-footer .fs-footer-links > :is(a,button) {
  display:inline-flex; align-items:center; gap:6px; min-height:44px; min-width:0;
  max-width:100%; padding-block:4px; font-size:inherit; line-height:inherit;
  white-space:normal; text-align:start; overflow-wrap:anywhere;
}
.fs-site-footer .fs-footer-links a:hover {text-decoration:underline}
@media(max-width:680px) {
  footer.fs-site-footer, footer .fs-site-footer {flex-direction:column; gap:10px}
  .fs-site-footer > .fs-footer-links {justify-content:flex-start; column-gap:16px}
}

/* Mobile footer keeps the attribution, but not a second copy of the logo. */
@media(max-width:700px) {
  footer.fs-site-footer, footer .fs-site-footer { flex-direction:column; align-items:stretch; gap:12px; }
  .fs-site-footer > .fs-footer-brand { display:grid; justify-items:start; gap:4px; }
  .fs-site-footer .fs-footer-brand :is(.brand-link,picture,img) { display:none; }
  .fs-site-footer > .fs-footer-links {
    display:flex; justify-content:flex-start; align-items:center; gap:0 16px; width:100%;
  }
  .fs-site-footer .fs-footer-links > :is(a,button) { margin:0; padding-inline:0; }
}
