.px-headwall-slider {
  max-width: var(--maxWidth);
  margin: 0 auto;
  width: var(--baseWidth);
}
.px-headwall-slider .team-items {
  display: flex;
}
.px-headwall-slider .team-item {
  cursor: pointer;
  transition: var(--baseTransition);
  aspect-ratio: 1;
  border-radius: var(--borderRadius);
  overflow: hidden;
  text-decoration: none;
}
.px-headwall-slider .team-item:hover .image-wrapper .name {
  transform: translateY(0);
  opacity: 1;
}
.px-headwall-slider .team-item .image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.px-headwall-slider .team-item .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: top;
}
.px-headwall-slider .team-item .image-wrapper .name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: var(--greenBlack);
  color: var(--contrastColorInverted);
  text-align: center;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease-out, opacity 0.2s ease-out;
}
.px-headwall-slider .team-item .image-wrapper .name.name-reversed .word-reversed {
  display: inline-block;
  direction: rtl;
  unicode-bidi: bidi-override;
}
.team-popup-content {
  position: relative;
  background: var(--contrastColorInverted);
  width: 92%;
  max-width: var(--maxWidth);
  margin: 40px auto;
  padding: clamp(1.1111111111rem, 0.5105105105rem + 3.3783783784vw, 3.3333333333rem);
  border-radius: 10px;
}
.team-popup-content .team-top-section {
  display: flex;
  gap: 0 46px;
  margin-bottom: 13px;
}
.team-popup-content .team-top-section .team-top-left-section {
  flex: 1;
}
.team-popup-content .team-top-section .team-image-container {
  position: relative;
  max-height: 568px;
}
.team-popup-content .team-top-section .team-image-container::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 22.89%, rgba(255, 255, 255, 0.5) 76.89%, #FFF 88.89%);
}
.team-popup-content .team-top-section img {
  max-width: 363px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media screen and (max-width: 1024px) {
  .team-popup-content .team-top-section {
    flex-direction: column;
  }
  .team-popup-content .team-top-section img {
    aspect-ratio: 1;
    object-position: top;
    max-width: 200px;
    display: none;
  }
}
.team-popup-content .team-title {
  color: var(--mainColor);
  font-size: clamp(1.1111111111rem, 0.960960961rem + 0.8445945946vw, 1.6666666667rem);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 10px;
}
.team-popup-content .team-title.team-title-reversed .word-reversed {
  display: inline-block;
  direction: rtl;
  unicode-bidi: bidi-override;
}
.team-popup-content .team-position {
  color: var(--fontColor);
  font-size: clamp(1rem, 0.954954955rem + 0.2533783784vw, 1.1666666667rem);
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
  margin-bottom: 0;
}
.team-popup-content .team-text {
  font-size: clamp(0.8888888889rem, 0.8138138138rem + 0.4222972973vw, 1.1666666667rem);
  margin-bottom: clamp(1.1111111111rem, 0.8108108108rem + 1.6891891892vw, 2.2222222222rem);
  margin-top: clamp(1.1111111111rem, 0.8108108108rem + 1.6891891892vw, 2.2222222222rem);
}
.team-popup-content .team-bottom-section {
  display: flex;
  gap: clamp(1.1111111111rem, 0.7207207207rem + 2.1959459459vw, 2.5555555556rem);
  justify-content: space-between;
}
@media screen and (max-width: 1024px) {
  .team-popup-content .team-bottom-section {
    flex-direction: column;
  }
}
.team-popup-content .team-bottom-section {
  display: flex;
  gap: clamp(1.1111111111rem, 0.7207207207rem + 2.1959459459vw, 2.5555555556rem);
  justify-content: space-between;
}
@media screen and (max-width: 1024px) {
  .team-popup-content .team-bottom-section {
    flex-direction: column;
  }
}
.team-popup-content .team-skills {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 5px;
}
.team-popup-content .team-skills .team-skill {
  display: flex;
  gap: 0px 28px;
  font-size: clamp(1rem, 0.8948948949rem + 0.5912162162vw, 1.3888888889rem);
  font-style: normal;
  font-weight: 700;
  color: var(--mainColor);
}
.team-popup-content .team-skills .team-skill img {
  max-width: 100%;
}
@media screen and (max-width: 600px) {
  .team-popup-content .team-skills .team-skill {
    flex-direction: column;
  }
}
.team-popup-content .team-trust img {
  max-width: 180px;
  height: auto;
}
.team-popup-content .team-badges {
  display: flex;
  justify-content: space-between;
  flex-grow: 1;
  max-width: 363px;
  flex-wrap: wrap;
  gap: 20px;
}
.team-popup-content .team-badges .team-badge {
  display: flex;
  background-color: var(--mainColorLighter_2);
  align-items: center;
  height: fit-content;
  border-radius: 50px;
  gap: 5px;
  padding-right: 24px;
  width: fit-content;
}
.team-popup-content .team-badges .team-badge-years {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--mainColor);
  border-radius: 50%;
  color: var(--contrastColorInverted);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}
.team-popup-content .team-badges .team-badge-text {
  color: var(--mainColor);
  font-size: 21px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
}
@media screen and (max-width: 1300px) {
  .team-popup-content .team-badges {
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: unset;
  }
}
@media screen and (max-width: 768px) {
  .team-popup-content {
    padding: 25px;
    margin: 20px;
    width: calc(100% - 40px);
  }
  .team-popup-content .team-top-section {
    flex-direction: column;
  }
  .team-popup-content .team-top-section img {
    width: 100%;
    height: 300px;
  }
  .team-popup-content .team-skills {
    grid-template-columns: 1fr;
  }
  .team-popup-content .team-badges {
    flex-wrap: wrap;
    justify-content: center;
  }
}
