/* fix-boardtab-cae.css — page-scoped layout for /about-cae/team/board/ only
   (enqueued in functions.php when the served page path is about-cae/team/board; every rule is
   also keyed on the Board page's body class, so the Team tab cannot match).
   Hand-edited 2026-09-27 (d: page fixes on the actual page code). Lengths are DESIGN px (the
   page presents at zoom 0.8). Geometry from Kate's frame CAE-AboutUs-Team-V12 24840:111268
   (Kate 869ew0ppe, 2026-09-27: "You didn't match this design like I told you to").
   The shared record-surface PHP/CSS is untouched; this sheet only overrides on this route. */

/* The frame draws no search / filter strip between the tabs and the grid. */
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-flow-cae-whoweare-staff-board-search-filter-generic {
  display: none;
}

/* Team Background 24843:377: #F5F5F5 band 0,1010,1440x628 — 24 below the tabs, the grid
   inset 56 top and bottom, painted to the viewport edges like the other full-bleed bands. */
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-flow-cae-whoweare-staff-board-team-grid-generic {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
  padding-block: 56px;
  background-color: #f5f5f5;
  box-shadow: 0 0 0 100vmax #f5f5f5;
  clip-path: inset(0 -100vmax);
}

/* all team 24840:111270: rows of four 282-wide cards, gap 24 / 24, pitch 180. */
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-flow-cae-whoweare-staff-board-team-grid-generic > [class*="__card-list-figma-generic-card-list-"] {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 282px));
  grid-auto-rows: 156px;
  column-gap: 24px;
  row-gap: 24px;
  justify-content: start;
  width: 100%;
  max-width: 1200px;
  margin: 0;
}

/* Name Card 24840:111272: 282x156, #FFFFFF, padding 24/32/24/32; one box for every card.
   Square corners (Kate 869fgre37, 2026-10-13: "Board postcards should be hard edged") —
   supersedes the frame's radius 8. */
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-flow-cae-whoweare-staff-board-team-grid-generic > [class*="__card-list-figma-generic-card-list-"] > [class*="__card-figma-generic-card-"] {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 282px;
  height: 156px;
  min-height: 0;
  margin: 0;
  padding: 24px 32px;
  overflow: hidden;
  background-color: #ffffff;
  border: 0;
  border-radius: 0;
}

/* The photo layer is hidden in the frame (Jon Ramsay 827:6059 visible=false): hidden, not removed. */
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks [class*="__card-figma-generic-card-"] > figure {
  display: none;
}

/* Details: the text boxes start 8 left of the 32 padding (text node 234 wide over a 218 column). */
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks [class*="__card-figma-generic-card-"] > [class*="__column-figma-generic-column-"] {
  display: block;
  position: static;
  width: auto;
  margin: 0 -8px;
  padding: 0;
  gap: 0;
}
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks [class*="__card-figma-generic-card-"] [class*="__column-figma-generic-column-"] [class*="__column-figma-generic-column-"] {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: auto;
  margin: 0;
  padding: 0;
}
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks [class*="__card-figma-generic-card-"] p[class*="__body-figma-text-"] {
  margin: 0;
  max-width: none;
  min-height: 0;
  white-space: nowrap;
}
/* name: 24/32 #004F39 */
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks [class*="__card-figma-generic-card-"] p[class*="__body-figma-text-"]:first-child,
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks [class*="__card-figma-generic-card-"] p[class*="__body-figma-text-"]:first-child a {
  font-family: var(--wp--preset--font-family--acumin-pro);
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  color: #004f39;
  text-decoration: none;
}
/* title / designation: 20/28 #767769 at card+(24,64) — rendered when the record has one; the row
   is left empty as drawn otherwise (the read-bio disc is placed absolutely, so it never moves). */
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks [class*="__card-figma-generic-card-"] p[class*="__body-figma-text-"] + p[class*="__body-figma-text-"] {
  font-family: var(--wp--preset--font-family--acumin-pro);
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  color: #767769;
}

