/* cae-website-redesign-theme-site-overlay-fix-thenumbers-cae: assets/css/fix-thenumbers-cae.css */
/* Page-scoped hand fix (2026-09-28): Impact > The Numbers only —
 *   /impact/the-numbers/  (body.cae-page--cae-impact-thenumbers, Kate 869ew32hu; stats animation 869ex39f9)
 * Enqueued only on that route (functions.php); every rule also carries the page body class.
 * Units: CSS px strings here are design px (the page presents at zoom 0.8; frame px = design px).
 *
 * T1 · THE PROGRAM LOGOS ARE TABS. The design is eight frames of one page (23312:14829 Atkins Field,
 * 196634 Farm Connex, 198311 Food Hub, 200630 Vermont Farm Fund, 202295 Community Connections,
 * 204651 Farm & Food Business Resources, 206365 Just Cut, 209399 Vermont Food Venture Center), one per
 * logo in the 2024 PROGRAM HIGHLIGHTS strip: the pressed logo sits on the cream tile in full colour,
 * the others on the 20 % white tile in white, and the band under the strip shows THAT program's stats
 * only (Kate 09-08: "the design link shows the per-program stats -- go through the full clickthrough").
 * CAUSE: the renderer (inc/cae-records-grid.php cae_recgrid_render_program_stats) emits all eight
 * panels as siblings and nothing switches them, so the page stacked 8 bands (8391 CSS px vs the
 * frame's 2866). fix-thenumbers-cae.js marks the band .tn-tabs-ready and one panel .is-tn-active;
 * without the script every panel stays visible (no-JS readers lose no stat).
 */
body.cae-page--cae-impact-thenumbers .tn-tabs-ready > [class*="__row-figma-generic-row-23312-196596"]:not(.is-tn-active) { display: none !important; } /* wins over every panel layout below */

body.cae-page--cae-impact-thenumbers .tn-tab { cursor: pointer; transition: background-color .15s ease; }
body.cae-page--cae-impact-thenumbers .tn-tab.tn-tab { background-color: rgba(255, 255, 255, 0.2); }
body.cae-page--cae-impact-thenumbers .tn-tab.tn-tab.is-tn-active { background-color: #f7f4e2; }
/* 2026-10-10 Kate: match the Programs & Places tab block — hover turns the tile cream with its full-colour logo
 * (the JS swaps the logo on hover), inactive logos are solid white, every logo sits centred in its tile. */
body.cae-page--cae-impact-thenumbers .tn-tab:not(.is-tn-active):hover { background-color: #f7f4e2; }
body.cae-page--cae-impact-thenumbers .tn-tab { display: flex !important; align-items: center; justify-content: center; }
body.cae-page--cae-impact-thenumbers .tn-tab > figure { margin: 0 !important; width: auto !important; display: flex; align-items: center; justify-content: center; }
body.cae-page--cae-impact-thenumbers .tn-tab:not(.is-tn-active):not(:hover) img { filter: brightness(0) invert(1); }
body.cae-page--cae-impact-thenumbers .tn-tab:focus-visible { outline: 3px solid #f7f4e2; outline-offset: 3px; }
/* Atkins Field has no white logo file: its full-colour mark is whitened while its tab is not pressed. */
body.cae-page--cae-impact-thenumbers .tn-tab--whiten:not(.is-tn-active):not(:hover) img { filter: brightness(0) invert(1); }

/* T2 · THE STATS BAND COMPOSITION (1440 and 1024; the 1024 canvas is 1280 design px, so the 1200 row fits).
 * Frame 23312:196595: band 1440 x 526, padding 64; row 196596 1200 wide at x 120, two columns centred
 * with a 73 gap — the well column 204470 408 wide at x 191, the stat column 204428 577 wide at x 672.
 * CAUSE: the row is a .row whose .col-5/.col-7 grid classes size the columns 600/840 across the band
 * (served: well at x 132, stats at x 732, row 1440 wide). */
@media (min-width: 1024px) {
  body.cae-page--cae-impact-thenumbers [class*="__row-figma-generic-row-23312-196596"].row {
    display: flex; flex-wrap: nowrap; justify-content: center; align-items: center;
    gap: 73px; width: 1200px; max-width: 100%; margin-inline: auto; padding: 0; --bs-gutter-x: 0;
  }
  body.cae-page--cae-impact-thenumbers [class*="__row-figma-generic-row-23312-196596"].row > [class*="column-23312-204470"] {
    flex: 0 0 408px; width: 408px; max-width: 408px; padding: 0; margin: 0;
  }
  body.cae-page--cae-impact-thenumbers [class*="__row-figma-generic-row-23312-196596"].row > [class*="column-23312-204428"] {
    flex: 0 0 577px; width: 577px; max-width: 577px; padding: 0; margin: 0;
  }
  /* The well's ground is the drawn brush SVG; the < 1152 px flat brick fill (style.css) painted a
   * rectangle behind it at 1024. */
  body.cae-page--cae-impact-thenumbers [class*="__column-figma-generic-column-23312-204419"] { background-color: transparent; }
  /* ...and the ground itself is hidden below 1152 (style.css) — shown again from 1024, where the 1200 row is drawn. */
  body.cae-page--cae-impact-thenumbers [class*="__media-figma-image-23312-204420"] { display: block; }
  /* A clone's well can be wider or taller than the drawn 408 x 299 (Community Connections spans the row):
   * its ground (the stretchable SVG view the renderer emits for clones) fills the well. */
  body.cae-page--cae-impact-thenumbers [data-cae-program] [class*="__media-figma-image-23312-204420"] { width: 100%; height: 100%; }
  body.cae-page--cae-impact-thenumbers [data-cae-program] [class*="__media-figma-image-23312-204420"] img { width: 100%; height: 100%; max-width: none; aspect-ratio: auto; }
}

/* T3 · FIGURE AND LABEL BOXES. The frame's text boxes are cap-trimmed: figure '21' at 120 px is an 84 px
 * box (not its 158.9 px line), label 'Farmers Markets' at 40 px a 27 px box. CAUSE: served at the full
 * line height (figure 159, label 50), so the well's content grew 203 -> 301 and the detail line
 * ('hosted with live music, local food, ...', cream) fell below the 299-tall brick ground onto the cream
 * page — invisible. Trimmed to the cap box, the well is the drawn 408 x 299 again. */
body.cae-page--cae-impact-thenumbers [class*="__heading-figma-text-23312-2044"] { line-height: 1.05; text-box: trim-both cap alphabetic; }
/* Labels: Acumin Pro Condensed reports a cap height that trims a 40 px line to 13 px (glyphs then ride
 * 14 px up into the figure), so the label's cap box is cut with margins instead: a 1.25 line less
 * 0.29 em top and bottom = the drawn 27 px box at 40 px, and every further line adds its full 50. */
body.cae-page--cae-impact-thenumbers :is([class*="__body-figma-text-23312-204425"], [class*="__body-figma-text-23312-204436"], [class*="__body-figma-text-23312-204444"]) { line-height: 1.25; margin-block: -0.29em; }
/* Clone wells were floored at 397 (the untrimmed served height, records-grid-cae.css:1581); the drawn
 * well is 299. The clone ground still stretches with longer copy. */
body.cae-page--cae-impact-thenumbers [data-cae-program] [class*="__column-figma-generic-column-23312-204419"] { min-height: 299px; }
/* A figure never leaves its well or its stat slot: fix-thenumbers-cae.js steps its size down (never
 * up past the drawn 120) until its widest line fits; this keeps a long word ('MILLION') in its box
 * before the script runs. */
body.cae-page--cae-impact-thenumbers [class*="__heading-figma-text-23312-2044"] { max-width: 100%; overflow-wrap: normal; white-space: nowrap; }
/* The well's text column is the drawn 312 (408 less 48 + 48), not content-sized, so a figure has a slot to fit. */
body.cae-page--cae-impact-thenumbers :is([class*="__row-figma-generic-row-23312-204421"], [class*="__column-figma-generic-column-23312-204422"]) { width: 100%; max-width: 312px; }

/* T4 · STACKED LABELS. A STACKED label (records-grid-cae.css: figure above, label under it at 12) sits under a
 * cap-trimmed figure, so a comma or '$' tail (0.15 em below the baseline) ran into the label ('2,142' / 'lbs.',
 * '$645,009' / 'loaned out in 2024'); the gap clears the tail. (Every program frame centres its stat column,
 * as the Atkins row does; see T7 for the frames that centre it on the well and put the CTA under the row.) */
body.cae-page--cae-impact-thenumbers [data-cae-program] :is([class*="__row-figma-generic-row-23312-204433"], [class*="__row-figma-generic-row-23312-204441"]):has(.cae-recgrid-program-label--stacked) { gap: 32px; }

/* T5 · COMMUNITY CONNECTIONS (frame 23312:202295). The frame draws this program's panel differently from the
 * Atkins template the renderer clones: the brick well spans the 1200 row (548 / Hours of Programming on the
 * left, the eight-line hours breakdown in two columns right of a yellow rule), the eight stats in two
 * columns of four under it (62 2K+ 29K+ 17 | 300 11 15 43), the CTA under the stats. Same markup, laid out
 * as drawn: the two column wrappers step aside (display: contents) and the row becomes a one-column grid
 * well / stats / CTA. The client's 'This breaks down into:' line stays (the frame omits it; Kate item
 * 90120269487343 is still open) at the head of the breakdown column. */
@media (min-width: 1024px) {
  body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"].row {
    display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 64px; align-items: start;
  }
  body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"].row :is([class*="column-23312-204470"], [class*="column-23312-204428"], [class*="column-23312-204429"]) { display: contents; }
  body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] [class*="__column-figma-generic-column-23312-204419"] {
    order: 1; width: 100%; align-self: stretch;
    display: grid; grid-template-columns: 312px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 64px; align-items: center;
  }
  body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] [class*="__row-figma-generic-row-23312-204421"] { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
  body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] .cae-recgrid-program-subhead,
  body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] .cae-recgrid-program-sublist {
    grid-column: 2; border-left: 3px solid var(--wp--preset--color--primary-butter-yellow, #f2a91e); padding-left: 48px; margin: 0; align-self: stretch;
  }
  body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] .cae-recgrid-program-subhead { grid-row: 1; padding-bottom: 12px; }
  body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] .cae-recgrid-program-sublist {
    grid-row: 2; display: block; columns: 2; column-gap: 48px;
    font-family: var(--wp--preset--font-family--acumin-pro-condensed, inherit); font-size: 20px; line-height: 24px;
  }
  body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] .cae-recgrid-program-sublist li { break-inside: avoid; padding-block: 0 12px; }
  body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] .wp-block-buttons { order: 3; }
  body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] .cae-recgrid-program-stack {
    order: 2; width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); grid-auto-flow: column;
    column-gap: 64px; row-gap: 77px;
  }
  /* the bottom unit of each column carries no rule under it */
  body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] .cae-recgrid-program-stack > :is(:nth-child(4), :nth-child(8)) > [class*="__media-figma-image-23312-204438"] { display: none; }
}

