.arshine-team {
  padding: clamp(30px, 4.166667vw, 80px) 0;
  background: #24272F;
}
.arshine-team h3 {
  font-size: clamp(24px, 2.60vw, 50px);
  color: #fff;
  line-height: 1;
  font-family: var(--title-font-family);
  text-align: center;
}
.arshine-team .list {
  position: relative;
  margin: 40px 0 0;
}
.arshine-team .bd {
  width: 100%;
}
.arshine-team .bd img {
  width: 100%;
  /* aspect-ratio: 16 / 9; */
  object-fit: cover;
}




.arshine-team .bd .carousel-item__content {
  position: relative;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: flex-end;
  align-items: flex-end;
}
.arshine-team .bd .carousel-item__content .pic {
  width: 499px;
}
.arshine-team .bd .carousel-item__content .txt {
  -webkit-flex: 1;
  flex: 1;
  margin: 0 0 0 30px;
}
.arshine-team .bd .carousel-item__content .txt h4 {
  font-size: clamp(26px, 1.88vw, 36px);
  line-height: 1;
  color: #fff;
  font-family: var(--title-font-family);
}
.arshine-team .bd .carousel-item__content .txt h5 {
  font-size: clamp(16px, 0.94vw, 18px);
  line-height: 1;
  color: #fff;
  font-family: var(--title-font-family);
  margin: 5px 0 0;
}
.arshine-team .bd .carousel-item__content .txt h5::after {
  content: "";
  width: 59px;
  height: 4px;
  background: var(--color-primary);
  margin: 7px auto 0 0;
  display: block;
}
.arshine-team .bd .carousel-item__content .txt p {
  font-size: clamp(14px, 0.94vw, 18px);
  line-height: 30px;
  color: #fff;
  margin: 15px 0 0;
}
.arshine-team .bd .carousel-item__content .txt a {
  line-height: 50px;
  font-size: 18px;
  padding: 0 50px;
  display: inline-block;
  border-radius: var(--button-radius);
  color: #fff;
  margin: 30px 0 0;
  background: var(--color-primary);
}

.arshine-team .hd {
  position: static;
  margin: 20px 0 0;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  justify-content:flex-start;
  flex-wrap: nowrap;
  padding-bottom: 10px;
  display: flex;
}
.arshine-team .hd > li {
  width: 100%;
  height: 100%;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  text-indent: initial;
}
.arshine-team .hd > li {
  cursor: pointer;
  flex-basis: calc(100% / 6 - 10px); 
  padding: 10px 12px;
  position: relative;
  background: #fff;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  min-width: 130px;
  max-width: none; 
  flex-shrink: 0;
}

.arshine-team .hd > li img {
  width: 75px;
  border-radius: 50%;
}
.arshine-team .hd > li p {
  -webkit-flex: 1;
  flex: 1;
  font-size: clamp(14px, 0.78vw, 15px);
  margin-left:10px
}
.arshine-team .hd > li p span {
  display: block;
  margin-bottom: 5px;
  font-size: clamp(16px, 1.25vw, 24px);
  font-family: var(--title-font-family);
  color: inherit;
}
.arshine-team .hd > li.active {
  background: var(--color-primary);
  color: #fff
}
.arshine-team .hd > li.active span {
  color: #fff;
}

@media(max-width:1500px){
  .arshine-team .hd > li img {
    width: 70px;
  }
  .arshine-team .hd > li {
    flex-basis: calc(100% / 5 - 10px);
  }
}

@media screen and (max-width: 1441px) {
  .arshine-team .bd .carousel-item__content .pic {
    width: 650px;
  }
}

@media screen and (max-width: 1367px) {

  .arshine-team .bd .carousel-item__content .pic {
    width: 600px;
  }

  .arshine-team .bd .carousel-item__content .txt p {
    line-height: 28px;
  }




}


@media screen and (max-width: 992px) {

  .arshine-team .bd .carousel-item__content {
    display: block;
  }
  .arshine-team .bd .carousel-item__content .pic {
    width: 100%;
  }
  .arshine-team .bd .carousel-item__content .txt {
    margin: 20px 0 0;
    text-align: center;
  }


  .arshine-team .bd .carousel-item__content .txt h5::after {
    margin: 7px auto 0;
  }
  .arshine-team .bd .carousel-item__content .txt p {

    line-height: 24px;
  }
  .arshine-team .bd .carousel-item__content .txt a {
    line-height: 40px;
    font-size: 16px;
    padding: 0 30px;
    margin: 25px 0 0;
  }
  .arshine-team .hd {
    margin: 25px 0 0;
  }

}

@media screen and (max-width: 991px) {

  .arshine-team .list {
    margin: 30px 0 0;
  }
  .arshine-team .bd {
    width: 100%;
  }
  .arshine-team .bd img {
    width: 100%;
  }
  .arshine-team .bd .carousel-item__content {
    display: block;
  }
  .arshine-team .bd .carousel-item__content .pic {
    width: 100%;
  }
  .arshine-team .bd .carousel-item__content .txt {
    margin: 20px 0 0;
    text-align: center;
  }


  .arshine-team .bd .carousel-item__content .txt h5::after {
    margin: 7px auto 0;
  }
  .arshine-team .bd .carousel-item__content .txt p {
    line-height: 24px;
  }
  .arshine-team .bd .carousel-item__content .txt a {
    line-height: 40px;
    font-size: 16px;
    padding: 0 30px;
    margin: 25px 0 0;
  }

  .arshine-team .hd {
    margin: 25px 0 0;
    gap: 6px;
  }
  .arshine-team .hd > li {
    flex-basis: calc(100% / 3 - 10px);
  }


  .arshine-team .hd > li img{width: 60px;}
}


@media screen and (max-width: 767px) {
  .arshine-team .hd > li p{display: none;}
  .arshine-team .hd > li{min-width: auto;flex-basis: calc(100% / 6 - 10px);padding: 5px;}

}
