/*
Theme Name: Exponent Construction
Theme URI: https://port-exponentwpt-5547bd65.sites.ai.instawp.io/
Author: Site Porter
Description: A full-site-editing block theme reproducing the Exponent "Construction" demo 1:1 — six page templates, a pattern per section, styling in theme.json and block attributes.
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 7.2
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: block-builder-starter
Tags: full-site-editing, block-patterns, block-styles, wide-blocks, custom-colors, custom-logo, custom-menu, editor-style, featured-images, threaded-comments, translation-ready, blog, portfolio, business
*/

/*
 * Intentionally almost empty.
 *
 * In a block theme, styling lives in theme.json (global settings + styles), block
 * supports, and per-block style variations — NOT in this file. Reach for CSS here
 * only when a design truly cannot be expressed through theme.json. If you do add
 * rules, prefer scoping them and using the theme's CSS custom properties, e.g.
 * var(--wp--preset--color--primary), so they stay in sync with the brand.
 */

/*
 * FULL-BLEED SECTIONS SIT FLUSH (Gutenberg #51242) — the one rule every port needs.
 *
 * WordPress core ships `:where(.wp-site-blocks) > * { margin-block-start: 1.5rem }`,
 * which opens a ~24px seam between full-bleed sections and between header → main →
 * footer (that stray white strip under the last section).
 *
 * Neutralize it SELECTIVELY, never with a blanket `.wp-site-blocks > * { margin: 0 }`
 * — that would defeat the theme.json `blockGap` feature everywhere else.
 */
/* Core's own rule is `:root :where(.wp-site-blocks) > * { margin-block-start: <blockGap> }` —
   0-1-0, so a bare `main` (0-0-1) never wins. Matching on the wrapper CLASS gets us 0-1-1. */
.wp-site-blocks > .wp-block-template-part,
.wp-site-blocks > main,
.wp-site-blocks > main > .wp-block-group.has-background,
.wp-site-blocks > main > .wp-block-group.alignfull { margin-block-start: 0; }