/* T5b · COMMUNITY CONNECTIONS — Kate's dev notes (ClickUp 869fguex0, CAE-The-Numbers-Community-Connections-Dev-Notes.docx,
 * 2026-10-13; caeassist PACKET-277, approved previews 1-2). Copy and order live in records-grid.json (her content rows,
 * byte-exact); the renderer marks the two FEATURED stats (cae-recgrid-program-fig--holder) and writes each breakdown item as
 * number + label (cae-recgrid-program-subnum / -sublabel).
 * §1 Left block: 548 / Hours of Programming / provided to the community., centred. */
body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] [class*="__row-figma-generic-row-23312-204421"],
body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] [class*="__row-figma-generic-row-23312-204421"] :is([class*="__column-figma-generic-column-23312-204422"], [class*="__column-figma-generic-column-23312-204424"]) { align-items: center; text-align: center; }
body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] [class*="__row-figma-generic-row-23312-204421"] :is(h2, p) { text-align: center; margin-inline: auto; }
/* §1 Breakdown: two-line items, number on top (Bookman Press Sans, white, 42/1, 4 below), label under it (Acumin Pro 17,
 * cream, one line); 18 between items; never split across the two columns; centred in its column. */
body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] .cae-recgrid-program-sublist { list-style: none; }
body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] .cae-recgrid-program-sublist li.cae-recgrid-program-subitem {
  display: flex; flex-direction: column; align-items: center; text-align: center; break-inside: avoid; margin: 0; padding: 0 0 18px;
}
body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] .cae-recgrid-program-sublist .cae-recgrid-program-subnum {
  display: block; margin: 0 0 4px; font-family: var(--wp--preset--font-family--bookman-press-sans); font-size: 42px; line-height: 1; font-weight: 400; color: #FFFFFF;
}
body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] .cae-recgrid-program-sublist .cae-recgrid-program-sublabel {
  display: block; font-family: var(--wp--preset--font-family--acumin-pro); font-size: 17px; line-height: 1.3; font-weight: 400; color: #F7F4E2; white-space: nowrap;
}
/* §2 Featured row: 2,142 and 29,357 in white holders, number / label / detail stacked, no shadow, no grey rule. */
body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] .cae-recgrid-program-stack > :has(.cae-recgrid-program-fig--holder) { background: #FFFFFF; padding: 36px 40px 32px; box-shadow: none; box-sizing: border-box; }
body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] .cae-recgrid-program-stack > :has(.cae-recgrid-program-fig--holder) > [class*="__media-figma-image-23312-204438"] { display: none; }
/* :not(#cae-m) out-ranks mobile-cae.css's id-level row rule (flex-wrap: wrap below 600, which put the label beside the figure) */
body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"]:not(#cae-m) .cae-recgrid-program-stack > :has(.cae-recgrid-program-fig--holder) :is([class*="__row-figma-generic-row-23312-204433"], [class*="__row-figma-generic-row-23312-204441"]) {
  display: flex; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 24px; height: auto;
}
/* inside a holder the label column takes its content's height (below 1024 an inherited zero flex-basis let the label ride up
 * into the figure: measured at 768, label top 48 device px under the figure top) */
body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] .cae-recgrid-program-stack > :has(.cae-recgrid-program-fig--holder) :is([class*="__column-figma-generic-column-23312-204435"], [class*="__column-figma-generic-column-23312-204443"]) { height: auto; flex: 0 0 auto; }
/* "This breaks down into:" centred over the list at every width (Kate §1; below 1024 the list is one centred column) */
body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] .cae-recgrid-program-subhead { text-align: center; }
@media (min-width: 1024px) {
  /* §1 the yellow rule is ONE line: the well's 8 px row gap no longer opens between the heading's and the list's borders;
   * the heading keeps 24 below it inside the line and is centred over the list (both carry the 48 left padding). */
  body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] [class*="__column-figma-generic-column-23312-204419"] { row-gap: 0; }
  body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] .cae-recgrid-program-subhead { text-align: center; padding-bottom: 24px; }
  /* §2 remaining cards side by side, the number in a fixed column so every label in a column starts at the same x. The
   * column is the widest figure it holds at 120 (measured canvas px: left 62 = 141.2, right 300 = 220), so every label
   * stays on one line (Grow Your Own Workshops 390 in 402; Hazen Union Students 321.2 in 324). */
  body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] .cae-recgrid-program-stack { --cae-cc-figcol: 142px; }
  body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] .cae-recgrid-program-stack > :nth-child(n+5) { --cae-cc-figcol: 220px; }
  body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] .cae-recgrid-program-stack > :not(:has(.cae-recgrid-program-fig--holder)) :is([class*="__row-figma-generic-row-23312-204433"], [class*="__row-figma-generic-row-23312-204441"]) > h2 { flex: 0 0 var(--cae-cc-figcol); }
}

/* T6 · GET INVOLVED band (CTA-1Button 23312:14840, frame 1440 x 351: green copy panel 0-747, photo 747-1440)
 * at 1024-1151. CAUSE (shared): style.css's @media (max-width: 1151.98px) un-pins the copy column and photo
 * and stacks them (served 600 tall at 1024). Same composition the Impact fixer set on /impact/ and
 * /impact/stories/ (fix-impact-cae.css D3), scoped here to this page. */
