/* Stories & News POST page (ClickUp 869fdrar7, Kate 2026-10-11 21:17-21:18Z), markup: inc/cae-post-page.php.
 * Breadcrumb above the post, date under the title, and the events' Previous / Next edge tabs
 * (paint: records-cae.css record-nav--edge; placement copied from event-post-cae.css section 5). */

/* 1. Breadcrumb -- the events single's spacing (event-post-cae.css: breadcrumb--event). */
:is(body.single-news, body.single-case_study) .cae-website-redesign-breadcrumb--post { margin: 24px 0 24px; max-width: none; }
:root :is(body.single-news, body.single-case_study) .cae-website-redesign-breadcrumb--post .cae-website-redesign-breadcrumb__list { width: 100%; padding: 0; margin: 0; }
:is(body.single-news, body.single-case_study) .cae-website-redesign-breadcrumb--post + .cae-website-redesign-record-detail__title,
:is(body.single-news, body.single-case_study) .cae-website-redesign-breadcrumb--post + .cae-website-redesign-record-detail__featured-image { margin-top: 0; }

/* 2. Previous / Next edge tabs: the track runs from the top of <main> to its end, browser edge to
 *    browser edge; each tab is sticky at the viewport's middle. >= 1024 only; below, in flow. */
@media (min-width: 1024px) {
  body.single-news main.cae-website-redesign-record-detail--news,
  body.single-case_study main.cae-website-redesign-record-detail--case-study,
  body.single-borrowers main.cae-website-redesign-record-detail--borrower-profile { position: relative; }
  :is(.cae-website-redesign-record-detail--news, .cae-website-redesign-record-detail--case-study, .cae-website-redesign-record-detail--borrower-profile) > .cae-website-redesign-record-nav--post {
    position: absolute; top: 0; bottom: 0;
    left: calc(50% - 50vw / 0.8); right: calc(50% - 50vw / 0.8);
    max-width: none; margin: 0; gap: 0; align-items: flex-start; pointer-events: none; z-index: 2;
    display: flex; justify-content: space-between;
  }
  .cae-website-redesign-record-nav--post > .cae-website-redesign-record-nav__item.cae-website-redesign-record-nav__item {
    position: sticky; top: calc(50vh / 0.8 - 3.375rem); align-self: flex-start;
  }
  /* an only-Next tab (the oldest post) still sits on the right edge */
  .cae-website-redesign-record-nav--post > .cae-website-redesign-record-nav__item--next { margin-left: auto; }
}

/* 3. IMPACT STORY PAGES (Kate Shawver, "Dev Notes: Impact Story Pages", ClickUp 869ew340f, 2026-11-04; reference
 *    /impact/stories/maya-intern-extraordinaire/). Every case_study single. The brick strip + tan title bar are the shared
 *    post-strip-cae.css; the featured image is no longer printed (templates/single-case_study.html). Design px throughout
 *    (presented = design x 0.8). Her colours: brick #B15533, grass #598527, mint #83B390, evergreen #004F39, chip green
 *    #DCEBD3, body gray #606055. */
/* 3a. DATELINE (section 2) — the first line of the body: post date · program (inc/cae-post-page.php); Acumin Pro Condensed
 *     600 20/1.2, .05em, upper case, grass green; middle dot 10 each side at 60%; program link not underlined, evergreen on
 *     hover; 14 below, before the first paragraph. On a News single the dateline sits in div.cae-post-intro__text with the
 *     intro text (Kate 869ew2ark 2026-11-10 "CAE News Posts Global Rules" A1), hence the third parent in the :is(). */
