/*
Theme Name: HiCarl
Theme URI: https://hicarl.ai
Description: Clean child theme for hicarl.ai — carries the CARL + Compass design system on top of GeneratePress. Replaces the Avada build. Hybrid model: bespoke components ship as locked HTML/CSS patterns; body text + images stay editable core blocks.
Author: Courtnay Boateng
Template: generatepress
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: hicarl
*/

/* ------------------------------------------------------------------
   The design system loads via functions.php in this order:
     tokens.css → buttons.css → components.css → chrome.css
   This file stays minimal — it's only for tiny site-specific overrides
   that don't belong in the portable design system.
   ------------------------------------------------------------------ */

/* GeneratePress shell: let our full-bleed sections reach the edges. */
.hicarl-fullwidth .site-content,
.hicarl-fullwidth .content-area,
.hicarl-fullwidth #primary { max-width: 100%; padding: 0; }
.hicarl-fullwidth .entry-content { margin: 0; }

/* full-bleed utility for sections inside a constrained content area */
.bleed { width: 100vw; margin-left: calc(50% - 50vw); }

/* ------------------------------------------------------------------
   Hide GeneratePress's own header/nav/footer — we output our own
   (inc/nav.php via wp_body_open, inc/footer.php via wp_footer).
   ------------------------------------------------------------------ */
.site-header,
.main-navigation,
#site-navigation,
.navigation-branding,
.site-footer,
.site-info { display: none !important; }

/* page body sits flush under our fixed-flow nav; kill GeneratePress top spacing */
.generate-page-header,
#page .site-content { margin-top: 0; }

/* our chrome is always full width regardless of GeneratePress's container */
.carl-nav, .carl-footer { width: 100%; }
html { overflow-x: clip; }
