/* 通用样式重置  */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Microsoft Yahei", sans-serif;
  background-color: #fff;
}
img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
ul, li {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
/* 外层容器 */
.OuterBox{
	width: 100%;
	 padding-top:0.84rem ;
	 padding-bottom: 0.91rem;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	background-image: url("../images/bj.png");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

/* 授权码弹窗 */
.auth-card{
	width: 10.64rem;
	height: 6.26rem;
	background: #FFFFFF;
	box-shadow: 0px 0.03rem 0.06rem  0.01rem  rgba(0,0,0,0.16);
	border-radius: 0.16rem;
	border: 1px solid #FFFFFF;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.card-title{
	font-family: Source Han Sans CN, Source Han Sans CN;
	font-weight: 500;
	font-size: 0.36rem;
	color: #333333;
	padding-top: 0.84rem;
}
.line{
	width: 0.64rem;
	height: 0.08rem;
	background: #478DDC;
	border-radius: 0.06rem;
	margin-top: 0.24rem;
	margin-bottom: 0.64rem;
}

/* 验证码输入框容器 */
.code-wrap{
	width: 8.88rem;
	display: flex;
	justify-content: space-between;
	margin-bottom: 0.84rem;
}
.code-input{
	width: 1.28rem;
	height: 1.28rem;
	background: #FFFFFF;
	border-radius: 0.16rem;
	border: 0.01rem solid #CCCCCC;
	text-align: center;
	font-size: 0.36rem;
	outline: none;
	background-color: #ffffff;
	/* 输入框内十字背景图路径 */
	background-image: url("../images/cross.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 0.6rem;
	
}
.code-input:focus{
	border-color:#3488e8;
}

/* 验证按钮 */
.verify-btn{
	width: 8.88rem;
	height: 0.72rem;
	background: #478DDC;
	border-radius: 0.06rem;
	border: none;
	border-radius: 0.06rem;
	font-family: Source Han Sans CN, Source Han Sans CN;
	font-weight: 500;
	font-size: 0.24rem;
	color: #FFFFFF;
	
	cursor: pointer;
	text-align: center;
}
.verify-btn:active{
	background-color:#2878d2;
}
/*  页面2 种类 */
.Box1{
	/* padding-top:0.78rem ;
	padding-bottom: 0.97rem; */
}
/* ======== 新增分类页面样式开始 ======== */
/* 居中总盒子 宽度14.50rem */
.main-wrap{
	width: 14.50rem;
}
/* 三个卡片横向排列 */
.card-group{
	display: flex;
	justify-content: space-between;
	gap: 0.32rem;
}
/* 单个分类卡片 */
.type-card1,.type-card2,.type-card3{
	width: 4.48rem;
	height: 6.26rem;
	background: #FFFFFF;
	border-radius: 0.16rem;
	position: relative;
	
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	overflow: hidden;
	cursor: pointer;
}
/* 分别给三个卡片设置不同背景图 */
.type-card1{
	background-image: url("../images/shengyue.png");
}
.type-card2{
	background-image: url("../images/qiyue.png");
}
.type-card3{
	background-image: url("../images/gangqin.png");
}
/* 左上角文字区域 */
.card-text{
	position: absolute;
	top: 0.56rem;
	left: 0.48rem;
}
.type-card1 h3{
	font-family: Source Han Sans CN, Source Han Sans CN;
	font-weight: 500;
	font-size: 0.36rem;
	color: #FFFFFF;
	margin-bottom: 0.1rem;
}
.type-card1 p{
	font-family: Source Han Sans CN, Source Han Sans CN;
	font-weight: 400;
	font-size: 0.16rem;
	color: #ECECEC;
}
.type-card2 h3{
	font-family: Source Han Sans CN, Source Han Sans CN;
	font-weight: 500;
	font-size: 0.36rem;
	color: #333333;
	margin-bottom: 0.1rem;
}
.type-card2 p{
	font-family: Source Han Sans CN, Source Han Sans CN;
	font-weight: 400;
	font-size: 0.16rem;
	color: #CCCCCC;
}
.type-card3 h3{
	font-family: Source Han Sans CN, Source Han Sans CN;
	font-weight: 500;
	font-size: 0.36rem;
	color: #FFFFFF;
	margin-bottom: 0.1rem;
}
.type-card3 p{
	font-family: Source Han Sans CN, Source Han Sans CN;
	font-weight: 400;
	font-size: 0.16rem;
	color: #ECECEC;
}
/* ======== 新增分类页面样式结束 ======== */
/* 老师列表 */

.teacher-wrap{
	width: 14.50rem;
}
.teacher-list{
	display: flex;
	flex-wrap: wrap;
}
.teacher-item{
	width: 2.2rem;
	height: 2.74rem;
	position: relative;
	border-radius: 0.08rem;
	overflow: hidden;
	cursor: pointer;
	margin-right: 0.26rem;
	margin-bottom: 0.24rem;
}
/* 每行末尾清除右边距 */
.teacher-item:nth-child(6n){
	margin-right: 0;
}
/* 卡片内部底部渐变遮罩伪元素*/
.teacher-item::after{
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 2.2rem;
	height: 0.7rem;
	background: linear-gradient( 180deg, rgba(28,63,100,0) 0%, #1C3F64 100%);
	border-radius: 0px 0px 0px 0px;
	pointer-events: none;
	z-index: 1;
}
.teacher-img{
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.teacher-info{
	position: absolute;
	left: 0.12rem;
	bottom: 0.16rem;
	display: flex;
	z-index: 2;
}
.teacher-info .name{
	font-family: Source Han Sans CN, Source Han Sans CN;
	font-weight: 400;
	font-size: 0.2rem;
	color: #FFFFFF;
	margin-right: 0.09rem;
}
.teacher-info .title{
	font-family: Source Han Sans CN, Source Han Sans CN;
	font-weight: 400;
	font-size: 0.12rem;
	color: #FFFFFF;
}

/* 老师列表结束 */

/* ========教师详情页面样式 开始======== */
.detail-wrap{
	width:14.50rem;
	display:flex;
}
/* 左侧区域 */
.detail-left{
	width:3.3rem;
	display:flex;
	flex-direction:column;
	/* 右边外边距 */
	margin-right:1.28rem;
}
.avatar-box{
	width:3.3rem;
	height: 4.11rem;
    margin-bottom: 0.24rem;
}
.avatar-img{
	width:100%;
	height:100%;
	object-fit:cover;
}
.avatar-text{
	width: 2.82rem;
	margin: 0 auto;
}
.avatar-text h3{
	font-family: Source Han Sans CN, Source Han Sans CN;
	font-weight: 400;
	font-size: 0.2rem;
	color: #333333;
	margin-bottom:0.08rem;
}
.avatar-text h3 span{
	font-family: Source Han Sans CN, Source Han Sans CN;
	font-weight: 400;
	font-size: 0.12rem;
	color: #333333;
	margin-left:0.08rem;
}
.avatar-text p{
	font-family: Source Han Sans CN, Source Han Sans CN;
	font-weight: 400;
	font-size: 0.16rem;
	line-height: 0.25rem;
	color: #333333;
}
.sekuai{
	width: 0.48rem;
	height:0.05rem;
	background: #153860;
	border-radius: 0px 0px 0px 0px;
	margin-bottom: 0.24rem;
}
/* 右侧区域 */
.detail-right{
	width: 9.92rem;
	display:flex;
	flex-direction:column;
}
/* 模块之间：视频模块底部外边距，替代纵向gap */
.video-block{
	margin-bottom:0.64rem;
}

.block-title{
	font-family: Source Han Sans CN, Source Han Sans CN;
	font-weight: 500;
	font-size: 0.36rem;
	color: #333333;
	margin-bottom:0.36rem;
	/* 关键：压缩文字自带上下空白 */
	position: relative;
	/* 左侧预留空间给竖线 */
	padding-left: 0.16rem;
}
.block-title::before{
	content:"";
	position:absolute;
	left:0;
	/* 垂直居中核心 */
	top: 50%;
	transform: translateY(-45%);
	width:0.04rem;
	height:0.24rem;
	background:#E6A23C;
}
/* 视频模块 */
.video-box{
	width:100%;
	height: 5.58rem;
	position:relative;
}
.video-pic{
	width:100%;
	height:100%;
	object-fit:cover;
}


/* 证书列表 2行2列 */
.cert-list{
	width: 100%;
	display:flex;
	justify-content: space-between;
	flex-wrap:wrap;
}
.cert-item{
	width: 4.68rem;
	height: 2.63rem;
	margin-bottom:0.42rem;
}
.cert-img{
	width:100%;
	height:100%;
	object-fit:cover;
	/* object-fit: contain; */
}
/* ========教师详情页面样式 结束======== */