.team-current-theme2 {
  border: 1px solid rgba(0, 0, 0, 0.1019607843);
  background-color: var(--theme-color-white);
  border-radius: 40px;
  overflow: hidden;
}
.team-current-theme2 .team-five__image {
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.team-current-theme2 .team-five__image img {
  width: 100%;
}
.team-current-theme2 .team-five__image::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  content: "";
  background: linear-gradient(360deg, #bb9a65 0%, rgba(187, 154, 101, 0) 91.03%);
  transition: all 0.4s ease-in-out;
}
.team-current-theme2 .team-five__image .share {
  box-sizing: unset;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 50%;
  transition: all 0.4s ease-in-out;
  background-color: var(--headings-color);
  border: 7px solid var(--theme-color-white);
  position: absolute;
  bottom: 15px;
  right: 20px;
  display: block;
  cursor: pointer;
}
body.tm-dark-layout .team-current-theme2 .team-five__image .share {
  background-color: #272e39;
  border: 7px solid var(--text-color-bg-theme-color1);
}
.team-current-theme2 .team-five__image .share .social-links {
  background-color: var(--headings-color);
  border-radius: 30px;
  position: absolute;
  bottom: 70px;
  left: 0;
  width: 50px;
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease-in-out;
}
body.tm-dark-layout .team-current-theme2 .team-five__image .share .social-links {
  background-color: #272e39;
}
.team-current-theme2 .team-five__image .share .social-links a {
  display: block;
  color: var(--theme-color-white);
  line-height: 40px;
}
body.tm-dark-layout .team-current-theme2 .team-five__image .share .social-links a {
  color: var(--text-color-bg-theme-color1);
}
.team-current-theme2 .team-five__image .share .social-links a:hover {
  color: var(--theme-color1);
}
.team-current-theme2 .team-five__image .share:hover .social-links {
  opacity: 1;
  visibility: visible;
  transform: translate(0);
}
.team-current-theme2 .content {
  padding: 40px 35px;
  background-color: var(--theme-color-white);
}
body.tm-dark-layout .team-current-theme2 .content {
  background-color: #424242;
}
.team-current-theme2 .content .team-title {
  margin-bottom: 5px;
  margin-top: 0;
}
.team-current-theme2 .content .team-subtitle {
  display: inline-block;
  color: var(--text-color);
}
body.tm-dark-layout .team-current-theme2 {
  background-color: #424242;
}
.team-current-theme2:hover .team-five__image::before {
  height: 100%;
}