/* One footer layout, matching the compact homepage on every content page. */
body > footer.site-footer {
  box-sizing:border-box; display:grid; justify-content:normal; justify-items:center; row-gap:.25rem;
  width:100%; max-width:none; margin:0; padding:calc(1rem - 1px) 5% .5rem;
  border:0; border-top:1px solid #d8c7c8; text-align:center; color:#66585a; background:#f0e7df;
  font:400 calc(13px * var(--text-scale,1))/1.6 system-ui,sans-serif;
}
body > footer.site-footer > .site-footer-toolbar {display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:.3rem .65rem;width:100%}
body > footer.site-footer > .site-footer-toolbar > .footer-actions {display:flex;justify-content:flex-start;gap:12px;direction:ltr;flex:0 0 auto;width:max-content;max-width:100%;flex-wrap:nowrap;margin:0}
body > footer.site-footer .navigation-button {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 16px;border:1px solid #783c4e;border-radius:8px;background:#fffaf7;color:#783c4e;font:650 calc(14px * var(--text-scale,1))/1.35 system-ui,sans-serif;cursor:pointer}
body > footer.site-footer .navigation-button:focus-visible {outline:3px solid #a95270;outline-offset:4px}
body > footer.site-footer .navigation-button svg {flex:none;width:20px;height:20px}
body > footer.site-footer #footer-menu {min-height:44px;padding:.4rem .68rem;gap:.32rem}
body > footer.site-footer .pictures-back-to-top {position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:15;max-width:calc(100vw - 32px);background:#783c4e;color:#fffaf7;box-shadow:0 3px 14px #45313729}
body > footer.site-footer .pictures-back-to-top.at-footer {position:static;margin-left:auto;max-width:100%;box-shadow:none}
body > footer.site-footer .pictures-back-to-top[hidden] {display:none}
body > footer.site-footer > .analytics-footer {gap:0 1rem}
body > footer.site-footer > .analytics-footer > :is(a,button) {min-height:36px}
body > footer.site-footer > :is(.analytics-footer,.visitor-counter,.footer-copyright) {margin-block:0}
body > footer.site-footer > .footer-copyright {width:100%;max-width:none;text-align:center;overflow-wrap:break-word;direction:ltr;font:inherit}
body > footer.site-footer .site-footer-socials {display:flex;justify-content:center;align-items:center;gap:.45rem;width:auto;margin:0}
body > footer.site-footer .site-footer-socials > a {box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#fffaf7;border:1px solid #dacdc4}
body > footer.site-footer .site-footer-socials > a > svg {width:22px;height:22px}
/* Recognizable brand badges; keep the existing glyphs and 44px touch targets. */
body > footer.site-footer > .site-footer-toolbar > .site-footer-socials > .footer-social-bluesky {color:#fff;background:#1185fe;border-color:transparent}
body > footer.site-footer > .site-footer-toolbar > .site-footer-socials > .footer-social-facebook {color:#fff;background:#0866ff;border-color:transparent}
body > footer.site-footer > .site-footer-toolbar > .site-footer-socials > .footer-social-instagram {color:#fff;background:radial-gradient(ellipse at 27% 115%,#ffd76b 3%,#f77737 29%,#e1306c 54%,#bc2a8d 72%,#5851db 100%);border-color:transparent}
body > footer.site-footer > .site-footer-toolbar > .site-footer-socials > a:focus-visible {outline:2px solid #713e50;outline-offset:3px}
body > footer.site-footer [data-home-tile-links] .visitor-share-actions {display:flex;flex-wrap:wrap;justify-content:center;gap:0 1rem;margin:.25rem 0 0}
body > footer.site-footer [data-home-tile-links] .visitor-share-actions > a {display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:0 .15rem;border:0;border-radius:0;background:transparent;box-shadow:none;font:650 calc(.8125rem * var(--text-scale,1))/1.25 system-ui,sans-serif;color:#713e50;text-align:center;text-decoration:underline;text-underline-offset:.16em}
body > footer.site-footer [data-home-tile-links] .visitor-share-actions > a:focus-visible {outline:2px solid #713e50;outline-offset:2px}
body > footer.site-footer [data-home-tile-links] .visitor-share-actions > a[aria-disabled="true"] {opacity:.65}
body > footer.site-footer [data-home-tile-links].visitor-share .visitor-counter-row {margin:0}
body > footer.site-footer [data-home-tile-links] [data-counter-note]:empty {display:none}
body > footer.site-footer [data-home-tile-links] .visitor-counter-row > [data-counter-refresh] {display:none}
dialog[data-site-footer-menu] {max-width:min(28rem,calc(100% - 2rem));padding:1rem;background:#fffaf7;color:#4b2636;border:1px solid #d8c7c8;border-radius:8px;font:1rem/1.4 system-ui,sans-serif}
dialog[data-site-footer-menu]::backdrop {background:#27191d80}
dialog[data-site-footer-menu] h2 {margin:0 0 .5rem}
dialog[data-site-footer-menu] nav {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1rem}
dialog[data-site-footer-menu] :is(a,button) {display:inline-flex;align-items:center;min-height:44px}
@media print {body > footer.site-footer :is(.footer-actions,.pictures-back-to-top) {display:none!important}}
@media screen and (max-width:760px) {body > footer.site-footer {justify-content:center}}
dialog[data-site-footer-menu] nav > a[href="/losing-contact"] {
  grid-column: 1 / -1;
  justify-self: center;
  justify-content: center;
  text-align: center;
}
