/* Remove duplicate theme-shell spacing; section, card and paragraph spacing stays local. */
body:is(.home,.blog,.category,.single-post) #main > .ct-container,
body:is(.home,.blog,.category,.single-post) #main > .ct-container-full{padding-top:0;padding-bottom:0}
/* The home contact block used a negative margin to cover the former shell padding. */
body.home:not(.blog) #main .entry-content > .alignfull:last-child{margin-bottom:0}
/* Home sections own their inner breathing room; omit the extra 50px/24px outer bands. */
body.home:not(.blog) #main .entry-content > :is(.tpgb-container-row,.wp-block-kadence-rowlayout){margin-bottom:0}
/* A short archive ends at this panel; its last margin must not escape the shell. */
body:is(.blog,.category) #main .tps-popular-panel:last-child{margin-bottom:0}
@media(max-width:999.98px){
 body.blog .tps-article-list-heading{padding-top:16px}
 /* Keep the App menu's safe space inside the blue footer rather than below the page. */
 body.tps-reader-ready:is(.blog,.category,.single-post){padding-bottom:0}
 body.tps-reader-ready:is(.blog,.category,.single-post) #footer{padding-bottom:var(--tps-reader-bar-space,64px);background-color:#1e479c}
}
