:root {
    /* 品牌配色：深蓝/海军蓝/高档灰/金色 */
    --primary-color: #004a99; /* 经典深蓝 */
    --secondary-color: #c90000; /* 强调红/工程红 */
    --accent-color: #ffb800; /* 强调金/亮黄 */
    --light-bg: #f5f7fa; /* 柔和浅灰背景 */
    --card-bg: white; /* 卡片背景 */
    --text-color: #1a1a1a; /* 深色文本 */
    --soft-border: #e0e4eb; /* 柔和边框 */
    --shadow-elevation: 0 6px 20px rgba(0, 0, 0, 0.08); /* 更明显的阴影 */
    --radius: 12px; /* 更圆润的圆角 */
    --max-content-width: 1430px;
}

/* --- 全局样式和重置 --- */
body {
    font-family: 'Poppins', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

.tag-page-container {
    max-width: var(--max-content-width); 
    margin: 0 auto;
    padding: 20px 30px 60px 30px;
}
@media (max-width: 768px) {
    .tag-page-container {
        padding: 15px 15px 40px 15px;
    }
}

/* --- 链接样式 --- */
.tag-page-container a {
    text-decoration: none;
    transition: color 0.3s, opacity 0.3s;
}
.tag-page-container a:hover {
    color: var(--primary-color);
    opacity: 0.8;
}

/* --- 横幅和标题 --- */
.inner-banner {
    min-height: 250px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}
.inner-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* 增加蒙版以提升文字可读性 */
}
.inner-banner .ui.container {
    position: relative;
    z-index: 2;
}
.banner-title {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.2; /* 42px -> 1.2 */
}
@media (max-width: 768px) {
    .inner-banner { min-height: 180px; }
    .banner-title { font-size: 28px; line-height: 1.2; /* 28px -> 1.2 */ }
}