:is(.cae-website-redesign-record-detail--case-study, .cae-website-redesign-record-detail--news, .cae-website-redesign-record-detail--borrower-profile) :is(.cae-website-redesign-record-detail__content, .cae-post-intro, .cae-post-intro__text) > .cae-story-dateline,
main.cae-website-redesign-record-detail--borrower-profile > .cae-story-dateline {
  margin: 0 0 14px;
  font-family: var(--wp--preset--font-family--acumin-pro-condensed), "Acumin Pro Condensed", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #598527;
}
:is(.cae-website-redesign-record-detail--case-study, .cae-website-redesign-record-detail--news, .cae-website-redesign-record-detail--borrower-profile) .cae-story-dateline__sep { margin: 0 10px; opacity: 0.6; }
:is(.cae-website-redesign-record-detail--case-study, .cae-website-redesign-record-detail--news, .cae-website-redesign-record-detail--borrower-profile) :is(.cae-website-redesign-record-detail__content, .cae-post-intro, .cae-post-intro__text) > .cae-story-dateline a.cae-story-dateline__program {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
  overflow-wrap: normal;
}
:is(.cae-website-redesign-record-detail--case-study, .cae-website-redesign-record-detail--news, .cae-website-redesign-record-detail--borrower-profile) :is(.cae-website-redesign-record-detail__content, .cae-post-intro, .cae-post-intro__text) > .cae-story-dateline a.cae-story-dateline__program:hover,
:is(.cae-website-redesign-record-detail--case-study, .cae-website-redesign-record-detail--news, .cae-website-redesign-record-detail--borrower-profile) :is(.cae-website-redesign-record-detail__content, .cae-post-intro, .cae-post-intro__text) > .cae-story-dateline a.cae-story-dateline__program:focus-visible {
  color: #004F39;
  text-decoration: none;
}
/* the 14 is the dateline's: the next block (and, after a floated first photo, the paragraph beside it) adds nothing */
:is(.cae-website-redesign-record-detail--case-study, .cae-website-redesign-record-detail--news, .cae-website-redesign-record-detail--borrower-profile) :is(.cae-website-redesign-record-detail__content, .cae-post-intro, .cae-post-intro__text) > .cae-story-dateline + *,
:is(.cae-website-redesign-record-detail--case-study, .cae-website-redesign-record-detail--news, .cae-website-redesign-record-detail--borrower-profile) :is(.cae-website-redesign-record-detail__content, .cae-post-intro, .cae-post-intro__text) > .cae-story-dateline + .cae-postcard--float + *,
:is(.cae-website-redesign-record-detail--case-study, .cae-website-redesign-record-detail--news, .cae-website-redesign-record-detail--borrower-profile) .cae-post-intro > .cae-story-dateline + .cae-postcard--float + script + * {
  margin-top: 0;
}

/* the title bar's 32 below is the gap to the dateline (records-cae.css gives the body 40 above, which would win the collapse) */
main:is(.cae-website-redesign-record-detail--case-study, .cae-website-redesign-record-detail--news) > .cae-website-redesign-record-detail__content { margin-top: 0; }

/* 3b. BODY COPY (section 3) — the site body style, Acumin Pro 22, #606055; bold runs stay gray, 700. */
.cae-website-redesign-record-detail--case-study .cae-website-redesign-record-detail__content {
  font-size: 22px;
  line-height: 33px;
  color: #606055;
}
.cae-website-redesign-record-detail--case-study .cae-website-redesign-record-detail__content :is(strong, b) {
  font-weight: 700;
  color: #606055;
}
/* the first photo as a floated postcard (photo-postcard-cae.css .cae-postcard--float: 55% wide, full image, 32 gap, 24 below;
 * full width above the text on a phone) — the record-detail figure margins (40 0) give way to the postcard's own */
:is(.cae-website-redesign-record-detail--case-study, .cae-website-redesign-record-detail--news, .cae-website-redesign-record-detail--borrower-profile) :is(.cae-website-redesign-record-detail__content, .cae-post-intro) > figure.cae-postcard--float { margin-top: 0; }

/* 3c. TESTIMONIAL BLOCK (section 4) — the sitewide .cae-voices slide (fix-mkdescriptions-cae.css / .js) in a mint panel:
 *     ~36 padding, 64 above, the white heading Acumin Pro Condensed 900 ~45 centred; the white inner holder as is. The
 *     component's own band (fix-mkdescriptions-cae.css 10: cream, 40/48, evergreen h-2 title) is keyed by an id-weight chain
 *     with !important; these repeat that chain one class longer. */
