body.uslog-public-shell-route {
    background: #eef5fb !important;
}

body.uslog-public-shell-route #page {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    background: #eef5fb;
}

body.uslog-public-shell-route #content {
    width: 100%;
    flex: 1 0 auto;
    background: #eef5fb;
}

body.uslog-public-shell-route #content > .ast-container {
    width: min(1180px, calc(100% - 32px));
    max-width: none;
    min-height: 100%;
    margin: 0 auto;
    padding: 44px 0 56px;
}

body.uslog-public-shell-route .content-area,
body.uslog-public-shell-route .site-main {
    width: 100%;
    margin: 0;
}

body.uslog-public-shell-route .site-content .ast-container {
    display: block;
}

body.uslog-public-shell-route .entry-content > :first-child,
body.uslog-public-shell-route .entry-content > .alignfull:first-child {
    margin-top: 0;
}

body.uslog-public-shell-route .entry-content > :last-child,
body.uslog-public-shell-route .entry-content > .alignfull:last-child {
    margin-bottom: 0;
}

/* Astra may reserve legacy header/footer spacing through optional builders. */
body.uslog-public-shell-route .ast-above-header-wrap,
body.uslog-public-shell-route .ast-below-header-wrap,
body.uslog-public-shell-route .site-above-footer-wrap,
body.uslog-public-shell-route .site-primary-footer-wrap,
body.uslog-public-shell-route .site-below-footer-wrap {
    display: none !important;
}

@media (max-width: 782px) {
    body.uslog-public-shell-route.admin-bar #page {
        min-height: calc(100vh - 46px);
    }
}

@media (max-width: 620px) {
    body.uslog-public-shell-route #content > .ast-container {
        width: min(100% - 20px, 1180px);
        padding: 28px 0 40px;
    }
}
