/* PFB Site: shared styles for all "PFB Site" section modules (Homepage, MCO / Employer,
   Practitioner / CBO pages). Copied Nov 2026 from /PFB Modules/FIM/pfb-fim.css so the
   new pages look exactly like the Food Is Medicine page; the FIM page keeps its own file.
   Lives in Design Manager at /PFB Modules/Site/pfb-site.css; each module loads it. Everything is scoped under .pfb-fim so it
   won't fight the site theme. Brand tokens from the H2 2026 deck. */

/* Fonts: Jellee (600) and Halcom (100-900) come from the site theme. */

.pfb-fim {
  /* Tokens measured from the live projectfoodbox.org theme + CTA tool (Oct 2026) */
  --olive:     #3B4418;   /* H1/H2 color on the site */
  --orange:    #DB6015;   /* H3 / section-accent headings on the site */
  --green:     #6CBE4B;   /* CTA button green (New York / California Applicants) */
  --green-lt:  #ECF9E6;
  --ink:       #1C1D1F;   /* links + secondary button text/border */
  --text:      #44474A;   /* body copy */
  --cream:     #E9E8DA;   /* site section + card background */
  --cream-2:   #DEDCCB;
  --line:      #D7D7D7;   /* site card border */
  --red:       #B3261E;
  --white:     #FFFFFF;
  /* Jellee + Halcom are already loaded by the site theme on every page */
  --display: "Jellee", sans-serif;
  --body: "Halcom", sans-serif;
  --radius: 24px;
  --wrap: 1160px;

  font-family: var(--body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-align: left;   /* theme centers dnd sections; this module is left-aligned */
}
.pfb-fim *, .pfb-fim *::before, .pfb-fim *::after { box-sizing: border-box; }
.pfb-fim p { margin: 0 0 1em; }
.pfb-fim a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pfb-fim a:hover { color: var(--olive); }
.pfb-fim a:focus-visible, .pfb-fim button:focus-visible, .pfb-fim [tabindex]:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; }
.pfb-fim [hidden] { display: none !important; }

/* Layout */
.pfb-fim__sec { padding: 88px 0; scroll-margin-top: calc(var(--header-offset, 120px) + 24px); }
.pfb-fim__sec--cream { background: var(--cream); }

.pfb-fim__sec--dark { background: var(--olive); color: var(--white); }
.pfb-fim__wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.pfb-fim__wrap--narrow { max-width: 820px; }
.pfb-fim__grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pfb-fim__grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pfb-fim__split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }

/* Type */
.pfb-fim .pfb-fim__h1, .pfb-fim .pfb-fim__h2, .pfb-fim .pfb-fim__h3 { text-align: left; font-family: var(--display); color: var(--olive); font-weight: 600; margin: 0; letter-spacing: 0; }
.pfb-fim .pfb-fim__h1 { font-size: clamp(2.2rem, 4.2vw, 3.26rem); line-height: 1.2; margin-bottom: 20px; }
.pfb-fim .pfb-fim__h2 { font-size: clamp(1.8rem, 3vw, 2.49rem); line-height: 1.2; margin-bottom: 18px; max-width: 28ch; }
.pfb-fim .pfb-fim__h3 { font-size: 1.35rem; line-height: 1.2; margin-bottom: 8px; color: var(--orange); }
.pfb-fim .pfb-fim__sec--dark .pfb-fim__h2, .pfb-fim .pfb-fim__sec--dark .pfb-fim__h3, .pfb-fim .pfb-fim__quote--dark .pfb-fim__h3 { color: var(--white); }
.pfb-fim__eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--olive); display: flex; align-items: center; gap: 10px; margin-bottom: 14px !important; }
.pfb-fim__eyebrow::before { content: ""; width: 22px; height: 4px; border-radius: 2px; background: var(--orange); }
.pfb-fim__sec--dark .pfb-fim__eyebrow { color: var(--white); }
.pfb-fim__lead { font-size: 1.15rem; color: var(--text); }
.pfb-fim__intro { max-width: 70ch; margin-bottom: 36px !important; }
.pfb-fim__small { font-size: 0.9rem; margin-top: 14px; }
.pfb-fim__kicker { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--olive); margin-bottom: 6px !important; opacity: .8; }

/* Buttons
   Primary = the site's CTA-tool button (New York / California Applicants):
     #6CBE4B, white, Arial bold 16px, 16px radius, 12px 18px padding.
     Hover = white fill + green text (the site's own hover sets green text on a
     green fill, which hides the label, so this uses its :active look instead).
   Secondary = same shape as the CTA, outlined in green (olive text), fills green on hover.
   Light / outline = same shape, white versions for the dark band. */
.pfb-fim__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.pfb-fim__btns--center { justify-content: center; }
.pfb-fim a.pfb-fim__btn, .pfb-fim button.pfb-fim__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 16px;
  font-family: arial, helvetica, sans-serif; font-size: 16px; font-weight: 700; font-style: normal; line-height: 18.4px;
  text-decoration: none; cursor: pointer; background: var(--green); color: var(--white); border: 1px solid var(--green);
}
.pfb-fim a.pfb-fim__btn:hover, .pfb-fim a.pfb-fim__btn:focus-visible, .pfb-fim button.pfb-fim__btn:hover, .pfb-fim button.pfb-fim__btn:focus-visible { background: var(--white); color: var(--green); border-color: var(--green); }
/* Secondary buttons share the CTA's shape/size so pairs line up */
.pfb-fim a.pfb-fim__btn--ghost, .pfb-fim button.pfb-fim__btn--ghost { background: transparent; color: var(--olive); border-color: var(--green); }
.pfb-fim a.pfb-fim__btn--ghost:hover, .pfb-fim a.pfb-fim__btn--ghost:focus-visible, .pfb-fim button.pfb-fim__btn--ghost:hover, .pfb-fim button.pfb-fim__btn--ghost:focus-visible { background: var(--green); color: var(--white); border-color: var(--green); }
.pfb-fim a.pfb-fim__btn--light { background: var(--white); color: var(--olive); border-color: var(--white); }
.pfb-fim a.pfb-fim__btn--light:hover, .pfb-fim a.pfb-fim__btn--light:focus-visible { background: transparent; color: var(--white); border-color: var(--white); }
.pfb-fim a.pfb-fim__btn--outline { background: transparent; color: var(--white); border-color: var(--white); }
.pfb-fim a.pfb-fim__btn--outline:hover, .pfb-fim a.pfb-fim__btn--outline:focus-visible { background: var(--white); color: var(--olive); }

