/* Page-scoped hand fixes - Farm & Food Business Resources: Services: FARM Business Advising
 * (/programs-places/farm-food-business-resources/farm-business-advising/). Kate Shawver, "Dev Notes: Farm Business Advising
 * Page" 2026-10-12, ClickUp 869ew4854 (caeassist PACKET-235). Enqueued on that route only; every rule is also scoped on the
 * page's body class. The page reuses the Food Business Advising components (same markup and classes: the Our Consulting
 * Services row 15564-19819 for the intro, the fh-pc postcard, the Community Connections card numbers), so the numbers below
 * are the ones fix-ffbrfood-cae.css carries for Food; only the Farm-specific geometry differs (380 photo, centred text). */

/* 3. FARM BUSINESS ADVISING row: white section, postcard left (col-4), text right (col-8) vertically centred. */
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising .cae-fba-farmintro [class*="__row-figma-generic-rootrow-15564-19819"] { align-items: center !important; height: auto !important; min-height: 0 !important; }
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising .cae-fba-farmintro [class*="__column-figma-generic-column-15564-1982"] { height: auto !important; min-height: 0 !important; }
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising .cae-fba-farmintro [class*="__column-figma-generic-column-15564-19821"] { align-self: center !important; justify-content: center; }
/* the section sits on the 1200 content column like Food's (an older page rule left it 80 in from the left at 1024 with the
 * text column touching the right edge). Placement (1200 column, even margins) is the FFBR family rule,
 * fix-ffbrfamily-cae.css §6a, shared with Food; this page keeps only its own padding. */
