body .gallery-three-block {
  padding: 60px 0;
  background-color: #83aa511a;
}

body .gallery-three-block .works__title {
  font-family: 'PT Serif';
  font-weight: 700;
  font-size: 48px;
  line-height: 117%;
  color: #373B32;
  margin-bottom: 60px;
  text-align: center;
}

body .gallery-three-block .slider-team {
  position: relative;
  padding: 0 20px;
}

body .gallery-three-block .slider-team .swiper-slide {
  width: 100%;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  -webkit-flex-direction: column;
  flex-direction: column;
  padding: 0 10px;
  box-sizing: border-box;
}

body .gallery-three-block .slider-team .swiper-slide .image {
  width: 100%;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

body .gallery-three-block .slider-team .swiper-slide .image img {
  width: 370px;
  height: 300px;
  min-width: 210px;
  object-fit: cover;
  border-radius: 10px;
  margin: auto;
}

body .gallery-three-block .slider-team .swiper-slide .team {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  -webkit-flex-direction: column;
  flex-direction: column;
  margin-top: 15px;
}

body .gallery-three-block .slider-team .swiper-slide .team .name {
  font-family: 'PT Serif';
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #373B32;
}

.text {
  font-family: 'PT Serif';
  font-weight: 700;
  font-size: 24px;
  line-height: 142%;
  color: #373B32;
}

body .gallery-three-block .slider-team .swiper-controls .swiper-button-prev,
body .gallery-three-block .slider-team .swiper-controls .swiper-button-next {
  background-color: rgba(0, 0, 0, 0);
  top: 45%;
}

body .gallery-three-block .slider-team .swiper-controls .swiper-button-prev:after {
  content: '';
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #83aa51;
  border-left: 2px solid #83aa51;
  display: block;
  transform: rotate(225deg);
  -o-transform: rotate(225deg);
  -ms-transform: rotate(225deg);
  -moz-transform: rotate(225deg);
  -webkit-transform: rotate(225deg);
  position: absolute;
  left: 15px;
}

body .gallery-three-block .slider-team .swiper-controls .swiper-button-next:after {
  content: '';
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #83aa51;
  border-left: 2px solid #83aa51;
  display: block;
  transform: rotate(225deg);
  -o-transform: rotate(225deg);
  -ms-transform: rotate(225deg);
  -moz-transform: rotate(225deg);
  -webkit-transform: rotate(225deg);
  position: absolute;
  left: 11px;
}

body .gallery-three-block .slider-team .swiper-controls .swiper-button-prev:hover:after,
body .gallery-three-block .slider-team .swiper-controls .swiper-button-next:hover:after {
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
}

body .gallery-three-block .slider-team .swiper-controls .swiper-button-prev {
  left: -42px;
  border: 2px solid #83aa51;
  border-radius: 50%;
  height: 42px;
  width: 42px;
}

body .gallery-three-block .slider-team .swiper-controls .swiper-button-prev:after {
  content: '';
  transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

body .gallery-three-block .slider-team .swiper-controls .swiper-button-next {
  right: -40px;
  border: 2px solid #83aa51;
  border-radius: 50%;
  height: 42px;
  width: 42px;
}

body .gallery-three-block .slider-team .swiper-controls .swiper-button-prev:hover,
body .gallery-three-block .slider-team .swiper-controls .swiper-button-next:hover {
  background-color: #83aa51;
}

body .gallery-three-block .slider-team .pagination {
  width: 100%;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

body .gallery-three-block .slider-team .pagination .swiper-pagination-bullet {
  margin: 0 5px;
  background-color: #e8e8e8;
  opacity: 1;
}

body .gallery-three-block .slider-team .pagination .swiper-pagination-bullet-active {
  background-color: #000;
}

body .gallery-three-block .slider-team .link-all {
  margin-top: 50px;
  text-align: center;
}

body .gallery-three-block .slider-team .link-all:hover {
  color: #82abbd;
}

@media screen and (min-width: 1200px) and (max-width: 1300px) {
  body .gallery-three-block .slider-team .swiper-slide .image {
    width: 27%;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  body .gallery-three-block .title {
    font-size: 50px;
  }

  body .gallery-three-block .slider-team .swiper-slide .image {
    width: 27%;
  }

  body .gallery-three-block .slider-team .swiper-controls .swiper-button-next {
    right: -20px;
  }

  body .gallery-three-block .slider-team .swiper-controls .swiper-button-prev {
    left: -20px;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  body .gallery-three-block .title {
    font-size: 40px;
  }

  body .gallery-three-block .slider-team .swiper-slide .image {
    width: 27%;
  }

  body .gallery-three-block .slider-team .swiper-controls .swiper-button-next {
    right: 0;
  }

  body .gallery-three-block .slider-team .swiper-controls .swiper-button-prev {
    left: -11px;
  }
}

@media screen and (max-width: 767px) {
  body .gallery-three-block .title {
    font-size: 30px;
  }

  body .gallery-three-block .slider-team .swiper-slide {
    flex-wrap: wrap;
  }

  body .gallery-three-block .slider-team .swiper-slide .image {
    width: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
  }

  body .gallery-three-block .slider-team .swiper-slide .team {
    margin-top: 15px;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  body .gallery-three-block .slider-team .swiper-slide .team .name-wrap .stars {
    padding-left: 5px;
  }

  body .gallery-three-block .slider-team .swiper-controls .swiper-button-next {
    right: -10px;
    top: 50%;
  }

  body .gallery-three-block .slider-team .swiper-controls .swiper-button-prev {
    left: -10px;
    top: 50%;
  }
}

.team__inner {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.icon {
  margin-right: 10px;
}

@media(max-width: 768px) {
  body .gallery-three-block .works__title {
    font-size: 36px;
  }

  body .gallery-three-block .slider-team .swiper-controls .swiper-button-next:after {
    width: 7px;
    height: 7px;
    left: 7px;
  }

  body .gallery-three-block .slider-team .swiper-controls .swiper-button-prev:after {
    width: 7px;
    height: 7px;
    left: 10px;
  }

  body .gallery-three-block .slider-team .swiper-controls .swiper-button-next,
  body .gallery-three-block .slider-team .swiper-controls .swiper-button-prev {
    height: 30px;
    width: 30px;
  }
}