/*
Theme Name: Swastika Blank Canvas
Theme URI: https://swastikashiksha.com/
Author: Swastika Shiksha
Description: Minimal WordPress theme that outputs page and post content without a theme-designed header, footer, sidebar, or page layout. Use the WordPress editor or plugins to design each page independently.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: swastika-blank-canvas
*/

/* Full-width canvas: page content starts at the viewport edges. */
html,
body {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

#site-content,
.site-content,
.entry-content,
.wp-site-blocks,
.wp-block-post-content {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

/* Let top-level content and custom HTML blocks use the available screen width. */
#site-content > *,
.site-content > *,
.entry-content > *,
.wp-block-post-content > * {
    max-width: none;
}

/* WordPress full-width/aligned blocks should reach both viewport edges. */
.alignfull,
.wp-block-group.alignfull,
.wp-block-cover.alignfull,
.wp-block-image.alignfull,
.wp-block-video.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Avoid horizontal overflow caused by full-bleed content. */
body {
    overflow-x: hidden;
}
