.team-current-theme1 .inner-box {
  background-color: #f7f8ed;
  border-radius: 20px;
  mask-image: url(../../../images/current-theme/team-mask-bg.png);
  mask-repeat: no-repeat;
  mask-size: cover;
  mask-position: top;
  padding-top: 40px;
  position: relative;
  z-index: 1;
  transition: all 400ms ease;
  z-index: 0;
}
.team-current-theme1 .inner-box .image {
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  text-align: center;
  min-height: 450px;
  transition: all 400ms ease;
}
.team-current-theme1 .inner-box .image img {
  filter: grayscale(0%);
  transition: all 400ms ease;
}
.team-current-theme1 .inner-box .content-box {
  align-items: center;
  background-color: var(--theme-color-white);
  bottom: 20px;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  left: 20px;
  padding: 20px;
  position: absolute;
  right: 20px;
}
.team-current-theme1 .inner-box .content-box .team-title {
  margin-bottom: 0;
}
.team-current-theme1 .inner-box .content-box .team-subtitle {
  color: rgba(33, 38, 33, 0.6);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.71;
  transition: all 400ms ease;
  margin-bottom: 0;
}
.team-current-theme1 .inner-box .share-icon {
  background-color: #f7f8ed;
  background-size: 200%;
  border-radius: 50%;
  bottom: 19px;
  color: var(--theme-color1);
  cursor: pointer;
  font-size: 16px;
  height: 50px;
  line-height: 50px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  width: 50px;
  transition: all 300ms ease;
  z-index: 3;
}
@media (max-width: 575.98px) {
  .team-current-theme1 .inner-box .share-icon {
    width: 40px;
    height: 40px;
    font-size: 14px;
    line-height: 40px;
  }
}
.team-current-theme1 .inner-box .share-icon:hover {
  background-position: 100% 0;
}
.team-current-theme1 .inner-box .social-links {
  position: absolute;
  right: 20px;
  bottom: 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  background: transparent;
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
  -webkit-transform-origin: bottom;
  transform-origin: bottom;
  opacity: 0;
  z-index: 3;
  visibility: hidden;
  -webkit-transition: all 400ms ease;
  transition: all 400ms ease;
}
.team-current-theme1 .inner-box .social-links a {
  background: #f7f8ed;
  color: #00142b;
  background-size: 200%;
  border-radius: 50%;
  display: block;
  font-size: 16px;
  height: 50px;
  line-height: 50px;
  position: relative;
  text-align: center;
  width: 50px;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}
@media (max-width: 575.98px) {
  .team-current-theme1 .inner-box .social-links a {
    width: 40px;
    height: 40px;
    font-size: 14px;
    line-height: 40px;
  }
}
.team-current-theme1 .inner-box .social-links a:hover {
  background: var(--theme-color1);
  color: var(--theme-color1-text-color);
  background-position: 100% 0;
}
.team-current-theme1 .inner-box:before {
  position: absolute;
  left: 0;
  top: 0;
  width: 101%;
  height: 100%;
  content: "";
  border-radius: 0;
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1);
  -webkit-transform-origin: top right;
  transform-origin: top right;
  background-color: var(--theme-color3);
  transition: -webkit-transform 500ms cubic-bezier(0.86, 0, 0.07, 1);
  -webkit-transition: -webkit-transform 500ms cubic-bezier(0.86, 0, 0.07, 1);
  transition: transform 500ms cubic-bezier(0.86, 0, 0.07, 1);
  transition: transform 500ms cubic-bezier(0.86, 0, 0.07, 1), -webkit-transform 500ms cubic-bezier(0.86, 0, 0.07, 1);
  -webkit-transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  z-index: -1;
}
.team-current-theme1 .inner-box:hover:before {
  -webkit-transform: scale(1, 1);
  transform: scale(1, 1);
  -webkit-transform-origin: bottom left;
  transform-origin: bottom left;
}
.team-current-theme1 .inner-box:hover .image {
  overflow: hidden;
  transition: all 400ms ease;
}
.team-current-theme1 .inner-box:hover .image img {
  filter: grayscale(100%);
}
.team-current-theme1 .inner-box:hover .social-links {
  opacity: 1;
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
  visibility: visible;
}
.team-current-theme1 .inner-box:hover .share-icon {
  background-color: var(--theme-color1);
  color: var(--theme-color1-text-color);
}