/* The content stays in the theme's Page template. Only the ancestors of an insight expand. */
body.saip-page .site-inner:has(.saip-article),
body:has(.saip-article) .site-inner:has(.saip-article),
.site-inner :is(.content-sidebar-wrap, main.content, .entry, .entry-content):has(.saip-article) {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}
body:has(.saip-article) article.entry:has(.saip-article) > .entry-header,
body:has(.saip-article) main article:has(.saip-article) > header.entry-header {
    display: none !important;
}
.wp-site-blocks :is(main, .wp-block-group, .wp-block-post-content):has(.saip-article) {
    max-width: none !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
}
.wp-site-blocks .wp-block-post-content > .saip-article {
    width: 100%;
    max-width: none !important;
    margin-inline: 0 !important;
}

/* The site's menu marks the background inert until its closing animation completes. */
body:has(.saip-article) > .home-left-rail[inert],
html:is(.ao-cap-open,.ao-mobile-open) body:has(.saip-article) > .home-left-rail,
body:is(.ao-cap-open,.ao-mobile-open):has(.saip-article) > .home-left-rail {
    display: none !important;
}
