/*
Theme Name:   Operation Iron Gate
Theme URI:    https://pathfindersforhope.org
Description:  Child theme for Operation Iron Gate — powered by Ninety-Nine Systems, Inc.
Author:       Pathfinders for Hope
Author URI:   https://pathfindersforhope.org
Template:     hello-elementor
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:  operation-iron-gate
*/

/*
 * WordPress-context fixes only.
 * All design tokens and layout rules live in oig/styles.css.
 * Do not add design rules here.
 */

/* Remove default WordPress margins that fight the ported layout */
.site-content,
.entry-content {
	margin: 0;
	padding: 0;
}

/* Elementor full-width override */
.elementor-page .site-content {
	padding-top: 0;
}

/* OIG TYPOGRAPHY BRIDGE v2 — REMOVED 2026-08-17.
 * It set ONE font-size per heading TAG with !important:
 *     :is(h1) clamp(44px,7.4vw,108px)  :is(h2) clamp(34px,4.8vw,68px)
 *     :is(h3) clamp(22px,2.2vw,32px)   :is(h4) 20px
 * One size per tag is wrong by construction on this design. MEASURED live at
 * 1440px: <h2> alone has SEVEN distinct intended sizes (120.96 / 77.76 / 68 /
 * 67.68 / 54 / 31.68 / 12). Forcing 68px rendered .ledger__label and
 * .cap__eyebrow - both intended at 12px - at 68px, and .ev__h (intended
 * 120.96) also at 68px. The h1 clamp was the SUPERSEDED token: styles.css:49
 * says clamp(44px,7.4vw,108px) but :root at styles.css:2459 overrides it to
 * clamp(46px,8.6vw,132px), so 1440px wants 123.84px, not 106.56px.
 * It also forced text-transform:uppercase and font-family:Anton on every
 * h1/h2/h3 regardless of design intent.
 *
 * Replaced by oig/elementor-bridge.css, which makes the heading TAG
 * typographically transparent so the design class on the widget WRAPPER
 * governs - preserving all seven sizes and every clamp().
 * Backup of the removed block: style.css.bak-typography-v2-2026-08-17
 * DO NOT REINSTATE. See HANDOFF section 26. */

/* ===========================================================================
 * FOUR MORE BLOCKS REMOVED 2026-08-17 — "Body text", "Body large", "Eyebrow"
 * and "OIG BODY FONT FIX" (the last existed only on the server). All four were
 * design rules in a file whose own header says design rules do not belong
 * here, and all four are already declared correctly in oig/styles.css.
 *
 * ---------------------------------------------------------------------------
 * 1. "Body text"  —  body, .elementor-widget-text-editor p
 *        { font-family: Archivo, sans-serif; font-size: 16px; line-height: 1.6 }
 *
 *    THIS WAS THE ACTUAL TYPOGRAPHY BUG, and it was a font-SIZE bug, not a
 *    font-family one. At (0,1,1) it outranked every design paragraph class,
 *    which sit at (0,1,0). MEASURED live on the homepage: 39 of 61 text-editor
 *    paragraphs were flattened to 16px, including
 *        .pull__q        80.64 -> 16      .crisis__hammer  77.76 -> 16
 *        .dsrt__closer      58 -> 16      .hero__now       19.44 -> 16
 *        .sig__file        8.5 -> 16      .law__k           10.5 -> 16  x4
 *        .path__b           13 -> 16 x5   .rcpt__lab          13 -> 16  x4
 *    .hero__now is the 211 crisis line — the most important control on the
 *    site. It was rendering at body size.
 *
 * 2. "OIG BODY FONT FIX"  —  Space Grotesk with !important on body and the
 *    text-editor selectors. It existed only to beat block 1's Archivo, and it
 *    worked: measured before removal, all 115 text-editor paragraphs already
 *    rendered Space Grotesk. With block 1 gone there is nothing left to beat.
 *    oig/styles.css:4128 already declares
 *        :root{--font-body:"Space Grotesk","Archivo",...}
 *    and body{font-family:var(--font-body)} carries it to every paragraph by
 *    inheritance — the single lever the founder ruling specifies. Its carve-out
 *    em,.em{font-family:"Archivo"} at styles.css:4129 keeps the orange italic
 *    emphasis device on Archivo, which has the width axis and true italic that
 *    Space Grotesk lacks.
 *
 *    NOTE both blocks had to go TOGETHER. Removing only the Space Grotesk one
 *    would have left the Archivo rule as the sole DIRECT rule on
 *    .elementor-widget-text-editor p, and a direct rule always beats an
 *    inherited one — so the body face would have regressed to Archivo
 *    site-wide.
 *
 * 3. "Body large"  —  .body-lg{font-size:18px!important;line-height:1.55!important}
 *    oig/styles.css already has
 *      .body-lg{font-size:var(--fs-body-lg);line-height:1.55;max-width:58ch;text-wrap:pretty}
 *    with --fs-body-lg:18px. Same values, minus max-width and text-wrap, plus
 *    !important that would block any future token change.
 *
 * 4. "Eyebrow"  —  .eyebrow{font-size:13px!important;font-weight:600!important;
 *                           text-transform:uppercase!important;letter-spacing:.16em!important}
 *    oig/styles.css already has
 *      .eyebrow{font-size:var(--fs-eyebrow);font-weight:600;text-transform:uppercase;letter-spacing:.16em;line-height:1}
 *    with --fs-eyebrow:13px. Same values, minus line-height, plus !important
 *    that would flatten every .eyebrow--* variant.
 *
 * The Elementor KIT was deliberately NOT changed. Its Text typography emits
 * only CSS variables (--e-global-typography-text-*), which nothing on this site
 * consumes — the design uses its own --font-body. And elementor_google_fonts is
 * unset (defaults ON), so naming "Space Grotesk" in the kit would make Elementor
 * enqueue it from fonts.googleapis.com, which the acceptance test forbids.
 *
 * Backup of the file as it stood: style.css.bak-body-font-2026-08-17
 * DO NOT REINSTATE ANY OF THESE. See HANDOFF section 29.
 * =========================================================================== */
