.team-box-container .mwt-elementor-team-box-wrap {
position: relative;
overflow: hidden;
}
.team-box-container .mwt-elementor-team-box-wrap img {
display: block;
transition: transform 0.35s;
transform: scale3d(1, 1, 1);
}
.team-box-container:hover .mwt-elementor-team-box-wrap img {
transform: scale3d(1.05, 1.05, 1);
}
.team-box-container .member-social-list {
padding: 0;
margin: 0;
}
.team-box-container .mwt-elementor-team-box-wrap .mwt-elementor-team-box-media-link {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
z-index: 1;
background-color: rgba(72, 97, 115, 0.4);
opacity: 0;
transition: all 0.2s ease-in-out 0s;
}
.team-box-container .mwt-elementor-team-box-name {
display: block;
position: absolute;
bottom: 50px;
left: 50px;
z-index: 2;
}
.team-box-container .mwt-elementor-team-box-position {
display: block;
position: absolute;
top: 50px;
right: -250px;
z-index: 2;
transform: rotate(-90deg);
transform-origin: right bottom;
transition: all .6s ease-in-out;
}
.team-box-container:hover .mwt-elementor-team-box-position,
.team-box-container.always-hovered .mwt-elementor-team-box-position {
right: 50px;
}
.team-box-container .member-social-list {
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
position: absolute;
bottom: 50px;
right: -250px;
transition: all .6s ease-in-out;
z-index: 2;
}
.team-box-container:hover .member-social-list,
.team-box-container.always-hovered .member-social-list {
right: 50px;
}
.team-box-container .mwt-elementor-team-box-wrap::before {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
z-index: 1;
background-color: rgba(72, 97, 115, 0.4);
opacity: 0;
transition: all 0.2s ease-in-out 0s;
}
.team-box-container:hover .mwt-elementor-team-box-wrap::before,
.team-box-container.always-hovered .mwt-elementor-team-box-wrap::before {
opacity: 1;
}