/*
 * 180D Agency Base — theme-fixes.css
 *
 * STRUCTURAL ONLY. No colors, no fonts, no buttons.
 *
 * This file exists for the one job style.css refuses to do: kill the
 * user-agent default body margin and any default block-level spacing
 * that would otherwise put whitespace around pages rendered through
 * the theme's page.php / single.php / archive.php fallback templates.
 *
 * Pages on the Elementor Canvas template bypass this entirely —
 * Canvas already renders flush. This file matters only for pages on
 * the "Default" template (page.php), single posts, and archives when
 * Elementor Pro Theme Builder isn't handling them.
 *
 * If you find yourself wanting to add color, typography, or button
 * rules here — STOP. Put them in the widgets plugin's widgets.css.
 * This file is structural only; that contract is what keeps the
 * widgets plugin from fighting the theme cascade.
 */

/* 1. Kill UA default body margin. Browsers default to 8px on all sides. */
html,
body {
    margin: 0;
    padding: 0;
}

/* 2. Make sure the body fills the viewport so backgrounds set by widgets
 *    or Pro Theme Builder reach the edges. */
html,
body {
    min-height: 100%;
}

/* 3. Strip default top/bottom margin that browsers and WP-core add to the
 *    main content wrappers used by page.php and single.php. The widgets
 *    plugin and Elementor decide their own spacing. */
.site-main,
.site-main > article,
.site-main > article > .entry-content {
    margin: 0;
    padding: 0;
}

/* 4. WP admin bar pushes the page down 32px (46px on mobile). That's the
 *    one piece of "whitespace at the top" that's WP-core, not theme. We
 *    leave it alone — it's only visible to logged-in admins and removing
 *    it breaks the admin bar's positioning. If a logged-in admin sees a
 *    32px top gap on the front-end, that's expected. */
