.team_wrapper {
    grid-template-columns: repeat(3 , 1fr);
    row-gap: 60px;
    column-gap: 100px;
}
.team_img img{
    border-radius: 10px;
    overflow: hidden;
}
.team_info{
    padding: 32px 0 0;
    text-align: center;
}
.team_info .title_sm{
    color: var(--secondary);
    margin-bottom: 8px;
}

.specialist_doctor .doct_ctent .btnlist li:nth-child(odd) {
    padding-right: 0px;
    flex: none;
}

.specialist_wrapper { align-items: flex-start; }
.team_detailpg .team_detail .box_border:after {  right: -18px; }
.box_border{z-index: 1;}

.js_team_list .team_wrapper.slick-initialized {
    grid-template-columns: unset;
}

.js_team_list .teambox  { padding: 15px 30px; }
/* .js_team_list .box_border:after {right: -14px; } */
.team_list { margin-bottom: 50px;}

.js_team_list .team_wrapper  .teambox:not(:nth-child(-n + 3)) { display: none;}
.js_team_list .team_wrapper.slick-initialized .teambox { display: block;}
.team_detail .doct_ctent{
    padding: 0 110px 0 186px;
}
.team_detail .doct_img{margin-top: 25px;}

.team_wrapper .teambox:hover .team_info .title_sm ,
.team_wrapper .teambox:hover .team_info p{color: var(--golden); }
.team_wrapper .teambox:hover{transform: translate(0, -10px);}

/* START MEDIA QUERY */
@media screen and (max-width: 1439.98px){
    .team_wrapper{row-gap: 50px;column-gap: 40px;}

    .doct_ctent .dlist li:nth-child(odd), .doct_ctent .dlist li:nth-child(even) { flex:none;}
    .js_team_list .box_border:after { content: none;}
    .team_detail .doct_ctent {padding: 0 0 0 80px;}
    .team_detail .doct_img{margin-top: 0;}
    
}
@media screen and (max-width: 1199.98px){
    .team_info {padding: 15px 0 0;}
    .team_info .title_sm {margin-bottom: 5px;}
    .team_info p{line-height: 22px;}
    .team_wrapper{row-gap: 20px;column-gap: 20px;}
    
    .js_team_list .teambox {padding: 0px 10px;}
    .js_team_list .team_wrapper{padding-bottom: 18px;margin-bottom: 30px;}
    .js_team_list .team_wrapper .slick-arrow {top: inherit;bottom: -55px;}
    .js_team_list .team_wrapper .slick-arrow.slick-prev {left: calc(50% - 40px);}
    .js_team_list .slick-arrow.slick-next {right: calc(50% - 40px);}



}

@media screen and (max-width: 991.98px){
    .team_wrapper {grid-template-columns: repeat(2 , 1fr);}
    .doct_ctent .dlist li:nth-child(odd), .doct_ctent .dlist li:nth-child(even)  { flex: auto;width: 100%;}
    .doct_ctent .btnlist li:nth-child(even) {flex: 0 0 48%; }
    .team_detail .doct_ctent {padding: 0;}
}
@media screen and (max-width: 575.98px){
    .team_wrapper{row-gap: 10px;column-gap: 10px;}
    .js_team_list .teambox {padding: 0px 5px;}

}
