/* Bigazone site-width modes; Inherit produces no additional selector match. */
/* Full: expand containers to screen with safe edge gutters, keeping Gutenberg's
   independently full/wide block alignment and WC form controls.*/
body.bigazone-theme.bz-width-full .bz-container {
    width: calc(100% - 32px);
    max-width: none;
}
@media (max-width:600px) {
    body.bigazone-theme.bz-width-full .bz-container { width:calc(100% - 24px); }
}
/* Boxed: a framed page shell at the selected/max-content width. Keep the
   document body, overlays and wp-admin-bar outside the frame.*/
body.bigazone-theme.bz-width-boxed > :is(.bz-header,.bz-footer,main#main-content) {
    width: min(calc(100% - 32px), var(--bz-container));
    max-width:100%;
    margin-inline:auto;
    min-width:0;
    box-sizing:border-box;
}
body.bigazone-theme.bz-width-boxed > :is(.bz-header,.bz-footer) .bz-container { width: min(calc(100% - 32px), var(--bz-container)); }
body.bigazone-theme.bz-width-boxed > main#main-content.bz-container { width:min(calc(100% - 32px), var(--bz-container)); }
/* Restrict page Gutenberg full-width blocks to the boxed shell to avoid
   overhanging the frame. No clipping or scroll traps.*/
body.bigazone-theme.bz-width-boxed .bz-page-main .bz-entry-content > .alignfull {
    width:100%; max-width:100%; left:auto;transform:none;
}
body.bigazone-theme.bz-width-boxed .bz-home-content > .alignfull { width:100%; max-width:100%; }
@media(max-width:600px) {
  body.bigazone-theme.bz-width-boxed > :is(.bz-header,.bz-footer,main#main-content) { width:calc(100% - 24px); }
  body.bigazone-theme.bz-width-boxed > main#main-content.bz-container { width:calc(100% - 24px); }
}
/* Custom: deliberate bounded content width from existing token
   the shared container already has safe min(viewport, token) dimensions.*/
