/* About Us (/about/) "The Team" - author photo under each h3, text to its right.
   Loaded only on page 33 (ig-includes/bbb-about-team-styles.php).
   Photos are 400px squares shown at 88px (about three lines of the bio, so no gap under the text).
   Kept as rounded squares, not circles: a circle would crop the "AI" label in the bottom-left corner. */

.team-member { margin: 28px 0 0; }
.team-member h3 { margin: 0 0 12px; }
.team-member-body { display: flex; align-items: flex-start; gap: 20px; }
.team-member-photo { flex: 0 0 88px; display: block; border-radius: 10px; overflow: hidden; background: #eef0f2; box-shadow: 0 1px 2px rgba(37,42,49,0.08), 0 3px 10px rgba(37,42,49,0.10); transition: box-shadow 0.2s, transform 0.2s; }
.team-member-photo:hover { box-shadow: 0 2px 4px rgba(37,42,49,0.10), 0 6px 18px rgba(37,42,49,0.16); transform: translateY(-2px); }
.team-member-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
/* Cancel the p's half-leading (line-height 1.85) so the first line's caps sit level with the photo's top edge. */
.content-area .team-member-body p { margin: -0.3em 0 0; flex: 1 1 auto; min-width: 0; }

/* Phones: the side column gets too narrow, so the photo floats and the text wraps under it. */
@media (max-width: 559px) {
    .team-member-body { display: block; }
    .team-member-body::after { content: ""; display: table; clear: both; }
    .team-member-photo { float: left; width: 64px; margin: 0 14px 4px 0; border-radius: 8px; }
}
