/* ── Meet the Team — keep each photo with its own card ────────────
   Source order of the six grid cells (class set in the builder on the
   row: .meet-team-grid):

     1 photo  blueprints        4 card  Experience & Expertise
     2 card   Why He Loves…     5 photo two guys
     3 photo  bridge            6 card  Personal Life

   At 3 columns that lands each photo directly above its card, so the
   pairs are right on desktop and nothing needs reordering there:

     blueprints | Why He Loves | bridge
     Experience | two guys     | Personal Life

   Dropping to 2 and then 1 column re-flows the cells and splits those
   pairs up, so both narrower layouts restate the order explicitly.
   Divi 5.9 ignores the grid/flex "order" attribute (verified), which is
   why this lives here and not in the builder. Every cell is numbered —
   any cell left at the default order:0 would jump ahead of the rest. */

/* ── Tablet: 2 columns — one pair per row, alternating photo/card ── */
@media (min-width: 768px) and (max-width: 980px) {
  .meet-team-grid > .et_pb_column:nth-child(1) { order: 1; }  /* blueprints */
  .meet-team-grid > .et_pb_column:nth-child(4) { order: 2; }  /* Experience */

  .meet-team-grid > .et_pb_column:nth-child(2) { order: 3; }  /* Why He Loves */
  .meet-team-grid > .et_pb_column:nth-child(5) { order: 4; }  /* two guys */

  .meet-team-grid > .et_pb_column:nth-child(3) { order: 5; }  /* bridge */
  .meet-team-grid > .et_pb_column:nth-child(6) { order: 6; }  /* Personal Life */
}

/* ── Phone: 1 column — each photo immediately above its own card ── */
@media (max-width: 767px) {
  .meet-team-grid > .et_pb_column:nth-child(1) { order: 1; }  /* blueprints */
  .meet-team-grid > .et_pb_column:nth-child(4) { order: 2; }  /* Experience */

  .meet-team-grid > .et_pb_column:nth-child(5) { order: 3; }  /* two guys */
  .meet-team-grid > .et_pb_column:nth-child(2) { order: 4; }  /* Why He Loves */

  .meet-team-grid > .et_pb_column:nth-child(3) { order: 5; }  /* bridge */
  .meet-team-grid > .et_pb_column:nth-child(6) { order: 6; }  /* Personal Life */
}