/* Prev&Next 3022:859691: the read-bio link as the 24x24 #F2A518 disc at card+(32,108), white chevron. */
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks [class*="__card-figma-generic-card-"] .cae-recgrid__readbio {
  position: absolute;
  left: 32px;
  top: 108px;
  display: block;
  width: 24px;
  height: 24px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
}
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks [class*="__card-figma-generic-card-"] .cae-recgrid__readbio-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
}
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks [class*="__card-figma-generic-card-"] .cae-recgrid__readbio:focus-visible {
  outline: 2px solid #004f39;
  outline-offset: 2px;
}

/* The frame's Line 8 is hidden. */
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks [class*="__card-figma-generic-card-"] hr {
  display: none;
}

/* CTA-PDFDownload 24840:111324 starts 180 below the band (drawn 1818 = 1638 + 180; served seam was 170).
   The 56 px seam between this CTA and the footer is Kate's own site-wide ruling (869ex4bkv) and is kept. */
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .wp-block-post-content > .cae-website-redesign-cta {
  margin-top: 180px;
}

/* CTA at 1024-1151 px viewports (Betty grade, 2026-09-28): style.css's (max-width: 1151.98px) gate
   drops the board CTA to a static stack flush against the left edge. Between 1000 px and that gate the
   canvas is 1280 frame px wide with 40 px margins (the grid sits at x 40), so the 1440 composition is kept
   and moved 80 px in: copy at 40, white report card at 845 (card right edge 1229 = the grid's right
   edge 1240 less the drawn 11), green panel from 961 to the canvas edge. */
@media (min-width: 1000px) and (max-width: 1151.98px) {
  body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-cta--flow-cae-whoweare-staff-board-section-cta .cae-website-redesign-cta__inner { position: static; min-height: 466px; }
  body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-cta--flow-cae-whoweare-staff-board-section-cta .cae-website-redesign-cta__panel { position: absolute; left: 961px; top: 0; width: 319px; height: 466px; }
  body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-cta--flow-cae-whoweare-staff-board-section-cta .cae-website-redesign-cta__card { position: absolute; left: 845px; top: -90px; width: 384px; height: 556px; }
  body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-cta--flow-cae-whoweare-staff-board-section-cta .cae-website-redesign-cta__image { position: absolute; left: 16px; top: 16px; width: 352px; height: 414px; }
  body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-cta--flow-cae-whoweare-staff-board-section-cta .cae-website-redesign-cta__caption { position: absolute; left: 16px; top: 446px; width: 175px; }
  body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-cta--flow-cae-whoweare-staff-board-section-cta .cae-website-redesign-cta__download { position: absolute; left: 16px; top: 498px; width: 42px; height: 42px; }
  body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-cta--flow-cae-whoweare-staff-board-section-cta .cae-website-redesign-cta__content { position: absolute; left: 40px; top: 73px; width: 755px; }
}

