body:has(> footer.site-footer) {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}
body.admin-bar:has(> footer.site-footer) {
    min-height: calc(100vh - 32px);
    min-height: calc(100dvh - 32px);
}
body > footer.site-footer {
    margin-top: auto;
    flex-shrink: 0;
    width: calc(100% - 40px);
}
@media (max-width: 782px) {
    body.admin-bar:has(> footer.site-footer) {
        min-height: calc(100vh - 46px);
        min-height: calc(100dvh - 46px);
    }
}
