.team-section {
  max-width: 1264px;
  margin: 120px auto;
  padding: 0 32px;
}
.team-section .swiper-navs {
  display: none;
}

.team-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.team-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.person-card {
  flex: 1 1 23%;
  max-width: 282px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  height: unset;
}

.person-picture {
  width: 100%;
  aspect-ratio: 280/240;
  cursor: pointer;
}
.person-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-info {
  padding: 16px 24px;
}
.person-info .h4 {
  cursor: pointer;
  margin-bottom: 8px;
}

.team-btn {
  color: #155EEF;
}
.team-btn:visited {
  color: #155EEF;
}
.team-btn:hover {
  text-decoration: underline;
}

.swiper-navs {
  width: 104px;
  height: 48px;
  position: relative;
}

.swiper-button-prev {
  left: unset;
  top: 0;
  margin-top: unset;
}

.swiper-button-next {
  right: 0;
  top: 0;
  margin-top: unset;
}

.swiper-button-prev:after, .swiper-button-next:after {
  display: none;
}

.swiper-nav {
  width: 48px;
  height: 48px;
  border: 1px solid #D1D5DB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.swiper-nav svg {
  height: 10px;
  width: 6px;
}

.swiper-button-prev svg {
  transform: rotate(180deg);
}

.team-modal {
  position: fixed;
  display: none;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(4px);
  background: rgba(3, 7, 18, 0.5);
  z-index: 10;
  align-items: center;
  justify-content: center;
}

.team-modal.active {
  display: flex;
}

.team-modal-wrap {
  position: relative;
  background-color: white;
  border-radius: 16px;
  padding: 40px 110px 40px 40px;
  max-width: 680px;
}

.team-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 1px solid #E5E7EB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: white;
  transition: ease 0.3s;
}
.team-modal-close svg {
  width: 12px;
  height: 12px;
  fill: #030712;
  transition: ease 0.3s;
}
.team-modal-close:hover {
  cursor: pointer;
  background: #DAEBFF;
  border: 1px solid #BDDCFF;
}
.team-modal-close:hover svg {
  fill: #155EEF;
}

.team-mod-name {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #E5E7EB;
}

.team-mod-info p {
  margin-bottom: 8px;
  color: #4B5563;
}

@media (max-width: 1260px) {
  .person-card {
    flex: 1 1 32%;
    max-width: 49%;
  }
}
@media (max-width: 768px) {
  .team-section {
    margin: 64px auto;
    padding: 0 16px;
  }
  .team-section .swiper-navs {
    display: flex;
  }
  .team-wrapper {
    flex-wrap: unset;
    gap: unset;
  }
  .person-card {
    flex: unset;
    max-width: unset;
    flex-shrink: 0;
  }
  .person-picture {
    aspect-ratio: 330/240;
  }
  .team-head {
    margin-bottom: 24px;
  }
  .person-info .h4 {
    font-size: 16px;
  }
  .swiper-navs {
    width: 72px;
    min-width: 72px;
    height: 32px;
  }
  .swiper-nav {
    width: 32px;
    height: 32px;
  }
  .team-swiper {
    overflow: unset;
  }
  .team-btn {
    font-size: 14px;
  }
  .team-modal-wrap {
    margin: 56px 16px 0;
    max-height: calc(100vh - 65px - 32px);
    overflow-y: scroll;
    padding: 16px;
  }
  .team-modal-close {
    width: 32px;
    height: 32px;
    top: 12px;
    right: 12px;
  }
  .team-modal-close svg {
    width: 10px;
    height: 10px;
  }
}