@charset "utf-8";

/* ==================== 全站基础样式开始 ==================== */
@font-face {
    font-family: "Barlow";
    src: url("../fonts/BARLOW-REGULAR.TTF") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Barlow";
    src: url("../fonts/BARLOW-MEDIUM.TTF") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Barlow";
    src: url("../fonts/BARLOW-SEMIBOLD.TTF") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Barlow";
    src: url("../fonts/Barlow-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "HarmonyOS Sans SC";
    src: url("../fonts/HarmonyOS_Sans_SC_Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "HarmonyOS Sans SC";
    src: url("../fonts/HarmonyOS_Sans_SC_Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --site-blue: #1d5182;
    --site-cyan: #2cc3d5;
    --site-red: #c93434;
    --site-dark: #20272d;
    --site-footer-text: #69747e;
    --site-pale: #f5fbff;
    --site-container: 1440px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: 320px;
    color: #333;
    background: #fff;
    font-family: "Barlow", Arial, "Microsoft YaHei", sans-serif;
}

body,
button,
input,
textarea,
select {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

button,
input {
    border: 0;
    outline: 0;
    background: none;
}

button {
    cursor: pointer;
}

[hidden] {
    display: none !important;
}

.site-container {
    width: var(--site-container);
    margin-right: auto;
    margin-left: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* ==================== 全站基础样式结束 ==================== */

/* ==================== 公共头部组件开始 ==================== */
.site-header {
    position: relative;
    z-index: 20;
    width: 100%;
    background: #fff;
}

.site-header-main {
    height: 143px;
    background: #fff;
}

.site-header-inner {
    height: 143px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.site-logo {
    width: 119px;
    height: 109px;
    object-fit: contain;
}

.site-brand-title {
    width: 522px;
    height: 62px;
    margin-left: 23px;
    object-fit: contain;
}

.site-search {
    width: 472px;
    height: 47px;
    display: flex;
    border: 1px solid #ccd5dd;
    background: #fff;
}

.site-search input {
    min-width: 0;
    flex: 1;
    padding: 0 27px;
    color: #454f5c;
    font-size: 16px;
}

.site-search input::placeholder {
    color: #a8b2c2;
    opacity: 1;
}

.site-search button {
    width: 56px;
    height: 46px;
    flex: 0 0 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--site-red);
}

.site-search button img {
    width: 28px;
    height: 27px;
}

.site-menu-button {
    display: none;
}

.site-nav {
    height: 100px;
    background: var(--site-blue);
}

.site-nav .site-container,
.site-nav ul {
    height: 100%;
}

.site-nav ul {
    width: 800px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-nav a {
    height: 100px;
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    transition: color .2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--site-cyan);
}

/* 考试体系页仅保留公共头部的 Logo 与搜索区域 */
.exam-shell-page .site-nav,
.exam-shell-page .site-menu-button {
    display: none;
}
/* ==================== 公共头部组件结束 ==================== */

/* ==================== 公共底部组件开始 ==================== */
.site-footer {
    width: 100%;
    height: 297px;
    color: var(--site-footer-text);
    background: var(--site-dark);
}

.site-footer-inner {
    height: 297px;
    padding-top: 54px;
}

.site-footer-contact {
    height: 113px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
}

.site-footer-contact address {
    font-style: normal;
}

.site-footer-contact > div {
    width: 234px;
}

.site-copyright {
    padding-top: 24px;
    border-top: 1px solid #3a444c;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
}
/* ==================== 公共底部组件结束 ==================== */

/* ==================== 内页公共 Banner 开始 ==================== */
.inner-banner {
    width: 100%;
    height: 360px;
    overflow: hidden;
    background: #dce8ef;
}

.inner-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ==================== 内页公共 Banner 结束 ==================== */

/* ==================== 新页面模板占位样式开始 ==================== */
.template-main {
    min-height: 812px;
}
/* ==================== 新页面模板占位样式结束 ==================== */

/* ==================== 首页样式开始 ==================== */
.home-banner {
    width: 100%;
    height: 482px;
    overflow: hidden;
}

.home-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-main {
    min-height: 1289px;
    padding: 82px 0 49px;
    background: #fff;
}

.home-intro {
    display: grid;
    grid-template-columns: minmax(0, 760px) 614px;
    gap: 66px;
    align-items: start;
}

.home-intro-copy h1 {
    margin: 3px 0 32px;
    color: #30343a;
    font-size: 31px;
    line-height: 1.25;
    font-weight: 400;
}

.home-intro-copy p {
    color: #4a4d50;
    font-size: 17px;
    line-height: 1.98;
    font-weight: 500;
    text-align: center;
}

.home-detail-link {
    margin-top: 41px;
    display: inline-flex;
    align-items: center;
    color: var(--site-blue);
    font-size: 16px;
    font-weight: 600;
}

.home-detail-link span {
    margin-left: 23px;
    font-size: 29px;
    line-height: 1;
}

.home-entry-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.home-entry-card {
    height: 453px;
    color: #fff;
    position: relative;
}

.home-entry-exam {
    background: #1b4c7c;
}

.home-entry-certificate {
    background: #1daab4;
}

.home-entry-main {
    height: 100%;
    padding: 91px 49px 40px;
    display: block;
}

.home-entry-main h2 {
    color: #fff;
    font-size: 31px;
    line-height: .98;
    font-weight: 700;
}

.home-account-links {
    position: absolute;
    left: 61px;
    bottom: 129px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    font-weight: 600;
}

.home-account-links a:first-child {
    color: #ffad00;
}

.home-certificate-tip {
    position: absolute;
    left: 61px;
    bottom: 131px;
    font-size: 14px;
    font-weight: 600;
}

.home-search-symbol {
    position: absolute;
    right: 31px;
    bottom: 31px;
    width: 54px;
    height: 54px;
    border: 8px solid rgba(255, 255, 255, .72);
    border-radius: 50%;
}

.home-search-symbol::after {
    content: "";
    position: absolute;
    right: -18px;
    bottom: -14px;
    width: 28px;
    height: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
    transform: rotate(45deg);
    transform-origin: left center;
}

.home-news {
    margin-top: 91px;
}

.home-news-heading {
    height: 31px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.home-news-heading h2 {
    color: #30343a;
    font-size: 31px;
    line-height: 1;
    font-weight: 400;
}

.home-news-heading > a {
    margin-right: -162px;
    color: #cbd6dd;
    font-size: 30px;
    line-height: 1;
    font-weight: 300;
}

.home-news-item {
    border-bottom: 1px solid #d2dde2;
}

.home-news-item:last-child {
    border-bottom: 0;
}

.home-news-item > a {
    min-height: 194px;
    display: grid;
    grid-template-columns: 172px minmax(0, 1fr) 28px;
    column-gap: 100px;
    align-items: center;
}

.home-news-item time {
    width: 172px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--site-blue);
    background: #cbd4da;
    font-size: 18px;
    font-weight: 700;
}

.home-news-item p {
    color: #222;
    font-size: 18px;
    line-height: 1.95;
    font-weight: 500;
}

.home-news-item > a > span {
    color: #cbd6dd;
    font-size: 30px;
    line-height: 1;
    transition: transform .2s ease;
}

.home-news-item.is-current p,
.home-news-item.is-current > a > span,
.home-news-item:hover p,
.home-news-item:hover > a > span {
    color: var(--site-blue);
}

.home-news-item:hover > a > span {
    transform: translateX(5px);
}

/* 首页 UI 画布中的公共底部为紧凑高度，仅调整容器高度，不改变公共组件内容 */
.home-page .site-footer,
.home-page .site-footer-inner {
    height: 254px;
}
/* ==================== 首页样式结束 ==================== */

/* ==================== 关于我们页面样式开始 ==================== */
.about-main {
    height: 812px;
    padding-top: 169px;
}

.about-main h1 {
    color: #28231f;
    text-align: center;
    font-size: 31px;
    line-height: 1.3;
    font-weight: 400;
}

.about-copy {
    margin-top: 71px;
}

.about-copy p {
    color: #424242;
    font-size: 18px;
    line-height: 2.04;
    font-weight: 500;
    text-align: center;
}
/* ==================== 关于我们页面样式结束 ==================== */

/* ==================== 新闻动态页面样式开始 ==================== */
.news-list-main {
    height: 1340px;
    padding-top: 96px;
}

.news-list-row {
    border-bottom: 1px solid #d2dde2;
}

.news-list-row > a {
    min-height: 194px;
    display: grid;
    grid-template-columns: 172px minmax(0, 1fr) 28px;
    column-gap: 100px;
    align-items: center;
}

.news-list-row time {
    width: 172px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--site-blue);
    background: #cbd4da;
    font-size: 18px;
    font-weight: 700;
}

.news-list-row p {
    color: #222;
    font-size: 18px;
    line-height: 1.95;
    font-weight: 500;
}

.news-list-row > a > span {
    color: #cbd6dd;
    font-size: 30px;
    line-height: 1;
    transition: transform .2s ease;
}

.news-list-row.is-current p,
.news-list-row.is-current > a > span,
.news-list-row:hover p,
.news-list-row:hover > a > span {
    color: var(--site-blue);
}

.news-list-row:hover > a > span {
    transform: translateX(5px);
}

/* 项目现有 Pages 分页组件样式 */
.Pages {
    margin-top: 85px;
}

.Pages .p_page {
    display: grid;
    grid-template-columns: 53px 1fr 53px;
    align-items: center;
}

.Pages .page-prev,
.Pages .page-next {
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d0dbe1;
    font-size: 28px;
    line-height: 1;
}

.Pages .page-next {
    color: #fff;
    border-radius: 2px;
    background: var(--site-blue);
}

.Pages .num-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.Pages .num-btn a,
.Pages .num-btn span {
    color: #929292;
    font-size: 17px;
}

.Pages .num-btn a.onnav,
.Pages .num-btn a:hover {
    color: var(--site-blue);
    font-weight: 700;
}
/* ==================== 新闻动态页面样式结束 ==================== */

/* ==================== 新闻详情页面样式开始 ==================== */
.news-detail-main {
    min-height: 812px;
    padding: 90px 70px 110px;
}

.news-detail-main header {
    padding-bottom: 34px;
    text-align: center;
    border-bottom: 1px solid #d2dde2;
}

.news-detail-main h1 {
    color: #202a32;
    font-size: 32px;
    line-height: 1.4;
    font-weight: 500;
}

.news-detail-main time {
    margin-top: 14px;
    display: block;
    color: #82909a;
    font-size: 16px;
}

.news-detail-main article {
    max-width: 1150px;
    margin: 46px auto 0;
}

.news-detail-main article p {
    margin-bottom: 22px;
    color: #3c4348;
    font-size: 18px;
    line-height: 2;
}

.news-back {
    margin: 25px 0 0 75px;
    display: inline-flex;
    color: var(--site-blue);
    font-size: 17px;
    font-weight: 600;
}
/* ==================== 新闻详情页面样式结束 ==================== */

/* ==================== 联系我们页面样式开始 ==================== */
.contact-main {
    height: 737px;
    padding: 117px 0 157px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 88px;
}

.contact-card {
    height: 463px;
    padding: 51px 40px 42px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #e2e2e2;
    background: #fff;
}

.contact-icon {
    width: 56px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    background: var(--site-blue);
}

.contact-icon img {
    width: auto;
    height: auto;
}

.contact-card-copy h1 {
    margin-bottom: 43px;
    color: #241d19;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 500;
}

.contact-card-copy p {
    color: #6f6f6f;
    font-size: 16px;
    line-height: 1.85;
    font-weight: 600;
}
/* ==================== 联系我们页面样式结束 ==================== */

/* ==================== 考试体系页面公共样式开始 ==================== */
.exam-shell-page {
    background: var(--site-pale);
}

.system-main {
    min-height: 1535px;
    padding: 126px 0 172px;
    background: var(--site-pale);
}

.system-panel {
    width: 1442px;
    min-height: 1238px;
    margin: 0 auto;
    border: 1px solid #d8e5eb;
    background: #fff;
}
/* ==================== 考试体系页面公共样式结束 ==================== */

/* ==================== 注册页面样式开始 ==================== */
.register-form-view {
    padding: 90px 148px 100px;
}

.register-heading h1 {
    color: #303030;
    text-align: center;
    font-size: 44px;
    line-height: 1.02;
    font-weight: 600;
}

.register-form {
    margin-top: 81px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.register-form label {
    height: 77px;
    padding: 0 39px;
    display: flex;
    align-items: center;
    position: relative;
    border: 1px solid #b7cbd9;
    border-radius: 3px;
    background: #fff;
}

.register-form label span {
    width: 260px;
    flex: 0 0 260px;
    color: #424242;
    font-size: 18px;
    font-weight: 500;
}

.register-form input {
    min-width: 0;
    height: 60px;
    flex: 1;
    padding: 0 20px;
    color: #333;
    font-size: 18px;
}

.register-form label i {
    position: absolute;
    right: 45px;
    color: #65a0cb;
    font-size: 19px;
    font-style: normal;
}

.register-form > button {
    height: 77px;
    margin-top: 12px;
    color: #ffca35;
    border-radius: 3px;
    background: var(--site-blue);
    font-size: 29px;
    font-weight: 600;
}

.register-success-view {
    padding-top: 138px;
    text-align: center;
}

.register-success-view > img {
    width: 194px;
    height: 194px;
    margin: 0 auto;
}

.register-success-view h1 {
    margin-top: 43px;
    color: #424242;
    font-size: 45px;
    line-height: 1.25;
    font-weight: 500;
}

.register-success-view a {
    margin-top: 31px;
    display: inline-block;
    color: var(--site-blue);
    font-size: 36px;
    line-height: 1.3;
}
/* ==================== 注册页面样式结束 ==================== */

/* ==================== 登录页面样式开始 ==================== */
.login-panel {
    width: 1442px;
    height: 988px;
    margin: 0 auto;
    padding: 202px 148px 80px;
    background: #f5f6f0;
}

.login-panel > h1 {
    color: #2c1b0e;
    text-align: center;
    font-family: "HarmonyOS Sans SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
}

.login-form {
    margin-top: 84px;
}

.login-form label {
    height: 77px;
    padding: 0 41px;
    display: flex;
    align-items: center;
    position: relative;
    border-radius: 40px;
    background: #e5e7dc;
}

.login-form label + label {
    margin-top: 23px;
}

.login-form label span {
    width: 180px;
    flex: 0 0 180px;
    color: #95642e;
    font-family: "HarmonyOS Sans SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 24px;
}

.login-form input {
    min-width: 0;
    height: 58px;
    flex: 1;
    padding: 0 20px;
    color: #513a26;
    font-size: 22px;
}

.code-button {
    flex: 0 0 auto;
    color: #95642e;
    font-family: "HarmonyOS Sans SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 24px;
    white-space: nowrap;
}

.login-submit {
    width: 100%;
    height: 77px;
    margin-top: 67px;
    color: #ffce32;
    border-radius: 40px;
    background: #d1251a;
    font-family: "HarmonyOS Sans SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 40px;
    font-weight: 700;
}

.exam-warning {
    margin-top: 67px;
    color: #f12920;
    text-align: center;
    font-family: "HarmonyOS Sans SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 24px;
    line-height: 1.25;
}
/* ==================== 登录页面样式结束 ==================== */

/* ==================== 考试页面样式开始 ==================== */
.exam-system-main {
    padding-top: 66px;
}

.question-view {
    min-height: 873px;
    padding: 107px 148px 65px;
}

.question-heading {
    text-align: center;
}

.question-heading h1 {
    color: #333;
    font-size: 31px;
    line-height: 1.16;
    font-weight: 600;
}

.question-heading p {
    margin-top: 22px;
    color: #777;
    font-size: 18px;
    line-height: 1.4;
}

.question-heading small {
    margin-top: 7px;
    display: block;
    color: #b2b2b2;
    font-size: 18px;
    line-height: 1.35;
}

.question-card {
    height: 383px;
    margin-top: 45px;
    padding: 66px 47px;
    background: #f7f7f7;
}

.question-card h2 {
    color: #261a10;
    font-size: 24px;
    line-height: 1.45;
    font-weight: 500;
}

.question-options {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.question-options label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.question-options input {
    width: 15px;
    height: 15px;
    margin-right: 24px;
    flex: 0 0 15px;
    appearance: none;
    border: 2px solid #929292;
    border-radius: 50%;
    position: relative;
}

.question-options input:checked {
    border-color: var(--site-blue);
}

.question-options input:checked::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--site-blue);
}

.question-options span {
    color: #666;
    font-size: 20px;
    line-height: 1.3;
}

.question-footer {
    margin-top: 37px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.question-progress {
    padding-left: 128px;
    display: flex;
    align-items: center;
    gap: 122px;
}

.question-progress span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #e3e4db;
}

.question-actions {
    display: flex;
    gap: 14px;
}

.question-actions button {
    width: 160px;
    height: 59px;
    color: #777;
    border-radius: 3px;
    background: #e9eae2;
    font-size: 18px;
}

.question-actions button:last-child {
    color: #ffca35;
    background: var(--site-blue);
}

.exam-over-view {
    min-height: 776px;
    padding: 207px 148px 80px;
    text-align: center;
}

.exam-over-view > h1 {
    color: #333;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 500;
}

.exam-over-card {
    height: 312px;
    margin-top: 63px;
    padding: 54px 88px;
    background: #f7f7f7;
    text-align: left;
}

.exam-over-card p {
    color: #3b3b3b;
    font-size: 37px;
    line-height: 1.3;
}

.exam-over-card strong {
    color: var(--site-blue);
    font-weight: 500;
}

.exam-over-card small {
    margin-top: 24px;
    display: block;
    color: #888;
    font-size: 18px;
    font-weight: 600;
}
/* ==================== 考试页面样式结束 ==================== */

/* ==================== 证书结果页面样式开始 ==================== */
.certificate-results-main {
    min-height: 1535px;
    padding: 150px 0 180px;
    background: var(--site-pale);
}

.certificate-results-main > header {
    text-align: center;
}

.certificate-results-main > header p {
    color: #261a10;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 600;
}

.certificate-results-main > header h1 {
    margin-top: 20px;
    color: #261a10;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 500;
}

.certificate-result-list {
    width: 1142px;
    margin: 65px auto 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.certificate-result-card {
    height: 212px;
    padding: 36px 59px;
    display: block;
    border: 1px solid #d8e5eb;
    border-radius: 4px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.certificate-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(32, 88, 138, .12);
}

.certificate-result-card h2 {
    margin-bottom: 25px;
    color: #303030;
    font-size: 25px;
    line-height: 1.3;
    font-weight: 500;
}

.certificate-result-card p,
.certificate-result-card strong {
    color: #999;
    font-size: 18px;
    line-height: 1.65;
}

.certificate-result-card strong {
    color: #666;
}
/* ==================== 证书结果页面样式结束 ==================== */

/* ==================== 证书页面样式开始 ==================== */
.certificate-main {
    min-height: 1535px;
    padding-top: 37px;
    background: var(--site-pale);
}

.certificate-main > img {
    width: 1060px;
    height: 1420px;
    margin: 0 auto;
}
/* ==================== 证书页面样式结束 ==================== */

/* ==================== 中等屏幕自适应开始 ==================== */
@media (max-width: 1600px) {
    .site-container {
        width: calc(100% - 80px);
    }

    .site-brand-title {
        width: min(34vw, 522px);
        height: auto;
    }

    .site-search {
        width: min(32vw, 472px);
    }

    .home-intro {
        grid-template-columns: minmax(0, 1.2fr) minmax(540px, .95fr);
        gap: 50px;
    }

    .home-news-heading > a {
        margin-right: 0;
    }

    .system-panel,
    .login-panel {
        width: calc(100% - 80px);
    }
}

@media (max-width: 1200px) {
    .site-brand-title {
        width: 390px;
    }

    .site-search {
        width: 350px;
    }

    .site-nav ul {
        width: 700px;
    }

    .home-intro {
        grid-template-columns: 1fr;
    }

    .home-entry-list {
        width: 614px;
        margin: 0 auto;
    }

    .home-main {
        min-height: 0;
    }

    .home-news-item > a,
    .news-list-row > a {
        grid-template-columns: 155px minmax(0, 1fr) 28px;
        column-gap: 46px;
    }

    .contact-main {
        gap: 30px;
    }

    .register-form-view,
    .question-view,
    .exam-over-view,
    .login-panel {
        padding-right: 70px;
        padding-left: 70px;
    }

    .certificate-main > img {
        width: min(1060px, calc(100% - 80px));
        height: auto;
    }
}
/* ==================== 中等屏幕自适应结束 ==================== */

/* ==================== 移动端自适应开始 ==================== */
@media (max-width: 768px) {
    .site-container,
    .system-panel,
    .login-panel {
        width: calc(100% - 40px);
    }

    .site-header-main,
    .site-header-inner {
        height: 90px;
    }

    .site-logo {
        width: 66px;
        height: 61px;
    }

    .site-brand-title {
        width: min(55vw, 290px);
        margin-left: 12px;
    }

    .site-search {
        display: none;
    }

    .site-menu-button {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        border-radius: 3px;
        background: var(--site-blue);
    }

    .site-menu-button span {
        width: 25px;
        height: 2px;
        display: block;
        border-radius: 2px;
        background: #fff;
        transition: transform .25s ease, opacity .2s ease;
    }

    .site-menu-button[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .site-menu-button[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .site-menu-button[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .site-nav {
        height: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }

    .site-nav.is-open {
        height: auto;
        max-height: 240px;
    }

    .site-nav .site-container,
    .site-nav ul {
        width: 100%;
        height: auto;
    }

    .site-nav ul {
        display: block;
    }

    .site-nav li + li {
        border-top: 1px solid rgba(255, 255, 255, .12);
    }

    .site-nav a {
        width: 100%;
        height: 54px;
        padding: 0 20px;
        justify-content: flex-start;
        font-size: 16px;
    }

    .site-footer,
    .site-footer-inner {
        height: auto;
        min-height: 315px;
    }

    .home-page .site-footer,
    .home-page .site-footer-inner {
        height: auto;
        min-height: 315px;
    }

    .site-footer-inner {
        padding-top: 37px;
        padding-bottom: 35px;
    }

    .site-footer-contact {
        height: auto;
        display: block;
        font-size: 14px;
        line-height: 1.5;
    }

    .site-footer-contact > div {
        width: auto;
        margin-top: 22px;
    }

    .site-copyright {
        margin-top: 29px;
        padding-top: 24px;
        font-size: 13px;
        line-height: 1.6;
    }

    .inner-banner {
        height: 230px;
    }

    .home-banner {
        height: 260px;
    }

    .home-banner img {
        object-position: center;
    }

    .home-main {
        padding: 48px 0 60px;
    }

    .home-intro {
        display: block;
    }

    .home-intro-copy h1 {
        margin: 0 0 24px;
        font-size: 26px;
    }

    .home-intro-copy p {
        font-size: 15px;
        line-height: 1.8;
        font-weight: 400;
    }

    .home-detail-link {
        margin-top: 28px;
        font-size: 15px;
    }

    .home-entry-list {
        width: 100%;
        margin-top: 42px;
        gap: 12px;
    }

    .home-entry-card {
        height: 330px;
    }

    .home-entry-main {
        padding: 55px 28px 24px;
    }

    .home-entry-main h2 {
        font-size: 25px;
    }

    .home-account-links,
    .home-certificate-tip {
        left: 28px;
        bottom: 77px;
        font-size: 12px;
    }

    .home-search-symbol {
        right: 28px;
        bottom: 29px;
        transform: scale(.78);
        transform-origin: right bottom;
    }

    .home-news {
        margin-top: 58px;
    }

    .home-news-heading {
        height: 52px;
    }

    .home-news-heading h2 {
        font-size: 27px;
    }

    .home-news-item > a,
    .news-list-row > a {
        min-height: 0;
        padding: 28px 0;
        grid-template-columns: 125px minmax(0, 1fr) 20px;
        column-gap: 20px;
    }

    .home-news-item time,
    .news-list-row time {
        width: 125px;
        height: 38px;
        font-size: 14px;
    }

    .home-news-item p,
    .news-list-row p {
        display: -webkit-box;
        overflow: hidden;
        color: #333;
        font-size: 14px;
        line-height: 1.65;
        font-weight: 500;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .home-news-item > a > span,
    .news-list-row > a > span {
        font-size: 23px;
    }

    .about-main {
        width: calc(100% - 40px);
        height: auto;
        min-height: 0;
        padding: 65px 0 80px;
    }

    .about-main h1 {
        font-size: 27px;
    }

    .about-copy {
        margin-top: 36px;
    }

    .about-copy p {
        font-size: 15px;
        line-height: 1.8;
        font-weight: 400;
    }

    .about-copy p + p {
        margin-top: 18px;
    }

    .news-list-main {
        width: calc(100% - 40px);
        height: auto;
        min-height: 0;
        padding: 45px 0 72px;
    }

    .Pages {
        margin-top: 50px;
    }

    .Pages .p_page {
        grid-template-columns: 38px 1fr 38px;
    }

    .Pages .num-btn {
        gap: 14px;
    }

    .Pages .num-btn a,
    .Pages .num-btn span {
        font-size: 14px;
    }

    .news-detail-main {
        width: calc(100% - 40px);
        min-height: 0;
        padding: 60px 0 80px;
    }

    .news-detail-main h1 {
        font-size: 27px;
    }

    .news-detail-main article {
        margin-top: 35px;
    }

    .news-detail-main article p {
        font-size: 15px;
        line-height: 1.8;
    }

    .news-back {
        margin-left: 0;
    }

    .contact-main {
        width: calc(100% - 40px);
        height: auto;
        padding: 60px 0 80px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        height: 300px;
        padding: 35px;
    }

    .contact-card-copy h1 {
        margin-bottom: 22px;
    }

    .system-main,
    .certificate-results-main,
    .certificate-main {
        min-height: 0;
    }

    .system-main {
        padding: 55px 0 80px;
    }

    .system-panel {
        min-height: 0;
    }

    .register-form-view {
        padding: 55px 25px 70px;
    }

    .register-heading h1 {
        font-size: 28px;
        line-height: 1.15;
    }

    .register-form {
        margin-top: 42px;
        gap: 14px;
    }

    .register-form label {
        height: auto;
        min-height: 76px;
        padding: 14px 22px;
        display: block;
    }

    .register-form label span {
        width: auto;
        display: block;
        margin-bottom: 4px;
        font-size: 15px;
    }

    .register-form input {
        width: 100%;
        height: 35px;
        padding: 0;
    }

    .register-form label i {
        top: 18px;
        right: 22px;
    }

    .register-form > button {
        height: 60px;
        font-size: 23px;
    }

    .register-success-view {
        min-height: 620px;
        padding: 85px 24px 70px;
    }

    .register-success-view > img {
        width: 138px;
        height: 138px;
    }

    .register-success-view h1 {
        margin-top: 42px;
        font-size: 29px;
    }

    .register-success-view a {
        font-size: 23px;
    }

    .login-panel {
        height: auto;
        min-height: 760px;
        padding: 80px 24px 70px;
    }

    .login-panel > h1 {
        font-size: 38px;
    }

    .login-form {
        margin-top: 60px;
    }

    .login-form label {
        height: 70px;
        padding: 0 24px;
    }

    .login-form label span,
    .code-button {
        font-size: 17px;
    }

    .login-form label span {
        width: 112px;
        flex-basis: 112px;
    }

    .code-button {
        position: absolute;
        right: 24px;
    }

    .login-submit {
        height: 66px;
        margin-top: 55px;
        font-size: 30px;
    }

    .exam-warning {
        margin-top: 50px;
        font-size: 16px;
        line-height: 1.6;
    }

    .exam-system-main {
        padding-top: 45px;
    }

    .question-view {
        padding: 55px 24px 45px;
    }

    .question-heading h1 {
        font-size: 25px;
    }

    .question-heading p,
    .question-heading small {
        font-size: 14px;
        line-height: 1.55;
    }

    .question-card {
        height: auto;
        min-height: 390px;
        padding: 38px 24px;
    }

    .question-card h2 {
        font-size: 18px;
    }

    .question-options span {
        font-size: 15px;
    }

    .question-footer {
        display: block;
    }

    .question-progress {
        display: none;
    }

    .question-actions {
        justify-content: space-between;
    }

    .question-actions button {
        width: calc(50% - 6px);
    }

    .exam-over-view {
        min-height: 620px;
        padding: 100px 24px 70px;
    }

    .exam-over-view > h1 {
        font-size: 38px;
    }

    .exam-over-card {
        height: auto;
        min-height: 270px;
        margin-top: 55px;
        padding: 45px 28px;
    }

    .exam-over-card p {
        font-size: 25px;
    }

    .exam-over-card small {
        font-size: 14px;
        line-height: 1.5;
    }

    .certificate-results-main {
        padding: 80px 0;
    }

    .certificate-results-main > header {
        padding: 0 20px;
    }

    .certificate-results-main > header p {
        font-size: 18px;
    }

    .certificate-results-main > header h1 {
        font-size: 31px;
    }

    .certificate-result-list {
        width: calc(100% - 40px);
        margin-top: 48px;
    }

    .certificate-result-card {
        height: auto;
        min-height: 205px;
        padding: 30px 25px;
    }

    .certificate-result-card h2 {
        font-size: 21px;
    }

    .certificate-result-card p,
    .certificate-result-card strong {
        font-size: 15px;
    }

    .certificate-main {
        padding: 28px 20px 70px;
    }

    .certificate-main > img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 520px) {
    .site-container,
    .system-panel,
    .login-panel {
        width: calc(100% - 30px);
    }

    .site-logo {
        width: 56px;
        height: 52px;
    }

    .site-brand-title {
        width: min(54vw, 245px);
        margin-left: 9px;
    }

    .home-banner {
        height: 220px;
    }

    .home-entry-list {
        grid-template-columns: 1fr;
    }

    .home-entry-card {
        height: 280px;
    }

    .home-entry-main {
        padding: 48px 34px 24px;
    }

    .home-entry-main h2 {
        font-size: 27px;
    }

    .home-account-links,
    .home-certificate-tip {
        left: 34px;
        bottom: 62px;
    }

    .home-news-item > a,
    .news-list-row > a {
        grid-template-columns: 1fr 20px;
        row-gap: 15px;
    }

    .home-news-item time,
    .news-list-row time {
        grid-column: 1;
    }

    .home-news-item p,
    .news-list-row p {
        grid-column: 1;
        grid-row: 2;
        -webkit-line-clamp: 4;
    }

    .home-news-item > a > span,
    .news-list-row > a > span {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
    }

    .contact-main,
    .about-main,
    .news-list-main,
    .news-detail-main {
        width: calc(100% - 30px);
    }

    .Pages .num-btn {
        gap: 9px;
    }

    .login-form label {
        padding: 0 18px;
    }

    .login-form label span {
        width: 95px;
        flex-basis: 95px;
        font-size: 15px;
    }

    .code-button {
        right: 18px;
        font-size: 14px;
    }

    .login-form input {
        padding: 0 4px;
    }

    .exam-warning br {
        display: none;
    }
}
/* ==================== 移动端自适应结束 ==================== */
