.teachers_block{
    padding: 55px 0 100px;
}

.single-program .teachers_block{
    padding: 80px 0;
    margin-top: 0;
}

.swiper {
    width: 100%;
    height: 100%;
  }
.swiper-slide{
    flex-direction: column;
    width: 325px;
    border: 1px solid #98ba66;
    border-radius: 24px;
    padding: 0 0 36px;
}
.teacher_photo{
    height: 325px;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
}
.teacher_photo img{
    display: block;
    width: 100%;
    height: 100%;
    max-width: 500px;
    max-height: 500px;
    object-fit: cover;
    object-position: center;
}
.teacher_profession{ 
    font-size: 1.38rem;
    font-weight: 500;
    line-height: 1; 
    height: 54px;
    border-radius: 8px;
    color: var(--white);
    background: var(--green-muted);
    padding: 0 24px;
    width: 70%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    /*transform: rotate(5deg);*/
    position: relative;
    top: -26px;
}
.swiper_name{ 
    font-weight: 400;
    font-size: 30px;
    line-height: 108%;
    letter-spacing: -0.02em;
    text-align: center;
    margin: 16px 0;
}
.single-program .swiper_name{
    margin-top: 30px;
    text-align: center;
}
.teachersSwiper ul li{ 
    font-weight: 400;
    font-size: 12px;
    line-height: 140%;
    letter-spacing: -0.03em;
    position: relative;
    text-align: center;
    max-width: 273px;
    margin: 0 auto 8px;
    padding-left: 19px;
    width: fit-content;
}
.teachersSwiper ul li span{
    color: #A1A1A1;
}
.teachersSwiper ul li  strong{
    font-weight: 700;
}
.teachersSwiper ul li::before{
    content: "";
    display: block;
    width: 11px;
    height: 14px;  
    background-image: url("data:image/svg+xml,%3Csvg width='15' height='12' viewBox='0 0 15 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.349609 5.8501L14.3496 5.8501M9.09961 0.350098L14.3496 5.8501L9.09961 11.3501' stroke='%23333333' stroke-width='0.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    left: 0;
    top: 0;
}
.swiper_btn{
    width: 52px;
    height: 52px; 
    background: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 20%;
    cursor: pointer;
    z-index: 20;
}
.swiper_btn_left{
    left: -26px;
}
.swiper_btn_rigth{
    right: -26px;
}
.single-program .swiper_btn{
    top: 35%;
}
.swiper_container{
    position: relative;
}
.teachers_block h2{
    margin: 0 0 60px;
}
.teachers_block h2 span{
    display: block;
}

.teachersSwiper .info-text{
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.02em;
    text-align: center;
    max-width: 273px;
    margin: 0 auto 16px;
}
.teachers_block .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{
    margin: 0;
    width: 60px;
    border-radius: 0;
    height: 3px;
    background-color: var(--green-muted);
    opacity: 0.2;
}

.teachers_block .swiper-pagination-bullets .swiper-pagination-bullet.swiper-pagination-bullet-active{
    background-color: var(--green-muted);
    border-radius: 20px;
    width: 60px;
    opacity: 1;
}
.teachers_block .swiper-pagination-bullets{
    bottom: -50px;
}
.teachers_block .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.teachers_block .swiper-slide {
    height: auto;
    display: flex;
    padding-bottom: 10px;
}

@media screen and (min-width: 1500px) {
    .swiper-slide{
        width: 420px;
    }
    
    .teacher_profession{
        font-size: 1.5rem;
    }
    .swiper_name{
        font-size: 2rem;
    }
    .teacher_photo{
        height: 420px;
    }
}

@media screen and (max-width: 1499px){
    .swiper_btn{
        top: 17%;
    }
}
@media screen and (max-width:1400px) {
    .swiper_container_teachers{
        padding:0 30px;
    }
    .swiper_btn_rigth{
        right: 0;
    }
    .swiper_btn_left{
        left: 0;
    }
}
@media screen and (max-width:767px) {
    .teachers_block{
        padding: 20px 0 30px;
    }
    .teachers_block h2{
        margin-bottom: 25px;
    }
    .teacher_profession{
        font-size: 1.13rem;
    }
    .swiper_container_teachers{
        padding:0px;
        margin: 0 -20px 0 0;
    }
    .swiper_name{
        font-size: 19px;
        margin-top: -14px;
        margin-bottom: 16px;
    }
    .teachers_block h2 span{
        display: inline;
    }

    .teachers_block .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{
        width: auto;
        padding: 0 5px;
    }

    .teachersSwiper ul li{
        font-size: 10px;
    }

    .teachersSwiper .swiper-slide{
        padding-bottom: 20px;
    }

    .teachers_block .swiper-pagination-bullets{
        bottom: -30px;
    }
}

@media screen and (max-width: 650px){
     .single-program .teachers_block{
        padding: 40px 0;
    }
}