.team-member-summary {

}
.team-member-summary__button {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    width: 100%;
}
.team-member-summary__image {
    width: 156px;
    height: 156px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
}
.team-member-summary__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-member-summary__title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 600;
}
.team-member-summary__job-title {
    font-size: 1rem;
    line-height: 1.5;
}
.team-member-summary__linkedin-link {
    margin-top: 4px;
    display: block;
}
.team-member-summary__linkedin-link .icon {
    display: block;
    margin: 0 auto;
}

/* pop up details */
.team-member__card {
    background: var(--wp--preset--color--beige-1);
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 12px;
    margin-bottom: 32px;
}
.team-member__image {
    width: 156px;
    height: 156px;
    border-radius: 50%;
    overflow: hidden;
}
.team-member__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member__title {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 600;
    margin-bottom: 4px;
}
.team-member__job-title {
    font-size: 1rem;
    line-height: 1.5;
}
.team-member__linkedin-link {
    margin-top: 16px;
    display: inline-block;
}

.team-member__programs {
    background: white;
    padding: 6px 12px;
    border-radius: 8px;
    width: fit-content;
    color: #000;
    font-size: 0.8125rem;
    line-height: 1.54;
    margin-top: 32px;
}
.team-member__programs ul,
.team-member__programs ul li {
    display: inline-block;
    padding: 0;
    margin: 0;
    list-style-type: none;
}
.team-member__programs ul li + li::before {
    content: ', ';
}

.team-member__programs a {
    color: inherit;
}

@media screen and (max-width: 767px) {
    .team-member__card {
        flex-direction: column;
    }
}