/* Report card: the whole card opens the report PDF (Kate 869ew0ppe item 90120263410445: the newest
   report's cover is what is shown and what is downloaded; mirrors the MVV card, commit 1b08e043d).
   The cover image's own anchor (.cae-report-card-link, Board CTA pattern) is stretched over the card
   by ::after; the cover figure goes static so the card is the anchor's containing block, and its img
   keeps the drawn box (352x414 at 16,16). Needs the pattern seeded (restart) to exist in the page. */
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-cta--flow-cae-whoweare-staff-board-section-cta .cae-website-redesign-cta__card .cae-report-card-link::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: auto; }
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-cta--flow-cae-whoweare-staff-board-section-cta .cae-website-redesign-cta__card .cae-report-card-link { display: block; }
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-cta--flow-cae-whoweare-staff-board-section-cta .cae-website-redesign-cta__card .cae-report-card-link:focus-visible { outline: none; }
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-cta--flow-cae-whoweare-staff-board-section-cta .cae-website-redesign-cta__card .cae-report-card-link:focus-visible::after { outline: 3px solid var(--wp--preset--color--primary-brick); outline-offset: 4px; }
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-cta--flow-cae-whoweare-staff-board-section-cta .cae-website-redesign-cta__card:has(.cae-report-card-link) .cae-website-redesign-cta__image { position: static; }
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-cta--flow-cae-whoweare-staff-board-section-cta .cae-website-redesign-cta__card:has(.cae-report-card-link) .cae-website-redesign-cta__image img { position: absolute; left: 16px; top: 16px; width: 352px; height: 414px; }
@media (max-width: 999.98px) {
  body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-cta--flow-cae-whoweare-staff-board-section-cta .cae-website-redesign-cta__card { position: relative; }
  body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-cta--flow-cae-whoweare-staff-board-section-cta .cae-website-redesign-cta__card:has(.cae-report-card-link) .cae-website-redesign-cta__image img { position: static; width: 352px; max-width: 100%; height: auto; }
}

/* Annual Reports copy: title to body 18 as drawn (frame 1261152166 gap; served 40), body to button 40. */
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-cta--flow-cae-whoweare-staff-board-section-cta .cae-website-redesign-cta__title + .cae-website-redesign-cta__body { margin-top: -22px; }

/* narrow viewports (no drawing): two columns, then one, same order. */
@media (max-width: 781px) {
  body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-flow-cae-whoweare-staff-board-team-grid-generic > [class*="__card-list-figma-generic-card-list-"] {
    grid-template-columns: repeat(2, minmax(0, 282px));
  }
}
@media (max-width: 480px) {
  body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-flow-cae-whoweare-staff-board-team-grid-generic > [class*="__card-list-figma-generic-card-list-"] {
    grid-template-columns: minmax(0, 282px);
  }
}

/* POSTCARD HOVER (Kate Shawver, 2026-10-06: "the postcards should animate on hover").
   The shared lift-panel treatment (select-one-of-n.css) paints a white ground BEHIND the card;
   on this page the card already IS a white 282x156 panel with overflow:hidden, so that ground
   is clipped and covered and the hover showed nothing. Here the card itself lifts. Driven by
   card-surface.js's hot state (pointer on the card or keyboard focus on its read-bio link),
   with :hover as the no-JS fallback. */
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-flow-cae-whoweare-staff-board-team-grid-generic > [class*="__card-list-figma-generic-card-list-"] > [class*="__card-figma-generic-card-"] {
  transition: transform 200ms ease, box-shadow 200ms ease;
  cursor: pointer;
}
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-flow-cae-whoweare-staff-board-team-grid-generic > [class*="__card-list-figma-generic-card-list-"] > [class*="__card-figma-generic-card-"]::before {
  display: none;
}
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-flow-cae-whoweare-staff-board-team-grid-generic > [class*="__card-list-figma-generic-card-list-"] > [class*="__card-figma-generic-card-"].is-cae-cardsurf-hot,
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-flow-cae-whoweare-staff-board-team-grid-generic > [class*="__card-list-figma-generic-card-list-"] > [class*="__card-figma-generic-card-"]:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}
@media (prefers-reduced-motion: reduce) {
  body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-flow-cae-whoweare-staff-board-team-grid-generic > [class*="__card-list-figma-generic-card-list-"] > [class*="__card-figma-generic-card-"] {
    transition: box-shadow 200ms ease;
  }
  body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-flow-cae-whoweare-staff-board-team-grid-generic > [class*="__card-list-figma-generic-card-list-"] > [class*="__card-figma-generic-card-"].is-cae-cardsurf-hot,
  body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-flow-cae-whoweare-staff-board-team-grid-generic > [class*="__card-list-figma-generic-card-list-"] > [class*="__card-figma-generic-card-"]:hover {
    transform: none;
  }
}
