/* Page-scoped hand fix — Stories of Impact (/impact/stories/) only. ClickUp 869ew31mc; design of record Figma 3394:796345
 * (Kate 90120263512809: "yes build this design"). Enqueued by functions.php on get_page_uri() === 'impact/stories';
 * every rule is ALSO scoped to the page's body class. Px are FRAME px (the page presents at zoom 0.8).
 *
 * The FEATURED STORIES band (3394:874128) is four sections here — title + library controls (…-featured), the results
 * count (…-count), the postcard grid (…-stories) and See More (…-seemore) — painted as the one cream band the design
 * draws: #F7F4E2, 40 above the title and below See More, title / cards / button 32 apart, 56 from the tabs above and
 * 56 to MEET THE MAKER (3394:796365), which sits 80 above the GET INVOLVED band (7566:305926). */

/* 1. The cream band and its lane. */
body.cae-page--cae-impact-storiesofimpact :is(.cae-website-redesign-cae-impact-storiesofimpact-featured-generic, .cae-website-redesign-cae-impact-storiesofimpact-count-generic, .cae-website-redesign-cae-impact-storiesofimpact-stories-generic, .cae-website-redesign-cae-impact-storiesofimpact-seemore-generic) {
  background: #F7F4E2;
  margin-block: 0;
  margin-inline: 0;
  width: auto;
  max-width: none;
  padding-inline: max(40px, calc((100% - 1200px) / 2));
}
body.cae-page--cae-impact-storiesofimpact .cae-website-redesign-cae-impact-storiesofimpact-featured-generic.cae-website-redesign-cae-impact-storiesofimpact-featured-generic {
  background-color: #F7F4E2 !important;
  margin-top: 56px;
  padding-top: 56px; /* Kate 2026-10-13: more room above the title — matches the homepage Stories & News band (56 to the title) */
  padding-inline: max(40px, calc((100% - 1200px) / 2));
}
body.cae-page--cae-impact-storiesofimpact .cae-website-redesign-cae-impact-storiesofimpact-seemore-generic {
  padding-top: 32px;
  padding-bottom: 40px;
}
/* The count line to the first card row: 40 (32 presented), the Community Connections and Atkins Field Stories standard
 * (measured there 2026-10-08: 32.0 at 1440 and 1024). The section's margin is zeroed by section 1 (it would show the page
 * white through the cream), so the gap is padding. The count section has no fixed height (28 = its line). */
body.cae-page--cae-impact-storiesofimpact .cae-website-redesign-cae-impact-storiesofimpact-stories-generic.cae-website-redesign-cae-impact-storiesofimpact-stories-generic {
  padding-top: 40px;
  padding-bottom: 0;
}
/* The count, grid and See More sections sit in the page canvas (1440 frame px wide) while the title section spans the
 * viewport (cae-band--canvas-span); the cream is carried to the viewport edges by paint only (no layout, no scroll).
 * The grid section's own side margins (style.css gives the Community Connections section width min(1200px, 100%) and auto margins, !important) are dropped so the 1200 grid sits in
 * the lane. */
body.cae-page--cae-impact-storiesofimpact :is(.cae-website-redesign-cae-impact-storiesofimpact-count-generic, .cae-website-redesign-cae-impact-storiesofimpact-stories-generic, .cae-website-redesign-cae-impact-storiesofimpact-seemore-generic) {
  box-shadow: 0 0 0 100vmax #F7F4E2;
  clip-path: inset(0 -100vmax);
}
body.cae-page--cae-impact-storiesofimpact .wp-site-blocks .wp-block-post-content > .alignfull.cae-website-redesign-cae-impact-storiesofimpact-stories-generic.cae-website-redesign-cae-impact-storiesofimpact-stories-generic,
body.cae-page--cae-impact-storiesofimpact .wp-site-blocks .wp-block-post-content > .alignfull.cae-website-redesign-cae-impact-storiesofimpact-count-generic.cae-website-redesign-cae-impact-storiesofimpact-count-generic {
  margin-inline: 0 !important;
  width: auto !important;
  max-width: none !important;
}
/* Without the page script every story shows and there is nothing behind See More: the band closes 40 under the grid. */
body.cae-page--cae-impact-storiesofimpact .cae-soi-more:not(.cae-soi-more--armed) > * { display: none; }
body.cae-page--cae-impact-storiesofimpact .cae-soi-more:not(.cae-soi-more--armed) { padding-top: 0; }