@media (min-width: 600px) { body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising .wp-site-blocks .wp-block-post-content > .cae-fba-farmintro.alignfull { padding-inline: 0 !important; } }
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising .cae-fba-farmintro [class*="__row-figma-generic-rootrow-15564-19819"] { margin-inline: 0 !important; }
/* the Food row's geometry (served there: postcard 428 design wide, 40 to the text column) */
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising .cae-fba-farmintro [class*="__row-figma-generic-rootrow-15564-19819"] { column-gap: 40px !important; }
@media (min-width: 1000px) {
  body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising .cae-fba-farmintro figure.cae-fba-pc { flex: 0 0 428px !important; width: 428px !important; max-width: 428px !important; }
  body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising .cae-fba-farmintro [class*="__column-figma-generic-column-15564-19821"] { flex: 1 1 0 !important; min-width: 0 !important; }
}
@media (min-width: 600px) and (max-width: 999.98px) {
  body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising .cae-fba-farmintro [class*="__row-figma-generic-rootrow-15564-19819"] { column-gap: 24px !important; }
}
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising .cae-fba-farmintro-actions { justify-content: flex-start !important; margin: 0 !important; }
/* fh-pc postcard (fix-ffbrfood-cae.css 3b numbers): white holder, padding 16, shadow 4 -4 100 .1, zoom-in; caption
 * Acumin Pro Condensed 20/26 #767769 with 36 right for the magnifier (.cae-pc-zoom, added by fix-mkdescriptions-cae.js). */
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising figure.cae-fba-pc { margin: 0; padding: 0; background: none; box-shadow: none; height: auto !important; min-height: 0 !important; align-self: center !important; }
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising .cae-fba-pc .fh-pc { position: relative; display: flex; flex-direction: column; width: 100%; height: 380px; margin: 0; padding: 16px; background: #fff; box-shadow: rgba(0, 0, 0, .1) 4px -4px 100px 0; box-sizing: border-box; cursor: zoom-in; }
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising .cae-fba-pc .fh-pc__img { display: block; flex: 1 1 0; min-height: 0; width: 100% !important; max-width: none !important; height: 0 !important; object-fit: cover; object-position: 50% 30%; margin: 0 0 10px; }
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising .cae-fba-pc .fh-pc__cap { margin: 0 !important; padding: 0 36px 0 0; color: #767769; background: none; font-family: 'Acumin Pro Condensed', sans-serif; font-size: 20px; line-height: 26px; font-weight: 400; text-align: left; }
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising .cae-fba-pc .fh-pc__cap a { color: inherit; text-decoration: underline; position: relative; z-index: 2; }
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising .cae-fba-pc .fh-pc__cap[hidden] { display: none !important; }
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising .cae-fba-pc .cae-pc-zoom { position: absolute; right: 16px; bottom: 14px; width: 28px; height: 28px; display: block; pointer-events: none; }
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising .cae-fba-pc .cae-pc-zoom svg { display: block; width: 100%; height: 100%; }
/* Kate: "once the columns stack, the postcard should fall back to the photo's natural proportions and the text should no
 * longer be vertically centred" - the row stacks below 600 (as on Food). */
@media (max-width: 599.98px) {
  body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising .cae-fba-pc .fh-pc { height: auto; }
  body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising .cae-fba-pc .fh-pc__img { flex: none; height: auto !important; }
  body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising figure.cae-fba-pc { margin-bottom: 24px !important; align-self: stretch !important; }
  body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising .cae-fba-farmintro [class*="__row-figma-generic-rootrow-15564-19819"] { align-items: stretch !important; }
  body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising .cae-fba-farmintro [class*="__column-figma-generic-column-15564-19821"] { align-self: stretch !important; justify-content: flex-start; }
}
@media (min-width: 600px) and (max-width: 999.98px) {
  body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising .cae-fba-farmintro [class*="__row-figma-generic-rootrow-15564-19819"] { padding-inline: 24px !important; box-sizing: border-box; flex-wrap: nowrap !important; }
  /* the text column kept its desktop 586 width and wrapped under a 233-wide postcard at 768; it takes the remaining width */
  body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising .cae-fba-farmintro [class*="__column-figma-generic-column-15564-19821"] { flex: 1 1 0 !important; min-width: 0 !important; width: auto !important; max-width: none !important; }
}

/* 4. GET STARTED: the band now uses the shared Get Started band component (components-cae.css §3: content height, centred
 * buttons, the tablet/phone insets; lane fcservices-1017). Kept here: this page's own -10 design margins above and below
 * the band (Kate's ~37 presented white space either side). */
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising [class*="__column-figma-generic-column-15564-19501"] { margin-top: -10px !important; margin-bottom: -10px !important; }

/* 5. FEATURED PROJECTS: full browser width light grey (#F3F5F7) band, 64 top/bottom; Community Connections card numbers
 * (16 figure inset, 352:200 image, regular title never underlined, whole card clickable, equal heights, program label
 * pinned to the bottom); Browse All Projects = the CC button (butter yellow, white label + arrow), 32 below the cards. */
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising [class*="__column-figma-generic-column-15564-19494"] { position: relative; height: auto !important; min-height: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 64px !important; padding-bottom: 64px !important; background: #F3F5F7; box-shadow: 0 0 0 100vmax #F3F5F7; clip-path: inset(0 -100vmax); }
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising [class*="__card-list-figma-generic-card-list-15564-19496"] { align-items: stretch; height: auto !important; }
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising [class*="__card-list-figma-generic-card-list-15564-19496"] [class*="__card-figma-generic-card-"] { position: relative; display: flex; flex-direction: column; height: auto !important; background: #fff; }
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising [class*="__card-list-figma-generic-card-list-15564-19496"] [class*="__card-figma-generic-card-"] > [class*="__column-figma-generic-column-"],
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising [class*="__card-list-figma-generic-card-list-15564-19496"] [class*="__card-figma-generic-card-"] > [class*="__column-figma-generic-column-"] > [class*="__column-figma-generic-column-"] { display: flex; flex-direction: column; flex: 1 1 auto; height: auto !important; }
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising [class*="__card-list-figma-generic-card-list-15564-19496"] [class*="__media-figma-image-"] { box-sizing: border-box; width: 100% !important; max-width: none !important; height: auto !important; margin: 0; padding: 16px 16px 0; }
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising [class*="__card-list-figma-generic-card-list-15564-19496"] a.cae-recgrid__photo-link { display: block; width: 100%; }
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising [class*="__card-list-figma-generic-card-list-15564-19496"] img.cae-recgrid__photo { display: block; box-sizing: border-box; width: 100% !important; max-width: none !important; height: auto !important; margin: 0; aspect-ratio: 352 / 200; object-position: center; }
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising [class*="__card-list-figma-generic-card-list-15564-19496"] p.cae-recgrid__cardtitle { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; height: auto; min-height: 0; }
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising [class*="__card-list-figma-generic-card-list-15564-19496"] .cae-recgrid__cardtitle a,
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising [class*="__card-list-figma-generic-card-list-15564-19496"] .cae-recgrid__cardtitle a:hover,
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising [class*="__card-list-figma-generic-card-list-15564-19496"] .cae-recgrid__cardtitle a:focus { font-weight: inherit; text-decoration: none !important; }
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising [class*="__card-list-figma-generic-card-list-15564-19496"] .cae-recgrid__cardtitle a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising [class*="__card-list-figma-generic-card-list-15564-19496"] p.cae-recgrid__chip { margin-top: auto !important; padding-top: 8px; font-size: 20px; line-height: 26px; font-weight: 400; }
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising [class*="__column-figma-generic-column-15564-19494"] .wp-block-buttons { margin-top: 32px; justify-content: flex-start; } /* left under the slider (Kate 869ew4854 23:23Z, lane ffbr2-1018); was centred */
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising [class*="__column-figma-generic-column-15564-19494"] .wp-block-buttons[hidden],
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising [class*="__column-figma-generic-column-15564-19494"] .wp-block-buttons { display: flex !important; }
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising [class*="__column-figma-generic-column-15564-19494"] .wp-block-button__link { background: var(--wp--preset--color--primary-butter-yellow, #F2A518) !important; color: #fff !important; border: 0 !important; }
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising [class*="__column-figma-generic-column-15564-19494"] .wp-block-button__link .button-icon { filter: brightness(0) invert(1); }

/* phone: the stacked cards touched (0 between the white cards); 24 between them */
@media (max-width: 599.98px) {
  body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising [class*="__card-list-figma-generic-card-list-15564-19496"] { row-gap: 24px !important; }
}

/* 6. OUR PARTNER meets the grey band directly (no white gap). */
/* the frame stacks its bands with a 56 design gap; Our Partner takes it back so the cream band meets the grey one. */
body.cae-page--cae-flow-programs-services-ffbr-services-farmbusinessadvising [class*="__column-figma-generic-column-15564-19517"] { margin-top: -56px !important; }
