.team-wrap {
  padding: 40px 0 20px;
}
.team-wrap .header {
  background: rgba(237, 237, 237, 1) !important;
  padding: 40px 50px 0 50px;
  height: 242px;
  position: relative;
}
.team-wrap .header h2 {
  font-size: 28px;
  color: #000;
  margin: 0 0 10px;
}
.team-wrap .header h2 > span {
  font-size: 18px;
  font-weight: 700;
  margin-left: 10px;
  position: absolute;
  right: 30px;
  bottom: 30px;
  font-size: 70px;
  letter-spacing: 4px;
  color: rgba(214, 214, 214, 1);
}
.team-wrap .header small {
  display: block;
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 10px;
}
.team-wrap .select-wrap {
  border: 4px solid var(--main-color);
  border-radius: 8px;
}
.team-wrap .select-wrap input {
  pointer-events: all;
}
.team-wrap .select-wrap.active .select-option {
  max-height: 300px;
}
.team-wrap .select-wrap .current {
  display: flex;
  align-items: center;
  padding-right: 15px;
}
.team-wrap .select-wrap .current .clears a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.team-wrap .select-wrap {
  margin-bottom: 25px;
}
.team-wrap .row {
  display: flex;
  flex-wrap: wrap;
}
.team-wrap .col {

  margin-bottom: 25px;
}
.team-wrap .swiper {
  height: 300px;
}
.team-wrap .wrap {
  display: flex;
  justify-content: center;
  align-items: end;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}
.team-wrap .col {
  cursor: pointer;
}
.team-wrap .col:hover img {
  transform: scale(1.1);
}
.team-wrap .wrap img {
  display: block;
  width: 100%;
  object-fit: contain;
  transition: transform .3s ease;
}
.team-wrap .wrap .hover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(40, 47, 65, .3);
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  color: #fff;
  transition: transform .3s ease, opacity .3s ease;
}
.team-wrap .swiper-slide {
  overflow: hidden;
}
.team-wrap .col:hover .wrap .hover,
.team-wrap .swiper-slide:hover .wrap .hover {
  transform: scale(2);
  opacity: 0;
}
.team-wrap .wrap .hover .desc {
  display: flex;
  align-items: end;
}
.team-wrap .wrap .hover h3 {
  margin: unset;
}
.team-wrap .wrap .hover small {
  display: block;
  color: rgb(253, 207, 127);
  margin-left: 5px;
}
.team-wrap .wrap .hover .rich-text p {
  margin: unset;
  font-size: 14px;
  line-height: 1.4;
}
.team-wrap .wrap .hover .rich-text p + p {
  margin-top: 10px;
}
@media screen and (max-width: 640px) {
  .team-wrap .wrap {
  }
  .team-wrap .header {
    padding: 20px 20px;
    height: 240px;
    margin-bottom: unset;
  }
  .team-wrap .header h2 {
    font-size: 24px;
  }
  .team-wrap .header h2 > span {
    display: none;
    font-size: 20px;
    bottom: 20px;
  }
  .team-wrap .header small {
    line-height: 1.6;
  }
  .team-wrap .wrap .hover h3 {
    font-size: 17px;
  }
  .team-wrap .row {
    margin: 0 -10px;
  }
  .team-wrap .col {
    padding: 0 10px;
    margin-bottom: 20px;
  }
}




.dialog-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1001;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
}
.dialog-wrap.active {
  pointer-events: all;
  opacity: 1;
}
.dialog-wrap.active .content {
  transform: translate(-50%, -50%) scale(1);
}
.dialog-wrap .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-height: 100px;
  max-width: 800px;
  max-height: 80vh;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  overflow-y: hidden;
  transform: scale(0);
  transition: transform .3s ease;
}
.dialog-wrap .content .close {
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: absolute;
  top: 30px;
  right: 30px;
}
.dialog-wrap .content .close img {
  display: block;
  width: 100%;
  height: 100%;
}
.dialog-wrap .content h2 {
  margin-top: unset;
}
.dialog-wrap .content .rich-text img {
  max-width: 100%;
}
.dialog-wrap .content .rich-text,
.dialog-wrap .content .rich-text p {
  color: #666;
  line-height: 1.8;
}



@media screen and (max-width: 640px) {
  .dialog-wrap .content {
    max-width: 90%;
    padding: 30px 20px 30px 30px;
  }
  .dialog-wrap .content .close {
    top: 10px;
    right: 10px;
  }
  .dialog-wrap .content .rich-text {
    max-height: 70vh;
    overflow-y: auto;
  }
}