/* 2. FEATURED STORIES title and lede (3394:796356 / 796357): Acumin Pro Condensed 900 48/56 #598527, Acumin Pro 24/32
 *    #767769, left in the lane, 32 above the controls. */
body.cae-page--cae-impact-storiesofimpact .cae-soi-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 32px;
  text-align: left;
}
body.cae-page--cae-impact-storiesofimpact .cae-soi-title > * { margin: 0; }
body.cae-page--cae-impact-storiesofimpact .cae-soi-title__heading.cae-soi-title__heading {
  font-family: "Acumin Pro Condensed", sans-serif;
  font-size: 48px;
  line-height: var(--wp--custom--line-heights--h-2-acumin-black);
  font-weight: 900;
  color: #598527;
  text-transform: uppercase;
}
body.cae-page--cae-impact-storiesofimpact .cae-soi-title__lede.cae-soi-title__lede {
  font-family: "Acumin Pro", sans-serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  color: #767769;
}

/* 2b. The doc's paragraph under the headline (caeassist PACKET-154; not drawn): the lede's type in the 1200 lane, 56
 *     under the tabs and 56 above the cream band. */
body.cae-page--cae-impact-storiesofimpact .cae-website-redesign-cae-impact-storiesofimpact-intro-generic {
  margin: 56px 0 0;
  padding-inline: max(40px, calc((100% - 1200px) / 2));
}
body.cae-page--cae-impact-storiesofimpact .cae-soi-intro.cae-soi-intro {
  max-width: 1200px;
  margin: 0 auto;
  font-family: "Acumin Pro", sans-serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  color: #767769;
}

/* 3. The Community Connections Stories & News grid and controls (fix-ccfamily-cae.css sections 12, 13, 13b, which load
 *    by route only, restated for this body class as on Atkins Field Stories): 3 x 384, 24 between columns, 28 between
 *    rows, the controls row centred over the grid. */
@media (min-width: 1024px) {
  body.cae-page--cae-impact-storiesofimpact .cae-website-redesign-cae-programs-services-communityconnection-stories-section-generic__row-figma-generic-rootrow-17826-16771.cae-website-redesign-cae-programs-services-communityconnection-stories-section-generic__row-figma-generic-rootrow-17826-16771 { display: grid; grid-template-columns: repeat(3, 384px); column-gap: 24px; row-gap: 28px; justify-content: center; width: 1200px; max-width: 1200px; margin-left: auto; margin-right: auto; padding: 0; --bs-gutter-x: 0; }
  body.cae-page--cae-impact-storiesofimpact .cae-website-redesign-cae-programs-services-communityconnection-stories-section-generic__row-figma-generic-rootrow-17826-16771 > [class*="__card-list-figma-generic-card-list-"] { display: contents; }
  body.cae-page--cae-impact-storiesofimpact .cae-website-redesign-cae-programs-services-communityconnection-stories-section-generic__row-figma-generic-rootrow-17826-16771 [class*="__card-figma-generic-card-"][class*="__card-figma-generic-card-"] { width: 384px; max-width: 384px; margin: 0; }
  body.cae-page--cae-impact-storiesofimpact .cae-website-redesign-cae-programs-services-communityconnection-stories-results-generic.cae-website-redesign-cae-programs-services-communityconnection-stories-results-generic { padding-left: max(40px, calc((100% - 1200px) / 2)); padding-right: max(40px, calc((100% - 1200px) / 2)); }
  body.cae-page--cae-impact-storiesofimpact .cae-website-redesign-cae-programs-services-communityconnection-stories-results-generic__divider-figma-generic-divider-17826-16766.cae-website-redesign-cae-programs-services-communityconnection-stories-results-generic__divider-figma-generic-divider-17826-16766 { width: 1200px; max-width: 1200px; margin-left: auto; margin-right: auto; align-self: center; }
  body.cae-page--cae-impact-storiesofimpact .fg-heading-1-leadership-17826-16770 > div { max-width: 1200px; margin-left: auto; margin-right: auto; }
}
body.cae-page--cae-impact-storiesofimpact .cae-website-redesign-cae-programs-services-communityconnection-stories-results-generic__row-figma-generic-row-17826-16767.cae-website-redesign-cae-programs-services-communityconnection-stories-results-generic__row-figma-generic-row-17826-16767 { align-items: flex-start; }

