/*======= Team member =======*/
.yankee-team-members {
    position: relative;
    z-index: 1;

    .team-member {
        margin-bottom: 30px;
        text-align: center;

        .member-desc {
            padding: 40px;
            border: 2px solid #f5f9fa;
            border-top: none;
            @include transition(0.3s);

            @include respond-below(lg) {
                padding: 35px 20px;
            }

            .name {
                text-transform: uppercase;
                font-size: 30px;
                margin-bottom: 30px;
                letter-spacing: -1px;

                a:hover {
                    color: inherit;
                }

                @include respond-below(lg) {
                    font-size: 24px;
                }

                @include respond-below(sm) {
                    font-size: 22px;
                }
            }

            .position {
                line-height: 1;
                font-size: 16px;
                font-weight: 700;
                font-family: $raj;
                text-transform: uppercase;
                letter-spacing: 2px;
                color: $primary-color;
                margin-bottom: 5px;
                @include transition(0.3s);
            }

            .social-links {
                display: flex;
                align-items: center;
                justify-content: center;
                list-style: none;
                padding: 0;

                a {
                    height: 50px;
                    width: 50px;
                    text-align: center;
                    border: 2px solid #f5f9fa;
                    color: $secondary-color;
                    font-size: 16px;
                    margin: 0 5px;
                    @include transition(0.3s);
                    position: relative;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    z-index: 1;

                    @include respond-below(sm) {
                        font-size: 14px;
                        width: 40px;
                        height: 40px;
                        line-height: 38px;
                        margin: 0 2px;
                    }

                    &::before {
                        position: absolute;
                        left: 50%;
                        top: 50%;
                        width: 0;
                        height: 0;
                        z-index: -1;
                        transform: translate(-50%, -50%);
                        @include transition(0.3s);
                        background-color: $primary-color;
                        content: "";
                    }

                    &:hover {
                        &::before {
                            height: 100%;
                            width: 100%;
                        }
                    }
                }
            }
        }

        .member-image {
            overflow: hidden;

            img {
                @include transition(0.3s);
            }
        }

        &:hover {
            .member-desc {
                box-shadow: 0px 16px 32px 0px rgba(7, 28, 31, 0.04);
                border-color: transparent;
            }

            .member-image img {
                transform: scale(1.1);
            }
        }
    }

    &.yankee-team-slider {
        .slick-dots {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: 0;
            line-height: 1;

            li {
                display: inline-block;
                line-height: 1;

                button {
                    margin: 0 4px;
                    height: 12px;
                    width: 12px;
                    font-size: 0;
                    border-radius: 50%;
                    border: none;
                    background-color: $secondary-color;
                    @include transition(0.3s);
                }

                &.slick-active button,
                button:hover {
                    background-color: $primary-color;
                }
            }
        }

        .slick-arrow {
            position: absolute;
            left: 0;
            width: 50px;
            height: 50px;
            z-index: 2;
            top: 50%;
            transform: translateY(-50%);
            background-color: $secondary-color;
            @include transition(0.3s);
            color: $white;

            &.next-arrow {
                left: auto;
                right: 0;
            }

            &:hover {
                background-color: $primary-color;
                color: $secondary-color;
            }
        }
    }
}