.featured-clinician {
    width: 100%;
    max-width: 340px;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);

    @media screen and (min-width: 47em) {
        height: 350px;
        width: auto;
        max-width: 100%;
    }

    .clinician-image {
        padding: 0;
        width: 340px;
        min-width: 340px;
        height: auto;
        max-width: 340px;
        max-height: 340px;
        overflow: hidden;

        img {
            width: 340px;
            max-width: 340px;
            padding: 0;
            height: auto;
        }
    }

    .clinician-info{
        margin-top: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;

        @media screen and (min-width: 47em) {
            margin-top: 0;
            padding-left: 70px;
        }

        @media screen and (max-width: 47em) {
            margin-top: 0;
            padding: 40px 40px 20px 40px;
        }

        h3 {
            font-size: 32px;
            font-weight: 700;
            text-align: center;
            color: var(--color-info-featured-clinician);
            margin-bottom: 7px;

            @media screen and (min-width: 47em) {
                text-align: left;
                margin-top: 10px;
            }
        }

        .featured-title {
            font-size: 20px;
            font-weight: 700;
            text-align: center;
            text-transform: uppercase;
            margin-bottom: 10px;

            @media screen and (min-width: 47em) {
                text-align: left;
            }
        }

        .featured-excerpt {
            @media screen and (min-width: 47em) {
                display: -webkit-box;
                -webkit-line-clamp: 7;
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: ellipsis;
            }
        }

        .featured-link {
            margin: 0 auto 25px;

            @media screen and (min-width: 47em) {
                margin: 0 0 25px;
            }

            a {
                color: var(--color-link-featured-clinician);
                font-size: 14px;
                font-weight: 700;
                text-transform: uppercase;
                border: 2px solid var(--color-link-border-featured-clinician);
                border-radius: 30px;
                padding: 8px 33px;

                &:hover {
                    color: white;
                    background: var(--primary-color);
                    background-image: var(--bg-color-gradient-link-featured-clinician);
                    background-size: 300% 100%;
                    border: 0px;
                    padding: 10px 35px;
                    background-position: 100% 0;
                    color: #fff;
                    text-decoration: none;
                }
            }
        }
    }

    .border-bottom {
        height: 10px;
        width: 100%;
        position: relative;
        background: #F4F4F4;

        &.color-orange {
            background: var(--background-gradient-color-orange);
        }

        &.color-gray {
            background: #F4F4F4;
        }
    }

    /* Alternative Small layout */
    &.layout-small {
        height: auto;
        box-shadow: none;

        &.gray {
            background-color: #F4F4F4;
        }

        .clinician-image {
            width: 240px;
            min-width: 240px;
            height: 240px;
            max-width: 240px;
            max-height: 240px;
            margin: 40px;

            img {
                width: 240px;
                max-width: 240px;
            }
        }

        .clinician-info h3 {
            font-size: 24px;
        }

        .clinician-info {
            padding: 40px 40px 40px 20px;

            @media screen and (max-width: 47em) {
                margin-top: 0;
                padding: 0px 40px 40px 40px;
            }

            .featured-link {
                margin: 0;
                
                a {
                    border: none;
                    padding: 0px;
                    font-size: 20px;
                    background-position: calc(100% - 1px) 50% !important;
                    background-repeat: no-repeat !important;
                    background-size: 20px auto !important;
                    padding-right: 30px;
                    transition: none;

                    &:hover {
                        color: var(--color-link-featured-clinician-hover);
                        border: none;
                        padding: 0px;
                        font-size: 20px;
                        text-decoration: none;
                        box-shadow: none;
                        background-position: calc(100% - 1px) 50% !important;
                        background-repeat: no-repeat;
                        background-size: 20px auto;
                        padding-right: 30px;
                    }
                }
            }
        }

        .border-bottom {
            height: 0;
        }
    }
}