@charset "UTF-8";
.block-card{
    width: 1150px;
    margin: 0 auto;
    background:#fff;
    border-radius: 20px;
    padding: 30px 25px;
    margin-bottom: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:16px;
}
/*teacher-left*/
.teacher-left{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 15px 20px;
    background: url("../images/teacher_info_bg.png") no-repeat;
    background-size: 100% 100%;
}
.top-label{
    width: 100%;
    color: #3969f7;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 0;
}
.top-label span:first-child{
    margin-right: 10px;
}
.avatar-ring{
    width: 193px;
    margin-right: 24px;
}
.avatar-inner{
    width:193px;
    height:193px;
    border-radius: 50%;
    overflow:hidden;
}
.teacher-info{
    width: calc(100% - 217px);
}
.teacher-name{
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 12px;
}
.info-text{
    font-size:14px;
    color:#333;
    line-height: 24px;
}
.info-text p{
    position: relative;
    padding-left: 15px;
}
.info-text p::before{
    content: '·';
    position: absolute;
    left: 0;
}
/*video-wrap*/
.video-wrap{
    display:flex;
    flex-direction: column;
    gap:18px;
}
.video-row{
    background:#f4f5f7;
    border-radius: 14px;
    padding:18px;
    display:flex;
    gap:20px;
    align-items:center;
}
.cover-box{
    width:181px;
    height: 109px;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    border-radius: 15px;
    background: url("../images/excel_video_img.png") no-repeat;
    background-size: 100% 100%;
}
.play-circle{
    width:181px;
    height:109px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius: 15px;
    background-color: rgba(0,0,0,0.2);
}
.video-content h3{
    font-size: 22px;
    font-weight:600;
    margin-bottom: 12px;
}
.play-button{
    border: none;
    color: #fff;
    font-size: 16px;
    padding: 6px 30px;
    border-radius: 30px;
    cursor: pointer;
    background: #ec5270;
    box-shadow: 2px 2px 6px #ec6373;
}
.play-button:hover{
    background-color:#d83f5c;
}

/* video-modal */
.video-modal{
    position: fixed;
    top:0;
    left:0;
    width: 94%;
    height:100%;
    padding: 0 3%;
    z-index:999;
    display:none;
    align-items:center;
    justify-content:center;
    background-color:rgba(0,0,0,0.85);
}
.modal-inner{
    width:100%;
    max-width:1100px;
    position:relative;
}
.close-btn{
    width: 96%;
    height: 36px;
    color: #fff;
    padding: 0 2%;
    font-size: 15px;
    line-height: 36px;
    cursor: pointer;
    text-align: right;
    background-color: #e96273;
}
#playerVideo{
    width:100%;
    height: 620px;
}
/* loading样式 */
.video-loading{
    width:100%;
    height:100%;
    background:#222;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:16px;
}
/* 简单旋转动画 */
@keyframes spin {
    to {transform: rotate(360deg);}
}
.video-loading::before{
    content:"";
    width:32px;
    height:32px;
    border:3px solid #666;
    border-top-color:#fff;
    border-radius:50%;
    animation: spin 1s linear infinite;
    margin-right:10px;
}

@media (max-width: 1000px){
    .center{
        padding-top: 10px;
    }
    .block-card{
        width: 88%;
        margin-top: 5px;
        margin-bottom: 15px;
        padding: 15px 3%;
        border-radius: 10px;
        grid-template-columns: 1fr;
    }
    .teacher-left{
        padding: 12px;
    }
    .top-label{
        font-size: 12px;
        margin-bottom: 6px;
        line-height: 24px;
    }
    .top-label span:first-child{
        margin-right: 5px;
    }
    .avatar-ring{
        width: 100px;
        margin-right: 8px;
    }
    .avatar-inner{
        width: 100px;
        height: 100px;
    }
    .teacher-info{
        width: calc(100% - 108px);
    }
    .teacher-name{
        font-size: 18px;
        margin-bottom: 6px;
    }
    .info-text{
        font-size: 13px;
        line-height: 24px;
    }
    .info-text p{
        position: relative;
        padding-left: 13px;
    }

    /* video-wrap */
    .video-wrap{
        gap: 16px;
    }
    .video-row{
        border-radius: 10px;
        padding: 12px;
        gap: 15px;
    }
    .cover-box{
        width: 112px;
        height: 90px;
        border-radius: 10px;
        background: url("../images/excel_video_img.png") no-repeat;
        background-size: auto 100%;
        background-position: right center;
    }
    .play-circle{
        width: 112px;
        height: 90px;
        border-radius: 10px;
    }
    .play-circle img{
        width: 32px;
    }
    .video-content h3{
        font-size: 16px;
        font-weight:600;
        margin-bottom: 8px;
        letter-spacing: 0;
        line-height: 24px;
    }
    .play-button{
        font-size: 15px;
        padding: 5px 20px;
    }
    #playerVideo{
        height: 206px;
    }
}