/* cae-website-redesign-theme-site-overlay-fix-team-cae: assets/css/fix-team-cae.css */
/* fix-team-cae.css — page-scoped fixes for Meet the Team: /about-cae/team/ and /about-cae/team/board/ only
   (enqueued in functions.php when the served page path is about-cae/team or about-cae/team/board; every
   rule is also keyed on those two pages' body classes). Hand-edited 2026-09-28 (d: page fixes on the actual
   page code). Source: Kate's developer handoff "CAE Website Redesign: Who We Are (Team) Page Fixes"
   (869ew0jb7 item 90120269516426, cae-team-page-fixes.css, 2026-09-27) — values are hers, 1440-frame px.
   Loads after fix-boardtab-cae.css on the Board route and does not undo it. */

/* 1. Hero CTA buttons: optical centering for Acumin Pro Condensed — text 1px down (13/10, height unchanged),
   chevron 1px up via top (so the hover translateX keeps working). */
body:is(.cae-page--flow-cae-whoweare-staff, .cae-page--flow-cae-whoweare-staff-board) .cae-website-redesign-sitehero__cta-button .wp-block-button__link {
  padding-top: 13px;
  padding-bottom: 10px;
}
body:is(.cae-page--flow-cae-whoweare-staff, .cae-page--flow-cae-whoweare-staff-board) .cae-website-redesign-sitehero__cta-button .wp-block-button__link .button-icon {
  position: relative;
  top: -1px;
}

/* 2. Team / Board tab pills: label centred in the pill (14/10, pill height unchanged) and 24 horizontal
   padding on every tab (the inactive tab had 0, so Team-Board spacing was tighter than News-Events). */
body:is(.cae-page--flow-cae-whoweare-staff, .cae-page--flow-cae-whoweare-staff-board) [class*="-tabs-generic__button-figma-bound-button"] > .wp-block-button__link {
  padding: 12px 24px !important; /* was 14/10 (pre-override optical nudge); 12/12 since 2026-10-10, Kate 869ffdact: "the labels look too far down" -- with the CAE Button Cond metric override (kate-global-rules RULE 5) the caps already centre, so the 2 px nudge put them 1 px low */
}
/* The tab row is sized to the frame's literal width (212); with 24 on the inactive tab the pair is 258 wide,
   so the row takes its content width and stays centred on the page (as News / Events is). */
body:is(.cae-page--flow-cae-whoweare-staff, .cae-page--flow-cae-whoweare-staff-board) .wp-site-blocks .wp-block-post-content > .alignfull:is(.cae-website-redesign-flow-cae-whoweare-staff-tabs-generic, .cae-website-redesign-flow-cae-whoweare-staff-board-tabs-generic) {
  width: max-content !important; /* style.css band lane pins the section to min(212px, 100%) !important */
}
body:is(.cae-page--flow-cae-whoweare-staff, .cae-page--flow-cae-whoweare-staff-board) [class*="-tabs-generic__row-figma-generic-row-"] {
  width: max-content;
  max-width: none;
}
/* 2b. Team / Board tabs hold their place when clicked (Kate 869f0yrdy 2026-10-06 20:33Z: 'The tabs look like
   they are shifting position when I click between them and I don't want that to happen, I want them to look
   like they are solid eg here: /about-cae/media-kit/colors/'). The design draws the current pill FIXED at 131
   (unbound-literals.css, token ...-i19266-533442-2953-189407) and the other tab hugging its label (95.47 /
   90.47), and the route paint moves that whole token to whichever tab is current, so the width travelled with
   the click and the centred pair slid 30.42 px (1440) / 34.42 px (1024). Both tabs now keep the current pill's
   box whichever is current, as the Colors strip's tabs keep theirs: the click changes colour only. The inactive
   pill is white on the white page, so the extra width is not drawn; the mint pill is the drawn 131 on both. */
body:is(.cae-page--flow-cae-whoweare-staff, .cae-page--flow-cae-whoweare-staff-board) section[data-cae-tabanchor]:is(.cae-website-redesign-flow-cae-whoweare-staff-tabs-generic, .cae-website-redesign-flow-cae-whoweare-staff-board-tabs-generic) .wp-block-button > a {
  min-width: 131px;
}

/* 3. Search by Keyword / By Program: the same 14/16/12 inset as the News & Events filters (was 12/16 — 2 px
   shorter; this is also the By Program padding, Kate 90120263408921) and the same green search icon at the
   right of the keyword field; long keywords stop short of the icon. */
