.team-current-theme1 .team__item {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}
.team-current-theme1 .team__item .image {
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}
.team-current-theme1 .team__item .image::after {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(28, 26, 29, 0.5019607843);
  width: 100%;
  height: 100%;
  content: "";
  opacity: 0;
  transition: all 300ms ease;
}
.team-current-theme1 .team__item .team-title {
  margin-bottom: 5px;
  margin-top: 0;
}
.team-current-theme1 .team__item .social-links {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  opacity: 0;
}
.team-current-theme1 .team__item .content {
  background-color: #f5f2ec;
  padding: 18px;
  text-align: center;
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  transition: all 300ms ease;
  overflow: hidden;
}
body.tm-dark-layout .team-current-theme1 .team__item .content {
  background-color: #1a1a1a;
}
.team-current-theme1 .team__item .content .shape {
  position: absolute;
  top: -10px;
  left: -10px;
  z-index: -1;
  transition: all 300ms ease;
  opacity: 0;
  visibility: hidden;
}
.team-current-theme1 .team__item .content .shape {
  width: 80px;
  height: 90px;
  background-image: url(../../../images/current-theme/shape2.png);
}
body.tm-dark-layout .team-current-theme1 .team__item .content .shape {
  opacity: 0.2;
}
.team-current-theme1 .team__item .content span {
  transition: all 300ms ease;
}
.team-current-theme1 .team__item:hover .image::after {
  opacity: 1;
}
.team-current-theme1 .team__item:hover .social-links {
  opacity: 1;
}
.team-current-theme1 .team__item:hover .social-links li a {
  color: #fff;
}
.team-current-theme1 .team__item:hover .content {
  background-color: var(--theme-color1);
}
.team-current-theme1 .team__item:hover .content .team-title {
  color: #fff;
}
.team-current-theme1 .team__item:hover .content .team-title a {
  color: #fff;
}
.team-current-theme1 .team__item:hover .content .team-subtitle {
  color: #fff;
}
.team-current-theme1 .team__item:hover .content span {
  color: #fff;
}
.team-current-theme1 .team__item:hover .content .shape {
  top: 0;
  left: 0;
  opacity: 1;
  visibility: visible;
}