/* 4. Postcards: the whole card is the link (the title link stretched over the card: one click target, no extra tab stop);
 *    the card lifts 6 px on hover and keyboard focus with no added shadow (Kate's standing rule); every card in the grid is
 *    one box (grid rows take the tallest card, every card stretches to it). */
body.cae-page--cae-impact-storiesofimpact .cae-website-redesign-cae-impact-storiesofimpact-stories-generic .cae-recgrid__cardbox {
  position: relative;
  transition: transform 0.25s ease;
}
body.cae-page--cae-impact-storiesofimpact .cae-website-redesign-cae-impact-storiesofimpact-stories-generic .cae-recgrid__cardbox .cae-recgrid__cardtitle a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* hover lift removed: the global postcard rule, CAE-Postcard-Grid-Dev-Fixes §2 (Kate, 869ffhmu5, 2026-10-11) */
@media (prefers-reduced-motion: reduce) {
  body.cae-page--cae-impact-storiesofimpact .cae-website-redesign-cae-impact-storiesofimpact-stories-generic .cae-recgrid__cardbox { transition: none; }
}
@media (min-width: 1024px) {
  body.cae-page--cae-impact-storiesofimpact .cae-website-redesign-cae-impact-storiesofimpact-stories-generic [class*="__row-figma-generic-rootrow-17826-16771"] { grid-auto-rows: 1fr; align-items: stretch; }
  body.cae-page--cae-impact-storiesofimpact .cae-website-redesign-cae-impact-storiesofimpact-stories-generic .cae-recgrid__cardbox.cae-recgrid__cardbox { align-self: stretch; height: auto; }
  body.cae-page--cae-impact-storiesofimpact .cae-website-redesign-cae-impact-storiesofimpact-stories-generic .cae-recgrid__cardbox > .wp-block-group { flex: 1 1 auto; }
}

/* 5. See More a row at a time (fix-impactstories-cae.js): stories past the open rows are out of the grid; the grid glides
 *    to its new height. The button is the Media landing's See More: evergreen outline, chevron nudges 4 px on hover. */
