/* 默认主题样式（首期验收用） */
* { box-sizing: border-box; }
body {
    margin: 0;
    font: 15px/1.7 -apple-system, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    color: #2c3238;
    background: #f5f6f8;
}
a { color: #1a6fb5; text-decoration: none; }
a:hover { color: #0d4d84; }
img { max-width: 100%; height: auto; border: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* 顶部 */
.site-header { background: #fff; border-bottom: 1px solid #e6e8eb; position: relative; z-index: 5; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; min-height: 68px; }
.site-logo { font-size: 20px; font-weight: 700; color: #16324f; letter-spacing: .5px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.site-nav a { padding: 6px 12px; border-radius: 4px; color: #34404c; }
.site-nav a:hover { background: #eef4fb; color: #1a6fb5; }
.cms-search-form { display: flex; gap: 6px; }
.cms-search-form input[type=text] {
    width: 180px; padding: 7px 10px; border: 1px solid #d8dde3; border-radius: 4px; outline: none;
}
.cms-search-form button,
.btn {
    padding: 7px 16px; border: 0; border-radius: 4px; background: #1a6fb5; color: #fff; cursor: pointer;
    display: inline-block;
}
.cms-search-form button:hover, .btn:hover { background: #0d4d84; color: #fff; }
.btn-secondary { background: #eef4fb; color: #1a6fb5; border: 1px solid #d7e6f5; }
.btn-secondary:hover { background: #dfeefa; color: #0d4d84; }

/* 主体 */
.site-main { padding: 24px 16px 40px; background: #fff; margin-top: 20px; border-radius: 6px; }
.block { margin: 32px 0; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 2px solid #eef0f3; padding-bottom: 8px; margin-bottom: 16px; }
.block-head h2 { margin: 0; font-size: 20px; color: #16324f; }
.block-head .more { font-size: 13px; color: #7a8794; }

/* 头图 */
.hero { border-radius: 6px; overflow: hidden; background: #16324f; }
.hero-item img { display: block; width: 100%; max-height: 420px; object-fit: cover; }
.hero-text { padding: 60px 30px; color: #fff; }
.hero-text h2 { margin: 0 0 10px; font-size: 30px; }

/* 列表 */
.list-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.list-item { background: #fff; border: 1px solid #eceef1; border-radius: 6px; padding: 16px; transition: box-shadow .2s; }
.list-item:hover { box-shadow: 0 4px 16px rgba(22, 50, 79, .08); }
.list-item h3 { margin: 0 0 8px; font-size: 17px; }
.item-desc { margin: 0 0 10px; color: #66707a; font-size: 14px; }
.item-meta { display: flex; gap: 14px; color: #8b959e; font-size: 13px; }
.item-thumb { display: block; margin-bottom: 10px; }
.item-thumb img { border-radius: 4px; }

/* 产品卡片 */
.card-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card { background: #fff; border: 1px solid #eceef1; border-radius: 6px; padding: 12px; text-align: center; }
.card img { border-radius: 4px; }
.card h3 { margin: 10px 0 4px; font-size: 15px; font-weight: 500; }
.card-desc { margin: 0; color: #8b959e; font-size: 13px; }
.card-none {
    height: 120px; display: flex; align-items: center; justify-content: center;
    background: #f0f4f8; color: #7a8794; border-radius: 4px; font-size: 14px;
}

/* 列表页头 */
.page-head { margin-bottom: 20px; }
.page-head h1 { margin: 0 0 6px; font-size: 24px; color: #16324f; }
.page-desc { margin: 0; color: #7a8794; font-size: 14px; }

/* 详情 */
.detail { background: #fff; }
.detail-title { margin: 10px 0 12px; font-size: 26px; color: #16324f; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 16px; color: #8b959e; font-size: 13px; padding-bottom: 14px; border-bottom: 1px dashed #e6e8eb; }
.detail-body { padding: 20px 0; font-size: 15px; line-height: 1.9; }
.detail-body img { max-width: 100%; }
.detail-tags { color: #7a8794; font-size: 13px; padding-top: 10px; border-top: 1px dashed #e6e8eb; }
.detail-nav { margin-top: 16px; font-size: 14px; }
.detail-nav p { margin: 6px 0; }
.detail-gallery { text-align: center; }
.detail-gallery .gallery-main { border-radius: 6px; margin-bottom: 10px; }
.gallery-thumb { display: flex; gap: 8px; justify-content: center; margin-bottom: 12px; }
.gallery-thumb img { width: 110px; border-radius: 4px; }

/* 面包屑 */
.cms-position { font-size: 13px; color: #8b959e; margin-bottom: 14px; }
.cms-position em { font-style: normal; color: #c3cad1; margin: 0 4px; }

/* 职位 */
.job-list { display: grid; gap: 14px; }
.job-item { border: 1px solid #eceef1; border-radius: 6px; padding: 16px; }
.job-head { display: flex; justify-content: space-between; align-items: baseline; }
.job-head h3 { margin: 0 0 8px; font-size: 17px; }
.job-date { color: #8b959e; font-size: 13px; }

/* 标签云 */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { padding: 5px 12px; background: #eef4fb; border-radius: 20px; font-size: 13px; }

/* 联系与表单 */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.form-box { background: #fff; border: 1px solid #eceef1; border-radius: 6px; padding: 18px; }
.cms-form-diy .cms-form-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.cms-form-diy label { min-width: 90px; color: #4a5560; }
.cms-form-diy input[type=text],
.cms-form-diy input[type=number],
.cms-form-diy input[type=date],
.cms-form-diy textarea {
    flex: 1; min-width: 220px; padding: 8px 10px; border: 1px solid #d8dde3; border-radius: 4px; font: inherit; outline: none;
}
.cms-form-diy .cms-form-option { min-width: 0; margin-right: 12px; }
.cms-form-diy button[type=submit] { padding: 9px 22px; border: 0; border-radius: 4px; background: #1a6fb5; color: #fff; cursor: pointer; }
.cms-form-diy button[type=submit]:hover { background: #0d4d84; }
.cms-captcha { cursor: pointer; border: 1px solid #d8dde3; border-radius: 4px; vertical-align: middle; }

/* 分页 */
.pagebar { margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pagebar a, .pagebar span {
    display: inline-block; min-width: 34px; height: 34px; line-height: 34px; text-align: center;
    padding: 0 10px; border: 1px solid #dde2e8; border-radius: 4px; color: #4a5560; background: #fff;
}
.pagebar span.current { background: #1a6fb5; border-color: #1a6fb5; color: #fff; }

/* 页脚 */
.site-footer { background: #16324f; color: #c5d1dd; margin-top: 24px; padding: 26px 0; font-size: 13px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.footer-company p { margin: 4px 0; }
.company-name { font-size: 16px; color: #fff; font-weight: 600; }
.footer-link a { color: #c5d1dd; margin-right: 10px; }
.footer-link a:hover { color: #fff; }

/* 会员中心 */
.member-layout { max-width: 760px; margin: 0 auto; }
.member-card { padding: 24px; }
.member-form { display: grid; gap: 14px; }
.member-form-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.member-form-row label { min-width: 92px; color: #4a5560; }
.member-form-row input[type=text],
.member-form-row input[type=password],
.member-form-row input[type=email],
.member-form-row input[type=tel],
.member-form-row input[type=date] {
    flex: 1; min-width: 220px; padding: 9px 10px; border: 1px solid #d8dde3; border-radius: 4px; font: inherit; outline: none;
}
.member-form input:focus { border-color: #1a6fb5; box-shadow: 0 0 0 2px rgba(26, 111, 181, .12); }
.member-form .cms-captcha { width: 110px; height: 38px; object-fit: cover; }
.member-alert { margin-bottom: 16px; padding: 10px 12px; border-radius: 4px; background: #eef4fb; color: #1a6fb5; }
.member-alert.error { background: #fff1f0; color: #b42318; }
.member-alert.success { background: #edf9ee; color: #227a38; }
.member-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.member-meta { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 24px; margin: 20px 0; }
.member-meta div { padding-bottom: 8px; border-bottom: 1px solid #eef0f3; }
.member-meta dt { color: #8b959e; font-size: 13px; }
.member-meta dd { margin: 3px 0 0; color: #2c3238; }
.member-links { color: #7a8794; font-size: 14px; }
.search-empty { padding: 28px 16px; text-align: center; color: #7a8794; background: #f7f9fb; border-radius: 6px; }

/* 404 */
.page-404 { text-align: center; padding: 60px 0; }
.page-404 h1 { font-size: 70px; margin: 0; color: #d7dee5; }
