/**
 * Business Impact NW Design System
 *
 * Shared foundation for pages migrated to the BINW page system.
 * Legacy WordPress / SiteOrigin Custom CSS remains in place during migration.
 */


/* =========================================================
   1. CANONICAL BRAND + SEMANTIC TOKENS
   ========================================================= */

:root {
  --binw-green: #78A22F;
  --binw-sage: #A7C078;
  --binw-gray: #707372;
  --binw-offwhite: #F3F2F1;
  --binw-teal: #39736E;
  --binw-lime: #C5CF59;
  --binw-brown: #64402A;
  --binw-charcoal: #343538;
  --binw-deepgreen: #0C5C44;
  --binw-white: #FFFFFF;

  --binw-text: var(--binw-charcoal);
  --binw-muted: var(--binw-gray);
  --binw-border: #D9DDD7;
  --binw-surface: var(--binw-offwhite);
}


/* =========================================================
   2. MIGRATED PAGE SCOPE

   Add .binw-page only to rows/pages that have entered
   the new system.
   ========================================================= */

.binw-page {
  color: var(--binw-text);
  font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
}

.binw-page,
.binw-page *,
.binw-page *::before,
.binw-page *::after {
  box-sizing: border-box;
}


/* =========================================================
   3. SCOPED TYPOGRAPHY FOUNDATION
   Neutralize legacy global heading rules.
   ========================================================= */

.binw-page h1,
.binw-page h2,
.binw-page h3,
.binw-page h4,
.binw-page h5,
.binw-page h6 {
  padding-top: 0;
  padding-left: 0;

  font-family: inherit;
  color: var(--binw-text);

  text-transform: none;
  letter-spacing: normal;
}


/* Remove legacy SiteOrigin headline decoration when a
   migrated component provides its own visual hierarchy. */

.binw-page .sow-headline-container .decoration {
  display: none !important;
}