body:has(.site-header) {
    display: flex;
    flex-direction: column;

    min-height: 100vh;
    min-height: 100dvh;
}

.content-wrapper {
    flex: 1 0 auto;

    display: flex;
    flex-direction: column;

    width: 100%;
}

/* The open mobile menu covers the page, so the page behind it must not scroll. */
:root.has-open-menu {
    overflow: hidden;
}