body.cae-page--cae-impact-storiesofimpact .cae-website-redesign-cae-impact-storiesofimpact-stories-generic .cae-soi-later { display: none !important; }
body.cae-page--cae-impact-storiesofimpact .cae-soi-glide { overflow: hidden; transition: height 0.45s ease; }
@media (prefers-reduced-motion: reduce) {
  body.cae-page--cae-impact-storiesofimpact .cae-soi-glide { transition: none; }
}
body.cae-page--cae-impact-storiesofimpact .cae-soi-more .wp-block-buttons { max-width: 1200px; margin: 0 auto; justify-content: flex-start; }
body.cae-page--cae-impact-storiesofimpact :is(.cae-soi-more, .cae-website-redesign-cae-impact-storiesofimpact-meetthemaker-generic) .wp-block-button__link { cursor: pointer; border-color: var(--wp--preset--color--primary-evergreen, #004F39) !important; color: var(--wp--preset--color--primary-evergreen, #004F39) !important; }
body.cae-page--cae-impact-storiesofimpact :is(.cae-soi-more, .cae-website-redesign-cae-impact-storiesofimpact-meetthemaker-generic) .wp-block-button__link .button-icon { transition: transform 180ms ease; }
body.cae-page--cae-impact-storiesofimpact :is(.cae-soi-more, .cae-website-redesign-cae-impact-storiesofimpact-meetthemaker-generic) .wp-block-button__link:is(:hover, :focus-visible) .button-icon { transform: translateX(4px); }

/* 6. MEET THE MAKER (3394:796365) is the Media landing's band (fix-media-cae.css styles both); on this page the design
 *    draws its title #598527 like FEATURED STORIES, 56 under the cream band and 80 above GET INVOLVED. */
body.cae-page--cae-impact-storiesofimpact .cae-website-redesign-cae-impact-storiesofimpact-meetthemaker-generic h2 { color: #598527; }
body.cae-page--cae-impact-storiesofimpact .cae-website-redesign-cae-impact-storiesofimpact-meetthemaker-generic.cae-website-redesign-cae-impact-storiesofimpact-meetthemaker-generic { margin-top: 56px; margin-bottom: 80px; }

/* ── PHONE + TABLET (mobile2a-1009, Kate 2026-10-09 mobile/tablet). Hero. The headline card list stays absolutely placed
 *    (left 64 / top 64, 500 px) below 1024: on a 390 phone the h1 began at x 51 and ran past the right edge over the
 *    paper drawing and the houses; at 768 the decorative sun disc sat 81 px past the edge. Below 1024 the disc is not
 *    shown and the photo leads at the band width (300 design px), then the headline in flow on the paper's cream
 *    with a 24 px inset and the houses under it; the paper drawing and the word underlines (drawn for the 1440 line
 *    breaks) are not shown. */
@media (max-width: 1023.98px) {
  body.cae-page--cae-impact-storiesofimpact [class*="-hero-banner-generic__dot-"] { display: none; }
}
@media (max-width: 1023.98px) {
  body.cae-page--cae-impact-storiesofimpact .wp-site-blocks [class*="-hero-banner-generic"].cae-band--art-bleed.alignfull {
    background-color: var(--wp--preset--color--light-cream); padding-bottom: 24px;
  }
  body.cae-page--cae-impact-storiesofimpact .wp-site-blocks [class*="-hero-banner-generic"].cae-band--art-bleed > [class*="-generic__media-"]:first-child {
    position: relative !important; inset: auto !important; width: auto !important; height: 300px !important;
  }
  body.cae-page--cae-impact-storiesofimpact .wp-site-blocks [class*="-hero-banner-generic"].cae-band--art-bleed > [class*="-generic__media-"]:first-child img {
    width: 100% !important; height: 100% !important; aspect-ratio: auto !important; object-fit: cover;
  }
  body.cae-page--cae-impact-storiesofimpact .wp-site-blocks [class*="-hero-banner-generic"].cae-band--art-bleed > [class*="-generic__column-"] {
    position: relative !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; min-height: 0 !important;
    padding: 32px 24px 0;
  }
  body.cae-page--cae-impact-storiesofimpact .wp-site-blocks [class*="-hero-banner-generic"].cae-band--art-bleed > [class*="-generic__column-"] > [class*="-generic__media-"]:first-child,
  body.cae-page--cae-impact-storiesofimpact .wp-site-blocks [class*="-hero-banner-generic"].cae-band--art-bleed [class*="-generic__card-list-"] > [class*="-generic__media-"] {
    display: none;
  }
  body.cae-page--cae-impact-storiesofimpact .wp-site-blocks [class*="-hero-banner-generic"].cae-band--art-bleed [class*="-generic__card-list-"] {
    position: relative; left: auto; top: auto; width: auto; min-height: 0;
  }
  body.cae-page--cae-impact-storiesofimpact .wp-site-blocks [class*="-hero-banner-generic"].cae-band--art-bleed > [class*="-generic__column-"] > [class*="-generic__media-"]:last-child {
    position: relative !important; left: auto !important; top: auto !important; height: auto !important; width: 70%; max-width: 360px; margin: 24px auto 0;
  }
}

/* 7. Kate 2026-10-13 review.
 * a. Search + filter row: the space above and below its two rules was 104 / 112 (83 / 90 presented). Now 56 each side,
 *    the News & Events standard (45 presented between the tabs and the first rule): the intro section keeps its 56 margin
 *    above, loses its own block padding, and the cream band's 56 margin-top supplies the space below. */
body.cae-page--cae-impact-storiesofimpact .cae-website-redesign-cae-impact-storiesofimpact-intro-generic.cae-website-redesign-cae-impact-storiesofimpact-intro-generic {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
/* b. Postcards match the homepage Stories & News cards (fix-homepage-cae.css): date 12 under the title and 8 above the
 *    program, and the program name as the green pill chip. The chip stays anchored to the card bottom (global rule). */
body.cae-page--cae-impact-storiesofimpact .wp-site-blocks .cae-recgrid__cardbox p.cae-recgrid__date.cae-recgrid__date {
  padding-top: 12px !important;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}
body.cae-page--cae-impact-storiesofimpact .wp-site-blocks .cae-recgrid__cardbox p.cae-recgrid__chip.cae-recgrid__chip {
  align-self: flex-start;
  display: inline-block;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  padding: 4.5px 10px 1.5px !important;
  border-radius: 999px;
  line-height: 18px;
  background: #DCEBD3;
  color: #004F39;
  text-decoration: none;
  font-family: "Acumin Pro", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
body.cae-page--cae-impact-storiesofimpact .wp-site-blocks .cae-recgrid__cardbox p.cae-recgrid__chip.cae-recgrid__chip a {
  color: inherit;
  text-decoration: none;
}

/* 8. Kate 2026-10-14: titles in brick (#B15533, theme primary-brick — the homepage STORIES & NEWS title colour). */
body.cae-page--cae-impact-storiesofimpact .wp-site-blocks :is(.cae-website-redesign-cae-impact-storiesofimpact-featured-generic, .cae-website-redesign-cae-impact-storiesofimpact-meetthemaker-generic) :is(h1, h2) {
  color: var(--wp--preset--color--primary-brick, #B15533) !important;
}
/* 9. Kate 2026-10-14: postcard date/program spacing EXACTLY as the homepage Stories & News cards — the program chip sits
 *    8 under the date (no push to the card bottom), the date line is the homepage's (Acumin Pro, 12 above). Size 16/24,
 *    the sitewide Postcard Date (Kate 869ffh7ku 2026-10-14 14:06Z: "I want the dates to be a smaller font size"; was 20/28). */
body.cae-page--cae-impact-storiesofimpact .wp-site-blocks .cae-recgrid__cardbox p.cae-recgrid__chip.cae-recgrid__chip {
  margin-top: 0 !important;
}
body.cae-page--cae-impact-storiesofimpact .wp-site-blocks .cae-recgrid__cardbox p.cae-recgrid__date.cae-recgrid__date,
body.cae-page--cae-impact-storiesofimpact .wp-site-blocks .cae-recgrid__cardbox p.cae-recgrid__date.cae-recgrid__date time {
  font-family: "Acumin Pro", sans-serif !important;
  font-size: 16px !important;
  line-height: 24px !important;
}

/* 10. Card bottoms as the homepage: the card text column ends 16 under the chip (homepage 16, was 18), and a card with
 *     no program reserves exactly the chip's 24 + that 16 (was 54), so the row is 364 tall like the homepage row. */
body.cae-page--cae-impact-storiesofimpact .wp-site-blocks .cae-recgrid__cardbox > .wp-block-group > .wp-block-group:has(> p.cae-recgrid__chip) {
  padding-bottom: 16px !important;
}
body.cae-page--cae-impact-storiesofimpact .wp-site-blocks .cae-recgrid__cardbox > .wp-block-group > .wp-block-group:has(> p.cae-recgrid__date):not(:has(> p.cae-recgrid__chip)) {
  padding-bottom: 40px !important;
}

/* 11. Kate 2026-10-14: Meet the Maker — Load More sits 32 under the postcards, like Featured Stories (was 12). */
body.cae-page--cae-impact-storiesofimpact .wp-site-blocks .cae-website-redesign-cae-impact-storiesofimpact-meetthemaker-generic > .wp-block-buttons {
  margin-top: 20px !important;
}
/* 12. Kate 2026-10-14: links in the section descriptions are bold. */
body.cae-page--cae-impact-storiesofimpact .wp-site-blocks :is(.cae-website-redesign-cae-impact-storiesofimpact-featured-generic, .cae-website-redesign-cae-impact-storiesofimpact-meetthemaker-generic, .cae-website-redesign-cae-impact-storiesofimpact-intro-generic) p:not(.cae-recgrid__cardtitle):not(.cae-recgrid__date):not(.cae-recgrid__chip) a:not(.wp-block-button__link) {
  font-weight: 700 !important;
}
/* 13. Kate 2026-10-14 14:06Z (869ffh7ku "I want the dates to be a smaller font size"): the Postcard Date is 16/24
 *     sitewide (kate-global-rules-cae.css); this page's override says the same so it cannot drift — merged by the seat
 *     over the fluid p-2-regular version written here at 14:2xZ. */
body.cae-page--cae-impact-storiesofimpact .wp-site-blocks .cae-recgrid__cardbox p.cae-recgrid__date.cae-recgrid__date,
body.cae-page--cae-impact-storiesofimpact .wp-site-blocks .cae-recgrid__cardbox p.cae-recgrid__date.cae-recgrid__date time {
  font-size: 16px !important;
  line-height: 24px !important;
}
/* 14. Kate 2026-10-14: the Featured Stories band is the theme light gray (#F3F5F7) instead of cream. */
body.cae-page--cae-impact-storiesofimpact :is(.cae-website-redesign-cae-impact-storiesofimpact-featured-generic, .cae-website-redesign-cae-impact-storiesofimpact-count-generic, .cae-website-redesign-cae-impact-storiesofimpact-stories-generic, .cae-website-redesign-cae-impact-storiesofimpact-seemore-generic),
body.cae-page--cae-impact-storiesofimpact .cae-website-redesign-cae-impact-storiesofimpact-featured-generic.cae-website-redesign-cae-impact-storiesofimpact-featured-generic {
  background: var(--wp--preset--color--light-gray, #F3F5F7) !important;
  background-color: var(--wp--preset--color--light-gray, #F3F5F7) !important;
}
/* 15. Kate 2026-10-14: the Meet the Maker lede runs on one line (its 740 column opened to the full lane). */
body.cae-page--cae-impact-storiesofimpact .wp-site-blocks .cae-website-redesign-cae-impact-storiesofimpact-meetthemaker-generic div:has(> p > a):not(.wp-block-buttons) {
  width: auto !important;
  max-width: 100% !important;
}
body.cae-page--cae-impact-storiesofimpact .wp-site-blocks .cae-website-redesign-cae-impact-storiesofimpact-meetthemaker-generic div:has(> p > a):not(.wp-block-buttons) > p {
  width: auto !important;
  max-width: none !important;
  white-space: nowrap;
}
@media (max-width: 900px) {
  body.cae-page--cae-impact-storiesofimpact .wp-site-blocks .cae-website-redesign-cae-impact-storiesofimpact-meetthemaker-generic div:has(> p > a):not(.wp-block-buttons) > p { white-space: normal; }
}
/* 16. Kate 2026-10-14: date + program always anchored to the card bottom (homepage/global postcard rule): the space
 *     left by a shorter title opens between the title and the date; the program stays 8 under the date. */
body.cae-page--cae-impact-storiesofimpact .wp-site-blocks .cae-recgrid__cardbox > .wp-block-group > .wp-block-group {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}
body.cae-page--cae-impact-storiesofimpact .wp-site-blocks .cae-recgrid__cardbox p.cae-recgrid__date.cae-recgrid__date {
  margin-top: auto !important;
}
/* 17. Kate 2026-10-14: hover is a clean lift (translateY -6, as the homepage) with no drop shadow. */
body.cae-page--cae-impact-storiesofimpact .wp-site-blocks .cae-recgrid__cardbox,
body.cae-page--cae-impact-storiesofimpact .wp-site-blocks .cae-recgrid__cardbox:hover,
body.cae-page--cae-impact-storiesofimpact .wp-site-blocks .cae-recgrid__cardbox:focus-within {
  box-shadow: none !important;
}
/* (out-specifies the global recgrid hover shadow in bundle-global, which is :is(...) 0,7,0) */
body.cae-page--cae-impact-storiesofimpact .wp-site-blocks .cae-recgrid__cardbox.cae-recgrid__cardbox.cae-recgrid__cardbox.cae-recgrid__cardbox:is(:hover, :has(a:focus-visible)) {
  box-shadow: none !important;
}

/* 18. The gray Featured Stories band reaches both browser edges. The stories and
 *     Load More sections paint their full-bleed with a cream box-shadow
 *     (0 0 0 100vmax, clipped by clip-path: inset(0 -100vmax)); recolour it.
 *     Do NOT add this to ...-featured-generic: it has no clip-path, so the
 *     shadow would cover the page. (Kate's WED dev notes C2, 869ew31mc 2026-10-14, verbatim.) */
body.cae-page--cae-impact-storiesofimpact :is(.cae-website-redesign-cae-impact-storiesofimpact-stories-generic, .cae-website-redesign-cae-impact-storiesofimpact-seemore-generic)[class] {
  box-shadow: var(--wp--preset--color--light-gray, #F3F5F7) 0 0 0 100vmax !important;
}
/* 19 and 20 (the applied-filters bar like News; Clear Filters underlined, plain on hover) are not repeated here: the
 * bar's look is records-grid-cae.css "THE APPLIED-TERMS ROW, EVERY FILTERED LIST" (the News values, every list) and
 * the underline is kate-global-rules-cae.css's applied-row Clear rule. 21 is section 13 (16/24, merged). */

/* 22. PHONE + TABLET CARD GRID (Kate 1amzwvgc7xt, 2026-11-15: the story cards are not evenly spaced at 390). Below 1024
 *     the root row stays the bootstrap flex row of the drawn COLUMN card-lists (two cards each, 28 apart inside a list),
 *     so stacked cards ran 22.4 / 0 / 22.4 / 0 presented apart at 390 (28 inside a list, nothing between lists), and at
 *     768 each list was a column of two, so the first two "rows" were list pairs, later rows touched (0) and cards in one
 *     row had different heights. FIX (< 1024 CSS): the same one-grid model as section 3 at 1024 and up — the card-lists
 *     step out of the box tree (display: contents), every card is a grid item in document order, 24 between columns and
 *     28 between rows, every row the tallest card (card rule). Three columns from 600 (where the lists sat three across
 *     before), one column under 600, so See More's five rows keep their card count. 1024 and up untouched. */
@media (max-width: 1023.98px) {
  body.cae-page--cae-impact-storiesofimpact .cae-website-redesign-cae-impact-storiesofimpact-stories-generic [class*="__row-figma-generic-rootrow-17826-16771"][class*="__row-figma-generic-rootrow-17826-16771"] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; grid-auto-rows: 1fr; align-items: stretch; margin-left: 0; margin-right: 0; padding: 0; --bs-gutter-x: 0; }
  body.cae-page--cae-impact-storiesofimpact .cae-website-redesign-cae-impact-storiesofimpact-stories-generic [class*="__row-figma-generic-rootrow-17826-16771"] > [class*="__card-list-figma-generic-card-list-"] { display: contents; }
  body.cae-page--cae-impact-storiesofimpact .cae-website-redesign-cae-impact-storiesofimpact-stories-generic .cae-recgrid__cardbox.cae-recgrid__cardbox { width: auto; max-width: none; margin: 0; align-self: stretch; height: auto; }
  body.cae-page--cae-impact-storiesofimpact .cae-website-redesign-cae-impact-storiesofimpact-stories-generic .cae-recgrid__cardbox > .wp-block-group { flex: 1 1 auto; }
}
@media (max-width: 599.98px) {
  body.cae-page--cae-impact-storiesofimpact .cae-website-redesign-cae-impact-storiesofimpact-stories-generic [class*="__row-figma-generic-rootrow-17826-16771"][class*="__row-figma-generic-rootrow-17826-16771"] { grid-template-columns: minmax(0, 1fr); }
}
