/* CAE MOBILE PASS — Kate Shawver, ClickUp 1amzwvgdu2y (du2y), 2026-11-29 19:47Z: her finished mobile CSS pass, posted with
 * "ship as-is" (tested by her on staging at 375 / 390 across 23 pages: 0 sideways scroll; the FFBR items and the Farm Connex
 * "How It Works" photo). Her rules are below as she wrote them, in her order, except where noted:
 *   - three of her lines (her lines 6, 9 and 28) are not included in this version; each position is marked;
 *   - DESKTOP SCOPE (mob1129, measured, see the note on her first two rules);
 *   - GUTTERS: her full-width rule skips .cae-gyo-upcoming and .jca-row, which take their phone side gutter from a margin
 *     (measured: text at 0 px from the screen edge at 375/390 with the rule, 20 / 32 px without).
 * Enqueued by functions.php (handle cae-website-redesign-theme-mobile-pass-cae, wp_enqueue_scripts at PHP_INT_MAX) after every other theme sheet, so
 * it prints last on every page; it is not in the bundle manifest (a new handle at the end of the queue leaves every
 * bundled run intact). Her selectors carry four :not(#id) and !important, so they also win over any earlier sheet. */
/* DESKTOP SCOPE (mob1129, measured 2026-11-29): her first two rules were written outside the media query. On a desktop
 * window the page wrapper (.wp-site-blocks) is 1152 px wide and centred, and the full-bleed bands reach past it to the
 * window edges: at 1440 the home, FFBR, Farm Connex, VFF and Donate banners, and the Our Borrowers title bar
 * moved from -7.5..1432.5 to 136.5..1288.5 (144 px of bleed lost each side) and the header rule line was
 * cut at the wrapper edges; content-bound sections were stretched to the wrapper (Our Borrowers tabs 647 -> 1152 px,
 * Donate tabs 318 -> 1152 px, FFBR voices 960 -> 1152 px, page 82-191 px taller). Both rules now apply in her phone media
 * query only (below 782 px the wrapper is the window, so they do there exactly what she tested). The 782 px+ sideways
 * scroll is held by full-bleed-cae.css (body overflow-x: clip, and the below-gate band width). */
@media (max-width:781px){
html body .wp-site-blocks:not(#m1):not(#m2):not(#m3):not(#m4){overflow-x:clip!important}
html body .wp-site-blocks:not(#m1):not(#m2):not(#m3):not(#m4) .wp-block-post-content > .alignfull:not(.cae-gyo-upcoming):not(.jca-row){width:100%!important;max-width:100%!important;inline-size:100%!important;max-inline-size:100%!important;margin-left:0!important;margin-right:0!important;margin-inline:0!important}
}

@media (max-width:781px){
/* her line 6: not included in this version */
html body .wp-site-blocks:not(#m1):not(#m2):not(#m3):not(#m4) .cae-band--art-ground{height:auto!important}
html body .wp-site-blocks:not(#m1):not(#m2):not(#m3):not(#m4) .cae-band--art-ground img{width:100%!important;height:auto!important;aspect-ratio:3/2!important;object-fit:cover!important}
/* her line 9: not included in this version */
html body .wp-site-blocks:not(#m1):not(#m2):not(#m3):not(#m4) :is(h1,h2,h3,h4){line-height:1.15!important;text-wrap:balance}
html body .wp-site-blocks:not(#m1):not(#m2):not(#m3):not(#m4) .wp-block-post-content p{line-height:1.55!important}
:where(.wp-site-blocks .wp-block-post-content .wp-block-group){row-gap:16px}
html body .wp-site-blocks:not(#m1):not(#m2):not(#m3):not(#m4) .wp-block-post-content [class*="figma-generic-column"]{min-height:0!important}
html body .wp-site-blocks:not(#m1):not(#m2):not(#m3):not(#m4) .wp-block-post-content hr.wp-block-separator{margin-top:8px!important;margin-bottom:8px!important}
html body .wp-site-blocks:not(#m1):not(#m2):not(#m3):not(#m4) .cae-recgrid__cardtitle{min-height:0!important;height:auto!important;margin-bottom:12px!important}
html body .wp-site-blocks:not(#m1):not(#m2):not(#m3):not(#m4) .wp-block-group:has(> .cae-recgrid__cardtitle){height:auto!important;min-height:0!important}
html body .wp-site-blocks:not(#m1):not(#m2):not(#m3):not(#m4) .cae-recgrid__date{margin-top:4px!important}
html body .wp-site-blocks:not(#m1):not(#m2):not(#m3):not(#m4) [class*="-gal-live"]{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
html body .wp-site-blocks:not(#m1):not(#m2):not(#m3):not(#m4) [class*="-gal-live"] > figure{width:100%!important;max-width:100%!important;margin:0!important}
html body .wp-site-blocks:not(#m1):not(#m2):not(#m3):not(#m4) [class*="-gal-live"] > figure img{width:100%!important;height:auto!important;aspect-ratio:1/1!important;object-fit:cover!important}
html body .wp-site-blocks:not(#m1):not(#m2):not(#m3):not(#m4) [class*="-gal-live"] > figure:nth-of-type(n+5){display:none!important}
html body .wp-site-blocks:not(#m1):not(#m2):not(#m3):not(#m4) [class*="-gal-live"] > :not(figure){grid-column:1/-1}
html body .wp-site-blocks:not(#m1):not(#m2):not(#m3):not(#m4) :is(div,section):has(> .cae-voices),
html body .wp-site-blocks:not(#m1):not(#m2):not(#m3):not(#m4) :is(div,section):has(> :is(h1,h2,h3) ~ .cae-voice){padding:32px 16px!important;padding-inline:16px!important}
html body .wp-site-blocks:not(#m1):not(#m2):not(#m3):not(#m4) .cae-voices,
html body .wp-site-blocks:not(#m1):not(#m2):not(#m3):not(#m4) .cae-voice{width:100%!important;max-width:100%!important}
html body .wp-site-blocks:not(#m1):not(#m2):not(#m3):not(#m4) .cae-voice{padding:20px!important}
/* her line 28: not included in this version */
html body .wp-site-blocks:not(#m1):not(#m2):not(#m3):not(#m4) .fcx-how__photo{height:auto!important;min-height:0!important}
html body .wp-site-blocks:not(#m1):not(#m2):not(#m3):not(#m4) .fcx-how__photo img{width:100%!important;height:auto!important;aspect-ratio:4/5!important;object-fit:cover!important;object-position:center top!important}
}
