/* ============================================================
   Tag 页面样式
   主色：#9e2d28（主站砖红）
   字体阶梯：44/32 → 24 → 20 → 17 → 15 → 14 → 13
   原则：红做锚点，暖灰做底，细线边界，卡片有层次，字号统一
   ============================================================ */

html {
    font-size: 100%; /* 以浏览器默认 16px 为 rem 基准，尊重用户设置 */
}

:root {
    /* 主站砖红体系 */
    --primary-color: #9e2d28;
    --primary-dark: #7a211d;
    --secondary-color: #b8443e;
    --accent-color: #c97b5a;

    /* 暖中性底 */
    --light-bg: #f7f5f3;
    --card-bg: #ffffff;
    --text-color: #2b2523;
    --text-muted: #6b5f5a;
    --soft-border: #e2dcd8;

    /* 阴影：三层叠加，卡片有清晰浮起感 */
    --shadow-elevation: 0 1px 2px rgba(122, 33, 29, 0.05),
                        0 4px 10px rgba(122, 33, 29, 0.05),
                        0 12px 28px rgba(122, 33, 29, 0.06);
    --shadow-card-hover: 0 2px 4px rgba(122, 33, 29, 0.06),
                         0 8px 20px rgba(122, 33, 29, 0.08),
                         0 20px 40px rgba(122, 33, 29, 0.10);

    --radius: 4px;
    --radius-card: 6px;

    /* 字号阶梯 */
    --fs-display: clamp(2rem, 3.5vw, 2.75rem); /* 32–44px 页面主标题 */
    --fs-section: 1.5rem;                       /* 24px 区块标题 */
    --fs-card-head: 1.25rem;                    /* 20px 卡片头部栏 */
    --fs-card-sub: 1.0625rem;                   /* 17px 卡片内小标题 */
    --fs-body: 0.9375rem;                       /* 15px 正文基准 */
    --fs-secondary: 0.875rem;                   /* 14px 次级正文/表格 */
    --fs-caption: 0.8125rem;                    /* 13px 辅助小字/表头 */
    --fs-micro: 0.75rem;                        /* 12px 序号/徽标 */
}

.grid-box.four>.column {
    width: 100%!important;
}
a.footsin {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 500px;
    display: inline-block;
    vertical-align: middle;
}
/* ============================================================
   基础
   ============================================================ */
body {
    font-family: 'Roboto', sans-serif;
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-bg);
    margin: 0;
    padding: 0;
}

.tag-page-container a {
    text-decoration: none;
   
    transition: color 0.25s;
}
.tag-page-container a:hover {
    color: var(--primary-dark);
}

.tag-page-container {
    max-width: 1430px;
    margin: 0 auto;
    padding: 20px 30px 60px 30px;
}

header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 20px 30px;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.breadcrumb {
    background-color: var(--card-bg);
    padding: 15px 30px;
    font-size: var(--fs-caption);
    border-bottom: 1px solid var(--soft-border);
}

/* ============================================================
   Hero 首屏
   ============================================================ */
.tag-hero-section {
    padding: 130px 0 32px;   /* 顶部留白用于避让固定导航，可按实际导航高度调整 */
    margin-bottom: 0;
    border-bottom: 1px solid var(--soft-border);
    position: relative;
}

.tag-hero-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 130px;
    bottom: 32px;
    width: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.tag-title {
    font-size: 40px;
    line-height: 1.22;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 8px 18px;
    letter-spacing: -0.02em;
    text-align: left;
   
}

.tag-hero-section .hero-section-p {
    font-size: var(--fs-caption);
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 20px 18px;
    text-align: left;
}

/* ============================================================
   Quick Answer —— 首屏高亮卡片
   ============================================================ */
.editor-content-1 {
    font-size: var(--fs-body);
    line-height: 1.8;
    color: var(--text-color);
    background: #fdf7f6;
    padding: 24px 26px;
    border-radius: var(--radius-card);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-elevation);
    margin-left: 18px;
    transition: box-shadow 0.3s ease;
}

.editor-content-1:hover {
    box-shadow: var(--shadow-card-hover);
}

.editor-content-1 p {
    line-height: 1.8;
    margin: 0 0 14px;
}

.editor-content-1 p:last-child {
    margin-bottom: 0;
}

.editor-content-1 strong {
    font-weight: 700;
    color: var(--primary-dark);
}

