.team-grid-container-503497c8 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-member-card-503497c8 {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.team-member-card-503497c8:hover {
    transform: translateY(-5px);
}

.team-member-photo-503497c8 {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.team-member-photo-503497c8 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-member-info-503497c8 {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.team-member-name-503497c8 {
    margin: 0 0 5px 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.team-member-role-503497c8 {
    margin: 0 0 15px 0;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.team-member-bio-wrap-503497c8 {
    position: relative;
    margin-top: auto;
}

.team-member-bio-503497c8 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    transition: all 0.3s ease;
}

.team-member-bio-wrap-503497c8.is-expanded .team-member-bio-503497c8 {
    -webkit-line-clamp: unset;
    display: block;
}

.team-read-more-503497c8 {
    background: none;
    border: none;
    padding: 0;
    margin-top: 10px;
    color: #0073aa;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: underline;
    display: none; /* Shown by JS if needed */
}

.team-read-more-503497c8:hover,
.team-read-more-503497c8:focus {
    color: #005177;
    outline: none;
}

@media (max-width: 1024px) {
    .team-grid-container-503497c8 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .team-grid-container-503497c8 {
        grid-template-columns: 1fr !important;
    }
}