/* --- 英雄区/简介区 --- */
.tag-hero-section {
    padding: 40px 0;
    margin-bottom: 30px;
    text-align: center;
}
h1.tag-title {
    font-size: 36px; 
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    line-height: 1.2; /* 36px -> 1.2 */
}
.tag-hero-section .hero-section-p {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
    color: var(--secondary-color);
    line-height: 1.6; /* 18px -> 1.6 */
}
.editor-content-1 {
    font-size: 16px;
    color: var(--text-color);
    padding: 30px 40px;
    background: linear-gradient(135deg, #f0f4f8, #e3e7ec); /* 浅色渐变背景 */
    border-radius: var(--radius);
    line-height: 1.6; /* 16px -> 1.6 */
    border-left: 5px solid var(--accent-color); /* 强调条 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.editor-content-1 strong {
    font-weight: 700;
    color: var(--primary-color);
}
@media (max-width: 768px) {
    .tag-title { font-size: 28px; line-height: 1.2; }
    .tag-hero-section .hero-section-p { font-size: 16px; line-height: 1.6; }
    .editor-content-1 { font-size: 14px; padding: 20px; line-height: 1.8; }
}

/* --- 内容矩阵布局 --- */
.content-matrix {
    display: grid;
    gap: 40px;
    grid-template-columns: 2fr 1fr; 
}
@media (max-width: 1024px) {
    .content-matrix {
        grid-template-columns: 1fr; /* 移动端/平板改为单列 */
    }
}

/* --- 编辑器模块 (det1-det7) 核心样式 --- */
.editor-module {
    font-size: 14px;
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius);
    margin-bottom: 30px;
    box-shadow: var(--shadow-elevation);
    transition: transform 0.3s, box-shadow 0.3s;
    line-height: 1.8; /* 基础字体14px -> 1.8 */
}
.editor-module:hover {
    transform: translateY(-5px); /* 更明显的高档动效 */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* --- H 标签样式 (应用您的行高规范) --- */
.editor-module h2, .editor-module h3, .editor-module h4, .innerTit, .section_title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.editor-module h2 {
    font-size: 24px;
    line-height: 1.2; /* 24px -> 1.2 */
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 10px;
}
.editor-module h3 {
    font-size: 20px;
    line-height: 1.4; /* 20px -> 1.4 */
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.editor-module h4 {
    font-size: 18px;
    line-height: 1.6; /* 18px -> 1.6 */
    color: var(--text-color);
    margin-bottom: 10px;
}

/* --- det1-det7 内部元素样式 --- */
.editor-det p {
    font-size: 14px;
    line-height: 1.8; /* 14px -> 1.8 */
    margin-bottom: 15px;
    color: #444;
}
.editor-det strong {
    font-weight: 700;
    color: var(--primary-color);
}
.editor-det ul {
list-style: disc; 
    padding-left: 20px; 
    margin: 15px 0;
}
.editor-det li {
    font-size: 14px;
    line-height: 1.8; 
    padding: 8px 0;
    border-bottom: 1px dashed var(--soft-border);
    position: relative;
    padding-left: 0; /* 移除自定义前缀的内边距 */
    transition: background-color 0.3s;
    list-style: disc; /* 确保普通列表有圆点 */
}
.editor-det li:hover {
    background-color: #fcfcfc;
}
.editor-det li::before {
content: none;
}
.editor-det li:last-child {
    border-bottom: none;
}
.faq-active-module ul {
    list-style: none; /* FAQ 列表不显示默认列表点 */
    padding-left: 0;
}

.faq-active-module .faq-question-li {
    cursor: pointer;
    font-weight: 500 !important;
    position: relative;
    padding-right: 40px !important;
    color: var(--primary-color);
    background-color: #f0f4f8; /* 浅色背景区分问题 */
    border: 1px solid var(--soft-border);
    border-radius: 8px;
    margin-bottom: 5px;
    padding-left: 15px;
    
    /* 覆盖通用 li 样式 */
    list-style: none;
}

/* 问号/箭头图标 */
.faq-active-module .faq-question-li::before {
    font-family: 'FontAwesome';
    content: '\f059'; /* 问号图标 */
    color: var(--secondary-color);
    font-weight: normal;
    position: absolute;
    left: 15px; /* 移动到左侧 */
    font-size: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: none; /* 隐藏通用的 checkmark，使用专门的箭头 */
}
.faq-active-module .faq-question-li::after {
    content: '\f078'; /* 向下箭头 */
    font-family: 'FontAwesome';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s;
    color: var(--primary-color);
}
.faq-active-module .faq-question-li.expanded::after {
    transform: translateY(-50%) rotate(180deg); 
    color: var(--accent-color);
}


/* 答案样式 (关键：控制展开/折叠) */
.faq-active-module .faq-answer-li {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px; 
    margin-bottom: 10px;
    transition: max-height 0.3s ease-in-out; 
    background-color: #fcfcfc;
    border-left: 5px solid var(--accent-color);
    border-radius: 0 0 8px 8px;
    color: #555;
    
    list-style: none;
    border-bottom: none;
    line-height: 1.8;
}
/* 答案展开时的样式 */
.faq-active-module .faq-answer-li.active-answer {
    padding: 15px; 
    border: 1px solid var(--soft-border);
    border-top: none;
}

/* --- 侧边栏和推荐产品 --- */
.sidebar-module {
    padding: 20px;
    background-color: #e6f0ff; 
    border-left: 5px solid var(--primary-color);
}
.recommended-links-modern {
    padding: 0;
}
.linksys-title {
    font-size: 18px;
    line-height: 1.6;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--soft-border);
    text-align: center;
    font-weight: 700;
}
.links-list {
    display: flex;
    flex-direction: column;
}
.recommended-link {
    font-size: 14px;
    line-height: 1.8;
    padding: 10px 10px;
    margin-bottom: 5px;
    border-radius: 4px;
    background-color: white;
    border: 1px solid var(--soft-border);
    display: block;
    transition: background-color 0.3s, border-color 0.3s;
}
.recommended-link:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}


/* --- 图片样式 --- */
.full-width-image-container {
    text-align: center;
    margin: 40px 0;
    padding: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-elevation);
}
.full-width-image-container .responsive-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* --- About Bohai 区块 (增强高档感) --- */
.our-about {
    background-color: var(--card-bg);
    padding: 60px 0;
    margin-top: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-elevation);
}
.our-about .box {
    display: flex;
    gap: 40px;
    align-items: center;
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 0 30px;
}
.our-about .left, .our-about .right {
    flex: 1;
}
.our-about .section_title {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 10px;
    text-align: left;
}
.our-about .section_title span {
    color: var(--secondary-color);
}
.our-about .font-18 {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 10px;
}
.our-about .mml-text {
    font-size: 16px;
    line-height: 1.6;
}
.our-about .btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-radius: 5px;
    margin-top: 20px;
    font-weight: 700;
    transition: background-color 0.3s;
}
.our-about .btn:hover {
    background-color: #e6a700;
}
.our-about .right {
    position: relative;
    cursor: pointer;
}
.our-about .play {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.our-about .play img {
    width: 100%;
    height: auto;
    display: block;
}
@media (max-width: 768px) {
    .our-about .box {
        flex-direction: column;
        padding: 0 15px;
    }
    .our-about .section_title {
        font-size: 28px;
        text-align: center;
    }
    .our-about .left {
        text-align: center;
    }
}

/* --- 留言表单区域 --- */
.prodetFeedback {
    padding: 60px 0;
    background-color: var(--card-bg);
    margin-top: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-elevation);
}
.prodetFeedback .innerTit {
    font-size: 28px;
    line-height: 1.2;
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 40px;
}
/* 假设 ptForm 内部是表单样式，需要额外补充 */

