/* Our Team only, latest brief lines 141–157.
   Keep the existing desktop/mobile columns, centred final rows, portrait rules,
   typography and card spacing. The former shared five-track subgrid stretched
   shorter roles to a neighbour's height, leaving blank space above Favourite food.
   Each details block now uses intrinsic vertical flow at every viewport width.
   Avi's existing .5rem role-to-label margin remains the reference value.
   Rendered desktop/mobile verification belongs to the parent QA pass. */
.about-page #team[data-brief-20261201-about="role-food-spacing"] .team-grid > .person {
  grid-row: auto;
  grid-template-rows: auto auto;
}

.about-page #team[data-brief-20261201-about="role-food-spacing"] .team-grid .team-details {
  display: flex;
  flex-direction: column;
  grid-template-rows: none;
  gap: 0;
}

.about-page #team[data-brief-20261201-about="role-food-spacing"] .team-grid .team-details > * {
  margin-block: 0;
}

.about-page #team[data-brief-20261201-about="role-food-spacing"] .team-grid .team-details > .team-food-label {
  margin-top: .5rem;
}
