/* Стили для блока team-experts (аналог specialists) */

.team-experts {
  position: relative;
  margin-top: 42px;
}

@media screen and (max-width: 767px) {
  .team-experts {
    margin-top: 29px;
  }
}

.team-experts .swiper-slide {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  position: relative;
  padding-bottom: 47px;
}

@media screen and (max-width: 767px) {
  .team-experts .swiper-slide {
    position: static;
    padding-bottom: 0;
  }
}

@media screen and (max-width: 767px) {
  .team-experts .swiper-buttons {
    position: static;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
    margin-top: 29px;
  }
}

@media screen and (max-width: 767px) {
  .team-experts .expert-card__photo {
    margin-bottom: 21px;
  }
}

/* Стили для фото специалиста */
.expert-card__photo {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.expert-card__photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Стили для стажа */
.expert-card__experience {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

@media screen and (max-width: 767px) {
  .expert-card__experience {
    bottom: 10px;
    left: 10px;
    padding: 4px 8px;
    font-size: 12px;
  }
}

.expert-card__experience span {
  font-weight: 700;
}

/* Стили для имени специалиста */
.expert-card__name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 15px 0 5px 0;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .expert-card__name {
    font-size: 16px;
    margin: 12px 0 4px 0;
  }
}

.expert-card__name span {
  font-weight: 400;
}

/* Стили для должности */
.expert-card__position {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin: 0;
}

@media screen and (max-width: 767px) {
  .expert-card__position {
    font-size: 13px;
  }
}

/* Стили для кнопки вызова мастера */
.team-call-button {
  width: 100% !important;
  display: flex !important;
  margin-top: 20px !important;
  justify-content: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: transparent !important;
  border: 2px solid red !important; /* временный стиль для отладки */
  padding: 10px !important; /* временный стиль для отладки */
  min-height: 60px !important; /* временный стиль для отладки */
} 