/* ============================================================
   关联产品 Auxil-related
   ============================================================ */
.Auxil-related {
    background: var(--light-bg);
    border-top: 1px solid var(--soft-border);
    border-bottom: 1px solid var(--soft-border);
}

.Auxil-related h2 {
    font-size: var(--fs-section);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.Auxil-related .grid-box.four {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.Auxil-related .column {
    width: auto;
    float: none;
    background: var(--card-bg);
    border: 1px solid var(--soft-border);
    border-radius: var(--radius-card);
    padding: 16px;
    box-shadow: var(--shadow-elevation);
    transition: border-color 0.2s, box-shadow 0.25s;
}

.Auxil-related .column:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-card-hover);
}

.Auxil-related .column .img-box {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 3px;
    background: #f2eeec;
    margin-bottom: 12px;
}

.Auxil-related .column .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.Auxil-related h4 {
    font-size: var(--fs-body);
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.45;
    margin: 0;
    position: relative;
    padding-left: 14px;
}

.Auxil-related h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 5px;
    height: 5px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* 兼容其他页面可能复用的 product-preview-section */
.product-preview-section .list {
    margin-top: 50px;
}
.product-preview-section .list span.swiper-notification {
    display: none;
}
.product-preview-section .list .box {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
}
.product-preview-section .list .newbox1 {
    padding: 10px;
    background: #f2eeec;
}
.product-preview-section .box .img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.product-preview-section .list .box .con {
    margin-top: 20px;
}
.product-preview-section .list .box .con p {
    font-size: var(--fs-secondary);
    line-height: 1.6;
}
.product-preview-section .list .box .con h6 {
    font-size: var(--fs-body);
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: #1e1a19;
    line-height: 1.5;
    text-transform: capitalize;
}

/* ============================================================
   主内容矩阵
   ============================================================ */
.content-matrix {
    display: grid;
    gap: 40px;
    grid-template-columns: 2fr 1fr;
}

/* ============================================================
   通用卡片模块（Specification / 侧栏等）
   ============================================================ */
.editor-module {
    font-size: var(--fs-body);
    background-color: var(--card-bg);
    padding: 24px 26px;
    border: 1px solid var(--soft-border);
    border-radius: var(--radius-card);
    margin-bottom: 30px;
    box-shadow: var(--shadow-elevation);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    line-height: 1.75;
    overflow: hidden;
}

.editor-module:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

/* 卡片头部栏 */
.editor-module h2 {
    font-size: var(--fs-card-head);
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary-color);
    margin: -24px -26px 20px;
    padding: 16px 26px;
    background: #faf6f5;
    border-bottom: 2px solid var(--primary-color);
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    letter-spacing: 0.01em;
}

/* 卡片内小标题 */
.editor-module h3,
.editor-module h4 {
    color: var(--primary-color);
    margin: 0 0 14px;
    font-weight: 700;
    font-size: var(--fs-card-sub);
    line-height: 1.45;
    text-align: left;
    padding-left: 12px;
    border-left: 3px solid var(--primary-color);
}

.editor-module p {
    line-height: 1.75;
    margin: 0 0 16px;
    color: var(--text-color);
}
.editor-module p:last-child {
    margin-bottom: 0;
}

.editor-module strong {
    font-weight: 700;
}

.editor-module ul {
    list-style: none;
    padding-left: 0;
    margin: 0 0 4px;
}

.editor-module li {
    padding: 9px 0 9px 22px;
    border-bottom: 1px dotted var(--soft-border);
    position: relative;
    line-height: 1.7;
    color: var(--text-color);
}
.editor-module li:last-child {
    border-bottom: none;
}
.editor-module li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 9px;
}

/* ============================================================
   Specification —— 规格表格
   ============================================================ */
.info-column1 {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.info-column1 table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-secondary);
    line-height: 1.6;
    border: 1px solid var(--soft-border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 4px;
}

.info-column1 table th {
    background: var(--primary-dark);
    color: #fff;
    font-weight: 600;
    font-size: var(--fs-caption);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.5;
    padding: 14px 16px;
    text-align: left;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid var(--primary-dark);
}
.info-column1 table th:last-child {
    border-right: none;
}

