.teacher-grid {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -.15rem;
    padding-top: .2rem;}
.teacher-card {
    width: 50%;
    padding: 0 .15rem;
    margin-bottom: .3rem;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;}
.teacher-card-inner {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    padding: .2rem;
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;}
.teacher-card:hover .teacher-card-inner {
    -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);}
.teacher-img {
    width: 1.8rem;
    height: 2.3rem;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    overflow: hidden;}
.teacher-img img {
    width: 100%;
    height: 100%;
    display: block;}
.teacher-info {
    -ms-flex: 1;
    flex: 1;
    padding-left: .2rem;
    min-width: 0;}
.teacher-name {
    font-size: .22rem;
    font-weight: 700;
    color: #006B38;
    line-height: 1.2;
    margin: 0;}
.teacher-title {
    font-size: .16rem;
    font-weight: 600;
    color: #333;
    margin: .08rem 0 0 0;}
.teacher-desc {
    font-size: .14rem;
    color: #888;
    line-height: .24rem;
    margin: .12rem 0 0 0;
    text-indent: 0;}
.teacher-line {
    height: 1px;
    background: #e5e5e5;
    margin: .12rem 0;}
.teacher-btn-wrap {
    text-align: end;
    margin-top: .12rem;}
.teacher-btn {
    display: inline-block;
    padding: .06rem .25rem;
    font-size: .14rem;
    color: #006B38;
    border: 1px solid #006B38;
    background: #fff;
    text-align: center;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    text-decoration: none;}
.teacher-btn:hover {
    background: #006B38;
    color: #fff;}
/* 移动端适配 */
@media screen and (max-width: 768px) {
    .teacher-card {
        width: 100%;}
    
    .teacher-img {
        width: 1.2rem;
        height: 1.6rem;}
    
    .teacher-name {
        font-size: .18rem;}
    
    .teacher-title {
        font-size: .14rem;}
    
    .teacher-desc {
        font-size: .12rem;}
}
