.team-current-theme1 {
  position: relative;
  margin-bottom: 60px;
}
.team-current-theme1 .inner-box {
  position: relative;
}
.team-current-theme1 .inner-box:hover .info-box {
  border-bottom: 1px solid transparent;
}
.team-current-theme1 .inner-box:hover .info-box::after {
  height: 101%;
  bottom: -1px;
}
.team-current-theme1 .inner-box:hover .info-box .name {
  color: #ffffff;
}
.team-current-theme1 .inner-box:hover .info-box .name a {
  color: #fff;
}
.team-current-theme1 .inner-box:hover .info-box .speciality::after {
  height: 100%;
}
.team-current-theme1 .inner-box:hover .social-links a {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
.team-current-theme1 .inner-box:hover .social-links a:hover {
  background-color: #ffffff;
  color: var(--theme-color2);
}
.team-current-theme1 .inner-box:hover .image {
  padding: 15px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.team-current-theme1 .image {
  position: relative;
  height: 190px;
  width: 190px;
  border: 2px solid transparent;
  overflow: hidden;
  border-radius: 50%;
  margin: 0 auto !important;
  z-index: 2;
  transition: all 400ms ease;
}
.team-current-theme1 .image img {
  width: 100%;
  border-radius: 50%;
}
.team-current-theme1 .info-box {
  position: relative;
  padding: 100px 30px 30px;
  margin-top: -70px;
  transition: all 300ms ease;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(132, 132, 132, 0.15);
}
.team-current-theme1 .info-box::before {
  position: absolute;
  left: 0;
  top: 0;
  height: 120%;
  width: 100%;
  background-color: #ffffff;
  transform: skewY(9deg);
  -webkit-transform-origin: top left;
  transform-origin: top left;
  content: "";
  border: 1px solid rgba(132, 132, 132, 0.15);
}
.team-current-theme1 .info-box::after {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  top: auto;
  bottom: 0;
  height: 0;
  background: linear-gradient(to left, var(--theme-color3), var(--theme-color1));
  transform: skewY(9deg);
  transform-origin: top left;
  transition: all 300ms ease;
  content: "";
}
.team-current-theme1 .info-box .name {
  position: relative;
  display: block;
  margin-top: 0;
  margin-bottom: 15px;
  z-index: 2;
}
.team-current-theme1 .info-box .name a:hover {
  color: #fff;
}
.team-current-theme1 .info-box .name a:hover:focus {
  color: #fff;
}
.team-current-theme1 .info-box .speciality {
  position: relative;
  display: inline-block;
  padding: 5px 20px;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 15px;
  z-index: 2;
}
.team-current-theme1 .info-box .speciality span {
  position: relative;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  background: linear-gradient(to left, var(--theme-color3), var(--theme-color1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.team-current-theme1 .info-box .speciality::before {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to left, var(--theme-color3), var(--theme-color1));
  z-index: -1;
  opacity: 0.1;
  content: "";
}
.team-current-theme1 .info-box .speciality::after {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  top: auto;
  bottom: 0;
  height: 0;
  background-color: #ffffff;
  z-index: -1;
  content: "";
  transition: all 150ms ease;
}
@media (prefers-reduced-motion: reduce) {
  .team-current-theme1 .info-box .speciality::after {
    transition: none;
  }
}
.team-current-theme1 .social-links {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: all 400ms ease;
}
@media (prefers-reduced-motion: reduce) {
  .team-current-theme1 .social-links {
    transition: none;
  }
}
.team-current-theme1 .social-links li {
  margin-bottom: 0;
}
.team-current-theme1 .social-links li a {
  position: relative;
  display: block;
  height: 40px;
  width: 40px;
  margin: 0 5px;
  font-size: 14px;
  line-height: 40px;
  text-align: center;
  color: var(--theme-color2);
  background-color: #e9ddfd;
  border-radius: 50%;
  transition: all 300ms ease;
}
@media (prefers-reduced-motion: reduce) {
  .team-current-theme1 .social-links li a {
    transition: none;
  }
}