.wp-block-team {
    .wp-block-team-wrapper {
        position: relative;
        overflow: hidden;

        figure img {
            transition: all 0.4s
        }

        &:hover figure img {
            transform: scale(1.05);
        }


        &::before {
            width: 100%;
            height: 100%;
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            z-index: 9;

            background: linear-gradient(353deg,
                    rgba(0, 0, 0, 0.6) 25.06%,
                    rgba(0, 0, 0, 0) 35.95%);


        }

        .wp-block-team-desc {
            position: absolute;
            left: 30px;
            right: 30px;
            bottom: 0;
            z-index: 9;
            padding: 30px;
        }
    }

}