@media (min-width: 1024px) and (max-width: 1151.98px) {
  body.cae-page--cae-impact-thenumbers section[class*="-cta-1button-generic"].alignfull {
    display: grid; grid-template-columns: 747fr 693fr; align-items: stretch;
    min-height: 351px; padding: 0; background-color: var(--wp--preset--color--primary-evergreen);
  }
  body.cae-page--cae-impact-thenumbers section[class*="-cta-1button-generic"].alignfull > [class*="__decor-figma-generic-decor-"] { display: none; }
  body.cae-page--cae-impact-thenumbers section[class*="-cta-1button-generic"].alignfull > [class*="__column-figma-generic-column-"] {
    grid-column: 1; grid-row: 1; align-self: center; position: static; width: auto; max-width: 579px;
    padding: 51px 48px 51px 40px; box-sizing: content-box; order: 0; margin: 0;
  }
  body.cae-page--cae-impact-thenumbers section[class*="-cta-1button-generic"].alignfull > figure[class*="__media-figma-image-"] {
    grid-column: 2; grid-row: 1; position: relative; width: auto; height: auto; min-height: 351px; margin: 0; order: 1;
  }
  body.cae-page--cae-impact-thenumbers section[class*="-cta-1button-generic"].alignfull > figure[class*="__media-figma-image-"] > img {
    position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover;
  }
}

/* T7 · PROGRAM VARIANTS (renderer: inc/cae-records-grid.php cae_recgrid_ps_variant). A program whose own
 * frame composes the band differently carries data-cae-ps-variant="<frame node>", data-cae-ps-tile="<n>",
 * data-cae-ps-side and its frame widths as --cae-ps-row / --cae-ps-well / --cae-ps-stack. Frame px:
 *   Vermont Farm Fund 23312:200630  well 408 (the $4M stat) + stack 561, row 1200
 *   Food Hub          23312:198311  well 750 (7,000 and, under a yellow rule, 4 Types of Storage) + stack 377
 *   Just Cut          23312:206365  row 1078 at x 181: well 571 (185,412, rule, 'which became' 580,000) + stack 434
 *   VFVC              23312:209399  stack 555 left (17, 1,963, 30, 150; CTA under it) + well 572 right (the
 *                                   products list: heading Bookman 48/56 white, yellow rule, Acumin 24/32 list) */
@media (min-width: 1024px) {
  body.cae-page--cae-impact-thenumbers [data-cae-ps-variant][class*="__row-figma-generic-row-23312-196596"].row { width: var(--cae-ps-row, 1200px); }
  body.cae-page--cae-impact-thenumbers [data-cae-ps-variant][class*="__row-figma-generic-row-23312-196596"].row > [class*="column-23312-204470"] {
    flex-basis: var(--cae-ps-well); width: var(--cae-ps-well); max-width: var(--cae-ps-well);
  }
  body.cae-page--cae-impact-thenumbers [data-cae-ps-variant][class*="__row-figma-generic-row-23312-196596"].row > [class*="column-23312-204428"] {
    flex-basis: var(--cae-ps-stack); width: var(--cae-ps-stack); max-width: var(--cae-ps-stack);
  }
  /* CTA under the row, stat column centred on the well (Farm Connex 196634, FFBR 204651, Just Cut 206365). */
  body.cae-page--cae-impact-thenumbers [data-cae-ps-cta="under"][class*="__row-figma-generic-row-23312-196596"].row {
    display: grid; grid-template-columns: var(--cae-ps-well) var(--cae-ps-stack); column-gap: 73px; row-gap: 48px;
    justify-content: center; align-items: center;
  }
  body.cae-page--cae-impact-thenumbers [data-cae-ps-cta="under"].row > [class*="column-23312-204470"] { display: contents; }
  body.cae-page--cae-impact-thenumbers [data-cae-ps-cta="under"][class*="__row-figma-generic-row-23312-196596"].row > [class*="column-23312-204470"] > [class*="__column-figma-generic-column-23312-204419"] { grid-column: 1; grid-row: 1; width: 100%; }
  body.cae-page--cae-impact-thenumbers [data-cae-ps-cta="under"].row > [class*="column-23312-204470"] > .wp-block-buttons { grid-column: 1 / -1; grid-row: 2; }
  body.cae-page--cae-impact-thenumbers [data-cae-ps-cta="under"].row > [class*="column-23312-204428"] { grid-column: 2; grid-row: 1; width: auto; max-width: none; }
  /* Well on the right, CTA under the stat column (VFVC): a two-column grid on the same markup. */
  body.cae-page--cae-impact-thenumbers [data-cae-ps-side="right"][class*="__row-figma-generic-row-23312-196596"].row {
    display: grid; grid-template-columns: var(--cae-ps-stack) var(--cae-ps-well); column-gap: 73px; row-gap: 64px;
    justify-content: center; align-items: start;
  }
  body.cae-page--cae-impact-thenumbers [data-cae-ps-side="right"].row > [class*="column-23312-204470"] { display: contents; }
  body.cae-page--cae-impact-thenumbers [data-cae-ps-side="right"].row > [class*="column-23312-204428"] { grid-column: 1; grid-row: 1; width: auto; max-width: none; }
  body.cae-page--cae-impact-thenumbers [data-cae-ps-side="right"][class*="__row-figma-generic-row-23312-196596"].row > [class*="column-23312-204470"] > [class*="__column-figma-generic-column-23312-204419"] { grid-column: 2; grid-row: 1 / span 2; width: 100%; align-self: start; }
  body.cae-page--cae-impact-thenumbers [data-cae-ps-side="right"].row > [class*="column-23312-204470"] > .wp-block-buttons { grid-column: 1; grid-row: 2; }
}
/* T7b · VERMONT FOOD VENTURE CENTER — Kate's dev notes (ClickUp 869fguheg, CAE-The-Numbers-VFVC-Dev-Notes.docx, 2026-10-13;
 * caeassist PACKET-280, approved preview). The Community Connections convention: the rust Products panel full width on top,
 * the four stats under it in a 2 x 2 grid (17 / 1,963, then 30 / 150; side by side, 73 between the columns; 88 between the
 * rows, the row-1 rule hanging 40 under its card sits mid-gap), a grey rule
 * between the two rows only, the CTA right under the stats. Copy in records-grid.json (her rows; the 17 and 1,963 details
 * are HELD pending CAE). The products list runs in three columns of four, two below 1024, one below 600. */
@media (min-width: 1024px) {
  body.cae-page--cae-impact-thenumbers [data-cae-program="vermont-food-venture-center"][class*="__row-figma-generic-row-23312-196596"].row { grid-template-columns: minmax(0, 1fr); width: 1200px; row-gap: 48px; }
  body.cae-page--cae-impact-thenumbers [data-cae-program="vermont-food-venture-center"][class*="__row-figma-generic-row-23312-196596"].row > [class*="column-23312-204470"] > [class*="__column-figma-generic-column-23312-204419"] { grid-column: 1; grid-row: 1; }
  body.cae-page--cae-impact-thenumbers [data-cae-program="vermont-food-venture-center"][class*="__row-figma-generic-row-23312-196596"].row > [class*="column-23312-204428"] { grid-column: 1; grid-row: 2; flex: none; flex-basis: auto; width: 100%; max-width: none; }
  body.cae-page--cae-impact-thenumbers [data-cae-program="vermont-food-venture-center"].row > [class*="column-23312-204470"] > .wp-block-buttons { grid-column: 1; grid-row: 3; }
  body.cae-page--cae-impact-thenumbers [data-cae-program="vermont-food-venture-center"].row [class*="column-23312-204428"] > [class*="column-23312-204429"], body.cae-page--cae-impact-thenumbers [data-cae-program="vermont-food-venture-center"].row .cae-recgrid-program-stack { width: 100%; max-width: none; }
  body.cae-page--cae-impact-thenumbers [data-cae-program="vermont-food-venture-center"] .cae-recgrid-program-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; grid-auto-flow: row; column-gap: 73px; row-gap: 88px; }
  body.cae-page--cae-impact-thenumbers [data-cae-program="vermont-food-venture-center"] .cae-recgrid-program-tilelist .cae-recgrid-program-sublist { column-count: 3; column-gap: 40px; }
}
@media (min-width: 600px) and (max-width: 1023.98px) {
  body.cae-page--cae-impact-thenumbers [data-cae-program="vermont-food-venture-center"] .cae-recgrid-program-tilelist .cae-recgrid-program-sublist { column-count: 2; column-gap: 40px; }
}
body.cae-page--cae-impact-thenumbers [data-cae-program="vermont-food-venture-center"] .cae-recgrid-program-tilelist .cae-recgrid-program-sublist li { break-inside: avoid; }
/* a grey rule only between the two stat rows: the second row's cards carry none */
@media (min-width: 1024px) {
  body.cae-page--cae-impact-thenumbers [data-cae-program="vermont-food-venture-center"] .cae-recgrid-program-stack > :nth-child(n+3) > [class*="__media-figma-image-23312-204438"] { display: none; }
}

