@charset "utf-8";
/* ===========================================================
   content.css — 内页(列表/详情/单页)样式 (对齐 Astra 主题)
   配色复用 home.css 的 --brand (#0c5ba2) 等 token
   断点: 991 / 767 / 480
   =========================================================== */

.content-wrap { padding: 32px 0 56px; min-height: 60vh; }

/* ---------- 面包屑 ---------- */
.breadcrumb-light {
    background: var(--bg-soft);
    padding: 10px 16px;
    margin-bottom: 24px;
    font-size: 13px;
    list-style: none;
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
}
.breadcrumb-light > li { display: inline-block; }
.breadcrumb-light > li + li::before { content: "/\00a0"; padding: 0 8px; color: var(--text-body); }
.breadcrumb-light a { color: var(--brand); }
.breadcrumb-light a:hover { color: var(--brand-hover); }
.breadcrumb-light > .active { color: var(--text-body); }

/* ---------- 列表页标题/工具条 ---------- */
.archive-title { font-size: 30px; font-weight: 600; color: var(--text-dark); margin: 0 0 20px; }
.archive-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border-soft); }
.result-count { font-size: 14px; color: var(--text-body); }

.empty-state { text-align: center; padding: 80px 20px; color: var(--text-body); }
.empty-state i { font-size: 56px; color: var(--border-soft); margin-bottom: 16px; }
.empty-state p { font-size: 16px; }

.pagination-wrap { margin-top: 36px; text-align: center; }
.pagination { display: inline-block; margin: 0; padding-left: 0; }
.pagination > li { display: inline; }
.pagination > li > a, .pagination > li > span {
    position: relative;
    float: left;
    padding: 8px 14px;
    margin-left: -1px;
    line-height: 1.4;
    color: var(--brand);
    text-decoration: none;
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
}
.pagination > li > a:hover, .pagination > li > span:hover { background: var(--bg-soft); color: var(--brand-hover); }
.pagination > .active > a, .pagination > .active > span { background: var(--brand); border-color: var(--brand); color: #fff; cursor: default; }
.pagination > .disabled > a, .pagination > .disabled > span { color: var(--border-soft); cursor: not-allowed; }

/* ---------- 产品详情 ---------- */
.product-detail { background: var(--bg-white); border-radius: 8px; padding: 32px; margin-bottom: 28px; border: 1px solid var(--border-soft); }

.product-gallery .gallery-main {
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    margin-bottom: 14px;
    aspect-ratio: 1/1;
    background: var(--bg-soft);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    position: relative;
}
.product-gallery .gallery-main img { width: 100%; height: 100%; object-fit: cover; } /* 2026-11-23: 同步首页 object-fit:cover 满格参数 (原 contain) */
/* 2026-11-23: 主图点击放大 (lightbox) */
.gallery-main.has-zoom { cursor: zoom-in; }
.gallery-main .zoom-hint {
    position: absolute; right: 10px; bottom: 10px;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(0,0,0,.55); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; pointer-events: none;
    transition: background .2s;
}
.gallery-main.has-zoom:hover .zoom-hint { background: rgba(0,0,0,.75); }
.gallery-main-placeholder { font-size: 72px; color: var(--border-soft); }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery-thumbs .thumb {
    width: 72px; height: 72px;
    border: 2px solid var(--border-soft);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-soft);
    padding: 0;
    transition: border-color .2s;
}
.gallery-thumbs .thumb:hover, .gallery-thumbs .thumb.active { border-color: var(--brand); }
.gallery-thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; } /* 2026-11-23: 同首页 cover 参数 */

/* ---------- 产品图 lightbox (2026-11-23, 自写轻量弹层; 恢复: 删除本段) ---------- */
.product-lightbox {
    position: fixed; inset: 0; z-index: 4000;
    background: rgba(10, 12, 16, .92);
    display: none;
    align-items: center; justify-content: center;
    -webkit-tap-highlight-color: transparent;
}
.product-lightbox.is-open { display: flex; }
.product-lightbox .lb-img {
    max-width: min(92vw, 1400px);
    max-height: 86vh;
    object-fit: contain;
    border-radius: 4px;
    user-select: none;
    -webkit-user-drag: none;
}
.product-lightbox .lb-close {
    position: absolute; top: 14px; right: 18px;
    width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.14); color: #fff;
    font-size: 30px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.product-lightbox .lb-close:hover { background: rgba(255,255,255,.28); }
.product-lightbox .lb-prev, .product-lightbox .lb-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.14); color: #fff;
    font-size: 22px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.product-lightbox .lb-prev { left: 14px; }
.product-lightbox .lb-next { right: 14px; }
.product-lightbox .lb-prev:hover, .product-lightbox .lb-next:hover { background: rgba(255,255,255,.28); }
.product-lightbox .lb-counter {
    position: absolute; bottom: 16px; left: 0; right: 0;
    text-align: center; color: rgba(255,255,255,.85);
    font-size: 14px; letter-spacing: .05em;
}

.product-info { padding-left: 20px; }
.product-info .product-title { font-size: 26px; font-weight: 600; color: var(--text-dark); margin: 0 0 14px; line-height: 1.3; }
.product-price-big { font-size: 28px; color: var(--brand); font-weight: 700; margin-bottom: 18px; }
.product-short-desc { color: var(--text-body); margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--border-soft); line-height: 1.7; }

