/* PFB Food Is Medicine: shared styles for all "PFB FIM" section modules.
   Lives in Design Manager at /PFB Modules/FIM/pfb-fim.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; }

/* 12. 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"; }
}

/* 13. 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; }
}