.tm-member-card {
    position: relative;
}

.tm-member-card .tm-card-hit {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: block;
    border-radius: inherit;
}

.tm-member-card .tm-card-hit:focus-visible {
    outline: 3px solid #507cff;
    outline-offset: -3px;
}

.tm-member-card .team-member-social a {
    position: relative;
    z-index: 4;
}

.tm-member-card .team-member-social {
    flex-wrap: wrap;
    gap: 8px;
}

.tm-member-card .tm-profile-label {
    margin-left: auto;
}

.tm-member-card .team-member-image img,
.tm-profile .team-member-profile-image img {
    object-position: center top;
}

.tm-member-card h3,
.tm-member-card p,
.tm-profile h1,
.tm-profile strong {
    overflow-wrap: anywhere;
}

.tm-template .tm-empty {
    grid-column: 1 / -1;
    color: #667085;
    font-size: 14px;
    line-height: 1.8;
}

.tm-profile .team-member-about-content ul {
    padding-left: 22px;
    font-size: 18px;
    line-height: 1.85;
    color: #667085;
}

.tm-profile .team-member-about-content h3 {
    font-size: 25px;
    line-height: 1.3;
    margin: 30px 0 18px;
    color: #101522;
}

.tm-profile .tm-expertise-description {
    grid-column: 2 / -1;
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #667085;
}

.tm-profile .team-member-profile-intro h1 {
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {
    .tm-member-card .tm-profile-label {
        font-size: 10px;
    }

    .tm-profile .team-member-profile-short {
        font-size: 18px;
    }

    .tm-profile .team-member-about-content ul {
        font-size: 16px;
    }
}