/* LEG Users: natural card heights; keep only photo viewports square. */
.leg-users-cards1 .items, .leg-users-cards2 .items, .leg-users-cards3 .items { align-items: flex-start !important; }
.leg-users-cards1 .items > .item, .leg-users-cards2 .items > .item, .leg-users-cards3 .items > .item { align-self: start !important; height: auto !important; min-height: 0 !important; max-height: none !important; }
.leg-users-cards2 .items > .item > .card2 { height: auto !important; min-height: 0 !important; max-height: none !important; }
.leg-users-cards1 .item .body, .leg-users-cards2 .item .body, .leg-users-cards3 .item .body { flex-grow: 0 !important; justify-content: flex-start !important; align-items: stretch; margin-top: 0 !important; height: auto !important; min-height: 0 !important; max-height: none !important; }
.leg-users-cards1 .item .name, .leg-users-cards2 .item .name, .leg-users-cards3 .item .name { margin-top: 0; }
/* Photo retains 1:1 proportions regardless of original image dimensions. */
.leg-users-cards1 .photo, .leg-users-cards2 .photo, .leg-users-cards3 .photo { box-sizing: border-box; width: min(200px, 100%); aspect-ratio: 1 / 1; height: auto !important; max-height: none !important; flex-shrink: 0; margin-inline: auto; overflow: hidden; border-radius: 50%; }
.leg-users-cards1 .photo > a, .leg-users-cards2 .photo > a, .leg-users-cards3 .photo > a { display: block; width: 100%; height: 100%; }
.leg-users-cards1 .photo img, .leg-users-cards2 .photo img, .leg-users-cards3 .photo img { display: block; width: 100%; height: 100%; aspect-ratio: 1 / 1; max-width: none; max-height: none !important; object-fit: cover; object-position: center; border-radius: 50%; }
