@import '../../../scss/base';

.team-grid-style1{
    .team-item {
        overflow: visible;
        text-align: center;
        .team-inner-wrap {
            overflow: hidden;      
            position: relative;
        
            .image-wrap {
                position: relative;
                overflow: hidden; 
                .pointer-events{
                    img{
                        @media #{$device-sm}{
                            width: 100%;
                        }
                    }
                }           
            }
            .team-content {
                margin: 0;
                padding: 20px 0 20px;
                position: unset;
                opacity: 1;            
                .team-name {
                    font-weight: 600;
                    font-size: 24px;
                    line-height: 30px;
                    text-transform: capitalize;
                    margin: 0 0 5px;
                    a {
                        text-decoration: none;
                        color: var(--titleColor);
                        text-transform: capitalize;
                        font-weight: 600px;
                        &:hover {
                            color: var(--primaryColor);
                        }
                    }
                }
                span.team-title {
                    font-size: 16px;
                    margin-bottom: 3px;
                    display: block;
                }
                .social-icons {
                    position: absolute;
                    top: 20px;
                    right: 20px;
                    padding-left: 0;
                    margin: 0;
                    list-style: none;
                    display: flex;
                    flex-direction: column;
                    transition: 0.3s;
                    a {
                        height: 34px;
                        width: 34px;
                        background: #fff;
                        border-radius: 4px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        transition: 0.3s;
                        &:hover {
                            background: var(--primaryColor);
                            i {
                                color: #fff;
                            }
                        }
                        &:nth-of-type(1) {
                            position: relative;
                            z-index: 2;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                        }
                        &.social-icon {
                            position: absolute;
                        }
                    }
                    &:hover {
                        .social-icon {
                            position: relative;
                            z-index: 1;
                            margin-top: 10px;
                        }
                    }
                }
            }
        }
    }
}