/* T7c · JUST CUT — Kate's dev notes (ClickUp 869fgugzf, CAE-The-Numbers-Just-Cut-Dev-Notes.docx, 2026-10-13; caeassist
 * PACKET-281, approved preview). Both right-column stats STACKED (number, label, detail) at every width; copy in
 * records-grid.json (her rows). :not(#cae-m) out-ranks mobile-cae.css's id-level row rule (flex-wrap below 600). */
body.cae-page--cae-impact-thenumbers [data-cae-program="just-cut"]:not(#cae-m) .cae-recgrid-program-stack :is([class*="__row-figma-generic-row-23312-204433"], [class*="__row-figma-generic-row-23312-204441"]) {
  display: flex; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 24px; height: auto;
}
body.cae-page--cae-impact-thenumbers [data-cae-program="just-cut"] .cae-recgrid-program-stack :is([class*="__column-figma-generic-column-23312-204435"], [class*="__column-figma-generic-column-23312-204443"]) { flex: 0 0 auto; height: auto; }
/* At 1024 up the 46 sits level with 185,412 and the 17 with 580,000 (her alignment note): the stat column starts at the
 * well's 48 top padding and the first stat's box is the 294 between the two well figures (measured canvas px: 185,412 top
 * 1666, 580,000 top 1960), its grey rule at the foot of that box. */
@media (min-width: 1024px) {
  body.cae-page--cae-impact-thenumbers [data-cae-program="just-cut"][class*="__row-figma-generic-row-23312-196596"].row > [class*="column-23312-204428"] { align-self: start; margin-top: 48px; }
  body.cae-page--cae-impact-thenumbers [data-cae-program="just-cut"] .cae-recgrid-program-stack { grid-template-rows: 294px auto; row-gap: 0; }
  body.cae-page--cae-impact-thenumbers [data-cae-program="just-cut"] .cae-recgrid-program-stack > :first-child { height: 294px; justify-content: space-between; box-sizing: border-box; }
  /* the rule (absolute, records-grid-cae.css: top 100% + 40) midway between the 46's detail (bottom 1840.6) and the 17
   * (top 1959.8): its foot 57 above the 17 */
  body.cae-page--cae-impact-thenumbers [data-cae-program="just-cut"] .cae-recgrid-program-stack > :first-child > [class*="__media-figma-image-23312-204438"] { top: auto; bottom: 57px; }
}

/* The well's own stat column takes the frame's text slot (312 is the Atkins slot only). */
body.cae-page--cae-impact-thenumbers [data-cae-ps-variant] :is([class*="__row-figma-generic-row-23312-204421"], [class*="__column-figma-generic-column-23312-204422"], [class*="__column-figma-generic-column-23312-204424"]) { width: 100%; max-width: none; }
/* The well is its column's width (it was content-sized, so a long figure widened it past its column). */
@media (min-width: 1024px) {
  body.cae-page--cae-impact-thenumbers [class*="__row-figma-generic-row-23312-196596"] > [class*="column-23312-204470"] > [class*="__column-figma-generic-column-23312-204419"] { width: 100%; box-sizing: border-box; align-self: stretch; }
}
/* Below 1024 the card column (204470, the rust well + its More About button) kept the bootstrap .row > * half-gutter on
 * its right only (padding-right 36.5, left 0; the gutter is 73 below 1024, 0 from 1024 up) and the well its content width
 * at the column's left, so the card sat 15 presented px left of centre at 768 (236..503 in its centred 236..532 column,
 * over the stats' 153..615), 29 px short of the stats' right edge at 390, and 33 px off centre on Farm Connex at 1000.
 * Below 1024 the column drops that padding, the well fills its column (the 1024-up rule above), and the 36.5 gap moves
 * to the row's column-gap, so a side-by-side card keeps its 29 px to the stats and a stacked card is centred. */
@media (max-width: 1023.98px) {
  body.cae-page--cae-impact-thenumbers [class*="__row-figma-generic-row-23312-196596"].row { column-gap: 36.5px; }
  body.cae-page--cae-impact-thenumbers [class*="__row-figma-generic-row-23312-196596"].row > [class*="column-23312-204470"] { padding-right: 0; }
  body.cae-page--cae-impact-thenumbers [class*="__row-figma-generic-row-23312-196596"] > [class*="column-23312-204470"] > [class*="__column-figma-generic-column-23312-204419"] { width: 100%; box-sizing: border-box; align-self: stretch; }
}
/* A second stat in the well: 48 under the first, a 5 px yellow rule, 48 to the stat (Food Hub, Just Cut). */
body.cae-page--cae-impact-thenumbers .cae-recgrid-program-tilestat { margin-top: 40px; display: flex; flex-direction: column; }
body.cae-page--cae-impact-thenumbers .cae-recgrid-program-tilestat > [class*="__media-figma-image-23312-204438"] {
  height: 5px; margin: 0 0 48px; border-radius: 3px; background: var(--wp--preset--color--primary-butter-yellow); position: static;
}
body.cae-page--cae-impact-thenumbers .cae-recgrid-program-tilestat > [class*="__media-figma-image-23312-204438"] img { visibility: hidden; }
body.cae-page--cae-impact-thenumbers .cae-recgrid-program-tilestat [class*="__heading-figma-text-23312-2044"] { color: var(--wp--preset--color--white); }
body.cae-page--cae-impact-thenumbers .cae-recgrid-program-tilestat :is([class*="__body-figma-text-23312-2044"]) { color: var(--wp--preset--color--light-cream); }
body.cae-page--cae-impact-thenumbers .cae-recgrid-program-tilestat [class*="__row-figma-generic-row-23312-204432"] { min-height: 0; height: auto; }
/* Just Cut: 'which became' (Bookman 48/56, cream, 0.96 tracking), 32 to the figure, 32 to its label. */
body.cae-page--cae-impact-thenumbers .cae-recgrid-program-tilestat--split { gap: 0; }
body.cae-page--cae-impact-thenumbers .cae-recgrid-program-lead {
  margin: 0 0 32px; font-family: var(--wp--preset--font-family--bookman-press-sans); font-size: 48px; line-height: 56px;
  letter-spacing: 0.96px; color: var(--wp--preset--color--cream); text-box: trim-both cap alphabetic;
}
body.cae-page--cae-impact-thenumbers .cae-recgrid-program-tilestat--split > h2 { margin: 0 0 32px; }
body.cae-page--cae-impact-thenumbers .cae-recgrid-program-tilestat--split > p[class*="__body-figma-text-23312-204426"] { margin-top: 24px; }
/* VFVC: the products list is the well. */
body.cae-page--cae-impact-thenumbers .cae-recgrid-program-tilelist { position: relative; }
body.cae-page--cae-impact-thenumbers .cae-recgrid-program-tilelist .cae-recgrid-program-subhead {
  margin: 0 0 32px; padding-bottom: 32px; border-bottom: 5px solid var(--wp--preset--color--primary-butter-yellow);
  font-family: var(--wp--preset--font-family--bookman-press-sans); font-size: 48px; line-height: 56px; letter-spacing: 0.96px;
  font-weight: 400; color: var(--wp--preset--color--white); text-transform: none;
}
body.cae-page--cae-impact-thenumbers .cae-recgrid-program-tilelist .cae-recgrid-program-sublist {
  display: block; margin: 0; padding-left: 28px; list-style: disc;
  font-family: var(--wp--preset--font-family--acumin-pro); font-size: 24px; line-height: 32px; color: var(--wp--preset--color--light-cream);
}
body.cae-page--cae-impact-thenumbers .cae-recgrid-program-tilelist .cae-recgrid-program-sublist li { margin: 0 0 2px; }

