/* A single outer Gutenberg group owns each colour-page surface.
   Use ost-farbseite on that group; its gradient and padding remain author-owned.
   Percentage margins resolve against the full content width, not 100vw. */
body.ostsachsen-portal:has(.ost-page > .ost-content > .ost-farbseite) { background:#fff !important; }
body.ostsachsen-portal .ost-main:has(> .ost-page > .ost-content > .ost-farbseite) { width:100%;max-width:none;margin:0;padding:0;background:#fff !important; }
body.ostsachsen-portal .ost-main:has(> .ost-page > .ost-content > .ost-farbseite)::before,
body.ostsachsen-portal .ost-main:has(> .ost-page > .ost-content > .ost-farbseite)::after { content:none !important;display:none !important; }
body.ostsachsen-portal .ost-page:has(> .ost-content > .ost-farbseite),
body.ostsachsen-portal .ost-page > .ost-content:has(> .ost-farbseite) { box-sizing:border-box;width:100% !important;max-width:none !important;margin:0;padding:0;background:none !important; }
body.ostsachsen-portal .ost-page > .ost-content > .ost-farbseite { box-sizing:border-box;width:auto !important;max-width:none !important;margin:0 1% !important;border-radius:24px;overflow:clip; }
/* Only constrain sizing; never replace inner spacing or a page's own colours. */
body.ostsachsen-portal .ost-farbseite :where(.wp-block-columns,.wp-block-column,.wp-block-group,form,fieldset) { min-width:0;box-sizing:border-box; }
body.ostsachsen-portal .ost-farbseite :where(img,video,iframe,input,select,textarea) { max-width:100%;box-sizing:border-box; }
@media(min-width:1081px){body.ostsachsen-portal .ost-page > .ost-content > .ost-farbseite{margin-inline:1% !important;border-radius:36px}}
