/* Loans - New Producer Loans (ClickUp 869ew7m2y): Kate's prototype CSS, moved verbatim from her live wp-admin
   Custom HTML block (captured 2026-10-12) into theme source; enqueued only on
   programs-places/vermont-farm-fund/new-producer-loans. Her inline lightbox rules are dropped: the postcards
   open the shared View larger dialog (fix-mkdescriptions-cae.js / .css). */
.wp-site-blocks .wp-block-post-content .cae-npl-band,.wp-site-blocks .wp-block-post-content .cae-npl-sec{box-sizing:border-box;margin:0 auto!important}
.wp-site-blocks .wp-block-post-content .cae-npl-band *,.wp-site-blocks .wp-block-post-content .cae-npl-sec *{box-sizing:border-box}
.wp-site-blocks .wp-block-post-content .cae-npl-intro{display:grid!important;grid-template-columns:minmax(0,39fr) minmax(0,59fr);padding:0 34px 0 0;background:#fff}
.wp-site-blocks .wp-block-post-content .cae-npl-intro .cae-npl-media{display:flex;margin:0;padding:32px 12px 32px 32px}
.wp-site-blocks .wp-block-post-content .cae-npl-intro .cae-npl-col{display:flex;flex-direction:column;justify-content:center;gap:24px;padding:40px 40px 40px 46px}
.wp-site-blocks .wp-block-post-content .cae-npl-intro .fh-pc__frame{flex:1 1 auto;min-height:280px}
.wp-site-blocks .wp-block-post-content .cae-npl-band .fh-pc,.wp-site-blocks .wp-block-post-content .cae-npl-sec .fh-pc{position:relative;display:flex;flex-direction:column;width:100%;margin:0;padding:16px 16px 20px;background:#fff;box-shadow:rgba(0,0,0,.1) 4px -4px 100px 0;cursor:zoom-in;border:0;text-align:left;font:inherit}
.wp-site-blocks .wp-block-post-content .cae-npl-band .fh-pc:focus-visible,.wp-site-blocks .wp-block-post-content .cae-npl-sec .fh-pc:focus-visible{outline:3px solid #B15533;outline-offset:3px}
.wp-site-blocks .wp-block-post-content .cae-npl-band .fh-pc__frame,.wp-site-blocks .wp-block-post-content .cae-npl-sec .fh-pc__frame{position:relative;display:block;margin:0 0 10px;overflow:hidden;background:#F3F5F7}
.wp-site-blocks .wp-block-post-content .cae-npl-sec .fh-pc__frame{aspect-ratio:3/2}
.wp-site-blocks .wp-block-post-content .cae-npl-band .fh-pc__frame .fh-pc__img,.wp-site-blocks .wp-block-post-content .cae-npl-sec .fh-pc__frame .fh-pc__img{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;margin:0}
.wp-site-blocks .wp-block-post-content .cae-npl-band .fh-pc__cap,.wp-site-blocks .wp-block-post-content .cae-npl-sec .fh-pc__cap{display:block!important;margin:0 0 4px;color:#767769;font-family:'Acumin Pro Condensed',sans-serif;font-size:20px;line-height:26px;padding-right:36px}
.wp-site-blocks .wp-block-post-content .cae-npl-sec .fh-pc__cred{display:block;margin:0;color:#767769;font-family:'Acumin Pro Condensed',sans-serif;font-size:16px;line-height:22px;padding-right:36px}
.wp-site-blocks .wp-block-post-content .cae-npl-band .cae-pc-zoom,.wp-site-blocks .wp-block-post-content .cae-npl-sec .cae-pc-zoom{position:absolute;right:16px;bottom:18px;width:28px;height:28px;display:block;pointer-events:none}
.wp-site-blocks .wp-block-post-content .cae-npl-band .cae-pc-zoom svg,.wp-site-blocks .wp-block-post-content .cae-npl-sec .cae-pc-zoom svg{display:block;width:100%;height:100%}
.wp-site-blocks .wp-block-post-content .cae-npl-h{margin:0!important;color:#004F39;font-family:'Acumin Pro Condensed',sans-serif;font-weight:900;font-size:48px;line-height: var(--wp--custom--line-heights--h-2-acumin-black);text-transform:uppercase;text-align:left}
.wp-site-blocks .wp-block-post-content .cae-npl-h::after{content:"";display:block;width:72px;height:6px;margin-top:16px;background:#F2A518}
.wp-site-blocks .wp-block-post-content .cae-npl-p{margin:0!important;color:#606055;font-family:'Acumin Pro',sans-serif;font-size:24px;line-height:32px}
.wp-site-blocks .wp-block-post-content .cae-npl-p strong{font-weight:700;color:#606055}
.wp-site-blocks .wp-block-post-content .cae-npl-sub{margin:0!important;color:#B15533;font-family:'Acumin Pro',sans-serif;font-weight:700;font-size:24px;line-height:32px}
.wp-site-blocks .wp-block-post-content .cae-npl-list{display:flex;flex-direction:column;gap:12px;margin:0!important;padding:0!important;list-style:none}
.wp-site-blocks .wp-block-post-content .cae-npl-list li{position:relative;margin:0;padding:0 0 0 24px;list-style:none;color:#606055;font-family:'Acumin Pro',sans-serif;font-size:22px;line-height:30px}
.wp-site-blocks .wp-block-post-content .cae-npl-list li::before{content:"";position:absolute;left:2px;top:11px;width:8px;height:8px;border-radius:50%;background:#F2A518}
.wp-site-blocks .wp-block-post-content .cae-npl-list strong{color:#004F39;font-weight:700}
.wp-site-blocks .wp-block-post-content .cae-npl-list a{color:#004F39!important;font-weight:700;text-decoration:underline!important}
.wp-site-blocks .wp-block-post-content .cae-npl-list a:hover{text-decoration:none!important}
.wp-site-blocks .wp-block-post-content .cae-npl-terms{display:flex;flex-direction:column;gap:14px;padding:24px 28px;background:#F7F4E2;border-left:6px solid #F2A518}
.wp-site-blocks .wp-block-post-content .cae-npl-apply{padding:64px 0!important;background:#83B390;box-shadow:0 0 0 100vmax #83B390;clip-path:inset(0 -100vmax);display:flex;flex-direction:column;gap:24px}
.wp-site-blocks .wp-block-post-content .cae-npl-apply > *{margin:0!important}
.wp-site-blocks .wp-block-post-content .cae-npl-apply .cae-npl-h{color:#fff}
.wp-site-blocks .wp-block-post-content .cae-npl-apply > .cae-npl-p{color:#fff;font-weight:700}
.wp-site-blocks .wp-block-post-content .cae-npl-apply .cae-npl-boxes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.wp-site-blocks .wp-block-post-content .cae-npl-apply .cae-npl-part{display:flex;flex-direction:column;gap:12px;padding:24px 28px;background:#fff;border-left:6px solid #F2A518;box-shadow:rgba(0,0,0,.05) 0 2px 24px 0}
.wp-site-blocks .wp-block-post-content .cae-npl-apply .cae-npl-part > *{margin:0!important}
.wp-site-blocks .wp-block-post-content .cae-npl-apply .cae-npl-actions{display:flex;justify-content:flex-start;margin-top:auto!important;padding-top:8px}
.wp-site-blocks .wp-block-post-content .cae-npl-sec--cream{background:transparent;padding:0!important}
.wp-site-blocks .wp-block-post-content .cae-npl-sec .cae-npl-h{margin:0 0 32px!important}
.wp-site-blocks .wp-block-post-content .cae-npl-sec .cae-npl-h::after{background:#B15533}
.wp-site-blocks .wp-block-post-content .cae-npl-split{display:grid;grid-template-columns:minmax(0,59fr) minmax(0,39fr);gap:44px;align-items:center}
.wp-site-blocks .wp-block-post-content .cae-npl-text{display:flex;flex-direction:column;gap:24px}
.wp-site-blocks .wp-block-post-content .cae-npl-sec .cae-npl-p{font-size:22px}
.wp-site-blocks .wp-block-post-content .cae-npl-note{display:flex;flex-direction:column;gap:14px;padding:24px 28px;background:#F7F4E2;border-left:6px solid #B15533}
.wp-site-blocks .wp-block-post-content .cae-npl-ta{margin:48px 0 0;padding:32px 32px 36px;background:#F3F5F7}
.wp-site-blocks .wp-block-post-content .cae-npl-ta .cae-npl-sub{text-align:center;margin:0 0 24px!important}
.wp-site-blocks .wp-block-post-content .cae-npl-logos{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin:0!important;padding:0!important;list-style:none}
.wp-site-blocks .wp-block-post-content .cae-npl-logos li{margin:0;padding:0;list-style:none}
.wp-site-blocks .wp-block-post-content .cae-npl-logos a{display:flex;align-items:center;justify-content:center;height:100%;min-height:96px;padding:14px 16px;background:#fff;border-radius:4px;box-shadow:rgba(0,0,0,.05) 0 2px 12px 0;transition:transform .2s ease,box-shadow .2s ease}
.wp-site-blocks .wp-block-post-content .cae-npl-logos a:hover,.wp-site-blocks .wp-block-post-content .cae-npl-logos a:focus-visible{transform:translateY(-3px);box-shadow:rgba(0,0,0,.12) 0 6px 20px 0}
.wp-site-blocks .wp-block-post-content .cae-npl-logos img{display:block;max-width:100%;max-height:64px;width:auto;height:auto;object-fit:contain}
@media (max-width:1024px){.wp-site-blocks .wp-block-post-content .cae-npl-intro{grid-template-columns:1fr;padding:0}.wp-site-blocks .wp-block-post-content .cae-npl-intro .cae-npl-media{padding:24px 24px 0}.wp-site-blocks .wp-block-post-content .cae-npl-intro .fh-pc__frame{min-height:0;aspect-ratio:4/3;flex:0 0 auto}.wp-site-blocks .wp-block-post-content .cae-npl-intro .cae-npl-col{padding:24px}.wp-site-blocks .wp-block-post-content .cae-npl-apply .cae-npl-boxes{grid-template-columns:1fr}.wp-site-blocks .wp-block-post-content .cae-npl-apply{padding:48px 0!important}.wp-site-blocks .wp-block-post-content .cae-npl-split{grid-template-columns:1fr;gap:32px}.wp-site-blocks .wp-block-post-content .cae-npl-logos{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:600px){.wp-site-blocks .wp-block-post-content .cae-npl-h{font-size:36px;line-height:42px}.wp-site-blocks .wp-block-post-content .cae-npl-terms,.wp-site-blocks .wp-block-post-content .cae-npl-apply .cae-npl-part,.wp-site-blocks .wp-block-post-content .cae-npl-note{padding:20px}.wp-site-blocks .wp-block-post-content .cae-npl-list li,.wp-site-blocks .wp-block-post-content .cae-npl-sec .cae-npl-p{font-size:20px;line-height:28px}.wp-site-blocks .wp-block-post-content .cae-npl-logos{grid-template-columns:repeat(2,minmax(0,1fr))}.wp-site-blocks .wp-block-post-content .cae-npl-ta{padding:24px 16px}}

/* Shared dialog hook: the full caption rides in a hidden .cae-mkd-caption for the dialog; the card keeps her
   truncated caption. The shared script adds the magnifier (.cae-pc-zoom). */
.fh-pc.cae-mkd-figure{position:relative;cursor:pointer}
.fh-pc.cae-mkd-figure .cae-mkd-caption[hidden]{display:none!important}

/* Emergency Loans (ClickUp 869ew7k74, PACKET-302 item 1): this sheet also loads on
   programs-places/vermont-farm-fund/loans/emergency-loans, whose intro and application-process bands reuse the markup
   above with the role classes .cae-em-intro / .cae-em-apply. Kate's editor version set these values as inline style
   attributes (moved here unchanged): both bands 1200 wide within a 24px page margin, centred, no side padding; the
   intro photo column without its left padding and the text column without its right padding / margin. */
html body .wp-site-blocks .wp-block-post-content section.cae-npl-band:is(.cae-em-intro, .cae-em-apply){width:min(1200px, 100% - 48px)!important;max-width:none!important;margin-inline:auto!important;padding-left:0!important;padding-right:0!important}
html body .wp-site-blocks .wp-block-post-content section.cae-npl-band.cae-em-intro > figure.cae-npl-media{padding-left:0!important}
html body .wp-site-blocks .wp-block-post-content section.cae-npl-band.cae-em-intro > div.cae-npl-col{padding-right:0!important;margin-right:0!important}

/* Photo Postcard caption clamp (PACKET-302 / ClickUp 869ew7k74 and 869ew7m2y): the card shows the FULL held caption,
   cut to two lines by CSS (never a typed "…" in the markup); the View larger dialog shows it whole from
   .cae-mkd-caption. Kate's rule from her Emergency Loans editor version (class cae-em-clamp there), widened to the
   New Producer Loans postcards (.cae-npl-band intro and .cae-npl-sec) under the shared class cae-npl-cap-clamp. */
html body .wp-site-blocks .wp-block-post-content :is(.cae-npl-band, .cae-npl-sec) .fh-pc span.fh-pc__cap.cae-npl-cap-clamp{display:-webkit-box!important;-webkit-line-clamp:2!important;line-clamp:2;-webkit-box-orient:vertical!important;overflow:hidden!important;white-space:normal!important;max-height:3em}

/* bbl-1016 (2026-10-16, Kate's Business Builder Loans dev notes, ClickUp 869ew7kqp, QA checklist: "At 1440px, 1024px, 768px
 * and 375px: intro postcard, terms box, Application Process boxes and Recent cards share the same left/right edges").
 * Under 600px the landing's Recent band wrapper keeps its 25px phone padding and the band its 16px phone margin, so the
 * RECENT BUSINESS BUILDER LOANS band sat 41px in from the screen edge while the intro and Application Process sit 24px in
 * (lane boot, 390 viewport: 41.0 vs 24.0 canvas px each side). Same 24px gutter here; 600px and up are already on the well.
 * The wrapper's 25px comes from the sitewide `.wp-site-blocks:not(#cae-m) … [class*="-generic"].alignfull` gutter, hence the
 * matching :not(#cae-m) here. el2-1016: Emergency Loans joins (same 41 vs 24 px defect in Kate's version). */
@media (max-width: 599.98px) {
  html body.cae-page--cae-flow-programs-services-vermontfarmfund-businessbuilderloans .wp-site-blocks:not(#cae-m) .wp-block-post-content > .wp-block-group.cae-ems-wrap.alignfull,
  html body.cae-page--cae-flow-programs-services-vermontfarmfund-loans-emergencyloans .wp-site-blocks:not(#cae-m) .wp-block-post-content > .wp-block-group.cae-ems-wrap.alignfull { padding-left: 0 !important; padding-right: 0 !important; }
  html body.cae-page--cae-flow-programs-services-vermontfarmfund-businessbuilderloans .wp-site-blocks .cae-ems-wrap .cae-vffl-recent.cae-vffl-recent,
  html body.cae-page--cae-flow-programs-services-vermontfarmfund-loans-emergencyloans .wp-site-blocks:not(#cae-m) .cae-ems-wrap .cae-vffl-recent.cae-vffl-recent { width: calc(100% - 48px) !important; margin-inline: auto !important; }
}
