.tm-slider-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin: 0 0 18px
}

    .tm-slider-controls button {
        background: #8f9cbd;
        color: white;
        border: 0;
        border-radius: 10px;
        padding: 10px 18px;
        cursor: pointer
    }

.tm-therapist-slider {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    padding-bottom: 14px
}

    .tm-therapist-slider > .row {
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        margin: 0;
        gap: 24px
    }

        .tm-therapist-slider > .row > div {
            flex: 0 0 calc((100% - 72px)/4);
            max-width: none;
            padding: 0;
            display: flex;
            scroll-snap-align: start
        }

    .tm-therapist-slider .team-member {
        width: 100%;
        margin: 0;
        display: flex;
        flex-direction: column
    }

    .tm-therapist-slider .team-member-photo {
        flex: none
    }

        .tm-therapist-slider .team-member-photo img, .therapist-listing .team-member-photo img {
            width: 100%;
            height: auto;
            object-fit: contain;
            object-position: center top;
            background: #f5f3ef
        }

    .tm-therapist-slider .tm-meta {
        display: flex;
        flex: 1;
        flex-direction: column;
        padding: 20px 15px
    }

    .tm-therapist-slider h6 {
       /* min-height: 60px;*/
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center
    }

    .tm-therapist-slider .tm-meta > span {
       /* min-height: 66px;*/
        display: flex;
        align-items: center;
        justify-content: center
    }

    .tm-therapist-slider .tm-meta > p {
        height: 125px;
        line-height: 28px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical
    }

    .tm-therapist-slider .btnmore {
        margin-top: 8px;
        align-self: center
    }

    .tm-therapist-slider .tm-meta > p + .btnmore {
        margin-top: auto
    }

.team-details__image img {
    width: 100%;
    height: 480px;
    object-fit: contain;
    object-position: center top;
    background: #f5f3ef
}

@media(max-width:991px) {
    .tm-therapist-slider > .row > div {
        flex-basis: calc((100% - 24px)/2)
    }
}

@media(max-width:575px) {
    .tm-therapist-slider > .row > div {
        flex-basis: 85%
    }
}

.therapist-listing .tm-meta > h6 {
    height: 60px;
    flex-shrink: 0;
    overflow: hidden
}

.therapist-listing .tm-meta > span {
    height: 66px;
    flex-shrink: 0;
    overflow: hidden
}

.therapist-listing .tm-meta > p.tm-bio {
    height: 112px;
    min-height: 112px;
    line-height: 28px
}

.therapist-listing .tm-meta > p.tm-languages {
    height: 56px;
    min-height: 56px;
    line-height: 28px;
    -webkit-line-clamp: 2
}

.therapist-listing .tm-actions {
    min-height: 56px
}
