/*
Theme Name: Main Street Automation (Blocks)
Theme URI: https://mainstreetautomation.co
Author: Main Street Automation
Author URI: https://mainstreetautomation.co
Description: An editable Gutenberg block theme for Main Street Automation — AI-powered automation & operations for small business. The homepage is built from reusable block patterns (hero, problems, outcomes, services, who we serve, process, ROI, pricing, comparison, and a final contact CTA) so it can be edited and rearranged in Appearance → Editor. Preserves the original ivory/navy/amber identity, Fraunces + Inter Tight + JetBrains Mono typography, and light/dark mode. Block (FSE) theme — see README-install.md.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mainstreet-automation-blocks
Tags: full-site-editing, block-patterns, one-page, landing-page, custom-colors, custom-logo, block-styles, wide-blocks
*/

/*
  This is a block (full-site-editing) theme.

  Global colors, typography, and layout come from theme.json.
  The site's distinctive visual identity (hero, cards, process timeline,
  pricing, etc.) is preserved by two enqueued stylesheets that target the
  original class names used inside the patterns:

    assets/css/base.css   — design tokens, reset, base typography, light/dark themes
    assets/css/style.css  — component & section styles, responsive rules

  These are enqueued from functions.php. This root style.css provides the
  required theme header above plus a couple of editor-friendly conveniences.
  You may add small overrides below.
*/

/* Make the block editor canvas respect the warm ivory background so editing
   feels close to the live site. */
.editor-styles-wrapper {
  background-color: #f7f4ec;
}

/* The patterns use plain HTML blocks wrapped in full-width <section> elements
   that bring their own .container for max-width. Neutralize the block theme's
   root padding and content constraints on the main wrapper so the original
   full-bleed sections render edge to edge in both the editor and the front
   end. */
.wp-site-blocks main.wp-block-group {
  padding-left: 0;
  padding-right: 0;
  margin-top: 0;
}
.wp-site-blocks main.wp-block-group > .wp-block-html {
  max-width: none;
}

/* Header / footer template-part wrappers should not impose width or padding —
   the .site-header and .site-footer manage their own layout. */
.wp-site-blocks > div:first-child,
.wp-site-blocks > div:last-child {
  max-width: none;
}
