.t888-team{
    padding: 0 85px;
    /* border: 1px solid var(--forth-color); */
}
.t888-team img{
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1.425;
    object-fit: cover;
}
.member-name{
    text-align: center;
    margin-top: 40px;
    margin-bottom: 16px;
}
.member-position{
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
}
.member-socials{
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}
.member-socials a{
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--fifth-color);
}
.t888-team .swiper-button-prev{
    left: 30px;
     top: 35%;
     border: none;
     z-index: 5;
}
.t888-team .swiper-button-next{
    right: 30px;
     top: 35%;
     border: none;
     z-index: 5;
}

@media (max-width: 575px) {
.t888-team{
    padding: 0;
}
.t888-team .swiper-button-next{
    right: 10px;
    top: 29%;
}
.t888-team .swiper-button-prev{
    left: 10px;
    top: 29%;
}
}


/* style 2 */
.t888-team.style2{
    padding: 0px;
}

.t888-team.style2 .t888-team-grid{
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0,1fr));
  gap: 10px;

}

.t888-team.style2 .shop-layout-2-cols{ grid-template-columns: repeat(2,1fr); }
.t888-team.style2 .shop-layout-3-cols{ grid-template-columns: repeat(3,1fr); }
.t888-team.style2 .shop-layout-4-cols{ grid-template-columns: repeat(4,1fr); }
.t888-team.style2 .shop-layout-5-cols{ grid-template-columns: repeat(5,1fr); }

.t888-team.style2 .t888-team-item{
  text-align:center;
  position:relative;
}

.t888-team.style2 .t888-team-photo {
  width: 100%;
  aspect-ratio: 315 / 420; 
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
  position: relative;
}

.t888-team.style2 .member-socials{
  position:absolute; 
  left:50%;
   bottom:20px;
  display:flex;
  opacity:0; 
  transform:translateX(-50%);
   transition: 0.25s ease;
  margin: 0px;
}
.t888-team.style2 .t888-team-photo:hover .member-socials{
  opacity:1;
 
}
.t888-team.style2 .member-socials a{
  width:30px;
  height:30px;
  display:inline-flex; 
  align-items:center; 
  justify-content:center;
  background:var(--third-color);

   text-decoration:none;
}

.t888-team.style2 .member-name {
  font-family: 'Montserrat', sans-serif; 
  font-weight: 700;                     
  font-style: normal;                  
  font-size: 13px;                      
  line-height: 100%;                     
  letter-spacing: 0.1em;              
  text-transform: uppercase;            
  color: var(--primary-color);                           
  margin: 20px 0;
              
  text-align: center;                  
}
.t888-team.style2 .member-position{
  margin-bottom: 28px;
   color:var(--ninth-colo); 
   font-size:13px;
}

.t888-team.style2 .member-socials i{
    color: var(--primary-color);
}

@media (max-width: 991.98px){
  .t888-team.style2 .t888-team-grid{
    grid-template-columns: repeat(min(var(--cols,4),2), minmax(0,1fr));
  }
}
@media (max-width: 575.98px){
  .t888-team.style2 .t888-team-grid{
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap:10px;
  }
}