body:is(.cae-page--flow-cae-whoweare-staff, .cae-page--flow-cae-whoweare-staff-board) .cae-recgrid-search,
body:is(.cae-page--flow-cae-whoweare-staff, .cae-page--flow-cae-whoweare-staff-board) .cae-recgrid-filter {
  padding: 14px 16px 12px !important;
}
body:is(.cae-page--flow-cae-whoweare-staff, .cae-page--flow-cae-whoweare-staff-board) .cae-recgrid-search .cae-recgrid-search__field {
  flex: 1 1 auto;
  min-width: 0;
}
body:is(.cae-page--flow-cae-whoweare-staff, .cae-page--flow-cae-whoweare-staff-board) .cae-recgrid-search::after {
  content: "";
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  background: url(../../cae-global-icon-search-i14808-230815-985-168258.svg?ver=2347798995) center / contain no-repeat;
}

/* 4. Staff / Board grid: no underline on names (rest, hover, keyboard focus) and no divider under each person
   (the card's own hr, #C7C6C6); the full-width lines above and below the search / filter row stay. The
   read-bio arrow stays below the job title (moving it beside the name was previewed and rejected). */
body:is(.cae-page--flow-cae-whoweare-staff, .cae-page--flow-cae-whoweare-staff-board) [class*="whoweare-staff"][class*="__card-figma-generic-card"] a,
body:is(.cae-page--flow-cae-whoweare-staff, .cae-page--flow-cae-whoweare-staff-board) [class*="whoweare-staff"][class*="__card-figma-generic-card"] a:hover,
body:is(.cae-page--flow-cae-whoweare-staff, .cae-page--flow-cae-whoweare-staff-board) [class*="whoweare-staff"][class*="__card-figma-generic-card"] a:focus-visible {
  text-decoration: none !important;
}
/* (the card's own hr is hidden by the shared TEAM PROFILE CARD convention, records-grid-cae.css, vffteam2-1017) */

/* 5. Annual Reports block: MOVED 2026-09-28 to the site-wide standard, assets/css/annual-reports-standard-cae.css
   (Kate 869ew12gd 90120270137991: "ONE Annual reports block across all the pages ... Use this version as the
   go-to: /about-cae/team/"). Same rules, keyed on the CTA family classes instead of the Team / Board body classes. */

/* Board tab: Search by Keyword with the Team tab's specs, By Program hidden (Kate 869ew0ppe item 90120263411167:
   "Hide it on this page, but add the Search by Keyword field ... index all information attached to each board
   member"). Kate's words over the frame 24840:111268, which draws no strip: fix-boardtab-cae.css hid the strip;
   it is shown again here, keyword field only, centred, between the same full-width lines as on Team. */
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-flow-cae-whoweare-staff-board-search-filter-generic {
  display: flex;
}
body.cae-page--flow-cae-whoweare-staff-board .wp-site-blocks .cae-website-redesign-flow-cae-whoweare-staff-board-search-filter-generic .cae-recgrid-filter {
  display: none;
}

/* Bill listed twice (Kate 869ew0jb7 item 90120269515916): the second card is the old site's record "Bill _"
   (April staging export); the client's sheet entry "Bill" (Farm Connex Delivery Driver) is the one kept. The
   record retirement is a content load held on the seat's desk (D-37); until it runs the old card is not shown
   in the Team grid. DELETE this rule once caeassist retires the "Bill _" record. */
body.cae-page--flow-cae-whoweare-staff [data-cae-cardsurf-card="recgrid-flow-cae-whoweare-staff-team-grid-bill-_"] {
  display: none !important;
}

/* Card rule (d: every card in a grid takes one box, same width and height): the Team grid is emitted as twelve
   separate four-column row grids, so each row sized to its own tallest card (482.9 / 510.9 / 514.9 / 538.9).
   The rows fold into one grid on the band (same 282 columns, 24 column gap, 40 row gap), every row the height
   of the tallest card, and a card that is not shown leaves no hole in its row.
   2026-10-17 (vffteam2-1017, Kate 869ew7p18 13:15Z "the > with circles should line up in each row regardless of the
   name/role length"): ONE BOX PER ROW (C11) instead of one box for the whole grid. With 1fr every row took the grid's
   tallest card (a three-line role) and a disc pinned to the foot would have sat 56 px under a one-line role, which is
   what Kate moved up on 10-13; per row, the disc sits right under the row's longest role and every disc in the row
   lines up (records-grid-cae.css, THE TEAM PROFILE CARD). */