/* T9 · PHONE + TABLET (mobile3-1009). Below 1024 the stat band stacks, so the cap-trimmed figure / label boxes
 * (T3, sized to fit the drawn 408 x 299 well) are not needed: the figure takes a 1.0 line, the label loses its
 * -0.29 em margins, and the stat rows drop their drawn heights (row 204432 was 98 tall holding a 162 row, so
 * "123" sat on the More About button and "9" on the rule). Below 600 the band takes the 20 px phone gutter. */
@media (max-width: 1023.98px) {
  body.cae-page--cae-impact-thenumbers [class*="__heading-figma-text-23312-2044"] { text-box: normal; line-height: 1; }
  body.cae-page--cae-impact-thenumbers :is([class*="__body-figma-text-23312-204425"], [class*="__body-figma-text-23312-204436"], [class*="__body-figma-text-23312-204444"]) { margin-block: 0; line-height: 1.1; }
  body.cae-page--cae-impact-thenumbers [class*="__row-figma-generic-row-23312-196596"] { height: auto; row-gap: 48px; }
  body.cae-page--cae-impact-thenumbers [class*="__row-figma-generic-row-23312-196596"] :is([class*="-generic__row-"], [class*="-generic__column-"]):not([class*="column-23312-204419"]) { height: auto; min-height: 0; }
}
@media (max-width: 599.98px) {
  body.cae-page--cae-impact-thenumbers [class*="__row-figma-generic-row-23312-196596"] { padding-inline: 20px; box-sizing: border-box; }
}

/* T10 · PHONE (mobile3-1009): PROGRAM HIGHLIGHTS logo tabs. Below 600 the tiles stack full width but kept heights
 * shorter than their logos (80 / 49 px for 64 / 39 px marks plus the drawn 32 px padding on the first), so the
 * logos ran over the next tile (COMMUNITY CONNECTIONS under FARM & FOOD BUSINESS RESOURCES). Each tile now
 * sizes to its logo with a 12 px inset, 96 design px minimum, logo centred, 12 px between tiles. */
@media (max-width: 599.98px) {
  body.cae-page--cae-impact-thenumbers .wp-site-blocks [class*="-generic__row-"]:has(> .tn-tab) {
    row-gap: 12px; height: auto !important; min-height: 0 !important;
  }
  body.cae-page--cae-impact-thenumbers .wp-site-blocks [class*="-generic__row-"] > .tn-tab {
    width: auto !important; height: auto !important; min-height: 96px; margin: 0 !important; padding: 12px !important;
    display: flex !important; align-items: center; justify-content: center; overflow: hidden;
  }
  body.cae-page--cae-impact-thenumbers .wp-site-blocks .tn-tab img { max-width: 100%; height: auto; }
}

/* T9 (cont.): below 600 the stat row drops the bootstrap .row -36.5 gutter margins, so the 20 px gutter holds (the
 * well and figures had started at x 7). */
@media (max-width: 599.98px) {
  body.cae-page--cae-impact-thenumbers [class*="__row-figma-generic-row-23312-196596"].row { margin-inline: 0; }
}
/* 600-1023 (tablet): the same bootstrap .row gutter margins (-36.5 on the stat row against the band's 36.5 padding, -8 on
 * the two logo-tab rows against their column's 8) pulled both rows to x 0 while their width stayed 100%, so at 768 the
 * stat rows sat at 0..710 (29 px left of centre, figures and the card 29 px off) and the tab tiles touched the viewport's
 * left edge with a 13 px gap on the right. With the margins at 0 both rows sit inside their parents' padding, centred. */
@media (min-width: 600px) and (max-width: 1023.98px) {
  body.cae-page--cae-impact-thenumbers [class*="__row-figma-generic-row-23312-196596"].row { margin-inline: 0; }
  body.cae-page--cae-impact-thenumbers .wp-site-blocks [class*="-generic__row-"].row:has(> .tn-tab) { margin-inline: 0; }
}
/* 600-1023 (tablet): the two drawn rows of four logo tabs keep four across, as from 1024 up. At the drawn 280 each, four
 * did not fit the 944-wide column, so each row wrapped three + one (768: Atkins Field, Farm Connex, Food Hub / Vermont
 * Farm Fund alone / three / Vermont Food Venture Center alone). Each tile now takes a quarter of the row less a 12 px gap,
 * its logo scaled down inside a 12 px side inset; tile height stays the drawn one. */
@media (min-width: 600px) and (max-width: 1023.98px) {
  body.cae-page--cae-impact-thenumbers .wp-site-blocks [class*="-generic__row-"].row:has(> .tn-tab) { flex-wrap: nowrap; column-gap: 12px; }
  body.cae-page--cae-impact-thenumbers .wp-site-blocks [class*="-generic__row-"] > .tn-tab { flex: 1 1 0; width: auto !important; min-width: 0; padding-inline: 12px !important; box-sizing: border-box; }
  body.cae-page--cae-impact-thenumbers .wp-site-blocks .tn-tab img { max-width: 100%; height: auto; }
}


/* 2026-10-10 Kate (chat): page spacing to match the other pages — breadcrumb→banner as News & Events (no extra 40px),
 * banner photo and torn edge full-bleed, 56px above and below the sub-page tabs, 2024 PROGRAM HIGHLIGHTS centred with the
 * Programs & Places band insets plus an intro line, Get Involved CTA full-bleed with 56px white above (as Programs & Places). */
