

 /* team area style  */
.team-area-x .counts {
  display: flex;
}
@media only screen and (max-width: 991px) {
  .team-area-x .counts {
    display: none;
  }
}
.team-area-x .counts .item {
  width: 90px;
  height: 90px;
  border: 1px solid var(--primary);
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media only screen and (max-width: 767px) {
  .team-area-x .counts .item {
    width: 60px;
    height: 60px;
  }
}
.team-area-x .counts .item:not(:first-child) {
  margin-inline-start: -20px;
}
@media only screen and (max-width: 767px) {
  .team-area-x .counts .item:not(:first-child) {
    margin-inline-start: -10px;
  }
}
.team-area-x .counts .item:first-child {
  background-color: #F5F5F5;
  border-color: #F5F5F5;
  font-size: 18px;
}
.team-area-x .section-title-wrapper {
  display: flex;
  gap: 80px;
  justify-content: space-between;
  flex: 0 1 1075px;
}
@media only screen and (max-width: 767px) {
  .team-area-x .section-title-wrapper {
    flex: auto;
    flex-direction: column;
    gap: 20px;
  }
}
.team-area-x .section-title-wrapper .text {
  max-width: 393px;
}
.team-area-x .section-title-wrapper .text span {
  font-weight: 500;
  color: var(--primary);
  text-decoration: underline;
}
.team-area-x .section-title {
  max-width: 337px;
}
.team-area-x .section-header {
  display: flex;
  gap: 80px;
  justify-content: space-between;
  margin-bottom: 53px;
}
@media only screen and (max-width: 991px) {
  .team-area-x .section-header {
    margin-bottom: 33px;
  }
}
.team-area-x .team-wrapper-x {
  display: grid;
  gap: 40px 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
@media only screen and (max-width: 1399px) {
  .team-area-x .team-wrapper-x {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

.team-x:hover .team-thumb img {
  transform: scale(1.02);
}
.team-x .name {
  font-size: 30px;
}
@media only screen and (max-width: 1199px) {
  .team-x .name {
    font-size: 26px;
  }
}
.team-x .post {
  font-size: 18px;
  margin-top: 13px;
  padding-bottom: 15px;
  position: relative;
}
@media only screen and (max-width: 1919px) {
  .team-x .post {
    margin-top: 8px;
    padding-bottom: 10px;
  }
}
.team-x .post:after {
  position: absolute;
  content: "";
  width: 20px;
  height: 2px;
  background-color: #D9D9D9;
  bottom: 0;
  inset-inline-start: 0;
}
.team-x .team-thumb img {
  transition: all 0.5s;
}
.team-x .team-content {
  margin-top: 43px;
}
@media only screen and (max-width: 1919px) {
  .team-x .team-content {
    margin-top: 33px;
  }
}
