<style>
 .team-memb    .team-member-name-title {
    white-space: nowrap;
    width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
   margin: 10px 0px 2px;
    text-align: center;
    color: #102448;
}
.team-memb .team-member-job-title{  
      color: #837575;
    white-space: nowrap;
    width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;

}  .team-memb  .card-image:hover{ 
    -webkit-box-shadow: 0px 0px 50px 0px rgba(0, 116, 228, 0.32);
    -moz-box-shadow: 0px 0px 50px 0px rgba(0, 116, 228, 0.32);
    -o-box-shadow: 0px 0px 50px 0px rgba(0, 116, 228, 0.32);
    box-shadow: 0px 0px 50px 0px rgba(0, 116, 228, 0.32);
}
.team-memb  .phnnumber {
    display: flex;
    align-items: center;
    justify-content: center;
 
    font-size: 15px;
    font-weight: 300;
} .team-memb  .phnnumber i{
    margin-right: 3px;
    margin-top: -5px;
}.team-memb  .phnnumber:hover a{ text-decoration:underline;color:skyblue;}
 .team-memb .card-image {
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border: 1px solid #e9e6e3;
    padding: 20px;
    margin: 0  0px;
    border-radius: 25px;
}.team-memb .card-image {
    cursor: pointer;
}.team-memb [class*="col-"] {
    padding: 0 10px;
} 
    .section-team {position:relative;z-index:1;}.section-team #team-slider{ overflow:hidden; } .section-team  .container{ position:relative;}
 .swiper-button-prev, .swiper-rtl .swiper-button-next {
    left: -50px;
    right: auto;
}
.swiper-button-next, .swiper-rtl .swiper-button-prev {
    right: -50px;
    left: auto;
}
.swiper-button-next, .swiper-button-prev { 
    color: #102448;
}.section-team .row.team-memb { 
    padding:  0 0px; 
}.section-team .card { 
    padding: 10px 0px;
}
.section-team .btn-primary { 
    color: #fff;
    border-radius: 50px;
    padding: 10px 35px;
    font-size: 16px;
}.post-link { position:absolute;left:0;right:0;top:0;bottom:0;}
.phnnumber { 
    position: relative;
    z-index: 1111;
}
</style>
<div class="section section-featured section-team  " style="background-color:#eee">
        <div class="container">
          <div class="row">
            <div class="col col-sm-12 page-content clearfix">
              <div class="featured-title-hold text-left clearfix">
                <h3 class="site-h1 animate text-center">Meet the Team </h3>
              </div>
            </div>
          </div>
          <div id="team-slider">
      	<div class="row team-memb swiper-wrapper">
    <?php if (!empty($teams)) { 
        foreach ($teams as $team) { 
		$image = $team->ArticleMainImage;  ?>
<div class="col-sm-3 team-member admin swiper-slide" data-category="admin" >
   <div class="card card-tertiary" data-id="459">
         
		 
      <div class="card-image">
         <img src="<?php echo $image;?>"   sizes="248px" style="height:128px" alt="<?php echo $team->title;?>" class="stb_image-team-thumbnail">
         <p class="team-member-name-title"><?php echo $team->title;?></p>
          <p class="team-member-job-title"><?php echo $team->sub_title;?></p>
          <p class="phnnumber"><i class="bi bi-phone"></i> <a href="tel:<?php echo Yii::t('app',$team->page_title,array(' '=>''));?>"><?php echo $team->page_title;?></a></p>
          <a class="post-link" href="<?php echo $this->app->createUrl('articles/team',array('name'=>$team->slug));?>"></a>
      </div>
      
      <!-- /.card-image -->
       <!-- /.card-content -->
   </div>
   <!-- /.card .card-tertiary -->
</div>


     
      
     <?php } ?>
    <hr />
    
    <div class="clearfix"><!-- --></div>
    
    <?php }  ?>
    </div>
     <div class="swiper-button-next"></div><div class="swiper-button-prev"></div> <div class="swiper-pagination swiper-pagination12"></div> 
</div>
        
        <a href="<?php echo $this->app->createUrl('articles/our_teams');?>" type="button" class="btn btn-primary">View All Team</a>
        
        </div>
      </div>
      
  