/* our-teachers */

.our-teachers {
    margin-bottom: 50px;
}

.our-teachers__caption {
    margin: 0 0 53px;
}

.our-teachers__top-text {
    margin: 0 0 38px;

    font-weight: 400;
    font-size: 16px;
    line-height: 125%;
    color: #333;
}

.our-teachers__top-text strong {
    font-weight: 700;
}

.our-teachers__top-list {
    margin: 55px 0 0;
    padding: 0;
    list-style: none;
}

.our-teachers__top-item {
    margin: 0 0 60px;
    padding: 0;
    display: grid;
    grid-template-columns: 272px 1fr;
    gap: 62px;
}

.our-teachers__top-item::before {
    display: none;
}

.our-teachers__list-img {
    position: relative;

    display: flex;
    justify-content: center;
    padding-left: 60px;
}

.our-teachers__list-img img {
    display: block;
    max-width: 100%;
}

.our-teachers__list-img::before {
    content: "";

    position: absolute;
    top: 0;
    right: 0;

    display: block;
    height: 94px;
    width: 2px;

    background-color: #1b3158;
}

.our-teachers__list-column {
    padding: 11px 100px 0 0;
    font-size: 24px;
    font-weight: 400;
    color: #1b3158;
    line-height: 1.46;
}

.our-teachers__list-column strong {
    font-weight: 700;
}

.our-teachers__bottom-text {
    margin: 26px 0 60px;
}

@media screen and (max-width: 1200px) {
    .our-teachers__list-img {
        padding-left: 0;
    }

    .our-teachers__list-column {
        padding-right: 0;
    }
}

@media screen and (max-width: 768px) {
    .our-teachers__slider {
        margin-top: 43px;
    }

    .our-teachers__top-item {
        display: block;
        margin-bottom: 30px;
    }

    .our-teachers__list-img::before {
        display: none;
    }

    .our-teachers__caption {
        margin-bottom: 27px;
    }

    .our-teachers__top-text {
        margin-bottom: 17px;

        font-size: 16px;
        text-align: center;
        line-height: 1.3;
    }

    .our-teachers__top-list {
        margin-top: 28px;
    }

    .our-teachers__list-img img {
        width: 96px;
        height: auto;
    }

    .our-teachers__top-list {
        margin-top: 28px;
    }

    .our-teachers__list-column {
        padding-top: 17px;

        font-size: 16px;
        font-weight: 400;
        line-height: 1.3;
        text-align: center;
    }
}

/* teachers-slider */

.teachers-slider {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
}

.teachers-slider__item {
    position: relative;
    padding: 0 54px 0 0;
    box-sizing: border-box;
    height: auto;
    flex-direction: column;
    display: flex;
}

.teachers-slider__item img {
    position: absolute;

    right: 15px;
    bottom: 0;
    max-height: 270px;
}

.teachers-slider__info {
    flex: 1 0 auto;
    padding: 16px 23px 10px;
    border-radius: 24px;
    min-height: 220px;

    background: rgba(9, 53, 137, 1);
}

.teachers-slider__info.red {
    background: linear-gradient(125.74deg, #c23f35 -1.47%, #ff1300 110.59%);
}

.teachers-slider__name {
    margin: 0 0 4px;

    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    color: #ffffff;
}

.teachers-slider__info-list {
    list-style: none;
    margin: 0;
    padding: 0 26% 0 0;
}

.teachers-slider__info-list li {
    margin: 0 0 12px;
    padding: 0;

    font-size: 400px;
    line-height: 1.38;
    font-size: 12px;
    color: #ffffff;
}

.teachers-slider__info-list li::before {
    display: none;
}

.teachers-slider__info-list li strong {
    font-weight: 600;
}

.teachers-slider__big-name {
    padding: 17px 0 0 21px;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.06;
    color: rgba(0, 0, 0, 0.5);
}

.teachers-slider__pagination-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    border-top: 7px solid rgba(119, 120, 123, 1);
}

.teachers-slider__pagination {
    position: static;
    margin: 11px 14% 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.teachers-slider__pagination .swiper-pagination-bullet {
    width: 14px;
    height: 14px;

    background: rgba(165, 164, 166, 0.5);
}

.teachers-slider__pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: rgba(9, 53, 137, 1);
}

.teachers-slider__pagination.red .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #ce2227;
}

.teachers-slider__btn-row {
    display: flex;
    background: linear-gradient(90.16deg, #427ae4 -18.05%, #09368b 33.95%);
}

.teachers-slider__btn-row.red {
    background: #ce2227;
}

.teachers-slider__btn-left,
.teachers-slider__btn-right {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 33px;
    border: none;
    padding: 0;
    background: none;
}

.teachers-slider__btn-right.swiper-button-disabled,
.teachers-slider__btn-left.swiper-button-disabled {
    background: rgba(255, 255, 255, 0.15);
}

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

    .teachers-slider__btn-right svg,
    .teachers-slider__btn-left svg {
        width: 17px;
        height: auto;
    }

    .teachers-slider__btn-left,
    .teachers-slider__btn-right {
        padding: 0 11px;
        width: 55px;
        height: 31px;
    }

    .teachers-slider__btn-left {
        justify-content: flex-start;
    }

    .teachers-slider__btn-right {
        justify-content: flex-end;
    }

    .teachers-slider__item {
        padding-bottom: 18px;
    }

    .teachers-slider__pagination {
        flex: 0 0 100%;
        margin-right: auto;
    }

    .teachers-slider__pagination-row {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 19px;
    }

    .teachers-slider__pagination .swiper-pagination-bullet {
        width: 14px;
        height: 14px;
    }
}