body,html{font-size: 100px;height: 100%;width: 100%;max-width: 100%;}
body{overflow-x: hidden;}
*{font-size: 0.16rem;}
@media screen and (max-width: 1366px) {
	body,html{font-size: 70px;}
}
@media screen and (max-width: 1024px) {
	body,html{font-size: 50px;}
	*{font-size: 0.3rem;}
}
@media screen and (max-width: 768px) {
	body,html{font-size: 40px;}
	*{font-size: 0.4rem;}
}
@media screen and (max-width: 560px) {
	body,html{font-size: 30px;}
	*{font-size: 0.5rem;}
}
@media screen and (max-width: 375px) {
	body,html{font-size: 28px;}
	*{font-size: 0.55rem;}
}
@font-face {
    font-family: "HarmonyOS_Sans_SC_Regular";
    src: url("../fonts/HarmonyOS_Sans_SC_Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "HarmonyOS_Sans_SC_Bold";
    src: url("../fonts/HarmonyOS_Sans_SC_Bold.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "HarmonyOS_Sans_SC_Light";
    src: url("../fonts/HarmonyOS_Sans_SC_Light.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "HarmonyOS_Sans_SC_Medium";
    src: url("../fonts/HarmonyOS_Sans_SC_Medium.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Barlow";
    src: url("../fonts/Bold.woff") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "SourceHanSansCN";
    src: url("../fonts/SourceHanSansCN-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "KronaOne";
    src: url("../fonts/KronaOne.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "RTWSYueGoDemo";
    src: url("../fonts/RTWSYueGoTrial-ExLightCond.otf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

ul{list-style: none;padding: 0;margin: 0;}
option{font-size: 0.24rem;}
/* 优化 #project 选择框的 option 样式 - Element UI 风格 */
#project option{font-size: 0.16rem;padding: 0.12rem 0.2rem;background-color: #fff;color: #606266;transition: all 0.2s ease;border-bottom: 0.01rem solid #f0f0f0;}
#project option:hover{background-color: #ecf5ff;color: #409eff;}
#project option:checked{background-color: #f56c6c;color: #fff;}
.pd1{padding: 1rem 0;}

.dot{display: block;white-space: nowrap; text-overflow: ellipsis;overflow: hidden;}
/*多行文本省略号*/
.dot2,
.dot3,
.dot4,
.dot5{ display:-moz-box;display:box;display: -webkit-box;overflow: hidden;text-overflow: ellipsis;word-break: break-all;-webkit-box-orient: vertical;}
/*2行文本省略号*/
.dot2 {-webkit-line-clamp: 2;}
/*3行文本省略号*/
.dot3 {-webkit-line-clamp: 3;}
/*4行文本省略号*/
.dot4 {-webkit-line-clamp: 4;}
/*5行文本省略号*/
.dot5 {-webkit-line-clamp: 5;}
@keyframes guang {
    0% {
    -moz-transform: scale(1);
    transform: scale(1);
    opacity: 1;
   }
    100% {
    -moz-transform: scale(1.5);
    transform: scale(1.5);
    opacity: 0;
   }
   }
   @keyframes guang2 {
    0% {
    -moz-transform: scale(0) translate(-50%,-50%);
    transform: scale(0) translate(-50%,-50%);
    opacity: 1;
   }
    100% {
    -moz-transform: scale(1.2) translate(-50%,-50%);
    transform: scale(1.2) translate(-50%,-50%);
    opacity: 0;
   }
}

.w1600{width: 1600px;margin: 0 auto;max-width: 96%;}

.hide_two{text-overflow:-o-ellipsis-lastline;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;}
.hover_img{overflow:hidden;}
.hover_img img{transition:all .5s;-webkit-transition:all .5s;-moz-transition:all .5s;-ms-transition:all .5s;-o-transition:all .5s;width:100%;}
.hover_img:hover img{transform:scale(1.1);-webkit-transform:scale(1.1);-moz-transform:scale(1.1);-ms-transform:scale(1.1);-o-transform:scale(1.1);}

.imgbox{display: inline-block;overflow: hidden;position: relative;}
.imgbox img{object-fit: cover;}
.imgbox:hover>img{transform: scale(1.1);}
.background-img{position: absolute;width: 100%;height: 100%;top: 0;left: 0;object-fit: cover;}

.imgbox span {background-position: center center;background-repeat: no-repeat;background-size: cover;position: absolute;left: 0px;top: 0px;width: 100%;height: 100%;display: flex;align-items: center;justify-content: center;}

/* 视屏 */
.video_albox{position:fixed;left:0;top:0;right:0;bottom:0;z-index:9999;background-color:rgba(0,0,0,.2);}
.video_albox .video_albox_content{display:flex;align-items:center;justify-content:center;height:100%;}
.video_albox .video_albox_box{position:relative;width:70%;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);background-color:#000;border-radius:0.05rem;padding:0.3rem;}
.video_albox video{width:100%;height:100%;object-fit:contain;}
.video_albox .close{position:absolute;right:0;top:0;width:0.3rem;height:0.3rem;border-radius:50%;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%;z-index:1;cursor:pointer;}

.Pages{margin-top: 0.2rem;}
.p_page{display: flex;align-items: center;justify-content: space-between;}
.num-btn a{width: 0.4rem;height: 0.4rem;line-height: 0.4rem;text-align: center;border-radius: 50%;display: inline-block;}
.num-btn a:hover{background-color: #d1251a;color: #fff;}
.num-btn a.onnav{background-color: #d1251a;color: #fff;}
.num-btn .more-btn:hover{background-color: transparent;color: #333;}
.page-btn{display: flex;align-items: center;justify-content: center;}
.page-btn a{display: inline-block;margin: 0 0.1rem;}
.page-btn a:hover{color: #d1251a;}
@media(max-width:1024px){.video_albox .video_albox_box{width:90%;}
}
.fd::after{content:" ";display:block;clear:both;}
.fd{zoom:1;}
.app{display:none;}
.container{width:1600px;margin:0 auto;}
.base-container{width:1600px;margin:0 auto;height: 1rem;}
.pc{display:none;}
.app{display:block;}
}
.template{margin-top:0px;}
/* 导航 */
.nav{width:100%;height:1rem;background-color: #ecc758;height: 100px;background-image: url('../images/nav-bg.png');background-size: 100% auto;background-position: bottom center;background-repeat: no-repeat;display: flex;justify-content: center;align-items: center;}
.nav .mini{display: none;}
.nav .base-container{height: 1rem;width: 14.4rem;display: flex;align-items: center;justify-content: space-between;}
.nav .top-nav{display: flex;align-items: center;justify-content: center;margin-top: -0.1rem;}
.nav .top-nav li{margin: 0 0.1rem;}
.nav .top-nav li a{display: flex;align-items: center;justify-content: center;flex-direction: column;font-size: 0.14rem;}
.nav .top-nav li a img{width: 0.13rem;height: auto;opacity: 0;}
.nav .top-nav li a.onnav{color: #a42d1c;}
.nav .top-nav li a.onnav img{opacity: 1;}
.m-btn{display: none;cursor: pointer;padding:0.15rem 0.05rem;border-radius: 5px;z-index:999;margin-top:0;margin-left:0.24rem;}
.m-btn span{display: block;width:25px;height:3px;background:#d94343;position: relative;-webkit-transition: all 200ms cubic-bezier(.4,0,0,1);-o-transition: all 200ms cubic-bezier(.4,0,0,1);transition: all 200ms cubic-bezier(.4,0,0,1);}
.m-btn span::before, .m-btn span::after{content:'';display: block;height:3px;width:25px;background: #d94343;position: absolute;left: 0;-webkit-transition: all 200ms cubic-bezier(.4,0,0,1);-o-transition: all 200ms cubic-bezier(.4,0,0,1);transition: all 200ms cubic-bezier(.4,0,0,1);}
.m-btn span:before {top: -8px;}
.m-btn span:after {bottom: -8px;}
.m-btn.active span {background: transparent;}
.m-btn.active span:before {transform: rotate(-48deg) translate(-6px, 5px);-webkit-transform: rotate(-48deg) translate(-6px, 5px);-o-transform: rotate(-48deg) translate(-6px, 5px);width: 24px;}
.m-btn.active span:after {transform: rotate(48deg) translate(-6px, -5px);-webkit-transform: rotate(48deg) translate(-6px, -5px);-o-transform: rotate(48deg) translate(-6px, -5px);width: 24px;}
/* 导航栏结束 */



/* 底部导航栏 */
.foot{width: 100%;height: 1.32rem;background-image: url('../images/bottom.png');background-size: 100% auto;background-position: bottom center;background-repeat: no-repeat;display: flex;justify-content: center;align-items: center;}
.foot-content{width: 14.4rem;margin: 0 auto;display: flex;align-items: center;justify-content: space-between;}
.foot-left{display: flex;align-items: flex-start;justify-content: center;flex-direction: column;}
.foot-right{display: flex;align-items: center;justify-content: space-between;}
.foot-right .contact{display: flex;align-items: flex-start;justify-content: center;flex-direction: column;margin-right: 0.1rem;}
.foot-right img{width: 0.52rem;height: auto;}
.foot-right p{font-size: 0.24rem;}
.foot-right .contact .text{text-align: justify;}

/* 考试页面样式 */
.exam{width: 100%;height: 100%;display: flex;flex-direction: column;background-color: #ecc758;}
.exam-nav{background-color: #ecc758;height: 100px;background-image: url('../images/nav-bg.png');background-size: 100% auto;background-position: bottom center;background-repeat: no-repeat;}
.exam-view{flex: 1;display: flex;justify-content: center;align-items: flex-start;padding: 0.3rem 0;background-color: #ecc758;}
.exam-box{width: 14.4rem;margin: 0 auto;background-color: #f9f8f4;padding: 0.5rem 1rem;}

/* 考试页面通用样式 */
.exam-page{width: 100%;}
.exam-title{text-align: center;font-size: 0.3rem;margin-bottom: 0.5rem;font-weight: bold;color: #333;}
.success-title{color: #d94343;}
.exam-form{display: flex;flex-direction: column;gap: 0.3rem;}
.form-group{display: flex;background-color: #e8e8e3;border-radius: 0.4rem;padding: 0.15rem 0.3rem;position: relative;justify-content: space-between;}
.form-group.required::after{content: "*";color: #d94343;position: absolute;right: 0.3rem;top: 50%;transform: translateY(-50%);font-size: 0.12rem;}
.form-group label{font-size: 0.16rem;color: #666;width: 1.2rem;display: flex;align-items: center;flex-shrink: 0;}
.required{color: #d94343;}
.form-group input,.form-group select{padding: 0 0.3rem;border: none;font-size: 0.16rem;width: 100%;color: #666;text-align: right;}
.form-group input::placeholder{color: #999;}

/* 照片上传 */
.photo-upload{border: none;border-radius: 0.3rem;background-color: #e8e8e3;display: flex;align-items: center;justify-content: space-between;cursor: pointer;flex: 1;justify-content: flex-end;}
.photo-upload div{display: flex;flex-direction: column;margin-right: 0.1rem;}
.photo-text{font-size: 0.16rem;color: #999;width:100%;text-align: right;}
.photo-hint{font-size: 0.1rem;color: #ccc;width:100%;text-align: right;}
.photo-plus{color: #d94343;font-size: 0.3rem;font-weight: bold;}

/* 下拉选择框 - Element UI 风格 */
.select-wrapper{position: relative;background-color: #fff;border: 0.01rem solid #dcdfe6;border-radius: 0.08rem;display: flex;align-items: center;transition: all 0.3s ease;}
.select-wrapper:hover{border-color: #c03535;box-shadow: 0 0 0 0.01rem rgba(217,67,67,0.2);}
.select-wrapper select{appearance: none;-webkit-appearance: none;-moz-appearance: none;padding: 0.15rem 0.3rem;padding-right: 0.5rem;background-color: transparent;display: flex;align-items: center;height: 100%;cursor: pointer;}
.select-arrow{position: absolute;right: 0.3rem;top: 50%;transform: translateY(-50%);color: #999;font-size: 0.12rem;pointer-events: none;background-color: transparent;}
.select-arrow img{width: 0.13rem;height: auto;opacity: 0.6;transition: opacity 0.3s ease;}
.select-wrapper:hover .select-arrow img{opacity: 1;}

/* Element UI 风格下拉框（ul/li 版本） */
.el-select-wrapper{width: 100%;}
.el-select{position: relative;width: 100%;}
.el-select__input-wrapper{position: relative;display: flex;align-items: center;justify-content: space-between;transition: all 0.3s ease;cursor: pointer;outline: none;}
.el-select__input-wrapper:hover{border-color: #c03535;box-shadow: 0 0 0 0.01rem rgba(217,67,67,0.2);}
.el-select__input{width: 100%;padding: 0.15rem 0.3rem;border: none;background-color: transparent;font-size: 0.16rem;color: #666;cursor: pointer;}
.el-select__input::placeholder{color: #999;}
.el-select__caret{padding: 0 0.3rem;}
.el-select__caret img{width: 0.13rem;height: auto;opacity: 0.6;transition: opacity 0.3s ease;}
.el-select__input-wrapper:hover .el-select__caret img{opacity: 1;}
.el-select__dropdown{position: absolute;top: 100%;left: 0;width: 100%;margin-top: 0.05rem;background-color: #fff;border: 0.01rem solid #dcdfe6;border-radius: 0.08rem;box-shadow: 0 0.1rem 0.2rem rgba(0,0,0,0.1);z-index: 1000;max-height: 2rem;overflow-y: auto;}
.el-select__options{list-style: none;padding: 0;margin: 0;}
.el-select__option{padding: 0.12rem 0.2rem;font-size: 0.16rem;color: #606266;cursor: pointer;transition: all 0.2s ease;}
.el-select__option:hover{background-color: #ecf5ff;color: #409eff;}
.el-select__option.selected{background-color: #f56c6c;color: #fff;}

/* 提交按钮 */
.submit-btn{background-color: #d94343;color: #ecc758;border: none;border-radius: 0.4rem;font-size: 0.32rem;font-weight: bold;cursor: pointer;margin-top: 0.5rem;width: 100%;text-align: center;}
.submit-btn:hover{background-color: #c03535;}

/* 注册成功页面 */
.success-message{background-color: #e8e8e3;border-radius: 0.1rem;padding: 0.3rem;margin-top: 0.5rem;text-align: center;font-weight: bold;}
.success-message p{font-size: 0.18rem;color: #333;line-height: 1.5;}
.highlight{color: #d94343;font-weight: bold;}

/* 登录页面 */
.login-form{gap: 0.3rem;}
.input-with-btn{display: flex;align-items: center;}
.input-with-btn input{flex: 1;border-radius: 0.3rem 0 0 0.3rem;text-align: left;}
.verify-btn{background-color: transparent;border: none;font-size: 0.14rem;color: #999;cursor: pointer;padding: 0 0.2rem;white-space: nowrap;}
.login-form .warning{font-size: 0.14rem;color: #d94343;text-align: center;margin-top: 0.3rem;line-height: 1.5;}
#login-page .form-group input{text-align: left;}
#login-page .form-group label{width: 0.8rem;}
#login-page .input-with-btn{flex: 1;}

/* 考试页面 */
.exam-desc{text-align: center;font-size: 0.14rem;color: #9d8468;margin-bottom: 0.1rem;}
.question-container{background-color: #e8e8e3;border-radius: 0.1rem;padding: 0.3rem;margin-top: 0.3rem;}
.question-text{font-size: 0.18rem;color: #333;margin-bottom: 0.3rem;font-weight: bold;}
.options{display: flex;flex-direction: column;gap: 0.2rem;}
.option{display: flex;align-items: center;gap: 0.15rem;cursor: pointer;position: relative;padding: 0.1rem;border-radius: 0.3rem;transition: all 0.3s ease;}
.option input[type="radio"]{width: 0.2rem;height: 0.2rem;cursor: pointer;position: relative;z-index: 1;}
.option:has(input[type="radio"]:checked)::before{content: "";position: absolute;left: 0.2rem;top: 50%;transform: translate(-50%,-50%);width: 0.16rem;height: 0.16rem;border: 0.02rem solid #9d8468;border-radius: 50%;}
.option:has(input[type="radio"]:checked)::after{content: "";position: absolute;left: 0.2rem;top: 50%;transform: translate(-50%,-50%);width: 0.08rem;height: 0.08rem;border-radius: 50%;background-color: #9d8468;}
.option:has(input[type="checkbox"]:checked){background-color: rgba(209,37,26,0.2);}

.option span{font-size: 0.16rem;color: #666;}

/* 题目导航 */
.question-nav{display: flex;justify-content: space-between;align-items: center;margin-top: 0.3rem;}
.question-type-info{display: flex;gap: 0.4rem;}
.type-item{font-size: 0.12rem;color: #999;}
.type-name{margin-bottom: 0.05rem;}
.type-count{color: #666;}
.question-buttons{display: flex;gap: 0.2rem;}
.question-buttons button{border-radius: 0.3rem;font-size: 0.14rem;cursor: pointer;border: none;}
.prev-btn{background-color: #e8e8e3;color: #666;}
.next-btn{background-color: #d94343;color: #fff;}
.type-item.active *{color: #9d8468;cursor: pointer;}

/* 考试结束页面 */
.end-message{background-color: #e8e8e3;border-radius: 0.1rem;padding: 0.4rem;margin-top: 0.5rem;text-align: center;font-weight: 600;}
.end-message p{font-size: 0.24rem;color: #333;line-height: 1.5;margin: 0.2rem 0;}
.highlight-red{color: #d94343;font-weight: bold;font-size: 0.24rem;}
.end-hint{font-size: 0.16rem !important;color: #999 !important;margin-top: 0.2rem !important;}

/* 证书页面 */
.cert-header{background-color: #e8e8e3;border-radius: 0.1rem;padding: 0.3rem;margin-bottom: 0.3rem;display: block;}
.cert-info{display: flex;align-items: center;gap: 0.2rem;margin-bottom: 0.2rem;}
.cert-item-name{font-size: 0.18rem;color: #d94343;font-weight: bold;}
.cert-congrats{font-size: 0.16rem;color: #333;font-weight: bold;}
.cert-details{display: flex;gap: 0.4rem;font-size: 0.14rem;color: #999;flex-wrap: wrap;}
.cert-list{display: flex;flex-direction: column;gap: 0.3rem;}
.cert-item{background-color: #e8e8e3;border-radius: 0.1rem;padding: 0.3rem;}
.cert-title{font-size: 0.18rem;color: #333;margin-bottom: 0.2rem;font-weight: bold;}
.cert-info-detail{display: flex;gap: 0.4rem;font-size: 0.14rem;color: #999;flex-wrap: wrap;}

/* 摄像头模态框样式 */
.camera-modal{display: none;position: fixed;top: 0;left: 0;width: 100%;height: 100%;background-color: rgba(0,0,0,0.7);z-index: 10000;justify-content: center;align-items: center;}
.camera-modal-content{background-color: #fff;border-radius: 0.2rem;padding: 0.4rem;width: 6rem;max-width: 90%;text-align: center;}
.camera-title{font-size: 0.24rem;color: #333;margin-bottom: 0.3rem;font-weight: bold;}
.camera-video-container{width: 100%;height: 5rem;background-color: #000;border-radius: 0.1rem;overflow: hidden;margin-bottom: 0.3rem;}
.camera-video-container video{width: 100%;height: 100%;object-fit: cover;}
.camera-buttons{display: flex;gap: 0.2rem;justify-content: center;}
.camera-btn{padding: 0.2rem 0.5rem;border-radius: 0.3rem;font-size: 0.16rem;cursor: pointer;border: none;font-weight: bold;}
.cancel-btn{background-color: #e8e8e3;color: #666;}
.capture-btn{background-color: #d94343;color: #fff;}

/* 新闻详情页面 */
.newsInfo{
    width: 100%;
}
.red-center{
    width: 100%;
    display: flex;
    flex-direction: column;
}
.red-center-title{
    width: 100%;
    text-align: center;
    font-size: 0.24rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
}
.red-center-img{
    width: 100%;
    text-align: center;
}
.red-center-img img{
    width: 1.5rem;
}
.red-center-flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.red-center-flex .about-box{
    width: 33%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border: 0.01rem solid #ececec;
    border-radius: 0.04rem;
    padding: 0.3rem 0;
}
.red-center-flex .about-box .icon{
    width: 1rem;
    height: 1rem;
    margin-bottom: 0.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.red-center-flex .about-box .icon .img{
    width: 0.3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.red-center-flex .about-box .icon .bg{
    width: 1rem;
    height: 1rem;
}
.red-center-flex .about-box:hover .icon .bg{
    animation: scaleUp 8s linear infinite;
}
@keyframes scaleUp {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}
.red-center-flex .about-box .text{
    font-size: 0.16rem;
    color: #d1251a;
    text-align: center;
    height: 0.52rem;
    margin: 0.1rem 0;
}
.red-center-flex .about-box .text p{
    font-size: 0.16rem;
}
.red-center-flex .about-box .text .big{
    font-size: 0.24rem;
}
.red-center-flex .about-box .tips{
    font-size: 0.14rem;
    color: #999;
    text-align: center;
    margin-top: 0.1rem;
}



/* 首页 */
.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 横幅样式 */
.banner {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 50%;
    right: 0.2rem;
    transform: translateY(-50%);
    text-align: right;
}

.banner-text img {
    width: 6.26rem;
}

/* Swiper 轮播图样式 */
.banner-swiper{width: 100%;height: auto;position: relative;}
.banner-swiper .swiper-slide{position: relative;overflow: hidden;}
.banner-swiper .swiper-slide img{width: 100%;height: 100%;object-fit: cover;}
.banner-swiper .banner-text{position: absolute;top: 50%;right: 0.2rem;transform: translateY(-50%);text-align: right;z-index: 10;}
.banner-swiper .banner-text img{height: 2.47rem;}

.banner-swiper .swiper-pagination{bottom: 20px;}
.banner-swiper .swiper-pagination-bullet{background: #fff;opacity: 0.5;}
.banner-swiper .swiper-pagination-bullet-active{background: #d94343;opacity: 1;}
.banner-swiper .swiper-button-next,.banner-swiper .swiper-button-prev{color: #fff;}
.banner-swiper .swiper-button-next:after,.banner-swiper .swiper-button-prev:after{font-size: 0.3rem;font-weight: bold;}

/* 主要内容样式 */

.content-row {
    display: flex;
}

.phone-content{
    display: none;
    align-items: stretch;
}

.content-left {
    /* flex: 2; */
    width: calc(100% - 3.6rem);
}

.content-right {
    width: 3.6rem;
    flex-shrink: 0;
}

/* 非遗传承部分 */
.heritage-section {
    display: flex;
    background-color: #f5f6f0;
    height: 100%;
    padding: 0.1rem 0;
    padding-right: 0.3rem;
}

.heritage-image {
    flex: 1;
}

.heritage-image img {
    width: 100%;
    border-radius: 8px;
}

.heritage-content {
    flex: 2;
    margin-top: 0.5rem;
}

.heritage-content .heritage-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    text-align: center;
}

.heritage-content .h2 {
    font-size: 0.24rem;
    font-weight: bold;
    text-align: center;
}

.heritage-content .h3 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    color: #960e05;
}

.heritage-content .h3 div{
    width: 100%;
    text-align: right;
    font-size: 0.18rem;
    font-weight: 500;
}

.heritage-content .h3 div:nth-of-type(2){
    font-size: 0.14rem;
}

.heritage-content p{
    text-indent: 2em;
}

.heritage-content .more-link {
    color: #960e05;
    text-decoration: none;
    font-size: 14px;
}

/* 考试系统部分 */
.exam-system {
    background-color: #960e05;
    color: white;
    padding: 40px;
    text-align: center;
    height: 100%;
}

.exam-system img {
    width: 1.6rem;
    margin-bottom: 0.2rem;
}

.exam-system h3{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.exam-system h3 a{
    font-size: 0.30rem;
    color: #ecc758;
    line-height: 0.4rem;
    border-bottom: 0.05rem solid #ecc758;
}

.exam-system .btns{
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ecc758;
    width: 1rem;
    margin: 0 auto;
    margin-top: 0.2rem;
}

.exam-system .login-btn {
    display: inline-block;
    color: #ecc758;
    text-decoration: none;
    font-weight: bold;
}

/* 新闻动态部分 */
.news-section {
    padding-right: 0.2rem;
    box-sizing: border-box;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #f7e9bc;
}

.news-header h2 {
    font-size: 20px;
    color: #333;
    border-bottom: 2px solid #ecc758;
    margin-bottom: -2px;
}

.news-header .more-btn {
    text-decoration: none;
    font-size: 0.24rem;
}

.news-item {
    display: flex;
    padding: 15px 0;
}

.news-item a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 0.2rem;
}

.news-date {
    background-color: #f9c53e;
    padding: 0.05rem 0.1rem;
    margin-right: 0.1rem;
    font-size: 0.14rem;
    font-weight: bold;
    border-radius: 0.2rem;
}

.news-title {
    flex: 1;
    text-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 证书查询部分 */
.certificate-section {
    text-align: center;
}

.certificate-section a{
    display: inline-block;
    width: 100%;
    height: auto;
}

.certificate-section a img{
    width: 100%;
    height: auto;
}

.news-item:hover .news-date{
    color: #f9c53e;
    background-color: #9b0f06;
}

.news-item:hover .news-title{
    color: #9b0f06;
}

/* 新闻列表 */
.newsPage .banner-text img{
    width: 3.73rem;
}

.main-content{
    width: 14.4rem;
    margin: 0 auto;
    background-color: #f5f6f0;
    padding: 0.75rem 1.4rem;
}

.red-title{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.red-left{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
}

.red-left img{
    width: 0.65rem;
}

.red-right{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
}

.red-right div{
    width: 100%;
    text-align: right;
    font-size: 0.12rem;
    font-weight: 500;
    color: #d1251a;
}

.red-box{
    padding: 0.3rem 0;
    border-top: 0.05rem solid #d1251a;
    border-bottom: 0.05rem solid #d1251a;
    margin-top: 0.1rem;
}

.red-box .Pages{
    margin-bottom: -0.2rem;
}

/* 考试 */
.exam{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background-color: #ecc758;
}

.exam-nav{
    flex-shrink: 0;
}

.exam .footer{
    flex-shrink: 0;
}

.exam-nav .logo2{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.exam-nav .logo2 .left{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
}

.exam-nav .logo2 .left div{
    font-size: 0.14rem;
    text-align: right;
    color: #d1251a;
    width: 100%;
    font-weight: 400;
}

.exam-nav .logo2 .right{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    margin-left: 0.1rem;
}

.exam-nav .logo2 .right img{
    width: 0.45rem;
}

.exam-view{
    flex: 1;
    display: flex;
    justify-content: center;
}

.exam-box{
    width: 8.4rem;
    background-color: #fff;
    margin: 0.1rem;
    height: auto;
}

@media(max-width:1800px){.nav .base-container,.tk_nav .tk_top{width:100%;padding:0 5%;}}
@media(max-width:1500px){.nav .base-container,.tk_nav .tk_top{width:100%;padding:0 3%;}.container{width: 100%;max-width: 100%;}}
@media(max-width:1440px){
    .nav .base-container{width:100%;padding:0 3%;}
    .exam-system .btns{width: 1.6rem;}
    .foot{width: 100%;height: auto;background-size: cover;padding: 0.2rem;}
    .foot-content{width: 100%;}
    .foot-left{font-size: 0.24rem;}
    .foot-right{font-size: 0.24rem;}
}
@media(max-width:1366px){
    .red-left img{width: 1.2rem;}
    .red-right div{font-size: 0.24rem;}
    .news-date{font-size: 0.24rem;}
    .news-title{font-size: 0.24rem;}
    .Pages *{font-size: 0.24rem;}
    .red-center-title{font-size: 0.48rem;}
    .red-center-img img{width: 3.6rem;}
    .exam-nav .logo2 .left div{font-size: 0.32rem;}
    .exam-nav .logo2 .right img{width: 0.9rem;}
    .exam-title{font-size: 0.6rem;}
    .end-message p{font-size: 0.48rem;}
    .highlight-red{font-size: 0.48rem;}
    .end-hint{font-size: 0.36rem !important;}
    .form-group label{font-size: 0.36rem;width: 3rem;}
    #login-page .form-group label{width: 1.8rem;}
    .form-group input, .form-group select{font-size: 0.36rem;}
    .form-group.required::after{font-size: 0.36rem;}
    .form-group{padding: 0.3rem 0.6rem;border-radius: 1rem;}
    .photo-text{font-size: 0.36rem;}
    .photo-hint{font-size: 0.24rem;}
    .submit-btn{font-size: 0.36rem;height: 1rem;border-radius: 0.5rem;}
    .success-message p{font-size: 0.36rem;}
    .highlight{font-size: 0.36rem;}
    .verify-btn{font-size: 0.36rem;}
    .login-form .warning{font-size: 0.28rem;}
    .exam-desc{font-size: 0.28rem;}
    .question-text{font-size: 0.36rem;}
    .option span{font-size: 0.36rem;}
    .option:has(input[type="radio"]:checked)::before{width: 0.32rem;height: 0.32rem;border-width: 0.05rem;}
    .option:has(input[type="radio"]:checked)::after{width: 0.16rem;height: 0.16rem;}
    .question-buttons button{font-size: 0.28rem;border-radius: 0.8rem;}
    .cert-item-name{font-size: 0.36rem;}
    .cert-congrats{font-size: 0.36rem;}
    .cert-title{font-size: 0.36rem;}
    .red-center-flex .about-box .icon{width: 2rem;height: 2rem;}
    /* 移动端 #project option 样式 - Element UI 风格 */
    .select-wrapper{border-radius: 0.16rem;padding: 0.1rem;}
    .select-wrapper select{font-size: 0.32rem;padding: 0.2rem 0.4rem;}
    .select-arrow img{width: 0.26rem;}
    #project option{font-size: 0.32rem;padding: 0.2rem 0.3rem;}
    /* 移动端 Element UI 风格下拉框 */
    .el-select__input-wrapper{border-radius: 0.16rem;}
    .el-select__input{font-size: 0.32rem;padding: 0.2rem 0.4rem;}
    .el-select__caret img{width: 0.26rem;}
    .el-select__option{font-size: 0.32rem;padding: 0.2rem 0.3rem;}
    .el-select__dropdown{max-height: 4rem;}
    .red-center-flex .about-box .icon img{width: 0.6rem;}
    .red-center-flex .about-box .text{height: 1.2rem;}
    .red-center-flex .about-box .text p{font-size: 0.36rem;}
    .red-center-flex .about-box .tips{font-size: 0.28rem;}
    .content-left{width: calc(100% - 5.2rem);}
    .content-right{width: 5.2rem;}
    .cert-details *{font-size: 0.24rem;}
    .cert-info-detail *{font-size: 0.24rem;}
    .type-item *{font-size: 0.28rem;}
}
@media(max-width:1220px){.nav .base-container,.tk_nav .tk_top{width:100%;padding:0 0.3rem;}}
@media(max-width:768px){
    .nav{height: auto;padding: 0.4rem 0;}
    .nav .base-container,.container,.tk_nav .tk_top{width:100%;padding:0 0.15rem;}
    .nav .logo{width: 5rem;}
    .banner-swiper{height: auto;}
    .banner-swiper .swiper-slide img{object-fit: contain;}
    .content-row{flex-direction: column;}
    .heritage-content .h2{font-size: 0.6rem;}
    .heritage-content .h3 div{font-size: 0.48rem;}
    .heritage-content p{font-size: 0.48rem;}
    .exam-system{padding: 0.2rem 0;display: flex;flex-direction: column;align-items: center;justify-content: center;}
    .exam-system h3 a{font-size: 0.6rem;}
    .exam-system .btns{width: 2.8rem;}
    .content-right{display: none;}
    .phone-content{display: flex;align-items: stretch;background-color: #960e05;}
    .phone-left{display: flex;align-items: center;justify-content: center;flex: 2;}
    .phone-right{flex: 1;height: 100%;}
    .news-date{font-size: 0.36rem;}
    .news-title{font-size: 0.6rem;}
    .foot-content{flex-direction: column;justify-content: flex-end;}
    .foot-left{width: 100%;justify-content: center;}
    .foot-right{margin-top: 0.2rem;width: 100%;justify-content: flex-end;align-items: center;flex-direction: column;}
    .foot-right .contact{width: 100%;}
    .foot-right p{font-size: 0.48rem;}
    .foot-right img{width: 1rem;}
    .container{padding: 1.2rem 0.3rem;}
    .red-right div{font-size: 0.36rem;}
    .news-date{font-size: 0.36rem;}
    .news-title{font-size: 0.36rem;}
    .content-left{width: 100%;}
    .nav .top-nav li a img{display: none;}
    .nav .logo {height: 100%;width: auto;margin-right: 0.2rem;}
    .nav .logo img{height: 100%;}
    .nav .top-nav{position: absolute;right:0;top:1.8rem;bottom: 0;z-index: 9999;width:240px;background: #fff;width:0;opacity: 0;visibility: hidden;overflow: hidden;transition: all .5s;box-shadow: 0 0 10px rgba(0,0,0,0.1);flex-direction: column;justify-content: flex-start;align-items: flex-start;}
    .nav .top-nav li{height:2rem;width: 100%;display: flex;align-items: center;border-bottom: 1px dashed #e5e5e5;}
    .nav .top-nav li a{display: flex;width: 100%;height:100%;align-items: flex-start;justify-content: center;}
    .nav .top-nav li .onnav{color: #d1251a;}
    .m-btn{display: block;}
    .nav .top-nav.on{width:240px;opacity: 1;visibility: visible;}
    .foot-left{width: 80%;text-align: center;}
    .foot-left div{line-height: 1rem;display: flex;align-items: center;justify-content: center;width: 100%;flex-direction:column;}
    .foot-right{width: 80%;text-align: center;flex-direction: column-reverse;}
    .foot-right .contact{display: flex;justify-content: center;align-items: center;margin:0.4rem 0;}
    .foot-right .contact p{font-size: 0.6rem;margin-bottom: 0.2rem;}
    .num-btn a{font-size: 0.52rem;width: 1rem;height: 1rem;line-height: 1rem;text-align: center;border-radius: 50%;}
    .page-btn a{font-size: 0.52rem;}
    .red-center-flex .about-box .icon .bg{width: 2rem;height: 2rem;}
    .red-center-flex .about-box .icon .img{width: 0.6rem;}
    .red-center-flex .about-box .text{width: 80%;margin: 0 10%;}
    .red-center-flex .about-box .text p{font-size: 0.32rem;}
    .red-center-flex .about-box .text .big{font-size: 0.48rem;}
    .red-center-flex .about-box .tips{font-size: 0.32rem;}
    .cert-details *{font-size: 0.36rem;}
    .cert-info-detail *{font-size: 0.36rem;}
    .question-nav{flex-direction: column;}
    .question-buttons{margin-top: 0.2rem;}
    .question-buttons button{font-size: 0.36rem;padding: 0.24rem 0.6rem;border-radius: 1.5rem;}
    .exam-desc{font-size: 0.36rem;}
    .type-item *{font-size: 0.36rem;}
@media(max-width:425px){
    .phone-left{flex: 1;}
    .heritage-section{flex-direction: column-reverse;}
    .heritage-image{display: flex;justify-content: center;}
    .heritage-image img{width: 80%;}
    .news-date{font-size: 0.48rem;padding: 0.1rem 0.2rem;border-radius: 0.5rem;}
    .news-title{font-size: 0.48rem;}
}
