
section {
  position: relative;
  min-height: 50%;
  width: 1075px;
  display: flex;
  align-items: center;
  max-width: 80%;
}

.swiper {
  width: 950px;
}

.card {
  position: relative;
  background: #fff;
  border-radius: 10px;
  height: 400px;
  margin: 20px 0;
  box-shadow: 0 0 3px -1px;
}

.card::before {
  content: "";
  position: absolute;
  height: 40%;
  width: 100%;
  background: white;
  border-radius: 20px 20px 0 0;
}

.card .card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  position: relative;
  z-index: 100;
}

section .card .image {
  height: 170px;
  width: 180px;
  border-radius: 10%;
  padding: 3px;
  background: #efeef0;
  margin-top: 30px;
}

section .card .image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 10%;
}

.card .media-icons {
  position: absolute;
  top: 12px;
  right: 95px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.card .media-icons i {
  color: #7d2ae8;
  opacity: 0.6;
  margin-top: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  margin: 10px;
}

.card .media-icons i:hover {
  opacity: 1;
}

.card .name-profession {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  color: var(--wp--preset--color--body-text);
  gap: 0.5rem;
}
.name-profession .name {
  font-size: 20px;
  font-weight: 600;
}

.name-profession .profession {
  font-size: 1rem;
  font-weight: 500;
}

.swiper-pagination {
  position: absolute;
  top: 100% !important;
}

.swiper-pagination-bullet {
  height: 7px;
  width: 26px;
  border-radius: 25px;
  background: #353434 !important;
}

.swiper-pagination-bullet-active {
  background-color: var(--wp--preset--color--primary) !important;;
}

.swiper-button-next,
.swiper-button-prev {
  opacity: 0.7 !important;
  color: var(--wp--preset--color--primary) !important;
  transition: all 0.3s ease !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  opacity: 1;
  color: rgb(209, 195, 131) !important;
}

.swiper-button-prev {
  left: -6rem!important;
  background: #f0f0f1;
  border-radius: 50%;
  border: solid 1px darkgrey;
  height: 40px!important;
  width: 40px!important;
}
.swiper-button-next {
  right: -6rem!important;
  background: #f0f0f1;
  border-radius: 50%;
  border: solid 1px darkgrey;
  height: 40px!important;
  width: 40px!important;
}

.swiper-button-next:after, .swiper-button-prev:after {
  font-size: 22px !important;
  font-weight: bolder;
}


@media screen and (min-width:785px) and (max-width: 1024px) {
  .swiper {
    width: 100%;
  }
  .swiper-button-prev {
    left: -3rem!important;
  }
  .swiper-button-next {
    right: -3rem!important;
  }
}

@media screen and (min-width: 400px) and (max-width: 599px) {
  .swiper {
    width: 80%;
  }
  .swiper-button-prev {
    left: -1rem!important;
  }
  .swiper-button-next {
    right: -1rem!important;
  }
}

@media screen and (max-width: 399px) {
  .swiper {
    width: 100%;
  }
  .swiper-button-prev {
    left: -2rem!important;
  }
  .swiper-button-next {
    right: -2rem!important;
  }
}
