/* Team members: the team_member post type, the team_group taxonomy (team / board), the Team Grid block and its editor fields. */
/* The cards themselves are styled in theme.css ("Company (Nov 12)": .team-grid, .team-card, .team-photo, .is-tinted).
   Here only what the Team Grid block adds. */

/* a member without a photo yet keeps the photo's box, so the names in a row still line up */
.team-card .team-photo:empty { aspect-ratio: 322 / 370; }

/* Advisors (RB-63): a second block inside the "See More" reveal, set off from the board like the board is from the team */
.board .advisors { padding-top: 72px; border-top: 1px solid var(--wp--custom--card-border); display: grid; gap: var(--sp-48); }

/* a name longer than its column (Krishnaswamy, two across on phones) breaks with a hyphen instead of widening the card */
.team-card, .team-card .team-txt { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.team-card :is(h3, h4) { overflow-wrap: break-word; hyphens: auto; }

/* editor: the grid is rendered by the server inside the block wrapper; an empty group says so */
.wp-block-revalia-team-grid .rv-team-empty { margin: 0; padding: var(--wp--preset--spacing--24); border: 1px dashed var(--wp--custom--card-border, currentColor); border-radius: 16px; font-size: var(--wp--preset--font-size--14); opacity: .8; }
