/* Remove outer theme gutters without changing spacing inside content cards. */
html body.hs-public-os-shell #content.site-content{padding-bottom:0!important;margin-bottom:0!important;}
html body.hs-public-os-shell #content.site-content>.hs-empty-theme-tail{display:none!important}
html body.hs-public-os-shell #content.site-content>:is(.hs-team-dashboard,.hs-team-results-center,.hs-team-standings-center,.hs-team-stat-center,.hs-team-playoffs-center,.hs-player-inicio,.hs-player-stat-page,.hs-player-games-center,.hs-league-enterprise-home,.hs-league-schedule-center,.hs-league-competition-center,.hs-elite-league-stats,.hs-tournament-center-wrap){margin-bottom:0!important}
/* All public templates share these structural shells, including pages without #content. */
html body.wp-theme-alchemists :is(.site-wrapper,#content.site-content,.site-content,#primary,#main,.site-main,.entry-content){margin-bottom:0!important;padding-bottom:0!important}
html body.wp-theme-alchemists .site-wrapper{flex-shrink:0!important}

html body.wp-theme-alchemists :is(#content.site-content>.container,#content.site-content>.container>.row,#primary>.site-main>.hentry){margin-bottom:0!important;padding-bottom:0!important}
html body.wp-theme-alchemists :is(#content,.site-wrapper,.entry-content)>:is(.hs-template,.hs-school-profile-page,.hs-home-platform,.hs-enterprise-page-shell){margin-bottom:0!important;padding-bottom:0!important}
html body.wp-theme-alchemists :is(#content,.site-wrapper) :is(.hs-rankings-content,.hs-school-profile-content){margin-bottom:0!important;padding-bottom:0!important}
html body.wp-theme-alchemists .hs-enterprise-page-shell .hs-body{padding-bottom:0!important;margin-bottom:0!important}
html body.wp-theme-alchemists .entry-content>:last-child{margin-bottom:0!important}
html body.wp-theme-alchemists .hs-empty-theme-tail{display:none!important}
/* Entity panels can be nested or moved outside the theme's #content wrapper. */
html body.wp-theme-alchemists :is(#hsTeamPlayoffsExport,.hs-game-dashboard,.hs-team-dashboard,.hs-team-results-center,.hs-team-standings-center,.hs-team-stat-center,.hs-team-playoffs-center,.hs-league-enterprise-home,.hs-league-schedule-center,.hs-league-competition-center,.hs-elite-league-stats,.hs-tournament-center-wrap,.hs-player-inicio,.hs-player-stat-page,.hs-player-games-center,.hs-player-games-page,.hs-career-ledger,.hs-rec-page,.hs-ledger-board,.hs-rec-board){margin-bottom:0!important}
html body.wp-theme-alchemists .hs-school-profile-page{min-height:0!important}
/* Keep navigation clearance inside the white footer, after its last links. */
html body.hs-public-os-shell .hs-footer-compact>.hs-public-mobile-nav-spacer{margin:0!important;padding:0!important;background:transparent!important}
@media print{html body.hs-public-os-shell .hs-public-mobile-nav-spacer{display:none!important}}

/* Context identities sit on a white tile against the entity-colored header. */
html body.hs-public-os-shell :is(.hs-context-sheet,.hsl-context-sheet,.hs-player-context-sheet,.hs-entity-context-sheet) :is(.hs-context-logo,.hs-player-context-logo,.hs-entity-context-logo),
html body.hs-public-os-shell .hs-school-sport-sheet-school img{background:#fff!important}

/* League home has its own dashboard gutter outside the shared page shells. */
html body.tax-sp_league.hs-public-os-shell :is(#hsLeagueTeamHome,.hs-league-team-home,.hs-page-wrap){padding-bottom:0!important;margin-bottom:0!important}

/* School profiles intentionally retain a small closing gutter. */
html body.wp-theme-alchemists.hs-public-os-shell :is(#hsSchoolProfile,.hs-school-profile-page){padding-bottom:24px!important}
@media(max-width:640px){html body.wp-theme-alchemists.hs-public-os-shell :is(#hsSchoolProfile,.hs-school-profile-page){padding-bottom:16px!important}}
