.trm-worker {
  background: url(../../../pages/service/img/trm-worker-bg.jpg);
  background-size: cover;
  display: flex;
  flex-wrap: nowrap;
  position: relative;
}

.trm-worker:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.8) 100%);
  z-index: 25;
}

.trm-worker__text {
  width: 52%;
  height: 100%;
  padding-left: 3.43rem;
  padding-top: 3.43rem;
  padding-bottom: 4.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.8) 100%);
  z-index: 50;
}


.trm-worker__slider {
  width: 48%;
  z-index: 50
}

.team-slider {
  position: relative;
  height: 100%;
  border-bottom-right-radius: 4px;
}

.team-slider__wrapper {
  height: 100%;
}

.team-slider__slide {
  position: relative;
  display: flex;
  align-items: flex-end;
}

.team-slider__slide:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.8) 100%);
}

.team-slider__slide_bg1 {
  background: url(../img/mz1.png);
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: 90%;
}

.team-slider__slide_bg2 {
  background: url(../img/mz2.png);
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: 90%;
}

.team-slider__slide_bg3 {
  background: url(../img/mz3.png);
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: 90%;
}

.team-slider__slide_bg4 {
  background: url(../img/mz4.png);
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: 90%;
}

.team-slider__slide_bg5 {
  background: url(../../../pages/service/img/team/vladislav-boginskii.png);
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: 90%;
}

.team-slider__slide-name {
  position: absolute;
  top: 5.4rem;
  left: 0;
  font-size: 1.3rem;
  line-height: 136%;
  letter-spacing: 0.03em;
}

.team-slider__slide-position {
  font-size: 1.21rem;
  color: rgba(60, 60, 59, 0.81);
}

.team-slider__slide-arr {
  position: absolute;
  top: 11.4rem;
  left: 0;
  width: 5.3rem;
}

.team-slider__controls {
  position: absolute;
  left: 8.5rem;
  bottom: 0.7rem;
  width: 21.2rem;
  z-index: 100;
}

.team-slider .sw__slider--dotted-button {
  width: 72px;
  background: url(../../../pages/service/img/slider-ctrl-or.svg) 50% 50% no-repeat;
  background-size: 40px;
  background-position: center;
}

.team-slider .sw__slider--dotted-button.active,
.team-slider .sw__slider--dotted-button:hover {
  background-image: url(../../../pages/service/img/slider-ctrl-or.svg);
  background-size: 42px;
}

.team-slider .swiper-pagination-bullet:after {
  border: 1px solid rgba(255, 255, 255, 0);
  background: rgba(60, 60, 59, 0.23);
}

.team-slider .swiper-pagination-bullet-active:after {
  background: #f26422;
  border-color: #f26422;
  transition: all .5s ease-out;
}

@media (max-width: 639px) {
  .trm-worker {
    flex-direction: column;
    background-position: center;
  }

  .trm-worker:after {
    display: none;
  }

  .trm-worker__text {
    width: 100%;
    padding: 5rem 2rem 2rem;
    background: none;
  }

  .trm-worker__slider {
    width: 100%;
    height: 37rem;
  }

  .team-slider__slide {
    background-size: 35rem;
  }

  .team-slider__slide-name {
    font-size: 2rem;
    width: 14rem;
    line-height: 132%;
    top: 5.4rem;
    left: auto;
    right: 27rem;
  }

  .team-slider__slide-position {
    display: inline-block;
    margin-top: 1rem;
    font-size: 1.875rem;
    line-height: 108%;
  }

  .team-slider__slide-arr {
    top: 17.4rem;
    left: auto;
    right: 33rem;
    width: 7.3rem;
  }

  .team-slider__controls {
    left: auto;
    right: 8rem;
  }
}