.info-column1 table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--soft-border);
    border-right: 1px solid var(--soft-border);
    color: var(--text-color);
    vertical-align: top;
    font-size: var(--fs-secondary);
    line-height: 1.6;
}
.info-column1 table td:last-child {
    border-right: none;
}

.info-column1 table tr:last-child td {
    border-bottom: none;
}

.info-column1 table tbody tr:nth-child(even),
.info-column1 table tr:nth-child(even) {
    background: #faf8f7;
}

.info-column1 table tbody td:first-child,
.info-column1 table tr td:first-of-type {
    font-weight: 650;
    color: var(--primary-dark);
    white-space: nowrap;
}

/* 通用 spec-table（保留兼容） */
.spec-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 15px;
    border-radius: var(--radius);
    overflow: hidden;
}
.spec-table th,
.spec-table td {
    padding: 15px;
    text-align: left;
    font-size: var(--fs-secondary);
    line-height: 1.6;
    border-bottom: 1px solid var(--soft-border);
}
.spec-table th {
    background-color: var(--primary-dark);
    color: #fff;
    font-weight: 600;
    font-size: var(--fs-caption);
    text-transform: uppercase;
}
.spec-table tr:last-child td {
    border-bottom: none;
}

/* ============================================================
   Advantage —— 独立卡片 + 优势项小卡片
   ============================================================ */
.editor-module1 {
    background: var(--card-bg);
    padding: 24px 26px;
    border: 1px solid var(--soft-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-elevation);
    margin: 30px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: var(--fs-body);
    line-height: 1.75;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.editor-module1:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

/* 卡片头部栏 */
.editor-module1 h3,
.editor-module1 h4 {
    font-size: var(--fs-card-head);
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary-color);
    text-align: left;
    margin: -24px -26px 20px;
    padding: 16px 26px;
    background: #faf6f5;
    border-bottom: 2px solid var(--primary-color);
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    position: relative;
}
.editor-module1 h3::after,
.editor-module1 h4::after {
    display: none;
}

.editor-module1 p {
    line-height: 1.75;
    margin: 0 0 16px;
}
.editor-module1 p:last-child {
    margin-bottom: 0;
}

/* 优势项：编号小卡片网格 */
.jinfeng-ul-1 {
    counter-reset: adv;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: none;
}

.jinfeng-ul-1 li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    background: #fdf9f8;
    border: 1px solid var(--soft-border);
    border-radius: var(--radius);
    box-shadow: 0 1px 2px rgba(122, 33, 29, 0.04);
    line-height: 1.7;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.jinfeng-ul-1 li:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(122, 33, 29, 0.08);
}

.jinfeng-ul-1 li::before {
    content: counter(adv);
    counter-increment: adv;
    font-size: var(--fs-micro);
    font-weight: 700;
    color: #fff;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.jinfeng-ul-1 li span {
    font-size: var(--fs-body);
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.65;
    display: block;
}

/* ============================================================
   Get a Quotation —— 侧栏服务卡片
   ============================================================ */
.editor-module-service h3 {
    font-size: var(--fs-card-head);
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary-color);
    text-align: left;
    margin: -24px -26px 20px;
    padding: 16px 26px;
    background: #faf6f5;
    border-bottom: 2px solid var(--primary-color);
    border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.editor-module-service p {
    line-height: 1.75;
    margin: 0 0 14px;
}

.editor-module-service a {
    display: inline-block;
    margin-top: 6px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: #fff;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: var(--fs-secondary);
    letter-spacing: 0.02em;
    line-height: 1.5;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.editor-module-service a:hover {
    background: var(--primary-dark);
    color: #fff;
    box-shadow: 0 4px 12px rgba(122, 33, 29, 0.25);
}

/* 侧栏卡片内边距略收，头部栏同步收窄 */
.sidebar-content-column .editor-module {
    padding: 22px;
}

.sidebar-content-column .editor-module h2,
.sidebar-content-column .editor-module-service h3 {
    margin: -22px -22px 18px;
    padding: 14px 22px;
}

/* ============================================================
   FAQ
   ============================================================ */
.editor-module-faq {
    background: var(--card-bg);
    border: 1px solid var(--soft-border);
    border-radius: var(--radius-card);
    padding: 0;
    box-shadow: none;
    max-width: none;
    margin: 30px 0;
    font-size: var(--fs-body);
    font-family: Arial, sans-serif;
}

.editor-module-faq h3,
.editor-module-faq h4 {
    font-size: var(--fs-card-head);
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary-color);
    padding: 16px 18px 14px;
    margin: 0;
    border-bottom: 2px solid var(--primary-color);
    text-align: left;
}