/* Images + placeholders */
.pfb-fim__img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); }
.pfb-fim__ph { display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, var(--cream-2) 0 12px, #E2E1D3 12px 24px); color: #6B6E62; font-size: .85rem; font-weight: 700; }
.pfb-fim__media-4x3 { aspect-ratio: 8 / 7; max-width: 400px; margin-bottom: 20px; }  /* pill-box image is 400x350; capped so it stays sharp */

/* 1. Hero */
/* Hero: full-bleed split like the site's other heroes. The image fills the
   left half edge to edge; copy sits on cream on the right.
   The site header is fixed and overlaps the page top, so the hero starts
   below it (--header-offset comes from the theme). */
.pfb-fim__hero { padding-top: var(--header-offset, 140px); background: var(--white); }
.pfb-fim__hero-split { display: grid; grid-template-columns: 11fr 9fr; min-height: 600px; background: var(--cream); }
.pfb-fim__hero-img { position: relative; overflow: hidden; align-self: stretch; }
.pfb-fim__hero-img > .pfb-fim__hero-media { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; margin: 0 !important; border-radius: 0; object-fit: cover; object-position: var(--hero-focus, 50% 50%); }
.pfb-fim__hero-copy { padding: 56px clamp(24px, 4.5vw, 80px); display: flex; flex-direction: column; justify-content: center; max-width: 700px; }
.pfb-fim__stats-sec { padding: 56px 0 64px; }
.pfb-fim__stats-sec .pfb-fim__stat { background: var(--cream); }
.pfb-fim__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pfb-fim__stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; border-top: 5px solid var(--green); }
.pfb-fim__stat-num { display: block; font-family: var(--display); font-weight: 600; font-size: 2.2rem; line-height: 1.1; color: var(--olive); }
.pfb-fim__stat-label { display: block; font-size: .95rem; margin-top: 4px; }

/* 2. What */
.pfb-fim__links { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.pfb-fim__def { margin: 0; background: var(--cream); border-left: 5px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 24px; }
.pfb-fim__def p { font-size: 1.05rem; color: var(--olive); font-weight: 500; }
.pfb-fim__def cite { font-style: normal; font-size: .85rem; }

/* 3. Why */
.pfb-fim__callout { background: var(--cream); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); position: relative; }
.pfb-fim__callout::before { content: ""; display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--green); margin-bottom: 16px; }
.pfb-fim__callout p { margin: 0; font-size: 1.1rem; color: var(--olive); font-weight: 500; }
.pfb-fim__more { margin-top: 28px !important; }

