/* 教师详情页面样式 */
.teacher_name h3{
    width: fit-content;
    font-family: Microsoft YaHei;
    font-weight: bold;
    font-size: 38px;
    color: #333333;
    line-height: 56px;
    background: linear-gradient(-90deg, #8A25CC 35.4736328125%, #0115A5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.t_top_box{
    display: flex;
    align-items: flex-start;
    margin: 20px 0;
}

.avatar{
    width: 220px;
    height: 296px;
    flex-shrink: 0;
}

.avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info_box{
    box-sizing: border-box;
    padding-left: 20px;
}

.info_box h3{
    font-size: 20px;
    color: #333333;
    line-height: 36px;
    margin-bottom: 10px;
}

.info_box p{
    font-size: 18px;
    color: #333333;
    line-height: 32px;
}

.t_bot_box{
    font-size: 18px;
    color: #333333;
    line-height: 42px;
}

.bot_tool{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 30px;
}

.bot_tool a{
    display: block;
    min-width: 120px;
    height: 36px;
    background: #791cb3;
    margin-left: 10px;

    font-size: 14px;
    color: #ffffff;
    text-align: center;
    line-height: 36px;
}


@media screen and (max-width: 1700px) {
    .teacher_name h3{
        font-size: 32px;
        line-height: 46px;
    }
}

@media screen and (max-width: 1400px) {
    .teacher_name h3{
        font-size: 28px;
        line-height: 40px;
    }
}

@media screen and (max-width: 998px) {
    .teacher_name{
        display: none;
    }

    .t_top_box{
        margin: 10px 0;
    }

    .avatar{
        width: 110px;
        height: 148px;
    }

    .info_box{
        padding-left: 10px;
    }

    .info_box h3{
        font-size: 16px;
        line-height: 24px;
    }

    .info_box p{
        font-size: 14px;
        line-height: 24px;
    }

    .t_bot_box{
        font-size: 14px;
        line-height: 28px;
    }

    .bot_tool{
        justify-content: center;
    }
}

@media screen and (max-width: 540px){
    .t_top_box{
        flex-wrap: wrap;
        margin: 0 0 10px 0;
    }  

    .avatar{
        margin: 0 auto;
    }
    
    .info_box{
        width: 100%;
        padding-left: 0;
        padding-bottom: 10px;
        border-bottom: 1px solid #D8D8D8;
    }

    .info_box h3{
        text-align: center;
        line-height: 32px;
    }
}