/* Keep the homepage footer inside its content gutters at every window width. */
.calm-home .home-footer{width:calc(100% - 80px);max-width:1120px;margin:0 auto;min-width:0;padding:24px 0;display:grid;grid-template-columns:minmax(0,1fr);gap:12px;font-size:12px;line-height:1.5}
.home-footer>*{min-width:0}
.home-footer .footer-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px}
.home-footer small{font-size:11px;grid-column:auto}
.home-footer nav{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:0 24px}
.home-footer a{display:inline-flex;align-items:center;min-height:40px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.home-footer .footer-social{gap:0 24px}
.home-footer .footer-partner{padding-block:4px}
.home-footer .footer-partner a{min-height:32px}
.home-footer .footer-partner small{display:block}
.home-footer .footer-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px;padding-top:12px;border-top:1px solid var(--line)}
.home-footer .footer-tools:empty{display:none}
.home-footer .motion-toolbar{position:static;max-width:100%;flex-wrap:wrap;box-shadow:none;margin:0;border-radius:6px}
.home-footer .motion-toolbar button{min-height:40px;white-space:normal;border-radius:3px}
.home-footer .at-metrika-reopen{position:static;margin:0;max-width:100%;min-height:40px;background:transparent;color:var(--muted);border:0;border-bottom:1px solid var(--line);border-radius:0;padding:8px 0}
@media(max-width:1000px){.calm-home .home-footer{width:calc(100% - 56px)}}
@media(max-width:660px){.calm-home .home-footer{width:calc(100% - 44px)}.home-footer .footer-meta{display:grid;gap:4px}.home-footer nav{gap:0 16px}}
@media print{.home-footer .footer-tools{display:none}}

.home-footer .footer-documents{font-size:11px}.home-footer .footer-documents summary{display:list-item;width:fit-content;cursor:pointer;min-height:40px;padding:10px 0}.home-footer .footer-documents nav{padding:0 0 8px;gap:0 20px}.home-footer .footer-tools{padding-top:4px;border-top:0}
