.specialists_psychology {
  padding-top: 40px;
  padding-bottom: 120px;
}

.specialists__container {
  display: flex;
  gap: 15px;
  align-items: end;
}

.swiper__container {
  position: relative;
  width: 32%;
}

.swiper__container--specialists-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.specialists_psychology .swiper-specialists {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 100px;
  padding-top: 15px;
}

.specialists_psychology .swiper-specialists .swiper-slide {
  width: 80px;
  box-sizing: border-box;
}

.swiper__container:nth-of-type(2) {
  width: 68%;
  height: 624px;
}

.specialists__card {
  display: flex;
  gap: var(--px32);
  align-items: end;
  justify-content: space-between;
  background-color: var(--white);
  padding: 25px 30px 30px;
}

.autoplay-progress {
  position: absolute;
  left: 50%;
  bottom: -4px;
  z-index: 2;
  width: 98px;
  height: 98px;
  transform: translateX(-50%);
  pointer-events: none;
}

.autoplay-progress svg {
  --progress: 0;
  position: absolute;
  left: 0;
  top: 0px;
  z-index: 10;
  width: 100%;
  height: 100%;
  stroke-width: 1px;
  stroke: var(--orange);
  fill: none;
  stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
  stroke-dasharray: 125.6;
  transform: rotate(-90deg);
}

.slide-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #edf2f5;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  outline: 2px solid var(--white);
}

.outline--active {
  transition: outline-color .4s ease;
  outline-color: var(--orange);
}

.specialists_psychology .swiper__container--specialists-nav .swiper-button-next,
.specialists_psychology .swiper__container--specialists-nav .swiper-button-prev {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  margin: 0;
  margin-top: 0;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 1px solid #e2e9ed;
  border-radius: 50%;
  background-color: var(--white);
  transform: none;
}

.specialists .swiper-free-mode>.swiper-wrapper {
  transition-timing-function: linear;
}

.specialists_psychology .swiper-button-next:after,
.specialists_psychology .swiper-rtl .swiper-button-prev:after,
.specialists_psychology .swiper-button-prev:after,
.specialists_psychology .swiper-rtl .swiper-button-next:after {
  content: "";
  display: block;
  width: 6px;
  height: 10px;
  background-image: url(../../icons/psychology/black-shevron.svg);
  background-size: 6px 10px;
  background-position: center;
}

.specialists_psychology .swiper-button-prev:after,
.specialists_psychology .swiper-rtl .swiper-button-next:after {
  transform: rotate(180deg);
}

.specialists__img {
  width: 47%;
  height: 630px;
  border-radius: 20px;
  background-color: #EDF2F5;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 400px;
}

.specialists__img.specialists-1,
.specialists__img.specialists-3,
.specialists__img.specialists-9,
.specialists__img.specialists-14,
.specialists__img.specialists-27 {
  background-size: 330px;
}


.specialists__img.specialists-47 {
  background-size: 300px;
}


.specialists__img.specialists-28,
.specialists__img.specialists-30,
.specialists__img.specialists-32,
.specialists__img.specialists-33,
.specialists__img.specialists-35,
.specialists__img.specialists-36,
.specialists__img.specialists-40,
.specialists__img.specialists-42 {
  background-size: 350px;
}

.specialists__img.specialists-18,
.specialists__img.specialists-48,
.specialists__img.specialists-51 {
  background-size: 410px;
}

.specialists__img.specialists-20 {
  background-size: 400px;
}

.specialists__info {
  width: 52%;
}

.specialists__name {
  font-size: 24px;
  line-height: 32px;
  max-width: 49%;
  margin-bottom: 24px;
}

.specialists__profession,
.specialists__consultation {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 24px;
}

.specialists__specialization-title {
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 12px;
}

.specialists__list {
  margin: 0;
  padding-left: 25px;
  margin-bottom: 24px;
}

.specialists__consultation::before {
  content: "Консультация";
  display: block;
  font-size: 14px;
  line-height: 20px;
  color: #7C90A0;
}

.specialists__btns {
  display: flex;
  gap: var(--px32);
}

.specialists__btns .modal-card {
  border: 1px solid var(--orange);
  border-radius: 6px;
  color: var(--orange);
  background-color: transparent;
}

.swiper-specialists-2 .swiper-slide-active {
  z-index: 10 !important;
}

.swiper-specialists-2 .swiper-slide:not(.swiper-slide-active) {
  z-index: 1 !important;
}

.specialists__btns button {
  position: relative;
  z-index: 20;
  pointer-events: auto;
}

.swiper-specialists-2 .swiper-slide {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