.wp-site-blocks:not(#cae-m):not(#cae-x):not(#cae-v) .cae-website-redesign-record-detail--case-study .cae-website-redesign-record-detail__content > .cae-story-voices.cae-story-voices {
  clear: both;
  box-sizing: border-box !important;
  max-width: none !important;
  margin-top: 64px !important;
  padding: 36px !important;
  background-color: #83B390 !important;
}
.wp-site-blocks:not(#cae-m):not(#cae-x):not(#cae-v) .cae-website-redesign-record-detail--case-study .cae-website-redesign-record-detail__content > .cae-story-voices.cae-story-voices > .cae-story-voices__title.cae-story-voices__title {
  margin: 0 auto !important;
  font-family: var(--wp--preset--font-family--acumin-pro-condensed), "Acumin Pro Condensed", sans-serif !important;
  font-weight: 900 !important;
  font-size: 45px !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
  text-align: center !important;
  color: #fff !important;
}
/* photo column 400 (one column below 1024: the component's grid is >= 1024 only) — matching the component's id-weight chain
 * (fix-mkdescriptions-cae.css section 3), one class longer */
@media (min-width: 1024px) {
  .wp-site-blocks:not(#cae-m):not(#cae-x):not(#cae-v) .cae-website-redesign-record-detail--case-study .cae-story-voices .cae-voice:has(> .cae-voice__quote) {
    grid-template-columns: 400px minmax(0, 1fr) !important;
  }
}
@media (max-width: 1023.98px) {
  .wp-site-blocks:not(#cae-m):not(#cae-x):not(#cae-v) .cae-website-redesign-record-detail--case-study .cae-story-voices .cae-voice {
    padding: 32px 24px !important;
  }
  .wp-site-blocks:not(#cae-m):not(#cae-x):not(#cae-v) .cae-website-redesign-record-detail--case-study .cae-story-voices .cae-voice > figure.cae-mkd-figure {
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto 24px !important;
  }
  /* the mark's desktop hang (-44 left, -81 below: fix-mkdescriptions-cae.css 11) would sit on the mint outside the one-column
   * card; inside it the mark sits on the card edge and the quote 5 lower than the hang (-76): glyph ink to quote ink measured 14.5 design px at 768, 15.8 at 390 (the em-box rects still meet: ink, not box, is the test) */
  .wp-site-blocks:not(#cae-m):not(#cae-x):not(#cae-v) .cae-website-redesign-record-detail--case-study .cae-story-voices .cae-voice .cae-voice__mark {
    margin: 0 0 -76px 0 !important;
  }
}
/* the portrait: 4:5, centre 30% (the testimonial headshot rule, fix-mkdescriptions-cae.css 3b, reads --cae-focal) */
.wp-site-blocks:not(#cae-m):not(#cae-x):not(#cae-v) .cae-website-redesign-record-detail--case-study .cae-story-voices .cae-voice figure.cae-mkd-figure img {
  aspect-ratio: 4 / 5 !important;
  object-position: var(--cae-focal, 50% 30%) !important;
  max-width: 100% !important;
}
/* quote mark brick (it took the body gray here); the name brick; the role line's links are the component's bold evergreen */
.wp-site-blocks:not(#cae-m):not(#cae-x):not(#cae-v) .cae-website-redesign-record-detail--case-study .cae-story-voices .cae-voice .cae-voice__mark { color: #B15533 !important; }
.wp-site-blocks:not(#cae-m):not(#cae-x):not(#cae-v) .cae-website-redesign-record-detail--case-study .cae-story-voices .cae-voice .cae-voice__credit strong { color: #B15533 !important; }
.wp-site-blocks:not(#cae-m):not(#cae-x):not(#cae-v) .cae-website-redesign-record-detail--case-study .cae-story-voices .cae-voice .cae-voice__credit a { text-decoration: underline; text-underline-offset: 3px; }
.wp-site-blocks:not(#cae-m):not(#cae-x):not(#cae-v) .cae-website-redesign-record-detail--case-study .cae-story-voices .cae-voice .cae-voice__credit a:hover { text-decoration: none; }
.cae-website-redesign-record-detail--case-study .cae-story-voices .cae-voice__quote,
.cae-website-redesign-record-detail--case-study .cae-story-voices .cae-voice__credit { margin: 0; }
/* the pop-up (a child of <body>) titles itself in the band title's colour; this band's title is white on mint, which would
 * vanish on the white pop-up, so a story's testimonial pop-up keeps the component's default evergreen title */
body.single-case_study .cae-pc-modal.cae-pc-modal--voice .cae-pc-modal__title { color: #004F39; }

/* 3d. MORE IMPACT STORIES (section 5) — heading Acumin Pro Condensed 900 45 brick upper case; cards as the Stories of Impact
 *     listing: date (Acumin Pro 16/24 #606055) then the program chip (Acumin Pro 700 12, .72px, upper case, evergreen on
 *     #DCEBD3, 4.5/10/1.5, pill); thumbnails fill the frame (cover). */
:is(.cae-website-redesign-record-detail--case-study, .cae-website-redesign-record-detail--news, .cae-website-redesign-record-detail--borrower-profile) :is(.cae-website-redesign-record-related--case-study, .cae-website-redesign-record-related--news, .cae-website-redesign-record-related--borrowers) .cae-website-redesign-record-related__title {
  font-family: var(--wp--preset--font-family--acumin-pro-condensed), "Acumin Pro Condensed", sans-serif;
  font-weight: 900;
  font-size: 45px;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #B15533;
}
:is(.cae-website-redesign-record-detail--case-study, .cae-website-redesign-record-detail--news, .cae-website-redesign-record-detail--borrower-profile) :is(.cae-website-redesign-record-related--case-study, .cae-website-redesign-record-related--news, .cae-website-redesign-record-related--borrowers) .cae-website-redesign-record-related__image {
  object-fit: cover;
  background: none;
}
:is(.cae-website-redesign-record-detail--case-study, .cae-website-redesign-record-detail--news, .cae-website-redesign-record-detail--borrower-profile) :is(.cae-website-redesign-record-related--case-study, .cae-website-redesign-record-related--news, .cae-website-redesign-record-related--borrowers) .cae-website-redesign-record-related__card-chip {
  align-self: flex-start;
  display: inline-block;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 4.5px 10px 1.5px;
  border-radius: 999px;
  background: #DCEBD3;
  color: #004F39;
  font-family: var(--wp--preset--font-family--acumin-pro), "Acumin Pro", sans-serif;
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: 0.72px;
  text-transform: uppercase;
  text-decoration: none;
}

/* 4. NEWS POST PAGES (Kate Shawver, "Dev Notes: News Post Pages", ClickUp 869ew2ark, 2026-11-04; reference
 *    /news-events/news/2019-11-27-11-years-of-pies-for-people/). Every news single. The CAE NEWS strip + tan title bar are the
 *    shared post-strip-cae.css; the dateline, MORE NEWS heading, card date and chip share 3a / 3d above. Design px throughout. */
/* 4a. BODY COPY (section 4) — the site body style: Acumin Pro 22/1.6, #606055; bold runs stay gray, 700. */
.cae-website-redesign-record-detail--news .cae-website-redesign-record-detail__content {
  font-size: 22px;
  line-height: 1.6;
  color: #606055;
}
.cae-website-redesign-record-detail--news .cae-website-redesign-record-detail__content :is(strong, b) {
  font-weight: 700;
  color: #606055;
}
/* the site's bold evergreen in-copy link (conventions C05: green text links bold, underlined at rest) */
.cae-website-redesign-record-detail--news .cae-website-redesign-record-detail__content p a[href] {
  font-weight: 700;
  color: #004F39;
}

/* 3e. THE LEAD PHOTO + INTRO (news section 3; GLOBAL UPDATE: Kate Shawver, "Dev Notes: Borrower Profile Pages (VFF)",
 *     ClickUp 869ew7jnj, 2026-11-04 section 4: "The text column is always vertically centered against the photo (align-items:
 *     center), whatever the text length. This replaces the earlier wording: the News post and Impact Story notes said to fall
 *     back to a float/wrap layout when the text is taller than the photo. Kate has made vertical centering the standard. Use the
 *     centered layout on news posts, impact stories and borrower profiles. Mobile: one column, with the photo first and then
 *     the text."). div.cae-post-intro holds the dateline, the lead photo postcard and the intro text (inc/cae-post-page.php;
 *     borrowers: inc/cae-borrower-profile.php). ONE layout, no measuring switch (the float/wrap fallback and its script
 *     post-intro-cae.js are retired): >= 768 two columns, text ~45% / postcard ~55% right, 32 gap. The text rows
 *     (--cae-intro-rows, set by the server) sit between two equal 1fr spacer rows and the postcard spans every row, centred in
 *     that span: a postcard taller than the text shares its extra height equally between the spacers (the text is centred on
 *     the photo); a text taller than the postcard leaves the spacers empty and the postcard is centred on the text. Either way
 *     the two columns' centres coincide. Below 768 one column on every family: the photo first, then the dateline and the
 *     text. The postcard shows the whole photo (the img carries its proportions inline; the float variant already drops the
 *     standard card's 223 crop). */
.cae-post-intro { display: block; }
@media (min-width: 768px) {
  .cae-post-intro {
    display: grid;
    grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
    grid-template-rows: 1fr repeat(var(--cae-intro-rows, 1), auto) 1fr;
    column-gap: 32px;
    align-items: start;
  }
  .cae-post-intro::before,
  .cae-post-intro::after { content: ""; grid-column: 1; }
  .cae-post-intro::before { grid-row: 1; }
  .cae-post-intro::after { grid-row: -2; }
  .cae-post-intro > * { grid-column: 1; min-width: 0; }
  body .cae-post-intro > figure.cae-postcard.cae-postcard--float,
  body .cae-post-intro > figure.cae-postcard.cae-postcard--float.cae-jcf-pc.cae-jcf-pc {
    grid-column: 2;
    grid-row: 1 / -1;
    float: none;
    width: 100%;
    max-width: none;
    margin: 0;
    align-self: center;
  }
}
/* below 768, every family: photo first, then the dateline and the text */
@media (max-width: 767.98px) {
  .cae-post-intro { display: flex; flex-direction: column; }
  .cae-post-intro > figure.cae-postcard { order: -1; }
}

/* 3f. CARD DATES LINE UP (news section 5, GLOBAL rule: MORE NEWS and MORE IMPACT STORIES): "Pin the date-and-chip block to the
 *     bottom of the card (margin-top: auto) with the date first, and reserve the chip row even when there is no chip ... better
 *     is a fixed chip-row height." The card is a flex column (records-cae.css); the title keeps 12 below as its minimum gap, the
 *     date takes the free space above it, and the chip row (always printed, inc/cae-record-surfaces.php) is a fixed 32: 8 gap
 *     + the 24 chip (4.5 + 18 + 1.5). A row's cards share one height (grid stretch), so every date in a row sits at one y. */
:is(.cae-website-redesign-record-related--case-study, .cae-website-redesign-record-related--news, .cae-website-redesign-record-detail--borrower-profile .cae-website-redesign-record-related--borrowers) .cae-website-redesign-record-related__card-title {
  margin-bottom: 12px;
}
:is(.cae-website-redesign-record-related--case-study, .cae-website-redesign-record-related--news, .cae-website-redesign-record-detail--borrower-profile .cae-website-redesign-record-related--borrowers) .cae-website-redesign-record-related__card-date.cae-website-redesign-record-related__card-date {
  margin-top: auto;
}
:is(.cae-website-redesign-record-related--case-study, .cae-website-redesign-record-related--news, .cae-website-redesign-record-detail--borrower-profile .cae-website-redesign-record-related--borrowers) .cae-website-redesign-record-related__card-chips {
  display: flex;
  flex: none;
  align-items: flex-start;
  gap: 8px;
  box-sizing: border-box;
  height: 32px;
  padding-top: 8px;
  overflow: hidden;
}

/* 5. BORROWER PROFILE PAGES (Kate Shawver, "Dev Notes: Borrower Profile Pages (VFF)", ClickUp 869ew7jnj, 2026-11-04; reference
 *    /programs-places/vermont-farm-fund/our-borrowers/ananda-gardens-2025/). Every borrowers single printed by the new
 *    templates/single-borrowers.html (main token .cae-website-redesign-record-detail--borrower-profile; markup
 *    inc/cae-borrower-profile.php). The strip + title bar are post-strip-cae.css; the dateline (3a), the intro (3e), the
 *    related heading, chip and cover thumbnails (3d) and the pinned card date (3f) are the shared rules above with this page
 *    added to their selector lists. Design px throughout. Her colours: brick #B15533, grass #598527, evergreen #004F39, chip
 *    green #DCEBD3, body gray #606055. */
/* 5a. BREADCRUMB (section 1) — "Align it to the content width, with about 16px above and 14px below": the trail sits on
 *     <main>'s content column (records-cae.css record-detail: max 1280, 16 / 32 / 40 side padding at 0 / 600 / 1024). */
body.single-borrowers .cae-website-redesign-breadcrumb--borrower {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
:root body.single-borrowers .cae-website-redesign-breadcrumb--borrower .cae-website-redesign-breadcrumb__list {
  box-sizing: border-box;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 16px 1rem 14px;
}
@media (min-width: 600px) {
  :root body.single-borrowers .cae-website-redesign-breadcrumb--borrower .cae-website-redesign-breadcrumb__list { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 1024px) {
  :root body.single-borrowers .cae-website-redesign-breadcrumb--borrower .cae-website-redesign-breadcrumb__list { padding-left: 2.5rem; padding-right: 2.5rem; }
}

/* 5b. DESCRIPTION (section 4) — "site body style, Acumin Pro 22px, line-height 1.6, #606055" (records-cae.css 3.1 drew it at
 *     staging's 20/28); the in-copy link is the site's bold evergreen (conventions C05, as the news body, 4a). The description
 *     follows the dateline and the postcard in the intro, so its own 24 above (records-cae.css __meta) gives way to the
 *     dateline's 14. */
.cae-website-redesign-record-detail--borrower-profile .cae-website-redesign-record-detail__meta {
  margin-top: 0;
  font-family: var(--wp--preset--font-family--acumin-pro), "Acumin Pro", sans-serif;
  font-size: 22px;
  line-height: 1.6;
  color: #606055;
}
.cae-website-redesign-record-detail--borrower-profile .cae-website-redesign-record-detail__meta p {
  font-size: 22px;
  line-height: 1.6;
  color: #606055;
}
.cae-website-redesign-record-detail--borrower-profile .cae-website-redesign-record-detail__meta :is(strong, b) {
  font-weight: 700;
  color: #606055;
}
.cae-website-redesign-record-detail--borrower-profile .cae-website-redesign-record-detail__meta a[href] {
  font-weight: 700;
  color: #004F39;
}
/* the photo is in the intro now; nothing else above the title bar */
.cae-website-redesign-record-detail--borrower-profile > .cae-website-redesign-record-detail__featured-image { display: none; }

/* 5c. MORE BORROWER PROFILES (section 5) — the cards: title (evergreen, as drawn), the loan year (Acumin Pro 16/24 #606055)
 *     pinned to the card bottom with the loan-type chip row under it (3f, GLOBAL); "titles are never underlined, in any
 *     state" (the card link's own underline painted through the title span); the Load More outline button loses the
 *     underline it carried, as the other outline buttons. */
.cae-website-redesign-record-detail--borrower-profile .cae-website-redesign-record-related--borrowers .cae-website-redesign-record-related__card-date {
  display: block;
  font-family: var(--wp--preset--font-family--acumin-pro), "Acumin Pro", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #606055;
  text-decoration: none;
}
.wp-site-blocks .cae-website-redesign-record-detail--borrower-profile .cae-website-redesign-record-related--borrowers :is(.cae-website-redesign-record-related__link, .cae-website-redesign-record-related__card-title, .cae-website-redesign-record-related__more),
.wp-site-blocks .cae-website-redesign-record-detail--borrower-profile .cae-website-redesign-record-related--borrowers :is(.cae-website-redesign-record-related__link, .cae-website-redesign-record-related__more):is(:hover, :focus, :focus-visible, :active),
.wp-site-blocks .cae-website-redesign-record-detail--borrower-profile .cae-website-redesign-record-related--borrowers .cae-website-redesign-record-related__link:is(:hover, :focus, :focus-visible, :active) .cae-website-redesign-record-related__card-title {
  text-decoration: none;
}

/* 5d. MORE BORROWER PROFILES -- the button row (Kate 1amzwvgc7xh, Our Borrowers post page; markup: record-related moreStyle=buttons).
 * B: "Should match the design of the Load More button and hover state" of the Our Borrowers landing -- transparent ground, 1.25px
 *    #004F39 outline, 40px radius, CAE Button Cond 20px (15px under 768), 12/24/11 padding, no hover change (as served there).
 * C: the reveal script (record-related-reveal.js) opens the next row of the same grid under the rows above on each click.
 * D: the site's yellow pill (fg-ground-primary-butter-yellow) "Browse All >" to its right, back to the landing. Once every
 *    card is out the Load More has nothing left to load and leaves; Browse All stays. */
.wp-site-blocks .cae-website-redesign-record-detail--borrower-profile .cae-website-redesign-record-related--borrowers .cae-website-redesign-record-related__actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 32px 0 0; padding: 0;
}
.wp-site-blocks .cae-website-redesign-record-detail--borrower-profile .cae-website-redesign-record-related--borrowers .cae-website-redesign-record-related__actions .wp-block-button { margin: 0; }
.wp-site-blocks .cae-website-redesign-record-detail--borrower-profile .cae-website-redesign-record-related--borrowers .cae-website-redesign-record-related__actions .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-sizing: border-box; margin: 0; min-height: 0;
  padding: 12px 24px 11px; border-radius: 40px; font-family: "CAE Button Cond", "Acumin Pro Condensed", sans-serif; font-size: 20px; font-weight: 400; line-height: 28px;
  text-decoration: none; transition: none;
}
.wp-site-blocks .cae-website-redesign-record-detail--borrower-profile .cae-website-redesign-record-related--borrowers .cae-website-redesign-record-related__actions .fg-ground-transparent .wp-block-button__link,
.wp-site-blocks .cae-website-redesign-record-detail--borrower-profile .cae-website-redesign-record-related--borrowers .cae-website-redesign-record-related__actions .fg-ground-transparent .wp-block-button__link:is(:hover, :focus, :focus-visible, :active) {
  background: transparent; color: #004f39; border: 1.25px solid #004f39;
}
.wp-site-blocks .cae-website-redesign-record-detail--borrower-profile .cae-website-redesign-record-related--borrowers .cae-website-redesign-record-related__actions .fg-ground-primary-butter-yellow .wp-block-button__link,
.wp-site-blocks .cae-website-redesign-record-detail--borrower-profile .cae-website-redesign-record-related--borrowers .cae-website-redesign-record-related__actions .fg-ground-primary-butter-yellow .wp-block-button__link:is(:hover, :focus, :focus-visible, :active) {
  background: var(--wp--preset--color--primary-butter-yellow, #f2a518); color: #fff; border: 0;
}
.wp-site-blocks .cae-website-redesign-record-detail--borrower-profile .cae-website-redesign-record-related--borrowers .cae-website-redesign-record-related__actions .button-icon { width: 20px; height: 20px; flex: none; }
.wp-site-blocks .cae-website-redesign-record-detail--borrower-profile .cae-website-redesign-record-related--borrowers .cae-website-redesign-record-related__actions .fg-ground-primary-butter-yellow .button-icon { filter: brightness(0) invert(1); }
.wp-site-blocks .cae-website-redesign-record-detail--borrower-profile .cae-website-redesign-record-related--borrowers .cae-website-redesign-record-related__actions .wp-block-button:has(> [data-done]) { display: none; }
@media (max-width: 767px) {
  .wp-site-blocks .cae-website-redesign-record-detail--borrower-profile .cae-website-redesign-record-related--borrowers .cae-website-redesign-record-related__actions .wp-block-button__link { font-size: 15px; }
}

/* 6. ONE PAGE PER BORROWER (Kate Shawver, ClickUp 1amzwvgdu2q, 2026-11-29 19:07Z; markup inc/cae-borrower-groups.php
 *    cae_borrower_page_sections_html()). Kate's numbers here are SCREEN px; this site presents at zoom 0.8, so each is
 *    written as screen / 0.8 (design px) with the screen value beside it. GATED: every rule here sits under
 *    :where(body.cae-borrower-groups), printed only when cae_borrower_groups_enabled() (inc/cae-borrower-groups-gate.php);
 *    :where() keeps each rule's specificity as tuned. */
/* 6a. LOAN INDEX LINE (2+ loans only): "under the title bar, centred, in the current dateline label style. In brick:
 *     '2 VERMONT FARM FUND LOANS:', then one link per loan in the current green dateline colour, underlined, separated by a
 *     light grey '|' ... About 40px of space under this line before the first loan." The dateline's type (3a). */
:where(body.cae-borrower-groups) .cae-website-redesign-record-detail--borrower-profile .cae-borrower-loans__index {
  margin: 0 0 50px; /* 40 screen */
  text-align: center;
  font-family: var(--wp--preset--font-family--acumin-pro-condensed), "Acumin Pro Condensed", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #598527;
}
:where(body.cae-borrower-groups) .cae-website-redesign-record-detail--borrower-profile .cae-borrower-loans__count { color: #B15533; margin-right: 4px; }
:where(body.cae-borrower-groups) .wp-site-blocks .cae-website-redesign-record-detail--borrower-profile .cae-borrower-loans__index a.cae-borrower-loans__jump,
:where(body.cae-borrower-groups) .wp-site-blocks .cae-website-redesign-record-detail--borrower-profile .cae-borrower-loans__index a.cae-borrower-loans__jump:visited {
  color: #598527;
  font-weight: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap; /* a narrow screen wraps between loans, never inside one ("2025 · EMERGENCY / LOAN") */
}
:where(body.cae-borrower-groups) .wp-site-blocks .cae-website-redesign-record-detail--borrower-profile .cae-borrower-loans__index a.cae-borrower-loans__jump:is(:hover, :focus-visible) { color: #004F39; }
:where(body.cae-borrower-groups) .cae-website-redesign-record-detail--borrower-profile .cae-borrower-loans__sep { color: #C7C6C6; margin: 0 5px; } /* + the spaces either side (the line's break points) */
/* 6b. ONE SECTION PER LOAN, newest first; the photo alternates ("loan 1 photo right, loan 2 photo left, and so on"). The
 *     intro grid is 3e's, mirrored on the photo-left sections. A section is a jump target: it clears the sticky header. */
:where(body.cae-borrower-groups) .cae-website-redesign-record-detail--borrower-profile .cae-borrower-loan { scroll-margin-top: 150px; }
@media (min-width: 768px) {
  :where(body.cae-borrower-groups) .cae-borrower-loan--photo-left > .cae-post-intro { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); }
  :where(body.cae-borrower-groups) .cae-borrower-loan--photo-left > .cae-post-intro::before,
  :where(body.cae-borrower-groups) .cae-borrower-loan--photo-left > .cae-post-intro::after,
  :where(body.cae-borrower-groups) .cae-borrower-loan--photo-left > .cae-post-intro > * { grid-column: 2; }
  body:where(.cae-borrower-groups) .cae-borrower-loan--photo-left > .cae-post-intro > figure.cae-postcard.cae-postcard--float,
  body:where(.cae-borrower-groups) .cae-borrower-loan--photo-left > .cae-post-intro > figure.cae-postcard.cae-postcard--float.cae-jcf-pc.cae-jcf-pc { grid-column: 1; }
}
/* 6c. "Thin grey divider (#C7C6C6, 1px) between loans, about 48px above and below." 1.25 design = 1 screen px. */
:where(body.cae-borrower-groups) .wp-site-blocks .cae-website-redesign-record-detail--borrower-profile hr.cae-borrower-loans__divider {
  display: block;
  box-sizing: content-box;
  height: 0;
  width: 100%;
  margin: 60px 0; /* 48 screen */
  padding: 0;
  border: 0;
  border-top: 1.25px solid #C7C6C6;
  background: none;
  opacity: 1;
}
/* 6d. STORY PARAGRAPHS (spec 2: "short paragraphs, about 14px between paragraphs"): the paragraphing itself is the content's;
 *     the spacing is the template's, on every borrower story. */
:where(body.cae-borrower-groups) .cae-website-redesign-record-detail--borrower-profile .cae-borrower-intro > p { margin-top: 0; margin-bottom: 0; }
:where(body.cae-borrower-groups) .cae-website-redesign-record-detail--borrower-profile .cae-borrower-intro > p + p { margin-top: 17.5px; } /* 14 screen */