/* --- 遗留样式清理和兼容性 (根据原始文件保留) --- */
/* 以下是一些原始代码中定义的样式，为防止影响其他页面而保留，但已遵循字体行高原则 */
.info-column1 table th, .info-column1 table td {
    padding: 10px 10px;
    border: 1px solid var(--soft-border);
    width: 30%;
    font-size: 14px;
    line-height: 1.8;
}
.info-column1 table th {
    font-weight: 700;
    background-color: #f7f7f7;
}
.info-column1 table tbody tr td:first-of-type {
    font-weight: 500;
    color: var(--primary-color);
}

/* 额外的 det6 模块样式 */
.more-info {
    margin-top: 30px;
    padding: 40px;
    background-color: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-elevation);
    text-align: left;
}
.more-info p {
    font-size: 16px;
    line-height: 1.6;
}

/* 兼容原始项目中其他元素的字体和行高 */
.font-18 { font-size: 18px; line-height: 1.6; }
.font-16 { font-size: 16px; line-height: 1.6; }
.font-14 { font-size: 14px; line-height: 1.8; }
.faq-answer-li {
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    background-color: #f7f9fc;
    border-left: 5px solid var(--accent-color);
}
.faq-answer-li.active-answer {
    max-height: 500px; 
    padding: 15px 30px; 
}
.faq-question-li {
    cursor: pointer;
    font-weight: 500 !important;
    position: relative;
    padding-right: 40px !important;
}
.faq-question-li::after {
    content: '\f078'; 
    font-family: 'FontAwesome';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s;
    color: var(--secondary-color);
}
.faq-question-li.expanded::after {
    transform: translateY(-50%) rotate(180deg);
}
m-page {
    /* 核心居中和间距设置 */
    text-align: center;
    padding: 30px 0; /* 略微减小垂直间距 */
    font-size: 16px; /* 字体增大 */
}


/* 针对 det6 模块内的一级列表 (UL) */
.det-6 ul {
    /* 确保一级列表有足够的左侧空间 */
    padding-left: 20px; 
    list-style: disc; /* 标准圆点 */
}

/* 针对 det6 模块内的二级和更多级列表 (嵌套 UL) */
.det-6 ul ul {
    /* 确保嵌套的列表继续向右缩进 */
    padding-left: 40px; 
}

/* 确保 det6 内部的列表项文本左对齐 */
.det-6 ul li {
    text-align: left;
    /* 移除所有可能存在的自定义左侧图标和内边距，使用标准的列表缩进 */
    padding-left: 0 !important; 
}

/* 确保 det6 内部的标题也是左对齐的 */
.det-6 h2, .det-6 h3, .det-6 h4 {
    text-align: left; 
    font-size: 16px; 
    font-weight: bold; 
    color: #333333; 
}

/* ===========================================
   留言表单区域：最终通用适配版，只影响表单
   =========================================== */

/* 外层容器依然保持你的原始样式 */
.prodetFeedback {
    padding: 60px 0;
    background-color: var(--card-bg);
    margin-top: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-elevation);
}

/* 标题 */
.prodetFeedback .innerTit {
    font-size: 28px;
    line-height: 1.2;
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

/* 表单宽度居中 */
.prodetFeedback form,
.prodetFeedback .ptForm {
    max-width: 900px;
    margin: 0 auto;
}

/* 输入框、下拉框、文本框通用样式 */
.prodetFeedback input,
.prodetFeedback textarea,
.prodetFeedback select {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    border: 1px solid var(--soft-border);
    border-radius: 8px;
    background-color: #fafbfc;
    margin-bottom: 22px;
    transition: all .25s;
    box-sizing: border-box;
}

/* 获得焦点效果 */
.prodetFeedback input:focus,
.prodetFeedback textarea:focus,
.prodetFeedback select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 74, 153, 0.15);
    outline: none;
}

/* 文本框高度 */
.prodetFeedback textarea {
    min-height: 140px;
    resize: vertical;
}

/* label 样式 */
.prodetFeedback label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 6px;
}

/* 处理系统生成的 ul/li 结构 */
.prodetFeedback ul,
.prodetFeedback li {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 提交按钮通用样式 */
.prodetFeedback input[type="submit"],
.prodetFeedback button[type="submit"],
.prodetFeedback button {
    background-color: var(--accent-color);
    color: #fff !important;
    padding: 14px 30px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: .3s;
    margin-top: 10px;
    display: inline-block;
}

/* 按钮悬停效果 */
.prodetFeedback input[type="submit"]:hover,
.prodetFeedback button[type="submit"]:hover,
.prodetFeedback button:hover {
    background-color: #e6a700;
    transform: translateY(-2px);
}
.m-page {
    text-align: center;
    padding: 45px 0;
    font-size: 14px;
}
.m-page span, .m-page a {
    margin: 0 1px;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 31px;
    background-image: -moz-linear-gradient(top, #575e63, #404549);
    background-image: -webkit-linear-gradient(top, #575e63, #404549);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#575e63, endColorstr=#404549, GradientType='0');
    color: #fff;
}