/**
 * RiseX Canvas — no header / footer chrome
 */

html,
body.pvs-page-template-canvas {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	min-height: 100%;
	overflow-x: hidden;
}

body.pvs-page-template-canvas {
	background: #fff;
}

/* Theme nav often prints as a sibling after main via wp_footer */
body.pvs-page-template-canvas > *:not(#pvs-page-template-main):not(script):not(style) {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	max-height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	pointer-events: none !important;
}

.pvs-page-template-main {
	display: block;
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box;
}

.pvs-page-template-main > * {
	max-width: none !important;
}

/* Page editor title block (optional — remove in editor if you want zero heading) */
body.pvs-page-template-canvas .pvs-page-template-main > .wp-block-post-title,
body.pvs-page-template-canvas .pvs-page-template-main > h1.wp-block-post-title:first-child {
	display: none;
}

/* Hide theme / block chrome (nav, page list, headers) anywhere on canvas pages */
body.pvs-page-template-canvas #wpadminbar,
body.pvs-page-template-canvas header,
body.pvs-page-template-canvas footer,
body.pvs-page-template-canvas nav,
body.pvs-page-template-canvas #masthead,
body.pvs-page-template-canvas #colophon,
body.pvs-page-template-canvas .site-header,
body.pvs-page-template-canvas .site-footer,
body.pvs-page-template-canvas .wp-site-blocks > header,
body.pvs-page-template-canvas .wp-site-blocks > footer,
body.pvs-page-template-canvas .wp-block-template-part,
body.pvs-page-template-canvas .wp-block-navigation,
body.pvs-page-template-canvas .wp-block-navigation *,
body.pvs-page-template-canvas .wp-block-page-list,
body.pvs-page-template-canvas .wp-block-page-list *,
body.pvs-page-template-canvas .wp-block-site-title,
body.pvs-page-template-canvas .wp-block-site-logo,
body.pvs-page-template-canvas .wp-block-navigation__responsive-container,
body.pvs-page-template-canvas .wp-block-navigation__responsive-container-open,
body.pvs-page-template-canvas .wp-block-navigation__responsive-container-close,
body.pvs-page-template-canvas ul.menu,
body.pvs-page-template-canvas .menu {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	min-height: 0 !important;
	max-height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	pointer-events: none !important;
	border: 0 !important;
}