body.cae-page--cae-impact-thenumbers .cae-website-redesign-cae-impact-thenumbers-frame-1261152172-generic__column-figma-generic-column-23312-19898 { margin-top: 0 !important; }
body.cae-page--cae-impact-thenumbers .cae-website-redesign-cae-impact-thenumbers-frame-1261152172-generic__state-tablist { margin-top: 56px !important; }
body.cae-page--cae-impact-thenumbers .cae-website-redesign-cae-impact-thenumbers-section-generic { padding-top: 31.5px !important; padding-bottom: 35.5px !important; margin-top: 56px !important; }
body.cae-page--cae-impact-thenumbers .cae-website-redesign-cae-impact-thenumbers-section-generic h2 { text-align: center !important; margin-top: 4px !important; }
body.cae-page--cae-impact-thenumbers .cae-website-redesign-cae-impact-thenumbers-section-generic .tn-highlights-intro { text-align: center; color: #f7f4e2; max-width: 860px; margin: 12px auto 0 !important; font-size: 22px; line-height: 1.5; }
body.cae-page--cae-impact-thenumbers .cae-website-redesign-cae-impact-thenumbers-section-generic [role=tablist] { margin-top: 27.5px !important; }
body.cae-page--cae-impact-thenumbers .cae-website-redesign-cae-impact-thenumbers-cta-1button-generic { margin-top: 56px !important; overflow: visible !important; }
@media (min-width: 1152px) {
body.cae-page--cae-impact-thenumbers .cae-website-redesign-cae-impact-thenumbers-cta-1button-generic > [class*="__decor-figma"] { left: calc(50% - 62.5vw) !important; width: calc(747px + 62.5vw - 50%) !important; top: 0; bottom: 0; height: auto !important; }
body.cae-page--cae-impact-thenumbers .cae-website-redesign-cae-impact-thenumbers-cta-1button-generic > figure[class*="__media-figma-image-i23312-14840-5490-45892"] { position: absolute !important; left: 747px; right: calc(50% - 62.5vw); top: 0; bottom: 0; max-width: none !important; margin: 0 !important; overflow: hidden; }
body.cae-page--cae-impact-thenumbers .cae-website-redesign-cae-impact-thenumbers-cta-1button-generic > figure[class*="__media-figma-image-i23312-14840-5490-45892"] img { width: 100% !important; height: 100% !important; object-fit: cover; max-width: none !important; }
}
body.cae-page--cae-impact-thenumbers .cae-website-redesign-cae-impact-thenumbers-frame-1261152172-generic__media-figma-image-23312-19899, body.cae-page--cae-impact-thenumbers .cae-website-redesign-cae-impact-thenumbers-frame-1261152172-generic__media-figma-image-23312-19906 { left: calc(50% - 62.5vw) !important; right: calc(50% - 62.5vw) !important; width: auto !important; max-width: none !important; }
body.cae-page--cae-impact-thenumbers .cae-website-redesign-cae-impact-thenumbers-frame-1261152172-generic__media-figma-image-23312-19899 img, body.cae-page--cae-impact-thenumbers .cae-website-redesign-cae-impact-thenumbers-frame-1261152172-generic__media-figma-image-23312-19906 img { width: 100% !important; max-width: none !important; object-fit: cover; }


/* 2026-10-10 Kate (chat): the grey stat dividers drew as a hand-drawn stroke that tapers and wavers along its length, so the
 * left and right columns read differently. Each divider is now one even 5px bar in the same grey (#c7c6c6) with a
 * matching diagonal cut at both ends; the drawn SVG stays in the markup but is hidden. */
body.cae-page--cae-impact-thenumbers figure:has(> img[src*="divider-23312-204438"]) { height: 5px !important; background-color: #c7c6c6; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
body.cae-page--cae-impact-thenumbers figure:has(> img[src*="divider-23312-204438"]) > img { opacity: 0 !important; }


/* T11 · ATKINS FIELD TYPE STANDARD FOR EVERY PROGRAM PANEL (Kate's TheNumbers Dev Notes 2026-10-10, Part 2; ClickUp 869ew32hu).
 * Atkins Field (frame 23312:196595) is the standard: figure Bookman 120 (126 line, cap-trimmed by T3), label Acumin Pro
 * Condensed 700 40/50, description Acumin Pro p-2-regular (20/28 at 1440, as the frame draws 23312:204426 and Atkins serves;
 * her table's 19 px reads one px under both). The renderer's per-stat size classes (fig --fs-104/-72, label --fs-32/-28)
 * stepped individual stats down; subheads and leads ('This breaks down into:', 'which became', 'PRODUCTS Produced at the
 * VFVC:') take the label style and the lists the description style. Colours: cream inside the rust card, grey outside. */
body.cae-page--cae-impact-thenumbers [data-cae-program] .cae-recgrid-program-fig { font-size: 120px; }
/* Kate Shawver, ClickUp 869fguare "The Numbers - Farm Connex", CAE-Farm-Connex-Stat-Size-Fix.docx (2026-10-13, caeassist
 * PACKET-278): her line, saved live through the theme file editor and kept verbatim here so a deploy carries it. */
/* Farm Connex: both stats match the 4.5 million size (104px) */
body.cae-page--cae-impact-thenumbers #cae-program-farm-connex .cae-recgrid-program-fig { font-size: 104px; }
body.cae-page--cae-impact-thenumbers [data-cae-program] .cae-recgrid-program-label { font-size: 40px; font-weight: 700; }
@media (min-width: 1024px) { body.cae-page--cae-impact-thenumbers [data-cae-program] .cae-recgrid-program-label { line-height: 50px; } }
body.cae-page--cae-impact-thenumbers [data-cae-program] :is(.cae-recgrid-program-subhead, .cae-recgrid-program-lead, .cae-recgrid-program-tilelist .cae-recgrid-program-subhead) {
  font-family: var(--wp--preset--font-family--acumin-pro-condensed); font-size: 40px; line-height: 50px; font-weight: 700;
  letter-spacing: 0; text-transform: none; text-box: normal; color: var(--wp--preset--color--light-cream);
}
body.cae-page--cae-impact-thenumbers [data-cae-program] :is(.cae-recgrid-program-sublist, .cae-recgrid-program-tilelist .cae-recgrid-program-sublist) {
  font-family: var(--wp--preset--font-family--acumin-pro); font-size: var(--wp--preset--font-size--p-2-regular);
  line-height: var(--wp--custom--line-heights--p-2-regular); font-weight: 400; color: var(--wp--preset--color--light-cream);
}
/* the lead keeps its 32 to the figure under it; Acumin's cap box is cut with margins (as T3 does for labels) */
body.cae-page--cae-impact-thenumbers [data-cae-program] .cae-recgrid-program-lead { margin: -0.29em 0 calc(32px - 0.29em); }

/* T12 · EVERY TWO-COLUMN PANEL FILLS THE 1200 ROW (Kate's Dev Notes Part 2 'Width'). Atkins: card 408 + 73 + stats 577 = 1200.
 * Farm Connex (frame 468 / 324, row 865), Farm & Food Business Resources (434 / 529, row 1036), Just Cut (571 / 434, row 1078)
 * and Vermont Farm Fund (408 / 561, 1042 of the row) left the row part-empty and squeezed their long figures. Each now
 * spends the full 1127 (1200 less the 73 gap), split so that every figure holds the drawn 120 px in its slot:
 *   Farm Connex  600 / 527  ($12.5 million in the card, 4.5 million in the stats, each two lines at 120)
 *   FFBR         508 / 619  (the frame's 0.45 / 0.55 split, scaled)
 *   Just Cut     640 / 487  (the frame's 0.57 / 0.43 split, scaled)
 *   VFF          560 / 567  (over $4 million at 120 needs a 559 card; $645,009 a 531 stat column)
 * Food Hub (750 / 377), VFVC (555 / 572) already fill it; Community Connections spans the row (T5). */
@media (min-width: 1024px) {
  body.cae-page--cae-impact-thenumbers [data-cae-program][class*="__row-figma-generic-row-23312-196596"].row { --cae-ps-row: 1200px !important; }
  body.cae-page--cae-impact-thenumbers [data-cae-program="farm-connex"][class*="__row-figma-generic-row-23312-196596"].row { --cae-ps-well: 600px !important; --cae-ps-stack: 527px !important; }
  body.cae-page--cae-impact-thenumbers [data-cae-program="farm-food-business-resources"][class*="__row-figma-generic-row-23312-196596"].row { --cae-ps-well: 508px !important; --cae-ps-stack: 619px !important; }
  body.cae-page--cae-impact-thenumbers [data-cae-program="just-cut"][class*="__row-figma-generic-row-23312-196596"].row { --cae-ps-well: 640px !important; --cae-ps-stack: 487px !important; }
  body.cae-page--cae-impact-thenumbers [data-cae-program="vermont-farm-fund"][class*="__row-figma-generic-row-23312-196596"].row { --cae-ps-well: 560px !important; --cae-ps-stack: 567px !important; }
}

/* T13 · FOOD HUB '1 CO2 based refrigeration system' (Kate's Dev Notes Part 2): the figure and its label side by side,
 * top-aligned (they were centred on each other, the label 67 above the figure), the description full width under both. */
body.cae-page--cae-impact-thenumbers [data-cae-program="food-hub"] .cae-recgrid-program-stack > [class*="column-23312-204439"]:first-child [class*="row-23312-204441"] {
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 24px; row-gap: 12px; align-items: start;
}
body.cae-page--cae-impact-thenumbers [data-cae-program="food-hub"] .cae-recgrid-program-stack > [class*="column-23312-204439"]:first-child [class*="row-23312-204441"] > [class*="column-23312-204443"] { display: contents; }
body.cae-page--cae-impact-thenumbers [data-cae-program="food-hub"] .cae-recgrid-program-stack > [class*="column-23312-204439"]:first-child [class*="row-23312-204441"] > h2 { grid-column: 1; grid-row: 1; margin: 0; }
body.cae-page--cae-impact-thenumbers [data-cae-program="food-hub"] .cae-recgrid-program-stack > [class*="column-23312-204439"]:first-child [class*="row-23312-204441"] .cae-recgrid-program-label { grid-column: 2; grid-row: 1; }
body.cae-page--cae-impact-thenumbers [data-cae-program="food-hub"] .cae-recgrid-program-stack > [class*="column-23312-204439"]:first-child [class*="row-23312-204441"] .cae-recgrid-program-label + p { grid-column: 1 / -1; grid-row: 2; margin: 0; }

/* T14 · 2025 SENTENCE STATS (caeassist PACKET-399, ClickUp 1amzwvg9ng5, 2026-11-05: "2025 PROGRAM HIGHLIGHTS"). The 2025
 * report gives each stat as the client's sentence with its number emphasised; the renderer (inc/cae-records-grid.php,
 * cae_recgrid_ps_write_text) sets the figure in the figure node and the sentence in the description node
 * (.cae-recgrid-program-sentence, the drawn 20/28 description type) with no label node. Every rule here is gated on that
 * class, so a panel still carrying figure / label / detail stats (Food Hub) is untouched.
 *   - a sentence sits UNDER its figure at the full slot width (a beside column would set a 30-word sentence 150 wide);
 *   - a one-stat panel (Atkins Field, Farm Connex) is its card alone, centred in the row (the empty stat column goes);
 *   - the per-program 2024 compositions that counted 2024 stats step aside: Community Connections' four-row column
 *     (eight 2024 stats) becomes two rows of two, Just Cut's 294 first row (the 2024 '46 level with 185,412' note) and
 *     VFVC's 2 x 2 grid (four 2024 stats; 2025 has one) take the default stack. */
body.cae-page--cae-impact-thenumbers [data-cae-program]:not(#cae-m) :is([class*="__row-figma-generic-row-23312-204433"], [class*="__row-figma-generic-row-23312-204441"]):has(.cae-recgrid-program-sentence) {
  display: flex; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: flex-start; gap: 24px; height: auto;
}
body.cae-page--cae-impact-thenumbers [data-cae-program]:not(#cae-m) :is([class*="__row-figma-generic-row-23312-204433"], [class*="__row-figma-generic-row-23312-204441"]):has(.cae-recgrid-program-sentence) > h2 { flex: none; }
body.cae-page--cae-impact-thenumbers [data-cae-program]:not(#cae-m) :is([class*="__row-figma-generic-row-23312-204433"], [class*="__row-figma-generic-row-23312-204441"]):has(.cae-recgrid-program-sentence) > :is([class*="__column-figma-generic-column-23312-204435"], [class*="__column-figma-generic-column-23312-204443"]) {
  flex: 0 0 auto; width: 100%; min-width: 0; height: auto;
}
body.cae-page--cae-impact-thenumbers [data-cae-program] .cae-recgrid-program-sentence { margin: 0; overflow-wrap: break-word; }
body.cae-page--cae-impact-thenumbers [data-cae-program]:not(:has(.cae-recgrid-program-stack)) > [class*="column-23312-204428"] { display: none; }
@media (min-width: 1024px) {
  body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] .cae-recgrid-program-stack:has(.cae-recgrid-program-sentence) { grid-template-rows: repeat(2, auto); }
  body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] .cae-recgrid-program-stack:has(.cae-recgrid-program-sentence) > :nth-child(2n) > [class*="__media-figma-image-23312-204438"] { display: none; }
  body.cae-page--cae-impact-thenumbers [data-cae-program="just-cut"][class*="__row-figma-generic-row-23312-196596"].row:has(.cae-recgrid-program-sentence) > [class*="column-23312-204428"] { align-self: center; margin-top: 0; }
  body.cae-page--cae-impact-thenumbers [data-cae-program="just-cut"] .cae-recgrid-program-stack:has(.cae-recgrid-program-sentence) { grid-template-rows: repeat(var(--cae-ps-units), 1fr); row-gap: 77px; }
  body.cae-page--cae-impact-thenumbers [data-cae-program="just-cut"] .cae-recgrid-program-stack:has(.cae-recgrid-program-sentence) > :first-child { height: auto; }
  body.cae-page--cae-impact-thenumbers [data-cae-program="just-cut"] .cae-recgrid-program-stack:has(.cae-recgrid-program-sentence) > :first-child > [class*="__media-figma-image-23312-204438"] { top: calc(100% + 40px); bottom: auto; }
  body.cae-page--cae-impact-thenumbers [data-cae-program="vermont-food-venture-center"] .cae-recgrid-program-stack:has(.cae-recgrid-program-sentence) { grid-template-columns: minmax(0, 1fr); }
}

/* T15 · A STACKED LABEL NEVER WRAPS INTO A SECOND COLUMN (measured 2026-11-05 at 390, Food Hub '400 / panel solar array').
 * Below 600 mobile-cae.css's id-level stat-row rule sets flex-wrap: wrap and flex: 1 1 100% on the row's children; on a
 * STACKED label's row (flex-direction: column, records-grid-cae.css) that wraps the label column beside the figure, 47 px past
 * the viewport. Just Cut and Community Connections carry their own :not(#cae-m) nowrap rules (T7c, T5b); this is the same
 * cure for every other stacked label. */
body.cae-page--cae-impact-thenumbers [data-cae-program]:not(#cae-m) :is([class*="__row-figma-generic-row-23312-204433"], [class*="__row-figma-generic-row-23312-204441"]):has(.cae-recgrid-program-label--stacked) { flex-wrap: nowrap; }
body.cae-page--cae-impact-thenumbers [data-cae-program]:not(#cae-m) :is([class*="__row-figma-generic-row-23312-204433"], [class*="__row-figma-generic-row-23312-204441"]):has(.cae-recgrid-program-label--stacked) > * { flex: 0 0 auto; }

/* T16 · COMMUNITY CONNECTIONS CARD WITHOUT ITS BREAKDOWN (PACKET-399 rev1, 1amzwvg9ng5, 2026-11-05). T5 lays the card out as
 * a 312 stat column beside the breakdown list; rev1 removed that list with the 548 tile, which left the stat in the left 312
 * and ~672 px of empty card ground to its right at >= 1024. With no list in the card the stat block is centred in it, as the
 * one-stat Atkins Field and Farm Connex cards sit (their stat column centred, 38 / 38 at 1440). A card that carries a list
 * again keeps T5. */
@media (min-width: 1024px) {
  body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] [class*="__column-figma-generic-column-23312-204419"]:not(:has(.cae-recgrid-program-sublist)) {
    grid-template-columns: minmax(0, 1fr); justify-items: center;
  }
  body.cae-page--cae-impact-thenumbers [data-cae-program="community-connections"] [class*="__column-figma-generic-column-23312-204419"]:not(:has(.cae-recgrid-program-sublist)) > [class*="__row-figma-generic-row-23312-204421"] {
    grid-column: 1; justify-self: center;
  }
}

/* T17 · 2025 DECLARED-LAYOUT PANELS (Kate's dev notes "CAE - Impact > The Numbers (2025 data)", ClickUp 1amzwvg9ng5,
 * 2026-11-09). A panel that declares "layout" in records-grid.json is composed by cae_recgrid_ps_layout_row as
 * .cae-tn25 (boxes, stat rows, a box beside a divided stat column, the Community Connections card grid); none of the
 * template rules above reach it. Her global rules, as built here (all px DESIGN px, the canvas presents at zoom 0.8):
 *   number   Bookman Press Sans 400 (font-synthesis off: the font has no bold), 120, an inline-block that never wraps,
 *            tabular figures; its text is the final value (stat-countup-cae.js draws the count over it), so the box
 *            is the final value's box at every frame
 *   label    Acumin Pro Condensed 700 40/50, required on every stat; descriptor Acumin Pro 20/28 (the small style)
 *   beside   a label right of its number keeps 40 to it (her floor: 32)
 *   boxes    Brick #B15533 / Evergreen #004F39, numbers white, labels / descriptors / lists Light Cream #F7F4E2;
 *            title Acumin Pro Condensed 700 40 over a 5 Butter Yellow #F2A518 rule; no Mint fill on a box
 *   edge     the page's own brush frame (vector-23312-204420.svg, the drawn Atkins well) as a nine-slice MASK: the
 *            24-unit edge band of the drawing is laid into a 12 px border, so the edge drifts ~1-3 px at any box size
 *            and never stretches into jags (the stretched-<img> ground scaled the drift with the box)
 *   top      every panel starts at the band's own top (no panel padding), as the template rows do */
body.cae-page--cae-impact-thenumbers .tn-tabs-ready > .cae-tn25:not(.is-tn-active) { display: none !important; }
body.cae-page--cae-impact-thenumbers .cae-tn25 {
  display: flex; flex-direction: column; align-items: stretch; gap: 48px;
  width: 1200px; max-width: 100%; margin: 0 auto; padding: 0; box-sizing: border-box; color: #606055;
}
body.cae-page--cae-impact-thenumbers .cae-tn25 :is(p, h3, ul, li) { margin: 0; padding: 0; }
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-num {
  display: inline-block; white-space: nowrap; font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1;
  font-family: var(--wp--preset--font-family--bookman-press-sans); font-weight: 400; font-style: normal; font-synthesis: none;
  font-size: 120px; line-height: 1.05; letter-spacing: 0; text-transform: none; color: #B15533;
  text-box: trim-both cap alphabetic; text-align: left; vertical-align: top;
}
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-label {
  font-family: var(--wp--preset--font-family--acumin-pro-condensed); font-weight: 700; font-size: 40px; line-height: 50px;
  letter-spacing: 0; text-transform: none; color: #606055;
}
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-desc {
  font-family: var(--wp--preset--font-family--acumin-pro); font-weight: 400; font-size: 20px; line-height: 28px; color: #606055;
}
/* stacked stat: number, then label 24 under its cap box, descriptor 8 under the label */
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-stat { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-stat > .cae-tn25-text { margin-top: 24px; min-width: 0; max-width: 100%; }
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-desc { margin-top: 8px; }
/* beside: label column right of the number */
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-stat--beside { flex-direction: row; align-items: center; column-gap: 40px; }
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-stat--beside > .cae-tn25-fig { flex: 0 0 auto; }
/* the number's own holder: a block wrapper keeps the inline-block number out of flex blockification */
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-fig { display: block; max-width: 100%; line-height: 0; }
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-stat--beside > .cae-tn25-text { margin-top: 0; flex: 1 1 0; }
/* growth tag (VFVC): Mint, white Acumin Pro Condensed 700 22, organic edge, square corners, no arrow */
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-tag {
  display: inline-block; margin-top: 16px; padding: 6px 14px 5px; border-radius: 0; background-color: #83B390; color: #FFFFFF;
  font-family: var(--wp--preset--font-family--acumin-pro-condensed); font-weight: 700; font-size: 22px; line-height: 28px;
  -webkit-mask-box-image: url("../../vector-23312-204420.svg?ver=2491530353") 24 fill / 5px stretch;
  mask-border: url("../../vector-23312-204420.svg?ver=2491530353") 24 fill / 5px stretch;
}
/* stat rows */
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-stats {
  display: grid; grid-template-columns: repeat(var(--cae-tn25-cols, 1), minmax(min-content, 1fr)); gap: 48px; align-items: start;
}
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-stats > .cae-tn25-rule { margin: -8px 0; }
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-rule figure { margin: 0; }
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-rule img { display: block; width: 100%; height: 5px; max-width: none; }
/* boxes */
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-box {
  position: relative; box-sizing: border-box; padding: 48px; min-width: 0;
  background-color: #B15533; color: #F7F4E2;
  -webkit-mask-box-image: url("../../vector-23312-204420.svg?ver=2491530353") 24 fill / 12px stretch;
  mask-border: url("../../vector-23312-204420.svg?ver=2491530353") 24 fill / 12px stretch;
}
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-box[data-tone="evergreen"] { background-color: #004F39; }
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-box .cae-tn25-num { color: #FFFFFF; }
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-box :is(.cae-tn25-label, .cae-tn25-desc, .cae-tn25-list, .cae-tn25-bd-head) { color: #F7F4E2; }
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-title {
  margin: 0 0 32px; padding: 0 0 24px; border-bottom: 5px solid #F2A518;
  font-family: var(--wp--preset--font-family--acumin-pro-condensed); font-weight: 700; font-size: 40px; line-height: 50px;
  letter-spacing: 0; text-transform: none; color: #F7F4E2;
}
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-list {
  display: grid; grid-template-columns: repeat(var(--cae-tn25-cols, 1), minmax(0, 1fr)); column-gap: 48px; row-gap: 12px;
  list-style: disc; font-family: var(--wp--preset--font-family--acumin-pro); font-size: 24px; line-height: 32px; font-weight: 400;
}
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-list li { margin-left: 28px; }
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-box--center { display: flex; flex-direction: column; justify-content: center; }
/* a box beside a divided stat column (Farm Connex, FFBR, Just Cut) */
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-split {
  display: grid; grid-template-columns: var(--cae-tn25-left, 600px) minmax(0, 1fr); column-gap: 73px; align-items: stretch;
}
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-side { display: flex; flex-direction: column; justify-content: center; gap: 40px; min-width: 0; }
body.cae-page--cae-impact-thenumbers .cae-tn25--farm-food-business-resources { --cae-tn25-left: 508px; }
body.cae-page--cae-impact-thenumbers .cae-tn25--just-cut { --cae-tn25-left: 640px; }
/* Community Connections: feature stat beside its "This breaks down into:" grid, then the 2 x 2 card grid */
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-box--feature { display: grid; grid-template-columns: min-content minmax(0, 1fr); column-gap: 73px; align-items: center; }
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-box--feature > .cae-tn25-stats { grid-template-columns: min-content; }
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-bd-head {
  margin-bottom: 32px; font-family: var(--wp--preset--font-family--acumin-pro-condensed); font-weight: 700; font-size: 40px; line-height: 50px;
}
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-bd-grid { display: grid; grid-template-columns: repeat(2, minmax(min-content, 1fr)); gap: 32px 48px; }
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-bd-item { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-bd-item .cae-tn25-num { font-size: 56px; }
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-bd-item > .cae-tn25-text { margin-top: 16px; }
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-bd-item .cae-tn25-label { font-size: 24px; line-height: 30px; }
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 73px; align-items: start; }
body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-card { box-sizing: border-box; padding: 40px; background-color: #FFFFFF; min-width: 0; align-self: stretch; }
/* the CTA under the panel, at its left edge */
body.cae-page--cae-impact-thenumbers .cae-tn25 > .wp-block-buttons { margin: 0; justify-content: flex-start; }
/* Food Hub (template path) keeps its four stats; her 32 floor between a number and the label right of it ('4', '1' were 24) */
body.cae-page--cae-impact-thenumbers #cae-program-food-hub :is([class*="__row-figma-generic-row-23312-204433"], [class*="__row-figma-generic-row-23312-204441"]) { column-gap: 40px; }
/* below 1024 every row stacks; below 600 the numbers step to the phone rung (72; breakdown 48) and the boxes pad 24 */
@media (max-width: 1023.98px) {
  body.cae-page--cae-impact-thenumbers .cae-tn25 :is(.cae-tn25-stats, .cae-tn25-split, .cae-tn25-grid, .cae-tn25-box--feature) { grid-template-columns: minmax(0, 1fr); }
  body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-box--feature { row-gap: 48px; }
  body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-split { row-gap: 48px; }
  body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599.98px) {
  body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-num { font-size: 72px; }
  body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-bd-item .cae-tn25-num { font-size: 48px; }
  body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-box { padding: 32px 24px; }
  body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-card { padding: 32px 24px; }
  body.cae-page--cae-impact-thenumbers .cae-tn25 :is(.cae-tn25-title, .cae-tn25-bd-head) { font-size: 32px; line-height: 40px; }
  body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-label { font-size: 32px; line-height: 40px; }
  body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-list { grid-template-columns: minmax(0, 1fr); font-size: 20px; line-height: 28px; }
  body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-stat--beside { column-gap: 32px; }
  body.cae-page--cae-impact-thenumbers .cae-tn25 .cae-tn25-bd-grid { grid-template-columns: minmax(0, 1fr); }
}