.editor-module-faq ul {
    list-style: none;
    border: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.editor-module-faq li {
    padding: 0;
    transition: background-color 0.25s ease;
}

.editor-module-faq li:first-child {
    background: #f5f0ee;
    color: var(--text-color);
    font-weight: 600;
    font-size: var(--fs-body);
    line-height: 1.5;
    padding: 14px 40px 14px 18px;
    border-bottom: 1px solid var(--soft-border);
    position: relative;
    cursor: pointer;
}

.editor-module-faq li:first-child::after {
    content: '+';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1;
    color: var(--secondary-color);
    transition: transform 0.25s ease;
}

.editor-module-faq li:first-child.expanded::after {
    content: '−';
}

.editor-module-faq li:last-child {
    background: #ffffff;
    color: var(--text-muted);
    font-size: var(--fs-secondary);
    line-height: 1.7;
    padding: 0 18px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease;
}

.editor-module-faq li:last-child.active {
    max-height: 600px;
    padding: 16px 18px;
    opacity: 1;
}

/* ============================================================
   Application / 延伸信息
   ============================================================ */
.more-info {
    background: var(--card-bg);
    border: 1px solid var(--soft-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-elevation);
    padding: 24px 26px;
    margin-top: 32px;
    font-size: var(--fs-body);
    line-height: 1.75;
    transition: box-shadow 0.28s ease;
    overflow: hidden;
}

.more-info:hover {
    box-shadow: var(--shadow-card-hover);
}

.more-info h2 {
    font-size: var(--fs-card-head);
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary-color);
    margin: -24px -26px 18px;
    padding: 16px 26px;
    background: #faf6f5;
    border-bottom: 2px solid var(--primary-color);
    border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.more-info p {
    color: var(--text-muted);
    font-size: var(--fs-secondary);
    line-height: 1.75;
    margin: 0 0 18px;
}

.more-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.more-info li {
    margin: 0;
    padding: 0;
}

.more-info a {
    display: inline-block;
    text-decoration: none;
    color: var(--primary-dark);
    background: #fdf7f6;
    border: 1px solid #ecd6d3;
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: var(--fs-caption);
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.more-info a:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    box-shadow: 0 3px 10px rgba(122, 33, 29, 0.2);
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1000px) {
    .Auxil-related .grid-box.four {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .content-matrix {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .tag-title {
        font-size: 2rem;
    }
    .editor-module {
        margin-bottom: 20px;
    }
    .tag-page-container,
    header,
    .breadcrumb {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 768px) {
    .jinfeng-ul-1 {
        grid-template-columns: 1fr;
    }
    .jinfeng-ul-1 li {
        width: 100%;
        padding: 14px 15px;
    }
    .tag-hero-section {
        padding-top: 110px;
    }
    .tag-hero-section::before {
        top: 110px;
    }
}

@media (max-width: 600px) {
    .Auxil-related .grid-box.four {
        grid-template-columns: 1fr;
    }

    .tag-hero-section::before {
        display: none;
    }
    .tag-title,
    .tag-hero-section .hero-section-p,
    .editor-content-1 {
        margin-left: 0;
    }

    .tag-title {
        font-size: 1.75rem;
    }

    .editor-content-1 {
        padding: 18px;
    }

    .editor-module,
    .editor-module1,
    .more-info {
        padding: 18px;
    }

    .editor-module h2,
    .editor-module1 h3,
    .editor-module1 h4,
    .editor-module-service h3,
    .more-info h2 {
        margin: -18px -18px 16px;
        padding: 14px 18px;
        font-size: 1.125rem; /* 18px，小屏头部栏略降 */
    }

    .sidebar-content-column .editor-module {
        padding: 18px;
    }
    .sidebar-content-column .editor-module h2,
    .sidebar-content-column .editor-module-service h3 {
        margin: -18px -18px 16px;
        padding: 14px 18px;
    }

    .jinfeng-ul-1 {
        gap: 12px;
    }

    .info-column1 table {
        font-size: var(--fs-caption);
    }
    .info-column1 table th,
    .info-column1 table td {
        padding: 10px 11px;
    }
}