/* Force full-width layout for portal pages */
body.page .wp-site-blocks,
body.page .entry-content,
body.page article,
body.page .ast-container {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove theme padding from content wrapper */
body.page .site-content {
    padding: 0 !important;
}

/* Ensure portal HTML blocks are full width */
body.page .wp-block-html {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Remove any top spacing */
body.page .wp-block-group.alignfull,
body.page .wp-block-group.has-global-padding {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Hide WordPress header/footer */
header.wp-block-template-part,
footer.wp-block-template-part,
.wp-block-post-title,
h1.entry-title,
.page-title {
    display: none !important;
}