/* 4. Steps (hover/focus reveals detail; always shown on touch screens) */
.pfb-fim__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr)); gap: 16px; position: relative; }
.pfb-fim__steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 62px; height: 2px; background: repeating-linear-gradient(90deg, var(--green) 0 8px, transparent 8px 14px); z-index: 0; }
.pfb-fim__step { position: relative; z-index: 1; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px 22px; text-align: center; min-height: 230px; cursor: default; transition: border-color .2s, box-shadow .2s, transform .2s; outline: none; }
.pfb-fim .pfb-fim__step .pfb-fim__h3 { text-align: center; }
.pfb-fim__step-num { position: absolute; top: 12px; left: 14px; font-family: var(--display); font-weight: 600; font-size: .9rem; color: var(--olive); opacity: .55; }
.pfb-fim__step-icon { display: block; width: 84px; height: 84px; margin: 0 auto 14px; }
.pfb-fim__icon { width: 84px; height: 84px; border-radius: 50%; font-size: .62rem; padding: 8px; line-height: 1.2; }
.pfb-fim__step-icon .pfb-fim__ph { background: var(--green-lt); border: 2px dashed var(--green); color: var(--olive); }
.pfb-fim__step-icon img.pfb-fim__icon { object-fit: contain; border-radius: 0; }
.pfb-fim__step-text { font-size: .93rem; line-height: 1.5; margin: 0 !important; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .3s ease, opacity .25s ease; }
.pfb-fim__step:hover, .pfb-fim__step:focus-within, .pfb-fim__step:focus-visible { border-color: var(--green); box-shadow: 0 10px 28px rgba(59,68,24,.14); transform: translateY(-4px); }
.pfb-fim__step:hover .pfb-fim__step-text, .pfb-fim__step:focus .pfb-fim__step-text { max-height: 14em; opacity: 1; }
.pfb-fim__step::after { content: "Hover for details"; display: block; font-size: .72rem; color: #7A7D70; margin-top: 10px; transition: opacity .2s; }
.pfb-fim__step:hover::after, .pfb-fim__step:focus::after { opacity: 0; height: 0; margin: 0; }
@media (hover: none) {
  .pfb-fim__step-text { max-height: none; opacity: 1; }
  .pfb-fim__step::after { display: none; }
}

/* 5 + 6. Cards */
.pfb-fim__card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.pfb-fim__card-media { aspect-ratio: 16 / 10; border-radius: 0; height: auto; }
.pfb-fim__card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.pfb-fim__card-body p:last-child { margin-bottom: 0; }
.pfb-fim a.pfb-fim__cardlink { margin-top: auto; padding-top: 8px; }
.pfb-fim__bar { margin-top: 24px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.pfb-fim__bar p { margin: 0; font-weight: 700; color: var(--olive); }
.pfb-fim__bar-links { display: flex; flex-wrap: wrap; gap: 20px; }

/* 7. Stories */
.pfb-fim__quote { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.pfb-fim__quote blockquote { margin: 18px 0 14px; padding: 0; border: 0; }
.pfb-fim__quote blockquote p { font-family: var(--display); font-weight: 600; font-size: 1.25rem; line-height: 1.4; color: var(--olive); margin: 0; }
.pfb-fim__quote figcaption { font-size: .9rem; font-weight: 700; }
.pfb-fim__quote-link { margin: auto 0 0 !important; padding-top: 18px; font-size: .95rem; }
.pfb-fim__avatar { width: 64px; height: 64px; border-radius: 50%; font-size: .6rem; padding: 6px; line-height: 1.2; }
/* Icons (SVG/PNG) sit on a white circle; photos (JPG) fill it */
img.pfb-fim__avatar { width: 72px; height: 72px; object-fit: contain; background: var(--white); padding: 12px; border: 1px solid var(--line); }
img.pfb-fim__avatar[src$=".jpg"], img.pfb-fim__avatar[src$=".jpeg"] { object-fit: cover; padding: 0; }
.pfb-fim__quote--dark { background: var(--olive); border-color: var(--olive); color: var(--white); }
.pfb-fim__quote--dark blockquote p { color: var(--white); }
.pfb-fim__quote--dark a { color: var(--white); }
.pfb-fim__quote--dark a:hover { color: var(--green-lt); }

/* 8. Quiz */
.pfb-fim__quiz { background: var(--cream); border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); }
.pfb-fim__quiz-top { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; font-size: .9rem; }
.pfb-fim__quiz-bar { flex: 1; height: 8px; background: var(--cream-2); border-radius: 4px; overflow: hidden; }
.pfb-fim__quiz-bar span { display: block; height: 100%; width: 0; background: var(--green); transition: width .3s; }
.pfb-fim__q { border: 0; margin: 0; padding: 0; min-width: 0; }
.pfb-fim__q-text { font-family: var(--display); font-weight: 600; font-size: 1.35rem; line-height: 1.3; color: var(--olive); margin-bottom: 18px; padding: 0; }
.pfb-fim__opt { display: flex; align-items: flex-start; gap: 14px; width: 100%; text-align: left; margin: 0 0 12px; padding: 16px 18px; border-radius: 12px; background: var(--white); border: 2px solid var(--line); font: inherit; color: var(--text); cursor: pointer; transition: border-color .15s, background .15s; }
.pfb-fim__opt:hover:not(:disabled) { border-color: var(--green); }
.pfb-fim__opt:disabled { cursor: default; }
.pfb-fim__opt-key { flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--green-lt); color: var(--olive); font-weight: 700; font-size: .85rem; }
.pfb-fim__opt.is-correct { border-color: var(--green); background: var(--green-lt); }
.pfb-fim__opt.is-correct .pfb-fim__opt-key { background: var(--olive); color: var(--white); }
.pfb-fim__opt.is-wrong { border-color: var(--red); background: #FBEDEC; }
.pfb-fim__opt.is-wrong .pfb-fim__opt-key { background: var(--red); color: var(--white); }
.pfb-fim__q-fb { margin-top: 8px; background: var(--white); border-radius: 12px; padding: 20px 22px; }
.pfb-fim__q-fb .pfb-fim__btn { margin-top: 4px; }
.pfb-fim__q-verdict { font-weight: 700; font-size: 1.05rem; margin-bottom: 6px !important; }
.pfb-fim__q-verdict.is-correct { color: var(--olive); }
.pfb-fim__q-verdict.is-wrong { color: var(--red); }
.pfb-fim__q-done { text-align: center; padding: 12px 0; outline: none; }
.pfb-fim__score { font-family: var(--display); font-weight: 600; font-size: 3.4rem; line-height: 1; color: var(--olive); margin-bottom: 10px !important; }

/* 9. CTA */
.pfb-fim__cta { border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); padding: 32px; background: rgba(255,255,255,.04); }
.pfb-fim__cta p { color: var(--white); }
.pfb-fim__cta-label { font-weight: 700; margin: 20px 0 -14px !important; }


/* Below 1100px the split would crop the landscape photo into a tall sliver,
   so the hero stacks: photo full width on top, copy underneath. */
@media (max-width: 1100px) {
  .pfb-fim__hero-split { grid-template-columns: 1fr; min-height: 0; }
  .pfb-fim__hero-img { aspect-ratio: 16 / 9; max-height: 560px; }
  .pfb-fim__hero-copy { padding: 48px clamp(16px, 5vw, 64px) 56px; max-width: 820px; }
}

/* Responsive */
@media (max-width: 1024px) {
  .pfb-fim__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pfb-fim__steps::before { display: none; }
}
@media (max-width: 860px) {
  .pfb-fim__sec { padding: 64px 0; }
  .pfb-fim__split, .pfb-fim__grid2, .pfb-fim__grid3 { grid-template-columns: 1fr; gap: 24px; }

  .pfb-fim__stats { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .pfb-fim { font-size: 16px; }
  .pfb-fim__wrap { padding: 0 16px; }
  .pfb-fim__steps { grid-template-columns: 1fr; }
  .pfb-fim__step { min-height: 0; display: grid; grid-template-columns: 64px 1fr; gap: 4px 16px; text-align: left; align-items: start; }
  .pfb-fim__step-icon { grid-row: span 2; width: 64px; height: 64px; margin: 0; }
  .pfb-fim__icon { width: 64px; height: 64px; }
  .pfb-fim__step-num { display: none; }
  .pfb-fim .pfb-fim__step .pfb-fim__h3 { text-align: left; }
  .pfb-fim__step-text { max-height: none; opacity: 1; }
  .pfb-fim__step::after { display: none; }
  .pfb-fim__quiz, .pfb-fim__quote, .pfb-fim__cta { padding: 22px; }
  .pfb-fim a.pfb-fim__btn, .pfb-fim button.pfb-fim__btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .pfb-fim * { transition: none !important; }
}

/* On cream sections, cards/panels flip to white so they stand off the background */
.pfb-fim__sec--cream .pfb-fim__card, .pfb-fim__sec--cream .pfb-fim__callout, .pfb-fim__sec--cream .pfb-fim__bar { background: var(--white); }

/* Rich text areas (fields editors type into) */
.pfb-fim__rt > :last-child { margin-bottom: 0; }
.pfb-fim__rt--lead p:first-child { font-size: 1.15rem; }
.pfb-fim__rt ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.pfb-fim__rt ul li { margin: 0; }
.pfb-fim__rt small { font-size: .85rem; }
.pfb-fim__intro { margin-bottom: 36px; }
.pfb-fim__intro p { margin-bottom: 0; }
.pfb-fim__more { margin-top: 28px; }
.pfb-fim__hero-copy .pfb-fim__rt { margin-bottom: 0; }
.pfb-fim__def p:first-child { font-size: 1.05rem; color: var(--olive); font-weight: 500; }
.pfb-fim__def p:last-child { margin-bottom: 0; }
.pfb-fim__empty { padding: 16px 20px; border: 2px dashed var(--orange); border-radius: 12px; color: var(--orange); font-weight: 700; }
.pfb-fim__bar > p:only-child { width: 100%; }
/* ============================================================

/* ============================================================
   OCT 29 UPDATES (Dan / Chelsea review)
   Paste this whole block at the very BOTTOM of pfb-fim.css.
   It only overrides earlier rules, so nothing above needs editing.
   To undo any change, delete that one section.
   ============================================================ */

/* 1. Wider page: content grows with the screen (90% of the window, up to 1600px),
      always centered. Change 90vw or 1600px to go wider or narrower. */
.pfb-fim .pfb-fim__wrap { width: 100%; max-width: min(90vw, 1600px) !important; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }
.pfb-fim .pfb-fim__h2 { max-width: 32ch; }   /* headings like "How Food Is Medicine Feels in Real Life" stay on one line */

/* Corner roundness for every card on this page (optional).
   Uncomment and change if the team wants sharper or rounder corners. */
/* .pfb-fim { --radius: 16px; } */

/* 2. Hero: photo fills its half edge to edge, top to bottom. */
.pfb-fim__hero-split { gap: 0 !important; column-gap: 0 !important; border-radius: 0 !important; overflow: hidden; }
.pfb-fim__hero-img { position: relative; overflow: hidden; align-self: stretch; min-height: 100%; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: var(--cream); line-height: 0; }
.pfb-fim__hero-img > span,
.pfb-fim__hero-img > picture { position: absolute; inset: 0; display: block; margin: 0; }
.pfb-fim__hero-img img { position: absolute; top: -1px; left: -1px; width: calc(100% + 2px) !important; height: calc(100% + 2px) !important; max-width: none !important; max-height: none !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; object-fit: cover;
  object-position: 50% 75%;          /* show more of the bottom (the box) */
  transform: scale(1.02); transform-origin: left center;   /* pushes the photo's white right edge out of frame */
}
.pfb-fim__hero-copy { max-width: 760px; }

/* 3. Stats: no green line on top; hover lift like the Steps cards. */
.pfb-fim__stat { border-top: 1px solid var(--line) !important; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.pfb-fim__stat:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(59, 68, 24, .14); border-color: var(--green) !important; }
@media (prefers-reduced-motion: reduce) { .pfb-fim__stat, .pfb-fim__stat:hover { transition: none; transform: none; } }

/* 4. Small labels above headings (FOOD IS MEDICINE, WHY IT MATTERS, etc.): hidden on every section.
      To bring them back, delete this rule. */
.pfb-fim .pfb-fim__eyebrow { display: none !important; }

/* 5. Callouts ("Why Food Is Medicine Matters"): left-aligned like the rest of the page.
      Each block is an invisible box: icon on the left, copy on the right,
      same widths in both blocks so they always line up. */
.pfb-fim__sec:has(.pfb-fim__callout) .pfb-fim__grid2 { gap: 40px 64px; align-items: start; }
.pfb-fim__callout { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 24px; align-items: start; max-width: 620px; padding: 0; text-align: left; background: transparent !important; border: 0 !important; border-radius: 0; }
.pfb-fim__callout::before { grid-column: 1; margin: 12px 0 0; }   /* green line marker until an icon is added */
.pfb-fim__callout-icon { grid-column: 1; display: block; width: 72px; height: 72px; object-fit: contain; object-position: center top; margin: 0; }
.pfb-fim__callout p { grid-column: 2; grid-row: 1; margin: 0; font-size: 1.15rem; line-height: 1.55; max-width: 46ch; }
.pfb-fim__callout:has(.pfb-fim__callout-icon)::before { display: none; }
/* Want the boxes faintly visible? Uncomment the next line. */
/* .pfb-fim__callout { padding: 28px; border: 1px solid rgba(59, 68, 24, .08) !important; background: rgba(255, 255, 255, .25) !important; } */

/* 6. Quote box (if one is ever added back): square corners, no green bar on the left. */
.pfb-fim__def { border-left: 0 !important; border-radius: 0 !important; padding: 28px 32px !important; }

/* 7. "What Does Food Is Medicine Mean?": photo fills the full width of its column. */
.pfb-fim__split .pfb-fim__img { display: block; width: 100% !important; max-width: none !important; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* 8. Tighter gap between the stats and "What Does Food Is Medicine Mean?".
      Raise either number to add space back. */
.pfb-fim__stats-sec { padding-bottom: 32px !important; }
.pfb-fim__sec:has(.pfb-fim__split) { padding-top: 64px !important; }

/* 9. Icons, page-wide: no circle, border or background behind any icon
      (Real Stories, Steps, callouts). All icons are the same 72px size.
      Change 72px here to resize every icon at once. */
.pfb-fim img.pfb-fim__avatar,
.pfb-fim img.pfb-fim__icon,
.pfb-fim .pfb-fim__step-icon img,
.pfb-fim .pfb-fim__callout-icon { width: 72px !important; height: 72px !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; object-fit: contain !important; }
.pfb-fim .pfb-fim__step-icon { width: 72px !important; height: 72px !important; }

/* 10. Real Stories: every quote card matches the white one
       (white card, light border, olive quote, dark text and links). */
.pfb-fim .pfb-fim__quote--dark { background: var(--white) !important; border-color: var(--line) !important; color: var(--text) !important; }
.pfb-fim .pfb-fim__quote--dark blockquote p { color: var(--olive) !important; }
.pfb-fim .pfb-fim__quote--dark figcaption,
.pfb-fim .pfb-fim__quote--dark a,
.pfb-fim .pfb-fim__quote--dark a:hover { color: var(--text) !important; }

/* 11. Stats hover text: hidden until someone hovers over (or tabs to) a stat on desktop,
       or taps it on a phone, then it slides open like the Steps cards.
       On phones a small "Tap for details" cue shows until the card is opened. */
.pfb-fim__stat-more { display: block; font-size: .93rem; line-height: 1.5; max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; transition: max-height .3s ease, opacity .25s ease, margin-top .3s ease; }
.pfb-fim__stat--more:hover .pfb-fim__stat-more,
.pfb-fim__stat--more:focus .pfb-fim__stat-more,
.pfb-fim__stat--more:focus-within .pfb-fim__stat-more { max-height: 12em; opacity: 1; margin-top: 10px; }
.pfb-fim__stat--more { outline: none; cursor: default; -webkit-tap-highlight-color: transparent; }
.pfb-fim__stat--more:focus-visible { border-color: var(--green) !important; box-shadow: 0 10px 28px rgba(59, 68, 24, .14); }
.pfb-fim__stats { align-items: start; }   /* only the opened card grows; the others stay put */
@media (hover: none) {
  .pfb-fim__stat--more { cursor: pointer; }   /* lets iPhones register the tap */
  .pfb-fim__stat--more::after { content: "Tap for details"; display: block; margin-top: 8px; font-size: .75rem; color: #7A7D70; }
  .pfb-fim__stat--more:hover::after,
  .pfb-fim__stat--more:focus::after { display: none; }
}

//* 12. Buttons, page-wide: same font everywhere.
       In the dark CTA band, every button is solid green and turns white on hover. */
.pfb-fim a.pfb-fim__btn,
.pfb-fim button.pfb-fim__btn { font-family: inherit !important; font-weight: 700 !important; letter-spacing: 0 !important; }
.pfb-fim .pfb-fim__cta .pfb-fim__btn { background: var(--green) !important; border: 1px solid var(--green) !important; color: var(--white) !important; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.pfb-fim .pfb-fim__cta .pfb-fim__btn:hover,
.pfb-fim .pfb-fim__cta .pfb-fim__btn:focus-visible { background: var(--white) !important; border-color: var(--white) !important; color: var(--olive) !important; filter: none !important; }

/* ============================================================
   NOV 2026 UPDATES (Homepage + MCO / Employer + Practitioner / CBO pages)
   New options and modules for the Site pages. Continues the numbering of the Oct 29 block. To undo any change, delete that one section.
   ============================================================ */

/* 13. Note on #12 above: its first rule starts with "//*" instead of "/*", so browsers skip that rule
       and buttons still use Arial. To switch buttons to the page font (Halcom), as #12 intended,
       uncomment the next line. The FIM page keeps Arial unless the same line is changed in pfb-fim.css, so check with Chelsea first. */
/* .pfb-fim a.pfb-fim__btn, .pfb-fim button.pfb-fim__btn { font-family: inherit !important; font-weight: 700 !important; letter-spacing: 0 !important; } */

.pfb-fim { --orange-dk: #B5500F; }   /* darker orange so white text on it is readable (highlight bar) */

/* 14. Hero: the "Photo focus point" field works again when it's changed from 50% 50%.
       (#2 above fixed the FIM photo at 50% 75%; that stays as is while the field is left at 50% 50%.) */
.pfb-fim .pfb-fim__hero[data-focus] .pfb-fim__hero-img img { object-position: var(--hero-focus); }

/* 15. Hero: photo / video on the right ("Photo / video side" = Right). Copy sits on the left. */
.pfb-fim .pfb-fim__hero--right .pfb-fim__hero-split { grid-template-columns: 9fr 11fr; }
.pfb-fim .pfb-fim__hero--right .pfb-fim__hero-img,
.pfb-fim .pfb-fim__hero--right .pfb-fim__hero-panel { order: 2; }
.pfb-fim .pfb-fim__hero--right .pfb-fim__hero-img img { transform-origin: right center; }

/* 16. Hero video: background loop, play button, the player that replaces it, and the pause button. */
.pfb-fim .pfb-fim__hero-img video,
.pfb-fim .pfb-fim__hero-img iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; margin: 0; display: block; object-fit: cover; object-position: var(--hero-focus, 50% 50%); }
.pfb-fim .pfb-fim__hero-img .pfb-fim__hero-player { z-index: 2; background: #000; object-fit: contain; }
.pfb-fim .pfb-fim__play { position: absolute; inset: 0; z-index: 1; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 0; border: 0; border-radius: 0; background: rgba(28, 29, 31, .18); color: var(--white); font: 700 1rem/1.2 var(--body); cursor: pointer; transition: background .2s ease; }
.pfb-fim .pfb-fim__play:hover, .pfb-fim .pfb-fim__play:focus-visible { background: rgba(28, 29, 31, .34); }
.pfb-fim .pfb-fim__play-icon { position: relative; display: block; width: 84px; height: 84px; border-radius: 50%; background: var(--green); box-shadow: 0 10px 28px rgba(0, 0, 0, .25); transition: transform .2s ease; }
.pfb-fim .pfb-fim__play-icon::after { content: ""; position: absolute; left: 33px; top: 26px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent var(--white); }
.pfb-fim .pfb-fim__play:hover .pfb-fim__play-icon { transform: scale(1.06); }
.pfb-fim .pfb-fim__play-text { background: rgba(28, 29, 31, .62); padding: 7px 14px; border-radius: 16px; }
.pfb-fim .pfb-fim__vidctl { position: absolute; right: 16px; bottom: 16px; z-index: 2; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 16px; background: rgba(28, 29, 31, .62); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pfb-fim .pfb-fim__vidctl span { display: block; width: 14px; height: 16px; border-left: 5px solid var(--white); border-right: 5px solid var(--white); }
.pfb-fim .pfb-fim__vidctl.is-paused span { width: 0; height: 0; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--white); margin-left: 4px; }

/* 17. Hero: white card with text instead of a photo (Media = White card with text). */
.pfb-fim .pfb-fim__hero--panel .pfb-fim__hero-split { grid-template-columns: 9fr 11fr; }
.pfb-fim .pfb-fim__hero--panel.pfb-fim__hero--right .pfb-fim__hero-split { grid-template-columns: 11fr 9fr; }
.pfb-fim .pfb-fim__hero-panel { display: flex; align-items: center; justify-content: center; padding: 56px clamp(24px, 4.5vw, 80px); background: var(--cream); }
.pfb-fim .pfb-fim__hero-card { width: 100%; max-width: 580px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 34px; font-size: 1rem; line-height: 1.6; }
.pfb-fim .pfb-fim__hero-card h2, .pfb-fim .pfb-fim__hero-card h3, .pfb-fim .pfb-fim__hero-card h4 { font-family: var(--display); font-weight: 600; color: var(--olive); font-size: 1.4rem; line-height: 1.25; margin: 0 0 14px; text-align: left; }
.pfb-fim .pfb-fim__hero-card ul { margin: 0 0 16px; }
.pfb-fim .pfb-fim__hero-card small, .pfb-fim .pfb-fim__hero-card p:last-child { font-size: .9rem; }

/* Checkmark bullets in hero cards and green-dash bullets in Feature Cards */
.pfb-fim .pfb-fim__hero-card ul li,
.pfb-fim .pfb-fim__feat-body ul li { position: relative; padding-left: 28px; }
.pfb-fim .pfb-fim__hero-card ul li::before { content: ""; position: absolute; left: 3px; top: .45em; width: 12px; height: 7px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.pfb-fim .pfb-fim__feat-body ul li::before { content: ""; position: absolute; left: 4px; top: .75em; width: 12px; height: 3px; border-radius: 2px; background: var(--green); }

/* 18. "Sit close to the section above": no top spacing, so two modules read as one section. */
.pfb-fim .pfb-fim__sec.pfb-fim__sec--attach { padding-top: 0 !important; }

/* 19. CTA Band: cream background with white panels (e.g. the homepage two-door panel),
       text below the buttons, and a single centered panel (closing CTAs). */
.pfb-fim .pfb-fim__sec--light { background: var(--cream); color: var(--text); }
.pfb-fim .pfb-fim__sec--light .pfb-fim__cta { background: var(--white); border-color: var(--line); }
.pfb-fim .pfb-fim__sec--light .pfb-fim__cta p { color: var(--text); }
.pfb-fim .pfb-fim__sec--light .pfb-fim__h3 { color: var(--olive); font-size: 1.5rem; line-height: 1.25; margin-bottom: 4px; }
.pfb-fim .pfb-fim__sec--light .pfb-fim__cta .pfb-fim__btn:hover,
.pfb-fim .pfb-fim__sec--light .pfb-fim__cta .pfb-fim__btn:focus-visible { background: var(--white) !important; border-color: var(--green) !important; color: var(--green) !important; }
.pfb-fim .pfb-fim__cta .pfb-fim__btns:first-child { margin-top: 0; }
.pfb-fim .pfb-fim__cta-after { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .95rem; }
.pfb-fim .pfb-fim__cta-after p { margin: 0 0 6px; }
.pfb-fim .pfb-fim__sec--dark .pfb-fim__cta-after { border-top-color: rgba(255, 255, 255, .22); }
.pfb-fim .pfb-fim__sec--dark .pfb-fim__cta-after a { color: var(--white); }
.pfb-fim .pfb-fim__grid2--single { grid-template-columns: minmax(0, 1fr); max-width: 860px; margin: 0 auto; }
.pfb-fim .pfb-fim__grid2--single .pfb-fim__cta { border: 0; background: transparent; padding: 0; text-align: center; }
.pfb-fim .pfb-fim__grid2--single .pfb-fim__h3 { text-align: center; font-size: clamp(1.7rem, 2.8vw, 2.3rem); line-height: 1.2; margin-bottom: 12px; }
.pfb-fim .pfb-fim__grid2--single .pfb-fim__btns { justify-content: center; }

/* 20. Stats: 2 or 4 on a row, cream background (cards turn white), a line above the stats,
       and an optional partner logo strip. */
.pfb-fim .pfb-fim__stats--c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pfb-fim .pfb-fim__stats--c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pfb-fim .pfb-fim__stats-sec.pfb-fim__sec--cream { padding-bottom: 88px !important; }
.pfb-fim .pfb-fim__stats-sec.pfb-fim__sec--cream .pfb-fim__stat { background: var(--white); }
.pfb-fim .pfb-fim__stats-intro { font-weight: 700; color: var(--olive); margin-bottom: 16px !important; }
.pfb-fim .pfb-fim__logos-wrap { margin-top: 36px; }
.pfb-fim .pfb-fim__logos-label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); margin-bottom: 14px !important; }
.pfb-fim .pfb-fim__logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.pfb-fim .pfb-fim__logo { display: flex; align-items: center; justify-content: center; min-height: 92px; padding: 14px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.pfb-fim .pfb-fim__logo a { display: flex; align-items: center; justify-content: center; width: 100%; }
.pfb-fim .pfb-fim__logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 56px; object-fit: contain; }
.pfb-fim .pfb-fim__logo-ph { width: 100%; min-height: 62px; border-radius: 12px; font-size: .8rem; line-height: 1.3; }

/* 21. HubDB Cards: big outcome line on case study cards, the carousel, the "coming soon" card
       with its form, and text-only cards. */
.pfb-fim .pfb-fim__outcome { font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 2.2vw, 2rem); line-height: 1.15; color: var(--olive); margin: 2px 0 10px !important; }
.pfb-fim .pfb-fim__card--soon { border: 2px dashed rgba(59, 68, 24, .35); background: transparent; }
.pfb-fim .pfb-fim__sec--cream .pfb-fim__card--soon { background: rgba(255, 255, 255, .55); }
.pfb-fim .pfb-fim__soon-form { margin-top: auto; padding-top: 16px; }
.pfb-fim .pfb-fim__soon-form form, .pfb-fim .pfb-fim__soon-form fieldset { max-width: none !important; margin: 0; padding: 0; border: 0; }
.pfb-fim .pfb-fim__soon-form .hs-form-field { margin: 0 0 12px; }
.pfb-fim .pfb-fim__soon-form .hs-form-field > label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 700; color: var(--olive); }
.pfb-fim .pfb-fim__soon-form .hs-form-required { color: var(--red); margin-left: 2px; }
.pfb-fim .pfb-fim__soon-form .input { margin: 0 !important; }
.pfb-fim .pfb-fim__soon-form input[type="email"],
.pfb-fim .pfb-fim__soon-form input[type="text"] { width: 100% !important; box-sizing: border-box; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); font: inherit; font-size: 16px; line-height: 1.3; }
.pfb-fim .pfb-fim__soon-form input:focus { outline: 3px solid var(--olive); outline-offset: 1px; border-color: var(--olive); }
.pfb-fim .pfb-fim__soon-form .hs-button,
.pfb-fim .pfb-fim__soon-form input[type="submit"],
.pfb-fim .pfb-fim__soon-form button[type="submit"] { width: 100%; padding: 12px 18px; border: 1px solid var(--green); border-radius: 16px; background: var(--green); color: var(--white); font: 700 16px/18.4px arial, helvetica, sans-serif; cursor: pointer; -webkit-appearance: none; appearance: none; }
.pfb-fim .pfb-fim__soon-form .hs-button:hover,
.pfb-fim .pfb-fim__soon-form input[type="submit"]:hover,
.pfb-fim .pfb-fim__soon-form button[type="submit"]:hover { background: var(--white); color: var(--green); }
.pfb-fim .pfb-fim__soon-form .hs-error-msgs { list-style: none; margin: 6px 0 0; padding: 0; font-size: .85rem; color: var(--red); }
.pfb-fim .pfb-fim__soon-form .legal-consent-container,
.pfb-fim .pfb-fim__soon-form .hs-richtext { font-size: .75rem; line-height: 1.45; }
.pfb-fim .pfb-fim__soon-form .submitted-message { font-weight: 700; color: var(--olive); }

.pfb-fim .pfb-fim__car-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.pfb-fim .pfb-fim__car-title { min-width: 0; }
.pfb-fim .pfb-fim__car-title > :last-child { margin-bottom: 0 !important; }
.pfb-fim .pfb-fim__car-nav { display: flex; gap: 10px; flex: none; }
.pfb-fim .pfb-fim__car-btn { width: 48px; height: 48px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--green); border-radius: 16px; background: transparent; color: var(--olive); font-size: 1.25rem; line-height: 1; cursor: pointer; transition: background .2s ease, color .2s ease; }
.pfb-fim .pfb-fim__car-btn:hover:not(:disabled) { background: var(--green); color: var(--white); }
.pfb-fim .pfb-fim__car-btn:disabled { opacity: .35; cursor: default; }
.pfb-fim .pfb-fim__track { list-style: none; margin: 0; padding: 4px 2px 8px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.pfb-fim .pfb-fim__track::-webkit-scrollbar { display: none; }
.pfb-fim .pfb-fim__slide { display: flex; min-width: 0; scroll-snap-align: start; }
.pfb-fim .pfb-fim__slide > .pfb-fim__card { flex: 1; }
.pfb-fim .pfb-fim__car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.pfb-fim .pfb-fim__car-dots span { width: 8px; height: 8px; border-radius: 4px; background: rgba(59, 68, 24, .25); transition: width .2s ease, background .2s ease; }
.pfb-fim .pfb-fim__car-dots span.is-on { width: 28px; background: var(--olive); }

/* 22. Testimonials (Quotes layout): an odd last quote spans the full row; a single quote
       shows large with no card, as in the landing page wireframes. */
.pfb-fim .pfb-fim__quotes > .pfb-fim__quote:last-child:nth-child(odd):not(:first-child) { grid-column: 1 / -1; }
.pfb-fim .pfb-fim__quotes > .pfb-fim__quote:only-child { grid-column: 1 / -1; padding: 0; border: 0; background: transparent; }
.pfb-fim .pfb-fim__quotes > .pfb-fim__quote:only-child blockquote { margin-top: 0; }
.pfb-fim .pfb-fim__quotes > .pfb-fim__quote:only-child blockquote p { font-size: clamp(1.4rem, 2.2vw, 1.85rem); max-width: 48ch; }

/* 23. Steps: "Numbered steps" style (number badge, text always showing, no hover). */
.pfb-fim .pfb-fim__steps--numbered { gap: 32px 40px; }
.pfb-fim .pfb-fim__steps--numbered::before { display: none; }
.pfb-fim .pfb-fim__steps--numbered .pfb-fim__step { min-height: 0; padding: 0; background: transparent; border: 0; text-align: left; cursor: auto; transform: none !important; box-shadow: none !important; }
.pfb-fim .pfb-fim__steps--numbered .pfb-fim__step::after { display: none; }
.pfb-fim .pfb-fim__steps--numbered .pfb-fim__step-num { position: static; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 16px; background: var(--green); color: var(--white); opacity: 1; font-size: 1.1rem; }
.pfb-fim .pfb-fim__steps--numbered .pfb-fim__step-icon { margin: 0 0 12px; }
.pfb-fim .pfb-fim__steps--numbered .pfb-fim__h3 { text-align: left; }
.pfb-fim .pfb-fim__steps--numbered .pfb-fim__step-text { max-height: none; opacity: 1; font-size: 1rem; line-height: 1.6; }
.pfb-fim .pfb-fim__sec--cream .pfb-fim__step { background: var(--white); }
.pfb-fim .pfb-fim__sec--cream .pfb-fim__steps--numbered .pfb-fim__step { background: transparent; }

/* 24. Feature Cards (new module): cards, plain columns or table columns, 2-5 per row,
       orange highlight bar and footnote. */
.pfb-fim .pfb-fim__feats { display: grid; grid-template-columns: repeat(var(--feat-cols, 3), minmax(0, 1fr)); gap: 24px; }
.pfb-fim .pfb-fim__feat { display: flex; flex-direction: column; min-width: 0; }
.pfb-fim .pfb-fim__feat-title { margin-bottom: 10px; }
.pfb-fim .pfb-fim__feat-body { font-size: 1rem; line-height: 1.6; }
.pfb-fim .pfb-fim__feat-body ul { margin: 12px 0 0; gap: 8px; }
.pfb-fim .pfb-fim__feat-body strong { color: var(--olive); }
.pfb-fim .pfb-fim__feat .pfb-fim__btns { margin-top: auto; padding-top: 22px; }
.pfb-fim .pfb-fim__feats--cards .pfb-fim__feat { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px 28px; }
.pfb-fim .pfb-fim__sec--cream .pfb-fim__feats--cards .pfb-fim__feat { background: var(--white); }
.pfb-fim .pfb-fim__feats--plain .pfb-fim__feat { border-top: 1px solid var(--line); padding-top: 20px; }
.pfb-fim .pfb-fim__feats--table { gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pfb-fim .pfb-fim__feats--table .pfb-fim__feat { padding-bottom: 20px; border-left: 1px solid var(--line); }
.pfb-fim .pfb-fim__feats--table .pfb-fim__feat:first-child { border-left: 0; }
.pfb-fim .pfb-fim__feats--table .pfb-fim__feat:nth-child(even) { background: var(--cream); }
.pfb-fim .pfb-fim__feats--table .pfb-fim__feat-title { margin: 0 0 14px; padding: 14px 18px; background: var(--olive); color: var(--white); font-family: var(--body); font-size: .95rem; font-weight: 700; line-height: 1.3; }
.pfb-fim .pfb-fim__feats--table .pfb-fim__feat-body { padding: 0 18px; font-size: .95rem; }
.pfb-fim .pfb-fim__feats--table .pfb-fim__feat-body ul { margin: 0; gap: 4px; }
.pfb-fim .pfb-fim__feats--table .pfb-fim__feat-body ul li { padding-left: 0; }
.pfb-fim .pfb-fim__feats--table .pfb-fim__feat-body ul li::before { display: none; }
.pfb-fim .pfb-fim__hilite { margin-top: 24px; padding: 18px 24px; border-radius: var(--radius); background: var(--orange-dk); color: var(--white); font-size: 1.02rem; line-height: 1.55; }
.pfb-fim .pfb-fim__hilite p { margin: 0; color: var(--white); }
.pfb-fim .pfb-fim__hilite a { color: var(--white); }
.pfb-fim .pfb-fim__feat-note { margin-top: 18px; }

/* 25. FAQ (new module): questions in 1 or 2 columns, all open or click-to-open. */
.pfb-fim .pfb-fim__faq { display: grid; gap: 32px 56px; }
.pfb-fim .pfb-fim__faq--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pfb-fim .pfb-fim__faq-q { margin: 0 0 8px; padding: 0; font-family: var(--display); font-weight: 600; font-size: 1.2rem; line-height: 1.3; color: var(--olive); text-align: left; text-transform: none; letter-spacing: 0; }
.pfb-fim .pfb-fim__faq-a { font-size: 1rem; line-height: 1.6; }
.pfb-fim .pfb-fim__faq--acc { gap: 0 56px; }
.pfb-fim .pfb-fim__faq--acc .pfb-fim__faq-item { border-bottom: 1px solid var(--line); }
.pfb-fim .pfb-fim__faq--acc summary { position: relative; display: block; margin: 0; padding: 18px 44px 18px 0; list-style: none; cursor: pointer; }
.pfb-fim .pfb-fim__faq--acc summary::-webkit-details-marker { display: none; }
.pfb-fim .pfb-fim__faq--acc summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-family: var(--body); font-size: 1.6rem; font-weight: 400; color: var(--green); }
.pfb-fim .pfb-fim__faq--acc details[open] summary::after { content: "\2013"; }
.pfb-fim .pfb-fim__faq--acc .pfb-fim__faq-a { padding: 0 0 20px; }

/* 26. A little more room between a heading and the cards when there's no intro text. */
.pfb-fim .pfb-fim__h2 + .pfb-fim__steps,
.pfb-fim .pfb-fim__h2 + .pfb-fim__feats,
.pfb-fim .pfb-fim__h2 + .pfb-fim__faq,
.pfb-fim .pfb-fim__h2 + .pfb-fim__grid2,
.pfb-fim .pfb-fim__h2 + .pfb-fim__grid3 { margin-top: 30px; }

/* 27. Cards in the same row are always the same height and width (stats, cards, quotes,
       feature cards, carousel slides). Stats keep the FIM behavior: hovering opens one card only. */
.pfb-fim .pfb-fim__stats { align-items: start; }   /* as on the FIM page: only the opened stat grows */
.pfb-fim .pfb-fim__stat { display: flex; flex-direction: column; }
/* The stats script sets each card's resting height to the tallest closed card in its row,
   so closed cards always match. */
.pfb-fim .pfb-fim__stats.is-measuring > .pfb-fim__stat { min-height: 0 !important; transition: none !important; }
.pfb-fim .pfb-fim__stats.is-measuring .pfb-fim__stat-more { max-height: 0 !important; margin-top: 0 !important; transition: none !important; }
.pfb-fim .pfb-fim__grid2, .pfb-fim .pfb-fim__grid3, .pfb-fim .pfb-fim__feats, .pfb-fim .pfb-fim__logos { align-items: stretch; }
.pfb-fim .pfb-fim__grid3 > .pfb-fim__card, .pfb-fim .pfb-fim__grid2 > .pfb-fim__quote,
.pfb-fim .pfb-fim__grid2 > .pfb-fim__cta, .pfb-fim .pfb-fim__slide > .pfb-fim__card { height: 100%; }
.pfb-fim .pfb-fim__quotes > .pfb-fim__quote:last-child:nth-child(odd):not(:first-child) { grid-column: auto; }  /* undo #22: odd quotes no longer stretch wider */

/* 28. Buttons under a row of HubDB cards (e.g. case studies). */
.pfb-fim .pfb-fim__cards-btns { margin-top: 32px; }

/* 29. Phones and tablets, for everything in this block. */
@media (max-width: 1100px) {
  .pfb-fim .pfb-fim__hero--right .pfb-fim__hero-split,
  .pfb-fim .pfb-fim__hero--panel .pfb-fim__hero-split,
  .pfb-fim .pfb-fim__hero--panel.pfb-fim__hero--right .pfb-fim__hero-split { grid-template-columns: 1fr; }
  .pfb-fim .pfb-fim__hero-panel { padding: 0 clamp(16px, 5vw, 64px) 48px; justify-content: flex-start; }
  .pfb-fim .pfb-fim__hero-card { max-width: 820px; }
  .pfb-fim .pfb-fim__stats--c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pfb-fim .pfb-fim__feats--c4, .pfb-fim .pfb-fim__feats--c5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pfb-fim .pfb-fim__feats--table.pfb-fim__feats--c4 .pfb-fim__feat:nth-child(odd),
  .pfb-fim .pfb-fim__feats--table.pfb-fim__feats--c5 .pfb-fim__feat:nth-child(odd) { border-left: 0; }
  .pfb-fim .pfb-fim__feats--table .pfb-fim__feat { border-top: 1px solid var(--line); }
  .pfb-fim .pfb-fim__track { grid-auto-columns: calc((100% - 24px) / 2); }
}
@media (max-width: 860px) {
  .pfb-fim .pfb-fim__stats--c2, .pfb-fim .pfb-fim__stats--c4 { grid-template-columns: 1fr; }
  .pfb-fim .pfb-fim__feats { grid-template-columns: 1fr !important; }
  .pfb-fim .pfb-fim__feats--table .pfb-fim__feat { border-left: 0; }
  .pfb-fim .pfb-fim__faq--2 { grid-template-columns: 1fr; }
  .pfb-fim .pfb-fim__track { grid-auto-columns: 86%; }
  .pfb-fim .pfb-fim__car-head { align-items: flex-start; }
}
@media (max-width: 600px) {
  .pfb-fim .pfb-fim__steps--numbered .pfb-fim__step { display: block; }
  .pfb-fim .pfb-fim__hero-card { padding: 24px 22px; }
  .pfb-fim .pfb-fim__car-nav { display: none !important; }   /* phones swipe; the dots show position */
  .pfb-fim .pfb-fim__play-icon { width: 68px; height: 68px; }
  .pfb-fim .pfb-fim__play-icon::after { left: 27px; top: 21px; border-width: 13px 0 13px 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .pfb-fim .pfb-fim__track { scroll-behavior: auto; }
}

/* 30. Stats logo strip: "scroll continuously" option (Nov 6). Logos loop in a seamless marquee like
       the current homepage: no tiles, faded edges, no buttons. Pauses on hover or keyboard focus;
       stays still (and wraps) for visitors with reduced motion. Only applies when the box is ticked.
       Remove this block to undo. */
.pfb-fim .pfb-fim__logos-wrap--scroll .pfb-fim__logos-label { text-align: center; }
.pfb-fim .pfb-fim__marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.pfb-fim .pfb-fim__marquee-track { display: flex; width: max-content; animation: pfb-logo-scroll calc(var(--logo-count, 5) * 5s) linear infinite; }
.pfb-fim .pfb-fim__marquee:hover .pfb-fim__marquee-track,
.pfb-fim .pfb-fim__marquee:focus-within .pfb-fim__marquee-track { animation-play-state: paused; }
.pfb-fim .pfb-fim__logos-wrap--scroll .pfb-fim__logos { display: flex !important; flex-wrap: nowrap; gap: 0; align-items: center; }
.pfb-fim .pfb-fim__logos-wrap--scroll .pfb-fim__logo { flex: 0 0 auto; width: 300px; min-height: 120px; padding: 0 40px; background: transparent; border: 0; border-radius: 0; }
.pfb-fim .pfb-fim__logos-wrap--scroll .pfb-fim__logo img { max-height: 96px; }
@keyframes pfb-logo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 860px) {
  .pfb-fim .pfb-fim__logos-wrap--scroll .pfb-fim__logo { width: 210px; padding: 0 24px; min-height: 90px; }
  .pfb-fim .pfb-fim__logos-wrap--scroll .pfb-fim__logo img { max-height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .pfb-fim .pfb-fim__marquee { -webkit-mask-image: none; mask-image: none; }
  .pfb-fim .pfb-fim__marquee-track { animation: none; width: auto; }
  .pfb-fim .pfb-fim__logos--dup { display: none !important; }
  .pfb-fim .pfb-fim__logos-wrap--scroll .pfb-fim__logos { flex-wrap: wrap; justify-content: center; }
}

/* 31. Spanish pages (Nov 6, 2026): the hover and tap hints are CSS text, so they switch here.
   Applies only when the page language is Spanish (HubSpot multi-language variation). */
html[lang^="es"] .pfb-fim__step::after { content: "Pasa el cursor para ver detalles"; }
@media (hover: none) {
  html[lang^="es"] .pfb-fim .pfb-fim__stat--more::after { content: "Toca para ver detalles"; }
}

/* 32. Phones and tablets (Nov 6, 2026): the hero photo/video box takes its height from its width (16:9).
   iPhone Safari mis-sized the old aspect-ratio box inside the stacked grid, so the hero photo/video
   vanished or shrank into the corner. A padding-based 16:9 box sizes the same in every browser.
   Desktop (wider than 1100px) is unchanged. */
@media (max-width: 1100px) {
  .pfb-fim .pfb-fim__hero-img { width: 100%; height: 0 !important; min-height: 0 !important; max-height: none; aspect-ratio: auto; padding: 56.25% 0 0 !important; align-self: start; justify-self: stretch; }
}

/* 33. PFB Site Video + Text (Nov 9, 2026): photo/video on one side, text on the other, anywhere on a page.
   The media box is a padding-based 16:9 (sizes the same in iPhone Safari; see block 32). Phones: media on top. */
.pfb-fim .pfb-fim__vt { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.pfb-fim .pfb-fim__vt--right { grid-template-columns: 0.9fr 1.1fr; }
.pfb-fim .pfb-fim__vt--right .pfb-fim__vt-media { order: 2; }
.pfb-fim .pfb-fim__vt-media { position: relative; width: 100%; height: 0; padding-top: 56.25%; overflow: hidden; border-radius: var(--radius); background: var(--cream); line-height: 0; }
.pfb-fim .pfb-fim__sec--cream .pfb-fim__vt-media { background: var(--white); }
.pfb-fim .pfb-fim__vt-media > .pfb-fim__vt-el,
.pfb-fim .pfb-fim__vt-media > video,
.pfb-fim .pfb-fim__vt-media > iframe { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; margin: 0 !important; border: 0; border-radius: 0; display: block; object-fit: cover; object-position: var(--hero-focus, 50% 50%); }
.pfb-fim .pfb-fim__vt-media > .pfb-fim__ph.pfb-fim__vt-el { display: flex; line-height: 1.4; }
.pfb-fim .pfb-fim__vt-media .pfb-fim__hero-player { z-index: 2; background: #000; object-fit: contain; }
.pfb-fim .pfb-fim__vt-copy > :last-child { margin-bottom: 0; }
.pfb-fim .pfb-fim__vt-copy .pfb-fim__btns { margin-top: 24px; }
@media (max-width: 860px) {
  .pfb-fim .pfb-fim__vt, .pfb-fim .pfb-fim__vt--right { grid-template-columns: 1fr; gap: 24px; }
  .pfb-fim .pfb-fim__vt--right .pfb-fim__vt-media { order: 0; }
  .pfb-fim .pfb-fim__vt-media .pfb-fim__play-icon { width: 64px; height: 64px; }
  .pfb-fim .pfb-fim__vt-media .pfb-fim__play-icon::after { left: 25px; top: 19px; border-width: 13px 0 13px 21px; }
}