/* =====================================================================
   站群前台基础样式（8 套主题共用）

   分工原则：
   - base.css  负责「结构与组件」：栅格、卡片、栏目、表单、页脚；
   - 主题文件     只覆盖「结构差异」：栅格列数、卡片形态、栏目分隔；
   - visualConfig 负责「视觉随机化」：主色/辅色/字体/圆角/阴影/密度，以 CSS 变量注入。
   三者叠加后，同模板的分站也不会长得一样（反同质化的视觉层）。
   ===================================================================== */

:root {
    --site-primary: #0b4da2;
    --site-secondary: #f97316;
    --site-radius: 8px;
    --site-radius-sm: 4px;
    --site-shadow: 0 2px 10px rgba(15, 23, 42, .08);
    --site-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    --site-density: 1;
    --site-hero: gradient;
    --site-nav: solid;

    --ink: #1f2937;
    --ink-2: #4b5563;
    --ink-3: #7b8794;
    --bg: #ffffff;
    --bg-alt: #f6f8fb;
    --line: #e5e9f0;

    --sp-section: calc(62px * var(--site-density));
    --wrap: 1200px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--site-font);
    font-size: 15px;
    line-height: 1.75;
    color: var(--ink);
    background: var(--bg);
    word-break: break-word;
}

h1, h2, h3, h4 { margin: 0 0 12px; line-height: 1.35; font-weight: 700; }
h1 { font-size: 28px; }
h2 { font-size: 23px; }
h3 { font-size: 17px; }
p { margin: 0 0 12px; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; border: 0; display: block; }
a { color: inherit; text-decoration: none; transition: color .18s ease, opacity .18s ease; }
a:hover { color: var(--site-primary); }
em { font-style: normal; }
i { font-style: normal; }
table { width: 100%; border-collapse: collapse; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: var(--site-radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--site-primary); color: #fff; }
.btn-primary:hover { color: #fff; box-shadow: var(--site-shadow); }
.btn-outline { border-color: var(--site-primary); color: var(--site-primary); background: transparent; }
.btn-ghost { background: rgba(255, 255, 255, .16); color: inherit; border-color: currentColor; }
.btn-block { width: 100%; margin-top: 8px; }

.empty {
    padding: 36px 20px;
    text-align: center;
    color: var(--ink-3);
    background: var(--bg-alt);
    border-radius: var(--site-radius);
}

/* ============================ 页头 ============================ */
.site-header { position: relative; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo { width: 40px; height: 40px; object-fit: contain; border-radius: var(--site-radius-sm); }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-text strong { font-size: 17px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text em { font-size: 12px; color: var(--ink-3); }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a {
    padding: 8px 14px;
    border-radius: var(--site-radius-sm);
    font-size: 15px;
    border-bottom: 2px solid transparent;
}
.site-nav a.is-active { color: var(--site-primary); font-weight: 700; border-bottom-color: var(--site-primary); }
.header-cta { text-align: right; white-space: nowrap; }
.header-cta-label { display: block; font-size: 12px; color: var(--ink-3); }
.header-cta-phone { font-size: 19px; font-weight: 700; color: var(--site-primary); letter-spacing: .3px; }

.announce { background: var(--bg-alt); border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.announce .wrap { display: flex; align-items: center; gap: 10px; padding-top: 7px; padding-bottom: 7px; }
.announce-tag { flex: none; padding: 1px 8px; border-radius: 999px; background: var(--site-secondary); color: #fff; font-size: 12px; }

/* 导航风格：solid / line / glass */
body[data-nav="solid"] .site-header { background: var(--site-primary); border-bottom-color: transparent; color: #fff; }
body[data-nav="solid"] .brand-text em { color: rgba(255, 255, 255, .72); }
body[data-nav="solid"] .site-nav a { color: rgba(255, 255, 255, .86); }
body[data-nav="solid"] .site-nav a.is-active { color: #fff; border-bottom-color: rgba(255, 255, 255, .8); }
body[data-nav="solid"] .header-cta-label { color: rgba(255, 255, 255, .72); }
body[data-nav="solid"] .header-cta-phone { color: #fff; }
body[data-nav="glass"] .site-header {
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid var(--line);
}

/* ============================ 面包屑 ============================ */
.crumb { background: var(--bg-alt); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.crumb .wrap { display: flex; align-items: center; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
.crumb span { color: var(--ink-2); }

/* ============================ 段落与栏目 ============================ */
.section { padding: var(--sp-section) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-head h2 { margin-bottom: 6px; position: relative; padding-left: 14px; }
.section-head h2::before {
    content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px;
    background: var(--site-primary); border-radius: 2px;
}
.section-head p { margin: 0; color: var(--ink-3); font-size: 14px; }
.section-more { flex: none; color: var(--site-primary); font-weight: 600; font-size: 14px; }

/* ============================ 首屏 ============================ */
.hero { position: relative; padding: var(--sp-section) 0; background: var(--bg-alt); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.35fr .9fr; gap: 40px; align-items: center; }
.hero-eyebrow { margin-bottom: 10px; font-size: 14px; color: var(--site-secondary); font-weight: 600; letter-spacing: .5px; }
.hero-title { font-size: 34px; margin-bottom: 14px; }
.hero-desc { font-size: 16px; color: var(--ink-2); margin-bottom: 18px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.hero-tags li {
    padding: 5px 12px;
    font-size: 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .7);
    color: var(--ink-2);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-card {
    padding: 26px;
    border-radius: var(--site-radius);
    background: #fff;
    box-shadow: var(--site-shadow);
    border-top: 4px solid var(--site-primary);
}
.hero-card-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.hero-card-sub { font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }
.hero-card-list li { padding: 10px 0; border-top: 1px dashed var(--line); }
.hero-card-list li:first-child { border-top: 0; }
.hero-card-list em { display: block; font-weight: 700; font-size: 14px; color: var(--site-primary); }
.hero-card-list span { font-size: 13px; color: var(--ink-2); }

body:is([data-hero="solid"], [data-hero="gradient"], [data-hero="image"]) .hero { color: #fff; }
body:is([data-hero="solid"], [data-hero="gradient"], [data-hero="image"]) .hero-title { color: #fff; }
body:is([data-hero="solid"], [data-hero="gradient"], [data-hero="image"]) .hero-desc { color: rgba(255, 255, 255, .88); }
body:is([data-hero="solid"], [data-hero="gradient"], [data-hero="image"]) .hero-eyebrow { color: rgba(255, 255, 255, .82); }
body:is([data-hero="solid"], [data-hero="gradient"], [data-hero="image"]) .hero-tags li {
    background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); color: #fff;
}
body[data-hero="solid"] .hero { background: var(--site-primary); }
body[data-hero="gradient"] .hero { background: linear-gradient(130deg, var(--site-primary) 0%, #0b1220 145%); }
body[data-hero="image"] .hero {
    background: linear-gradient(130deg, rgba(11, 18, 32, .88), rgba(11, 18, 32, .55)), var(--site-primary);
}
body[data-hero="split"] .hero { background: #fff; }

/* ============================ 数据卖点条 ============================ */
.highlights { background: var(--site-primary); color: #fff; padding: calc(26px * var(--site-density)) 0; }
.highlights-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.highlight-item strong { display: block; font-size: 16px; margin-bottom: 4px; }
.highlight-item p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .82); }

/* ============================ 卡片栅格 ============================ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--site-radius);
    box-shadow: var(--site-shadow);
    transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); }
.card-thumb { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--bg-alt); overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card:hover .card-thumb img { transform: scale(1.04); }
.thumb-ph {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%; min-height: 120px;
    font-size: 15px; font-weight: 700; color: var(--ink-3);
    background: linear-gradient(135deg, #eef2f8, #dfe7f1);
    letter-spacing: 1px;
}
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { margin: 0; font-size: 16px; }
.card-body p { margin: 0; font-size: 13px; color: var(--ink-3); }
.card-meta { color: var(--site-secondary) !important; font-weight: 600; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--ink-2); }
.card-link { color: var(--site-primary); font-weight: 600; }

/* ============================ 优势 ============================ */
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.adv { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--site-radius); }
.adv-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; margin-bottom: 12px;
    border-radius: var(--site-radius-sm);
    background: var(--site-primary); color: #fff; font-size: 18px;
}
.adv h3 { font-size: 16px; margin-bottom: 6px; }
.adv p { margin: 0; font-size: 13px; color: var(--ink-3); }

/* ============================ 图文两栏 ============================ */
.about-inner, .about-layout, .detail-layout, .contact-layout {
    display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start;
}
.about-text p { color: var(--ink-2); }
.about-facts { padding: 24px; background: var(--bg-alt); border-radius: var(--site-radius); border-left: 4px solid var(--site-primary); }
.about-facts li { padding: 9px 0; font-size: 14px; color: var(--ink-2); border-bottom: 1px dashed var(--line); }
.about-facts li:last-child { border-bottom: 0; }

/* ============================ 公司简介配图 ============================
   首页 about 区块：客户级配图（原 Banner 功能）启用后，直接替换公司简介右侧的
   about-facts 资讯板块。桌面端左文字 + 右图（.about-inner.has-figure 双类特异性
   高于主题 style.css 的 .about-inner 单类覆盖，不会被主题改回窄列）；
   平板/移动端单列堆叠：文字在上、图在下。 */
.about-inner.has-figure { grid-template-columns: 1.3fr 1fr; }
.about-figure {
    margin: 0;
    border-radius: var(--site-radius);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    background: var(--bg-alt);
    aspect-ratio: 4 / 3;
    position: relative;
}
.about-figure img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    display: block;
}
.about-figure figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    margin: 0; padding: 8px 14px;
    font-size: 12px; color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,.55), transparent);
    letter-spacing: .5px;
}

/* about 独立页：banner 复用为正文配图，用 float 让正文绕排——
   好处是首屏图文并排，图片下方正文自动回到整宽，不会留一条空列。
   移动端（见响应式）取消浮动，图占满宽度排在标题之前。 */
.article.has-figure .article-figure-wrap { min-width: 0; }
.article.has-figure .about-figure {
    float: right;
    width: 38%;
    max-width: 380px;
    margin: 0 0 20px 28px;
    aspect-ratio: 4 / 3;
}

/* ============================ 侧栏 ============================ */
.sidebar { display: flex; flex-direction: column; gap: 18px; }
.side-card { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--site-radius); box-shadow: var(--site-shadow); }
.side-card h3 { padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 15px; }
.side-facts li { display: flex; gap: 10px; padding: 6px 0; font-size: 13px; }
.side-facts em { flex: none; width: 72px; color: var(--ink-3); }
.side-facts span { color: var(--ink-2); }
.side-contact p { font-size: 13px; margin-bottom: 6px; color: var(--ink-2); }
.side-phone { font-size: 20px; font-weight: 700; color: var(--site-primary) !important; }
.side-products li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.side-products li:last-child { border-bottom: 0; }

/* ============================ 文章 ============================ */
.article { min-width: 0; }
.article-title { font-size: 27px; margin-bottom: 14px; }
.article-lead {
    padding: 16px 18px; margin-bottom: 22px;
    background: var(--bg-alt); border-left: 4px solid var(--site-secondary);
    border-radius: var(--site-radius-sm); color: var(--ink-2); font-size: 15px;
}
/* 富文本简介（含多个 <p>）放进 lead 盒时收尾边距，避免底部空隙 */
.article-lead p:last-child { margin-bottom: 0; }
.article-body { font-size: 15px; color: var(--ink-2); }
.article-body h2 { margin-top: 26px; font-size: 20px; color: var(--ink); }
.article-body h3 { margin-top: 20px; font-size: 17px; color: var(--ink); }
.article-body p { margin-bottom: 14px; }
.article-body img { margin: 16px 0; border-radius: var(--site-radius); }
.article-body ul, .article-body ol { margin: 0 0 14px; padding-left: 22px; }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-block { margin-top: 28px; }
.article-block h2 { font-size: 20px; padding-left: 12px; border-left: 4px solid var(--site-primary); }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 18px; font-size: 13px; color: var(--ink-3); }
.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; font-size: 13px; color: var(--ink-3); }
.article-tags span { padding: 3px 10px; background: var(--bg-alt); border-radius: 999px; }

/* 文章配图 */
.article-figure { margin: 0 0 20px; }
.article-figure img { display: block; width: 100%; height: auto; border-radius: var(--site-radius); }
.article-figure figcaption { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); text-align: center; }
.article-cover { margin-bottom: 22px; }
.article-body .article-figure { margin: 18px 0; }

.prev-next { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }

/* ============================ 筛选 ============================ */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.filter-item {
    padding: 6px 16px; font-size: 14px; border: 1px solid var(--line);
    border-radius: 999px; color: var(--ink-2); background: #fff;
}
.filter-item.is-active { background: var(--site-primary); border-color: var(--site-primary); color: #fff; font-weight: 600; }

/* ============================ 新闻列表 ============================ */
.news-list li { padding: 18px 0; border-bottom: 1px dashed var(--line); }
.news-list li:first-child { padding-top: 0; }
.news-list li:last-child { border-bottom: 0; }
.news-title { display: block; font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.news-list p { margin: 0 0 6px; font-size: 13px; color: var(--ink-3); }
.news-date { font-size: 13px; color: var(--ink-3); }
.news-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 6px; font-size: 13px; color: var(--ink-3); }

/* 新闻列表带配图排版 */
.news-list li.news-item-media { display: flex; gap: 16px; align-items: flex-start; }
.news-thumb { flex: 0 0 148px; display: block; overflow: hidden; border-radius: var(--site-radius-sm); }
.news-thumb img { display: block; width: 148px; height: 96px; object-fit: cover; transition: transform .3s; }
.news-thumb:hover img { transform: scale(1.04); }
.news-body { flex: 1 1 auto; min-width: 0; }
@media (max-width: 640px) {
    .news-list li.news-item-media { gap: 12px; }
    .news-thumb { flex-basis: 104px; }
    .news-thumb img { width: 104px; height: 72px; }
}

/* ============================ 参数表 ============================ */
.param-table { background: #fff; border: 1px solid var(--line); border-radius: var(--site-radius); overflow: hidden; }
.param-table tr { border-bottom: 1px solid var(--line); }
.param-table tr:last-child { border-bottom: 0; }
.param-table tr:nth-child(odd) { background: var(--bg-alt); }
.param-table th { width: 220px; padding: 12px 18px; text-align: left; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.param-table td { padding: 12px 18px; font-size: 14px; color: var(--ink-2); }

/* ============================ 产品详情 ============================ */
.gallery-main { aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: var(--site-radius); background: var(--bg-alt); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.gallery-thumbs img { width: 84px; height: 84px; object-fit: cover; border: 1px solid var(--line); border-radius: var(--site-radius-sm); }
/* 产品详情：左画廊 + 右信息，1:1 配比。仅作用于产品详情页（避免污染共用同一类名的新闻详情）。
   新闻详情使用通用的「1fr 320px」（见 .about-layout 组），左正文 + 右 320px 侧栏。 */
.page-product-detail .detail-layout { grid-template-columns: 1fr 1fr; gap: 44px; }
/* 新闻详情：显式声明，避免后续主题 style.css 误改 .detail-layout 时把侧栏拉到正文同宽 */
.page-news-detail .detail-layout { grid-template-columns: 1fr 320px; gap: 40px; }
.detail-title { font-size: 27px; }
.detail-sub { font-size: 14px; color: var(--site-secondary); font-weight: 600; }
.detail-summary { color: var(--ink-2); }
.detail-price { font-size: 18px; font-weight: 700; color: var(--site-primary); }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; }
.detail-tags li { padding: 4px 12px; font-size: 13px; background: var(--bg-alt); border-radius: 999px; color: var(--ink-2); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.detail-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; font-size: 13px; color: var(--ink-3); }
.detail-badges span { padding: 4px 12px; border: 1px dashed var(--line); border-radius: 999px; }

/* ============================ FAQ ============================ */
.faq-item { padding: 14px 18px; margin-bottom: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--site-radius); }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 10px 0 0; color: var(--ink-2); font-size: 14px; }

/* ============================ CTA ============================ */
.section-cta { background: var(--bg-alt); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-inner h2 { margin-bottom: 6px; }
.cta-inner p { margin: 0; color: var(--ink-3); font-size: 14px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ============================ 互链 ============================ */
.link-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.link-cloud a {
    padding: 6px 14px; font-size: 13px; color: var(--ink-2);
    background: #fff; border: 1px solid var(--line); border-radius: var(--site-radius-sm);
}
.link-cloud a:hover { border-color: var(--site-primary); color: var(--site-primary); }
.link-cloud-sm a { padding: 4px 10px; font-size: 12px; }

/* ============================ 留言表单 ============================ */
.message-box { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--site-radius); box-shadow: var(--site-shadow); }
.message-tip { font-size: 13px; color: var(--ink-3); }
.message-form .form-row { margin-bottom: 14px; }
.form-row label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.form-row label i { color: #e11d48; }
.form-row input, .form-row textarea {
    width: 100%; padding: 10px 14px; font-size: 14px; font-family: inherit;
    color: var(--ink); background: #fff;
    border: 1px solid var(--line); border-radius: var(--site-radius-sm);
    outline: none; transition: border-color .15s ease;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--site-primary); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.message-result { margin: 12px 0 0; font-size: 14px; min-height: 20px; }
.message-result.is-ok { color: #15803d; }
.message-result.is-error { color: #dc2626; }

/* ============================ 联系方式 ============================ */
.contact-lead { color: var(--ink-2); }
.contact-list li { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.contact-list em { flex: none; width: 84px; color: var(--ink-3); }
.contact-list span, .contact-list a { color: var(--ink); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ============================ 分页 ============================ */
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; }
.pager-num, .pager-btn {
    min-width: 38px; padding: 6px 12px; text-align: center;
    font-size: 14px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--site-radius-sm); color: var(--ink-2);
}
.pager-num.is-active { background: var(--site-primary); border-color: var(--site-primary); color: #fff; font-weight: 700; }
.pager-total { margin-left: auto; font-size: 13px; color: var(--ink-3); }

/* ============================ 404 ============================ */
.not-found { text-align: center; }
.not-found-code { font-size: 76px; font-weight: 800; line-height: 1; margin: 0 0 10px; color: var(--site-primary); opacity: .22; }
.not-found-desc { color: var(--ink-3); }
.not-found-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 24px 0 34px; }
.not-found-links { padding-top: 26px; border-top: 1px solid var(--line); }
.not-found-links p { font-size: 14px; color: var(--ink-3); }

/* ============================ 页脚 ============================ */
.site-footer { margin-top: 0; background: #101827; color: rgba(255, 255, 255, .74); font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: 34px; padding-top: 44px; padding-bottom: 30px; }
.footer-col h4 { margin-bottom: 14px; font-size: 15px; color: #fff; }
.footer-col p { margin: 0 0 8px; }
.footer-col a { display: block; margin-bottom: 8px; color: rgba(255, 255, 255, .74); }
.footer-col a:hover { color: #fff; }
.footer-about p { color: rgba(255, 255, 255, .6); }
.footer-slogan { color: var(--site-secondary); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-links a {
    display: inline-block; margin: 0; padding: 3px 10px;
    background: rgba(255, 255, 255, .08); border-radius: 999px;
}
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; color: rgba(255, 255, 255, .55); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 14px; padding-bottom: 14px; }
.footer-bottom a { color: rgba(255, 255, 255, .55); }

.jsonld { display: none; }

/* ============================ 响应式 ============================ */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 26px; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    /* 用 .wrap.xxx 提升一级特异性：主题 style.css 会在 base.css 之后覆盖
       .about-inner { grid-template-columns: 1.25fr .75fr } 这类桌面配比，
       若这里只用单类选择器，窄屏会继续沿用两列导致正文被压窄 */
    .wrap.about-inner, .wrap.about-layout, .wrap.detail-layout, .wrap.contact-layout { grid-template-columns: 1fr; gap: 28px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
    /* 平板：公司简介配图随 about-inner 一起单列堆叠（文字在上、图在下） */
    .about-figure { aspect-ratio: 16 / 9; }
    /* about 独立页：取消浮动，配图整宽排在标题与正文之前 */
    .article.has-figure .about-figure {
        float: none; width: 100%; max-width: none;
        margin: 0 0 18px;
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 720px) {
    h1 { font-size: 23px; }
    h2 { font-size: 20px; }
    .hero-title { font-size: 25px; }
    .hero-desc { font-size: 15px; }
    .wrap { padding: 0 16px; }
    .header-inner { flex-wrap: wrap; min-height: 0; padding: 12px 16px; gap: 10px; }
    .brand-text strong { font-size: 15px; }
    .site-nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; padding-bottom: 4px; }
    .site-nav a { padding: 6px 10px; white-space: nowrap; font-size: 14px; }
    .header-cta { margin-left: auto; }
    .header-cta-phone { font-size: 16px; }
    .card-grid { grid-template-columns: 1fr; gap: 16px; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .form-row-2 { grid-template-columns: 1fr; }
    .param-table th { width: 40%; }
    .detail-layout { gap: 20px; }
    .highlights-inner { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
    .not-found-code { font-size: 58px; }
    /* 移动端：公司简介配图保持文字在上、图在下（阅读流一致），仅缩窄间距与圆角 */
    .wrap.about-inner.has-figure { gap: 14px; }
    .about-figure { aspect-ratio: 16 / 10; border-radius: 10px; }
    .article.has-figure .about-figure { aspect-ratio: 16 / 10; border-radius: 10px; }
}