body.cae-page--flow-cae-whoweare-staff .wp-site-blocks .cae-website-redesign-flow-cae-whoweare-staff-team-grid-generic {
  display: grid;
  grid-template-columns: repeat(4, 282px);
  grid-auto-rows: auto;
  column-gap: 24px;
  row-gap: 40px;
  justify-content: center;
}
body.cae-page--flow-cae-whoweare-staff .wp-site-blocks .cae-website-redesign-flow-cae-whoweare-staff-team-grid-generic > [class*="__card-list-figma-generic-card-list-"] {
  display: contents;
}
body.cae-page--flow-cae-whoweare-staff .wp-site-blocks .cae-website-redesign-flow-cae-whoweare-staff-team-grid-generic > :not([class*="__card-list-figma-generic-card-list-"]) {
  grid-column: 1 / -1;
}

/* No bio page, not clickable (Kate 869ew0ppe, 2026-10-06: "If there is no bio page content, can you make the
   postcard not clickable and remove hte arrow icon"). A card marked data-cae-recgrid-nobio carries no link and
   card-surface.js leaves it alone; this keeps any card-wide hover paint on these grids (pointer, lift, shadow)
   off it too, so nothing suggests a destination that does not exist. */
body:is(.cae-page--flow-cae-whoweare-staff, .cae-page--flow-cae-whoweare-staff-board) .wp-site-blocks section[class*="-team-grid-generic"] > [class*="__card-list-figma-generic-card-list-"] > [data-cae-recgrid-nobio],
body:is(.cae-page--flow-cae-whoweare-staff, .cae-page--flow-cae-whoweare-staff-board) .wp-site-blocks section[class*="-team-grid-generic"] > [class*="__card-list-figma-generic-card-list-"] > [data-cae-recgrid-nobio]:hover {
  cursor: auto;
  transform: none;
  box-shadow: none;
}

/* Meet the Team banner (Kate 2026-10-13, Banner-Caption-Credit dev notes section 3): the rooster file carried the cream torn card
 * and the yellow disc as well as the bird. The stock-pot illustration is only the pot, so the card + disc are the figure's own
 * background (drawn from the old file's two shapes, same 1184x458 box) and the pot sits centred on the disc where the rooster stood. */
body:is(.cae-page--flow-cae-whoweare-staff, .cae-page--flow-cae-whoweare-staff-board) .cae-website-redesign-sitehero__media--i19266-533437-4086-58492 {
  background: url("../../images/client-final/cae-team-banner-card-disc.svg?ver=3258153738") center / 100% 100% no-repeat;
}
body:is(.cae-page--flow-cae-whoweare-staff, .cae-page--flow-cae-whoweare-staff-board) .cae-website-redesign-sitehero__media--i19266-533437-4086-58492 img {
  position: absolute; left: 67.4%; top: 26%; width: 22.8%; height: 39.3%; object-fit: contain;
}

/* ── WHO WE ARE › TEAM: APPLIED FILTERS + READ-BIO ARROW (Kate Shawver, 2026-10-13) ──
 * "the search results view is broken, should be full width under the filters and also show program
 * selections" / "make the applied search term and clear all bigger font" / "move the yellow circles
 * with arrows up so that they are much closer to the role".
 * Applied filters reuse the News convention (fix-news-cae.css): a full-width cream bar under BOTH
 * filters with a chip per keyword and per program, Clear Filters on the right. The bar is built by
 * records-filter.js (WHO WE ARE › TEAM: FULL-WIDTH APPLIED-FILTERS BAR) from the URL. */
/* (869f139ue 2026-10-14) The bar's look is records-grid-cae.css "THE APPLIED-TERMS ROW, EVERY FILTERED LIST"
 * (the News values, one look on every list); the Team copy that stood here is retired. */

/* Read-bio arrow sits right under the role: the name/role group no longer stretches to fill the card. */
body .wp-site-blocks [class*="whoweare-staff-team-grid-generic__card"] > .wp-block-group > .wp-block-group,
body .wp-site-blocks [class*="whoweare-staff-team-grid-generic__card"] > .wp-block-group > .wp-block-group > .wp-block-group { flex-grow: 0; }
/* (the body gap, the control's place at the card foot and the hover shadow below are the shared TEAM PROFILE CARD
   convention now, records-grid-cae.css, so the VFF Team grid takes the same values; vffteam2-1017) */

/* Meet the Team, Team and Board tabs: a lighter hover shadow (Kate 869ew0ppe, 2026-10-13 14:20Z: "Drop shadow effect
   is too severe, tone it down a bit"): MOVED 2026-10-17 to records-grid-cae.css THE TEAM PROFILE CARD (same values,
   every profile grid incl. VFF Team). */
