/* v1.2.5 - explicit, centered shell; no viewport-width boxes or overflow masking. */
body.smffd-academy.smffd-boxed:not(.smffd-learning-context){--smffd-shell-gutter:var(--smffd-site-gutter,24px);--smffd-home-width:var(--smffd-site-width,1240px)}
@media(max-width:1024px){body.smffd-academy.smffd-boxed:not(.smffd-learning-context){--smffd-shell-gutter:min(16px,var(--smffd-site-gutter,24px))}}
@media(max-width:680px){body.smffd-academy.smffd-boxed:not(.smffd-learning-context){--smffd-shell-gutter:min(12px,var(--smffd-site-gutter,24px))}}
body.smffd-academy.smffd-boxed:not(.smffd-learning-context) .wp-site-blocks{
 box-sizing:border-box!important;width:calc(100% - var(--smffd-shell-gutter) - var(--smffd-shell-gutter))!important;
 max-width:var(--smffd-site-width,1240px)!important;min-width:0!important;margin-inline:auto!important;
}
body.smffd-academy.smffd-boxed:not(.smffd-learning-context) .wp-site-blocks > :where(header,main,footer,.wp-block-template-part,.wp-block-group,.alignfull){box-sizing:border-box;min-width:0;max-width:100%!important;margin-inline:auto!important;}
/* Constrain the full-width outer blocks only, never the navigation dialog. */
body.smffd-academy.smffd-boxed:not(.smffd-learning-context) .wp-site-blocks > :where(header,main,footer,.wp-block-template-part) > .alignfull,
body.smffd-academy.smffd-boxed:not(.smffd-learning-context) .wp-block-post-content > .alignfull{box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0;margin-inline:auto!important;}
body.smffd-academy.smffd-boxed:not(.smffd-learning-context) .wp-site-blocks :where(.wp-block-image,.wp-block-post-featured-image,.wp-block-cover,.wp-block-embed,.wp-block-video){max-width:100%;min-width:0;box-sizing:border-box;}
body.smffd-academy.smffd-boxed:not(.smffd-learning-context) .wp-site-blocks :where(.wp-block-image,.wp-block-post-featured-image) img{max-width:100%;}
body.smffd-academy.smffd-boxed.smffd-academy-home .smffd-home-content{width:100%;max-width:100%!important;padding-inline:clamp(0px,1vw,12px);}
@media(max-width:680px){
 body.smffd-academy.smffd-boxed.smffd-academy-home .smffd-home-content{padding-inline:0;}
 body.smffd-academy.smffd-header:not(.smffd-learning-context) .wp-site-blocks > header .wp-block-site-logo img{max-height:min(56px,var(--smffd-logo-height,64px));max-width:100%;}
 body.smffd-academy.smffd-header:not(.smffd-learning-context) .wp-site-blocks > header :where(.wp-block-navigation__responsive-container-open,.wp-block-navigation__responsive-container-close){min-width:44px;min-height:44px;align-items:center;justify-content:center;}
 body.smffd-academy:not(.smffd-learning-context) .smffd-hero a.smffd-hero-cta{box-sizing:border-box;max-width:100%;min-height:44px;white-space:normal;overflow-wrap:anywhere;}
 body.smffd-academy:not(.smffd-learning-context) .smffd-hero-grid > *{min-width:0;}
 body.smffd-academy.smffd-boxed:not(.smffd-learning-context) .wp-block-post-content :where(input:not([type=hidden]),select,textarea){max-width:100%;box-sizing:border-box;}
}
/* New sticky behavior is scoped to the actual safe navigation row. */
body.smffd-academy.smffd-follow-menu:not(.smffd-learning-context) .wp-site-blocks .smffd-nav-row.smffd-nav-fixed{
 position:fixed!important;top:var(--smffd-nav-top,0px)!important;left:var(--smffd-nav-left,0px)!important;right:auto!important;bottom:auto!important;
 width:var(--smffd-nav-width,100%)!important;max-width:var(--smffd-nav-width,100%)!important;min-width:0!important;
 box-sizing:border-box!important;margin:0!important;z-index:1000!important;background:var(--smffd-header-bg,#fff)!important;
 box-shadow:0 4px 14px rgba(20,46,84,.14);border-bottom:1px solid var(--smffd-line,#d8e2ed);
}
.smffd-nav-spacer[hidden]{display:none!important;}
body.smffd-academy .smffd-nav-spacer:not([hidden]){display:block!important;box-sizing:border-box;visibility:hidden;pointer-events:none;}
html.smffd-nav-scroll{scroll-padding-top:var(--smffd-nav-clearance,0px);}
html.smffd-nav-scroll body.smffd-academy :is(.smffd-home-course-anchor,.smffd-catalog-anchor){scroll-margin-top:12px!important;}
@media print{body.smffd-academy .wp-site-blocks .smffd-nav-row.smffd-nav-fixed{position:static!important;width:auto!important;max-width:100%!important;box-shadow:none!important;}body.smffd-academy .smffd-nav-spacer{display:none!important;}}