.product-params { margin-top: 20px; }
.product-params h3 { font-size: 16px; font-weight: 600; color: var(--text-dark); margin: 0 0 12px; }
.params-table { font-size: 14px; width: 100%; }
.params-table th { width: 40%; background: var(--bg-soft); color: var(--text-dark); }
.params-table th, .params-table td { border: 1px solid var(--border-soft); padding: 10px 14px; text-align: left; }
.params-table td { color: var(--text-body); }

.product-inquiry { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.product-inquiry .btn { flex: 1; min-width: 200px; }
.btn-outline-dark { background: var(--bg-white); border: 2px solid var(--text-dark); color: var(--text-dark); padding: 12px 24px; border-radius: 4px; font-weight: 500; transition: all .2s; }
.btn-outline-dark:hover { background: var(--text-dark); color: #fff; }

/* 产品 tabs */
.product-tabs { background: var(--bg-white); border: 1px solid var(--border-soft); border-radius: 8px; margin-top: 28px; }
.product-tabs .tab-nav { list-style: none; margin: 0; padding: 0 20px; border-bottom: 1px solid var(--border-soft); display: flex; }
.product-tabs .tab-nav li { padding: 16px 4px; margin-right: 28px; color: var(--brand); font-weight: 600; border-bottom: 3px solid var(--brand); }
.tab-panel { padding: 24px 28px; }

/* 相关产品 */
.related-section { margin-top: 48px; }
.related-section .section-title { font-size: 24px; text-align: left; margin-bottom: 24px; }
/* 详情页相关产品: 居中收窄 + 卡片化排版 (原全宽 4 列满格图过大, 不美观) */
.related-section .product-grid {
    max-width: 980px;
    margin: 0 auto;
    gap: 18px;
}
/* 标题与居中网格对齐 (section 本身仍是全宽, 只收窄内部内容) */
.related-section .section-title { max-width: 980px; margin-left: auto; margin-right: auto; }
.related-section .product-card {
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.related-section .product-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand);
    box-shadow: 0 10px 24px rgba(15, 35, 95, .10);
}
.related-section .product-cover {
    aspect-ratio: 1 / 1;
    /* 2026-11-23: 同步首页产品卡参数 — 去内缩留白, object-fit:cover 满格 (原 padding:16px + contain) */
    background: var(--bg-soft);
}
.related-section .product-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.related-section .product-card:hover .product-cover img { transform: scale(1.05); } /* 同首页 hover 放大 */
.related-section .product-body { padding: 4px 14px 16px; }
.related-section .product-body h3 {
    font-size: 15px;
    line-height: 1.45;
    text-align: center;
    margin: 0;
    min-height: 2.9em;        /* 两行高度对齐卡片底边 */
    display: -webkit-box;
    -webkit-line-clamp: 2;    /* 超两行截断, 保证整排等高 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* 断点与 home.css 通用产品网格保持一致 (scoped 优先级高于通用断点, 故需自带) */
@media (max-width: 991px) {
    .related-section .product-grid { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
}
@media (max-width: 767px) {
    .related-section { margin-top: 36px; }
    .related-section .section-title { font-size: 21px; margin-bottom: 16px; }
    .related-section .product-grid { gap: 12px; max-width: 100%; }
    .related-section .product-body { padding: 2px 10px 12px; }
    .related-section .product-body h3 { font-size: 13px; }
}

/* ---------- 文章详情 ---------- */
.article-main { }
.article-detail { background: var(--bg-white); padding: 32px; border-radius: 8px; border: 1px solid var(--border-soft); }
.single-page .article-content { padding-top: 8px; }
.article-title { font-size: 28px; font-weight: 600; color: var(--text-dark); margin: 0 0 12px; line-height: 1.3; }
.article-meta { color: var(--text-body); font-size: 13px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--border-soft); }
.article-meta span { margin-right: 20px; }
.article-meta i { margin-right: 5px; color: var(--brand); }
.article-cover { margin: 0 0 26px; max-height: 440px; overflow: hidden; border-radius: 6px; }
.article-cover img { width: 100%; height: auto; }

.article-content { font-size: 16px; line-height: 1.85; color: #3a3f48; word-wrap: break-word; }
.article-content img { max-width: 100%; height: auto; border-radius: 4px; margin: 14px 0; }
.article-content h1, .article-content h2, .article-content h3, .article-content h4 { margin: 28px 0 14px; color: var(--text-dark); font-weight: 600; }
.article-content h2 { font-size: 24px; }
.article-content h3 { font-size: 20px; }
.article-content p { margin: 0 0 16px; }
.article-content ul, .article-content ol { margin: 0 0 16px 24px; }
.article-content li { margin-bottom: 6px; }
.article-content a { color: var(--brand); }
.article-content table { width: 100% !important; max-width: 100%; border-collapse: collapse; margin: 16px 0; }
.article-content table th, .article-content table td { border: 1px solid var(--border-soft); padding: 8px 12px; }
.article-content table th { background: var(--bg-soft); }
.article-content blockquote { border-left: 4px solid var(--brand); padding: 8px 20px; margin: 16px 0; color: var(--text-body); background: var(--bg-soft); }
.article-content iframe { max-width: 100%; }

/* 正文富文本元素 (新闻/文章种子内容用) —— 作用域限定在 .article-content 内 */
.article-content .article-lead { font-size: 18px; line-height: 1.7; color: var(--text-dark); font-weight: 500; margin: 0 0 24px; padding: 16px 20px; background: var(--bg-soft); border-left: 4px solid var(--brand); border-radius: 4px; }
.article-content .article-figure { margin: 24px 0; }
.article-content .article-figure img { width: 100%; height: auto; border-radius: 6px; margin: 0; display: block; }
.article-content .article-figure figcaption { font-size: 13px; color: var(--text-body); margin-top: 8px; text-align: center; }
.article-content .article-list { margin: 0 0 20px; padding-left: 22px; }
.article-content .article-list li { margin-bottom: 10px; line-height: 1.7; }
.article-content .article-cta { margin: 32px 0 0; padding: 24px; background: linear-gradient(135deg, var(--bg-soft), #fff); border: 1px solid var(--border-soft); border-radius: 8px; }
.article-content .article-cta h3 { margin: 0 0 10px; color: var(--brand); font-size: 19px; }
.article-content .article-cta p { margin: 0; color: var(--text-body); }

/* 上下篇导航 */
.article-nav { margin: 32px 0 0; padding: 24px 0; border-top: 1px solid var(--border-soft); }
.nav-card { display: block; padding: 14px 16px; border: 1px solid var(--border-soft); border-radius: 6px; transition: box-shadow .2s; }
.nav-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); text-decoration: none; }
.nav-card .nav-label { display: block; font-size: 12px; color: var(--text-body); margin-bottom: 4px; }
.nav-card .nav-title { display: block; font-size: 14px; color: var(--brand); font-weight: 500; }

/* 侧边栏 */
.sidebar { margin-top: 0; }
.widget { background: var(--bg-white); border: 1px solid var(--border-soft); border-radius: 8px; padding: 22px; margin-bottom: 20px; }
.widget-title { font-size: 16px; font-weight: 600; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 2px solid var(--brand); color: var(--text-dark); }
.related-list { list-style: none; padding: 0; margin: 0; }
.related-list li { padding: 10px 0; border-bottom: 1px solid var(--bg-soft); }
.related-list li:last-child { border-bottom: none; }
.related-list a { display: flex; align-items: center; }
.related-list img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; margin-right: 12px; flex-shrink: 0; }
.related-list span { font-size: 13px; color: var(--text-dark); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-list a:hover span { color: var(--brand); }

/* ---------- 单页内嵌询价表单 ---------- */
.page-contact-form { background: var(--bg-white); border: 1px solid var(--border-soft); border-radius: 8px; padding: 32px; margin-top: 28px; }
.page-contact-form h3 { font-size: 22px; font-weight: 600; color: var(--text-dark); margin: 0 0 22px; }
.inline-quote-form .form-row { margin-bottom: 16px; }
.inline-quote-form .btn { margin-top: 8px; }
.req { color: #d6334c; }

/* ===========================================================
   Contact 单页 (本站语义 class 复刻, 1:1 对齐当前线上视觉)
   替代源站 uagb-/fluentform 脏结构. 视觉规格照搬 blocks.css 第 10 节.
   =========================================================== */

/* 顶栏: CONTACT US 小标题条 (对齐 blocks.css 弱化样式) */
.contact-eyebrow { padding: 8px 0; }
.contact-eyebrow .eyebrow-title {
    font-size: 15px; letter-spacing: 2px; color: var(--text-body);
    text-transform: uppercase; font-weight: 600; margin: 0;
}

/* 两栏主体: 左表单 + 右深色卡 (grid 1.1fr 0.9fr, gap 32) */
.contact-layout {
    display: grid; grid-template-columns: 1.1fr 0.9fr;
    gap: 32px; align-items: stretch;
}
.contact-layout > * { min-width: 0; }

/* 左栏: 询价表单 (复用 .form-row, 规格 = 当前 FluentForm) */
.contact-section-title {
    font-size: 28px; font-weight: 600; color: var(--text-dark);
    line-height: 1.3; margin: 0 0 8px;
}
.contact-section-desc { margin: 0 0 16px; color: var(--text-body); }

/* 本站询价表单: 视觉对齐当前 FluentForm (blocks.css 10.1) */
.inquiry-form { width: 100%; }
.inquiry-form .form-row { margin-bottom: 14px; }
.inquiry-form .form-row-2col { display: flex; flex-wrap: wrap; gap: 14px; }
.inquiry-form .form-row-2col .form-cell { flex: 0 0 calc(50% - 7px); max-width: calc(50% - 7px); min-width: 0; box-sizing: border-box; }
.inquiry-form label {
    display: block; margin-bottom: 6px;
    font-size: 14px; font-weight: 500; color: var(--text-dark);
}
.inquiry-form .req::after { content: " *"; color: #d6334c; }
.inquiry-form input,
.inquiry-form textarea {
    width: 100%; padding: 10px 12px;
    font-size: 15px; line-height: 1.5; color: var(--text-dark);
    background: var(--bg-white);
    border: 1px solid var(--border-soft); border-radius: 6px;
    box-shadow: none; box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
    font-family: inherit;
}
.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder { color: #9ca3af; }
.inquiry-form input:focus,
.inquiry-form textarea:focus {
    border-color: var(--brand); outline: none;
    box-shadow: 0 0 0 3px rgba(12, 91, 162, .12);
}
.inquiry-form textarea { min-height: 110px; resize: vertical; }
.inquiry-form .form-submit { margin: 8px 0 0; }
.inquiry-form .ff-btn-submit {
    background: var(--brand); color: #fff; border: none; border-radius: 6px;
    padding: 12px 32px; font-size: 16px; font-weight: 500;
    cursor: pointer; min-width: 160px; transition: background .2s;
}
.inquiry-form .ff-btn-submit:hover,
.inquiry-form .ff-btn-submit:focus { background: var(--brand-hover); color: #fff; }

/* 右栏: 深色品牌蓝卡 (Get Quick Response + 联系方式) */
.contact-info-card {
    background: linear-gradient(135deg, var(--brand) 0%, #0a3d6e 100%);
    color: #fff; border-radius: 10px; padding: 32px;
}
.contact-info-card .info-eyebrow { font-size: 16px; color: rgba(255,255,255,.85); margin: 0 0 4px; }
.contact-info-card .info-title {
    color: #fff; font-size: 26px; font-weight: 700;
    margin: 4px 0 10px; line-height: 1.3;
}
.contact-info-card .info-desc { color: #fff; margin: 0 0 18px; font-size: 15px; line-height: 1.6; }
/* 联系方式列表 (对齐当前 icon-list-child) */
.contact-info-list { list-style: none; margin: 0 0 18px; padding: 0; }
.contact-info-list li {
    display: flex; align-items: center; gap: 10px;
    padding: 7px 0; color: #fff; line-height: 1.4; font-size: 15px;
}
.contact-info-list li i {
    flex: 0 0 auto; width: 20px; height: 20px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-size: 16px;
}
.contact-info-list a { color: #fff; text-decoration: none; }
.contact-info-list a:hover { color: #cfe2f3; }
.contact-info-foot { color: #fff; margin: 0; font-size: 15px; line-height: 1.6; }


/* ===========================================================
   响应式
   =========================================================== */
@media (max-width: 991px) {
    .product-info { padding-left: 0; margin-top: 24px; }
    .product-inquiry .btn { min-width: 0; flex: 1 1 100%; }
    .sidebar { margin-top: 32px; }
    /* Contact 两栏: 平板单列堆叠 (表单在上, 卡片在下) */
    .contact-layout { grid-template-columns: 1fr; gap: 24px; }
    .contact-section-title { font-size: 24px; }
}

@media (max-width: 767px) {
    .content-wrap { padding: 16px 0 40px; }
    .archive-title { font-size: 22px; }
    .article-detail, .product-detail, .page-contact-form, .tab-panel { padding: 18px; }
    .article-title { font-size: 21px; }
    .product-info .product-title { font-size: 21px; }
    .article-content { font-size: 15px; line-height: 1.75; }
    .article-content h2 { font-size: 19px; }
    .article-content h3 { font-size: 17px; }
    /* 正文富文本元素窄屏适配 */
    .article-content .article-lead { font-size: 16px; padding: 14px 16px; margin-bottom: 20px; }
    .article-content .article-figure { margin: 18px 0; }
    .article-content .article-figure figcaption { font-size: 12px; }
    .article-content .article-list { padding-left: 20px; }
    .article-content .article-cta { margin-top: 26px; padding: 18px; }
    .article-content .article-cta h3 { font-size: 17px; }
    .gallery-thumbs .thumb { width: 58px; height: 58px; }
    /* lightbox 移动端: 缩小两侧箭头, 遮挡内容 */
    .product-lightbox .lb-prev, .product-lightbox .lb-next { width: 40px; height: 40px; font-size: 18px; }
    .product-lightbox .lb-prev { left: 6px; }
    .product-lightbox .lb-next { right: 6px; }
    .product-lightbox .lb-close { top: 8px; right: 8px; }
    .nav-card { margin-bottom: 10px; }
    /* 表格横向滚动防撑破 */
    .article-content table, .params-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    /* Contact: 表单字段单列, 深色卡 padding 收紧, 提交按钮全宽 */
    .inquiry-form .form-row-2col { flex-direction: column; gap: 0; }
    .inquiry-form .form-row-2col .form-cell { flex: 0 0 100%; max-width: 100%; }
    .contact-info-card { padding: 22px; }
    .inquiry-form .ff-btn-submit { width: 100%; min-width: 0; padding: 13px; }
}

@media (max-width: 480px) {
    .article-meta span { display: inline-block; margin-right: 14px; margin-bottom: 4px; }
    .related-list img { width: 48px; height: 48px; }
}

/* ===========================================================
   产品分类介绍页 (FastAdmin 结构重建, 复刻目标页视觉)
   布局类型: banner(深色) / grid(网格) / split(左右) / text(纯文)
   背景: cat-soft(浅灰) / cat-white(白) 交替
   =========================================================== */
.cat-block {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    padding: 75px 0;
}
.cat-block--banner { padding: 80px 0; }

/* 背景 (1:1 对齐目标站: #f5f5f5) */
.cat-banner { background: linear-gradient(135deg, #0c5ba2 0%, #0a3d6e 100%); }
.cat-soft   { background: #f5f5f5; }
.cat-white  { background: #fff; }

/* 通用标题 (用高优先级覆盖 .article-content h2 的 24px) */
.article-content .cat-block-title {
    font-size: 40px !important; font-weight: 700; color: var(--text-dark);
    margin: 0 0 24px; line-height: 1.25; text-align: center;
}
.cat-block-lead {
    font-size: 16px; color: var(--text-body); max-width: 720px;
    margin: 0 auto 36px; text-align: center; line-height: 1.7;
}
.article-content .cat-block-text {
    font-size: 16px; color: var(--text-body);
    line-height: 1.65; margin: 0 0 16px;
}

/* 深色 banner */
.cat-banner-inner { max-width: 760px; }
.cat-banner-title { font-size: 40px; font-weight: 700; color: #fff; margin: 0 0 16px; line-height: 1.25; }
.cat-banner-text  { font-size: 16px; color: rgba(255,255,255,.9); line-height: 1.65; margin: 0 0 14px; }
.btn-cat-inquiry {
    display: inline-block; margin-top: 12px; padding: 13px 30px;
    background: var(--brand); color: #fff; border-radius: 4px;
    font-weight: 600; font-size: 15px; transition: all .2s;
}
.btn-cat-inquiry:hover { background: #fff; color: var(--brand); text-decoration: none; }

/* 网格 (产品 4列 / 场景 4列) */
.cat-grid { display: grid; gap: 24px; }
.cat-grid--4 { grid-template-columns: repeat(4, 1fr); }
.cat-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cat-grid-item { margin: 0; background: #fff; border-radius: 8px; overflow: hidden; }
.cat-grid-item img { width: 100%; height: auto; display: block; aspect-ratio: 1/1; object-fit: cover; }

/* 左右分栏 (1:1 对齐: 640px 图 + 文案) */
.cat-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.cat-split--reverse .cat-split-figure { order: 2; }
.cat-split-figure img { width: 100%; height: auto; display: block; border-radius: 8px; }
.article-content .cat-split-body .cat-block-title { text-align: left !important; margin-bottom: 16px; }

/* 响应式 */
@media (max-width: 991px) {
    .cat-block { padding: 48px 0; left: 0; margin-left: 0; width: auto; }
    .article-content .cat-block-title { font-size: 32px !important; }
    .cat-banner-title { font-size: 32px; }
    .cat-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .cat-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .cat-split { grid-template-columns: 1fr; gap: 24px; }
    .cat-split--reverse .cat-split-figure { order: 0; }
}
@media (max-width: 480px) {
    .article-content .cat-block-title { font-size: 26px !important; }
    .cat-banner-title { font-size: 26px; }
    .cat-grid--4, .cat-grid--3 { grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* ===========================================================
   内页通用 Banner (菜单下方横幅: 背景图 + 品牌蓝遮罩 + 面包屑 + H1)
   用于 page/blog/article-detail/product-detail/product-lists
   背景图: /uploads/import/brand/page-banner.jpg (全站共用; 产品页用 -products.jpg)
   高度: 各断点固定值 (稳定观感, 不再等比缩放)
   断点: 991 / 767
   =========================================================== */
.page-banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 540px;          /* PC: 固定高度, 容纳大标题 (对齐参考站偏高的横幅观感) */
    overflow: hidden;
    /* 深色兜底背景: 图缺失/未加载完时仍保证白字标题可读 (原半透蓝蒙版已移除) */
    background-color: #0a3d6e;
}
.page-banner-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}
.page-banner-inner {
    position: relative; z-index: 2;
    padding: 32px 0;
    width: 100%;
}
.page-banner-title {
    font-size: 38px; font-weight: 700; color: #fff;
    margin: 6px 0 0; line-height: 1.25;
    /* 无蒙版: 用多层深色阴影保证白字在任意明暗背景上都清晰可读 */
    text-shadow: 0 2px 10px rgba(0,0,0,.65), 0 1px 3px rgba(0,0,0,.8), 0 0 24px rgba(0,0,0,.45);
}
/* 分类页 hero: 介绍文字 + CTA 按钮 显示在 banner 图上 (对齐参考站单区块深色 hero) */
.page-banner-intro {
    color: rgba(255, 255, 255, .95);
    font-size: 16px;
    line-height: 1.7;
    max-width: 820px;
    margin: 16px 0 0;
    text-shadow: 0 1px 3px rgba(0,0,0,.8), 0 0 16px rgba(0,0,0,.5);
}
.page-banner-cta { margin: 22px 0 0; }
.page-banner-btn {
    display: inline-block;
    background: #fff;
    color: var(--brand);
    border: 2px solid #fff;
    border-radius: 4px;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
}
.page-banner-btn:hover,
.page-banner-btn:focus {
    background: transparent;
    color: #fff;
    border-color: #fff;
    text-decoration: none;
}
/* 面包屑条: 紧贴 banner 下方, 浅灰底 + 深色字, 与上方深色 banner 形成分层 */
.page-banner-crumbs {
    background: #f5f7fa;
    border-bottom: 1px solid #eaedf2;
    font-size: 13px;
}
.page-banner-crumbs .container { padding-top: 0; padding-bottom: 0; }

/* 面包屑 (置于 banner 下方浅色条, 深色字)
   background: transparent 抵消 Bootstrap .breadcrumb 默认的 #f5f5f5 底色 */
.breadcrumb-banner-light {
    padding: 12px 0; margin: 0;
    font-size: 13px; list-style: none;
    display: flex; flex-wrap: wrap; align-items: center;
    background: transparent;
    border-radius: 0;
}
.breadcrumb-banner-light > li { display: inline-block; }
.breadcrumb-banner-light > li + li::before {
    content: "/\00a0"; padding: 0 8px;
    color: #9aa3b2;
}
.breadcrumb-banner-light a { color: #5a6573; }
.breadcrumb-banner-light a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumb-banner-light > .active { color: #1a2332; }

/* 响应式: 平板 (≤991) */
@media (max-width: 991px) {
    .page-banner { min-height: 280px; }
    .page-banner-inner { padding: 28px 0; }
    .page-banner-title { font-size: 32px; }
}
/* 响应式: 移动 (≤767) */
@media (max-width: 767px) {
    .page-banner { min-height: 220px; }
    .page-banner-inner { padding: 24px 0; }
    .page-banner-title { font-size: 26px; }
    .breadcrumb-banner-light { font-size: 12px; padding: 10px 0; }
}

/* ----------------------------------------------------------
   有 banner 的内页: 隐藏导航栏底部的分隔线/阴影, 让 header 与深色 banner 无缝衔接
   (body.has-page-banner 由 page_banner 片段的 inline script 标记)
   只影响含 banner 的页面, 不改变无 banner 页面的导航栏样式
   ---------------------------------------------------------- */
body.has-page-banner .site-header {
    border-bottom: none;
    box-shadow: none;
}

/* ===========================================================
   Distributor Advantages — 6 卡片网格 (distributor-portal 页)
   图标 + 标题 + 描述, 响应式: 桌面 3 列 / 平板 2 列 / 移动 1 列
   =========================================================== */
.dist-advantages {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 0 48px;
}
.dist-adv-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px;
    padding: 0 16px;
}
.dist-adv-heading {
    font-size: 34px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 16px;
    line-height: 1.25;
}
.dist-adv-subtitle {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    margin: 0;
}
.dist-adv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding: 0 16px;
}
.dist-adv-card {
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 32px 28px;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.dist-adv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(20, 40, 80, .10);
    border-color: var(--brand);
}
.dist-adv-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dist-adv-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}
.dist-adv-title {
    font-size: 19px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 12px;
    line-height: 1.35;
}
.dist-adv-desc {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-body);
    margin: 0;
}
.dist-adv-cta {
    text-align: center;
    max-width: 760px;
    margin: 48px auto 0;
    padding: 24px 16px;
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.7;
}

/* 响应式: 平板 (≤991) — 3 列变 2 列 */
@media (max-width: 991px) {
    .dist-adv-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .dist-advantages { padding: 48px 0 40px; }
    .dist-adv-heading { font-size: 30px; }
}

/* 响应式: 移动 (≤767) — 2 列变 1 列, 收紧间距 */
@media (max-width: 767px) {
    .dist-advantages { padding: 36px 0 32px; }
    .dist-adv-header { margin-bottom: 32px; }
    .dist-adv-heading { font-size: 25px; }
    .dist-adv-subtitle { font-size: 15px; }
    .dist-adv-grid { grid-template-columns: 1fr; gap: 18px; padding: 0 14px; }
    .dist-adv-card { padding: 26px 22px; }
    .dist-adv-title { font-size: 18px; }
    .dist-adv-desc { font-size: 14px; }
    .dist-adv-cta { margin-top: 36px; padding: 18px 12px; font-size: 14px; }
}

/* 超窄 (≤380) — 图标/卡片进一步收紧 */
@media (max-width: 380px) {
    .dist-adv-icon { width: 60px; height: 60px; margin-bottom: 16px; }
    .dist-adv-icon img { width: 54px; height: 54px; }
    .dist-adv-card { padding: 22px 18px; }
}

/* ===========================================================
   Distributor Features — 底部 3 特性条 (品牌标语, 带图标)
   深色背景横排: 桌面 3 列 / 平板 2 列 / 移动 1 列
   =========================================================== */
.dist-features {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    background: linear-gradient(135deg, #0f2a4a 0%, #1a3d6b 100%);
    padding: 40px 0;
    margin-top: 0;
}
.dist-features-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: center;
}
.dist-feat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 8px 12px;
}
.dist-feat-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dist-feat-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    /* SVG 蓝色图标在深色背景上反相为白色 */
    filter: brightness(0) invert(1);
    opacity: 0.95;
}
.dist-feat-text {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* 响应式: 平板 (≤991) — 3 列变 2 列 */
@media (max-width: 991px) {
    .dist-features-inner { grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .dist-feat-text { font-size: 15px; }
}

/* 响应式: 移动 (≤767) — 单列堆叠 */
@media (max-width: 767px) {
    .dist-features { padding: 32px 0; }
    .dist-features-inner { grid-template-columns: 1fr; gap: 20px; }
    .dist-feat-item { justify-content: flex-start; padding: 6px 8px; }
    .dist-feat-text { font-size: 14.5px; }
}

/* 超窄 (≤380) */
@media (max-width: 380px) {
    .dist-feat-icon { width: 48px; height: 48px; }
    .dist-feat-icon img { width: 40px; height: 40px; }
    .dist-feat-text { font-size: 14px; }
}

/* ===========================================================
   Certifications — 证书横向网格 (ev-charger 等单页)
   桌面 5 列横排 / 平板 3 列 / 手机 2 列
   =========================================================== */
.cert-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 16px 48px;
}
.cert-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 36px;
}
.cert-heading {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 14px;
    line-height: 1.25;
}
.cert-subtitle {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--text-body);
    margin: 0;
}
.cert-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: stretch;
}
.cert-item {
    margin: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(20, 40, 80, .05);
    transition: transform .25s ease, box-shadow .25s ease;
    /* 让 figure 撑满网格单元, 内部图片等宽 */
    display: flex;
}
.cert-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(20, 40, 80, .12);
}
.cert-item img {
    width: 100%;
    height: auto;
    display: block;
    /* 证书为纵向图(500x707), 限制最大高度避免单元过高; 宽度优先填满 */
    max-height: 420px;
    object-fit: contain;
}

/* 响应式: 平板 (≤991) — 5 列变 3 列 */
@media (max-width: 991px) {
    .cert-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .cert-heading { font-size: 28px; }
    .cert-item img { max-height: 380px; }
}

/* 响应式: 移动 (≤767) — 3 列变 2 列 */
@media (max-width: 767px) {
    .cert-section { padding: 40px 14px 36px; }
    .cert-header { margin-bottom: 28px; }
    .cert-heading { font-size: 24px; }
    .cert-subtitle { font-size: 14.5px; }
    .cert-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .cert-item img { max-height: 320px; }
}

/* 超窄 (≤380) — 仍 2 列, 收紧 */
@media (max-width: 380px) {
    .cert-grid { gap: 10px; }
    .cert-item img { max-height: 260px; }
}

/* ===========================================================
   BESS Charging Station 版块 — ev-charger 分类页 (2026-11)
   产品网格正下方: 介绍 (标题/导语/卖点) + 案例1/2/3 图文交替
   断点: 991 / 767 (与全站一致); 图片四语言共用 brand/bess-*.jpg
   =========================================================== */
.bess-station-section {
    padding: 10px 16px 56px;
    background: var(--bg-white);
}
.bess-station-inner {
    max-width: 1200px;
    margin: 0 auto;
}
/* 介绍区: 居中标题 + 导语 + 卖点双列清单 */
.bess-station-intro {
    text-align: center;
    max-width: 880px;
    margin: 0 auto 48px;
}
.bess-station-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 14px;
    line-height: 1.25;
}
.bess-station-lead {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--text-body);
    margin: 0 0 24px;
}
.bess-station-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
    text-align: left;
}
.bess-station-features li {
    position: relative;
    padding: 12px 16px 12px 40px;
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-body);
}
.bess-station-features li::before {
    content: '\2714';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand);
    font-weight: 700;
}
/* 案例卡: 图文两栏, 奇数卡 (--flip) 反向交替 */
.bess-station-case {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 36px;
    align-items: center;
    margin-top: 44px;
}
.bess-station-case--flip .bess-station-case-media { order: 2; }
.bess-station-case-media { margin: 0; }
.bess-station-case-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(20, 40, 80, .10);
}
.bess-station-case-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 14px;
    line-height: 1.35;
}
.bess-station-case-body p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-body);
    margin: 0 0 12px;
}
.bess-station-case-body p:last-child { margin-bottom: 0; }
.bess-station-case-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.bess-station-case-list li {
    position: relative;
    padding: 6px 0 6px 24px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-body);
}
.bess-station-case-list li::before {
    content: '\2714';
    position: absolute;
    left: 0;
    top: 6px;
    color: var(--brand);
    font-weight: 700;
}

/* 响应式: 平板 (≤991) */
@media (max-width: 991px) {
    .bess-station-title { font-size: 28px; }
    .bess-station-case { gap: 24px; margin-top: 38px; }
    .bess-station-case-title { font-size: 20px; }
}

/* 响应式: 移动 (≤767) — 卖点单列, 案例堆叠为图上文下 */
@media (max-width: 767px) {
    .bess-station-section { padding: 6px 14px 40px; }
    .bess-station-intro { margin-bottom: 36px; }
    .bess-station-title { font-size: 24px; }
    .bess-station-features { grid-template-columns: 1fr; gap: 10px; }
    .bess-station-case { grid-template-columns: 1fr; gap: 16px; margin-top: 34px; }
    .bess-station-case--flip .bess-station-case-media { order: 0; }
    .bess-station-case-title { font-size: 19px; }
}

/* 响应式: 小屏 (≤380) */
@media (max-width: 380px) {
    .bess-station-features li { padding-left: 34px; font-size: 14px; }
}

/* ===========================================================
   DC EV Charging Station 页新增版块 — dc-ev-charger 分类页 (2026-11 修改单第三页)
   1) 案例版块 (网格正下方, D69 批注): 标题 + 案例1/2/3 图文交替,
      行结构复用上方 .bess-station-case* 样式
   2) Make Money 版块 (Advantages 之后, G130/K182 批注): H2 + 6 张场景覆盖卡
   断点: 991 / 767 (与全站一致); 图片四语言共用 brand/dc-* 与 en/ 素材
   =========================================================== */
.dc-cases-section {
    padding: 10px 16px 56px;
    background: var(--bg-white);
}
.dc-cases-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.dc-cases-section .dc-cases-title {
    text-align: center;
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    margin: 6px 0 10px;
}

/* Make Money 6 卡 */
.dc-mm-section {
    padding: 10px 16px 56px;
    background: var(--bg-white);
}
.dc-mm-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.dc-mm-section .dc-mm-title {
    text-align: center;
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    margin: 6px 0 12px;
}
.dc-mm-grid {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.dc-mm-card {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
}
.dc-mm-card img {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}
/* 卡片标题: 提升特异性 (.dc-mm-card 前缀 0,2,0) 压过 .article-content h3 (0,1,1)
   的 color:var(--text-dark)/margin —— 源站全局标题色会把覆盖层白字染成深色 */
.dc-mm-card .dc-mm-card-title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 12px;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
}

/* 响应式: 平板 (≤991) — 6 卡 3 列 → 2 列 */
@media (max-width: 991px) {
    .dc-cases-section .dc-cases-title, .dc-mm-section .dc-mm-title { font-size: 28px; }
    .dc-mm-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .dc-mm-card .dc-mm-card-title { font-size: 20px; }
}

/* 响应式: 移动 (≤767) — 6 卡单列堆叠, 案例图文上下堆叠 (复用 bess-station-case 移动规则) */
@media (max-width: 767px) {
    .dc-cases-section, .dc-mm-section { padding: 6px 14px 40px; }
    .dc-cases-section .dc-cases-title, .dc-mm-section .dc-mm-title { font-size: 24px; }
    .dc-mm-grid { grid-template-columns: 1fr; gap: 14px; }
    .dc-mm-card .dc-mm-card-title { font-size: 19px; }
}

/* AC 页案例区 (ac-station-section, 2026-11 AC sheet) 复用上方 .bess-station-* 案例样式
   (与 BESS 页案例区同模式: 图文交替/响应式断点共用), 仅补独立区块标题 (无 intro 包裹) 的下间距 */
.ac-station-section .bess-station-title { margin-bottom: 40px; }

/* ===========================================================
   加油站方案页新增版块 — gas-station-charging 分类页 (2026-11 修改单)
   1) 光储充一体化版块 (banner 正下方, B19/B20 批注): 文左图右,
      行结构复用 .bess-station-case--flip/.bess-station-lead/.bess-station-features
   2) 4 图版块 (Advantages 之后替代 Client Cases, B66/B23 批注): H2 + 2x2 场景图网格
   断点: 991 / 767 (与全站一致); 图片四语言共用 brand/gs-*.jpg
   =========================================================== */
.gs-solution-section {
    padding: 10px 16px 40px;
    background: var(--bg-white);
}
.gs-solution-inner {
    max-width: 1200px;
    margin: 0 auto;
}
/* 行内首个 case 行去掉继承自 bess-station-case 的 44px 顶部间距 */
.gs-solution-section .bess-station-case { margin-top: 0; }
.gs-solution-section .gs-solution-title {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    margin: 0 0 14px;
}
/* 卖点清单: 单列勾选项 (复用 bess-station-features 基础样式, 覆盖列数) */
.gs-solution-section .bess-station-features.gs-solution-features {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
}

/* 4 图版块 (替代 Client Cases) */
.gs-gallery-section {
    padding: 10px 16px 56px;
    background: var(--bg-white);
}
.gs-gallery-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.gs-gallery-section .gs-gallery-title {
    text-align: center;
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    margin: 6px 0 12px;
}
.gs-gallery-grid {
    margin: 20px 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.gs-gallery-item {
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
}
.gs-gallery-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    box-shadow: 0 6px 24px rgba(20, 40, 80, .10);
}

/* 响应式: 平板 (≤991) */
@media (max-width: 991px) {
    .gs-solution-section .gs-solution-title,
    .gs-gallery-section .gs-gallery-title { font-size: 28px; }
    .gs-gallery-grid { gap: 16px; }
}

/* 响应式: 移动 (≤767) — 图文上下堆叠 (bess-station-case 移动规则), 4 图单列 */
@media (max-width: 767px) {
    .gs-solution-section, .gs-gallery-section { padding: 6px 14px 40px; }
    .gs-solution-section .gs-solution-title,
    .gs-gallery-section .gs-gallery-title { font-size: 24px; }
    .gs-gallery-grid { grid-template-columns: 1fr; gap: 14px; }
}
