/* ---------------------------------------------------- */
/* 0. 基础重置和排版 (Base Reset and Typography) */
/* ---------------------------------------------------- */

body {
    font-family: 'Arial', sans-serif; /* 选用更现代的字体 */
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa; /* 轻微的灰色背景 */
}

/* 统一容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5 {
    font-family: 'Georgia', serif; /* 标题使用衬线字体增加质感 */
    color: #004d99; /* 主题蓝色 */
    margin-top: 0;
    margin-bottom: 15px;
}

h1.tag-title {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    color: #004d99;
    padding-bottom: 10px;
    border-bottom: 3px solid #004d99;
    
}

.hero-section-p {
    text-align: center;
    font-style: italic;
    color: #6c757d;
    margin-bottom: 40px;
}

.editor-content-1 {
    font-size: 16px;
    line-height: 2;
    text-align: justify;
    margin-bottom: 40px;
}

.tag-hero-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
    border-radius: 16px;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}

.tag-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #4e8fff, #8e54e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.editor-content-1 {
    font-size: 16px;
    line-height: 2;
    text-align: justify;
    margin-bottom: 40px;
    color: #333;
    
}

.tag-hero-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
    border-radius: 16px;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.06);
}

.tag-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #4e8fff, #8e54e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.editor-content-1 {
    font-size: 16px;
    line-height: 2;
    text-align: justify;
    margin-bottom: 40px;
    color: #333;
}

.editor-content-1 p {
    margin-bottom: 1.2em;
    transition: all 0.25s ease;
}

.editor-content-1 strong {
    color: #4e8fff;
    font-weight: bold;
}

.editor-content-1 a {
    color: #4e8fff;
    text-decoration: none;
    border-bottom: 1px dotted #4e8fff;
    transition: 0.3s;
}

.editor-content-1 a:hover {
    color: #8e54e9;
    border-color: #8e54e9;
}



.editor-content-1 h4{
   font-weight: bold;
   margin-bottom: 20px;
   margin-top: 20px;
   font-size: 18px;
   color: #004d99;
}

/* ---------------------------------------------------- */
/* 1. 顶部横幅 (Banner) */
/* ---------------------------------------------------- */

.inner-banner {
    min-height: 250px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

.inner-banner h2 {
    font-size: 2.2em;
    color: #fff;
    text-align: center;
    border-bottom: none; /* 取消标题下划线 */
}

/* ---------------------------------------------------- */
/* 2. 主体布局 (Main Content Layout) */
/* ---------------------------------------------------- */

.tag-page-container {
    padding-top: 30px;
    padding-bottom: 50px;
}

/* 两栏布局 - 使用 Flexbox 实现 70%/30% 划分 */
.two-col-layout {
    display: flex;
    gap: 30px; /* 列间距 */
    align-items: flex-start; /* 顶部对齐 */
}

.main-content-column {
    flex: 3; /* 占据约 66% 宽度 */
    min-width: 0; /* 防止溢出 */
}

.sidebar-content-column {
    flex: 1.5; /* 占据约 33% 宽度 */
    min-width: 280px;
}

/* 模块化卡片样式 (适用于 Det1-Det6, Service, FAQ) */
.editor-module, .editor-module1, .editor-module-service, .editor-module-faq {
    background: #fff;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px; /* 柔和圆角 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* 柔和阴影 */
    border-left: 5px solid #0099ff; /* 强调色左边框 */
    font-size: 16px;
    line-height: 2;
    margin-top: 20px;
}

.editor-module h4,
.editor-module1 h4,
.editor-module-service h4,
.editor-module-faq h4{
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #004d99;
    font-size: 18px ;
    font-weight: bold ;
}
.editor-module-faq >ul >li >h4{
    font-size: 16px!important;
    font-weight: bold!important;
    color:#000!important;
    margin-top:20px;

}
.info-column1 editor-module{
    margin-top:20px!important;
}


/* ---------------------------------------------------- */
/* 3. 相关产品 (Related Products) */
/* ---------------------------------------------------- */

.sidebar-related-products {
    margin-bottom: 30px;
}
.Changledes h3{
    margin-bottom: 20px;
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.8;
    font-weight: bold;
    color: #004d99;
}
.grid-box related-products-grid{
    margin-bottom: 20px!important;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 侧边栏产品两列展示 */
    gap: 15px;
}

.related-product-item .box {
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    background: #fff;
}

.related-product-item .box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.related-product-item .img-box img {
    width: 100%;
    height: auto;
    display: block;
}

.related-product-item .text {
    padding: 10px;
    text-align: center;
}

.related-product-item .text h2 a {
    font-size: 0.9em;
    color: #333;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-page{
    background-color: white!important;
}
.inner-page .container .sidebar-fl{
    width:32%!important;
}
.gfdhfg{
    margin-top:-160px!important;
}


/* ---------------------------------------------------- */
/* 4. 关于我们 (About Us Section) */
/* ---------------------------------------------------- */

.about-page {
    background-color: #e6f2ff; /* 浅蓝色背景强调此区域 */
    padding: 50px 0;
    margin-top: 40px;
}

.about-two-col {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-two-col .left, .about-two-col .right {
    flex: 1;
}

.about-two-col .box2 img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.about-two-col .right h3.title {
    font-size: 2em;
    color: #002b55;
}

.about-two-col .right h5 {
    color: #555;
    font-style: italic;
    margin-bottom: 20px;
}


/* ---------------------------------------------------- */
/* 5. 联系我们 (Contact Section) */
/* ---------------------------------------------------- */

.contact-page {
    padding: 50px 0;
}

.init-contact1 h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #004d99;
}

.contact-info-map .map {
    margin-top: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* ---------------------------------------------------- */
/* 6. 底部链接 (More Info) */
/* ---------------------------------------------------- */

.more-info {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: 30px;
}

.more-info-link {
    display: inline-block;
    padding: 8px 15px;
    margin: 5px;
    background-color: #0099ff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 16px;
    line-height: 2;
}

.more-info-link:hover {
    background-color: #007acc;
}

/* ---------------------------------------------------- */
/* 7. 响应式调整 (Responsive Adjustments) */
/* ---------------------------------------------------- */

@media (max-width: 992px) {
    /* 侧边栏和主内容堆叠 */
    .two-col-layout {
        flex-direction: column;
    }

    .main-content-column, .sidebar-content-column {
        flex: none;
        width: 100%;
        min-width: auto;
    }

    /* 关于我们区域堆叠 */
    .about-two-col {
        flex-direction: column;
    }
    
    .about-two-col .left, .about-two-col .right {
        width: 100%;
    }
    
    .about-two-col .right {
        margin-top: 20px;
    }

    /* 联系我们区域堆叠 */
    .init-contact1 .grid-box.two {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    /* 移动端产品列表单列显示 */
    .related-products-grid {
        grid-template-columns: 1fr;
    }

    .inner-banner h2 {
        font-size: 1.5em;
    }
}
#header .nav .nav-box .menu-box .menu>li{
    display: inline-block;
    position: relative;
    margin: 0 35px !important;
    vertical-align: top;
    }
.gfdgdfg{
  width:300%!important;
}


/* 标题样式优化 */
.Changledes h3 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}

/* 网格容器：实现一行3个 */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* 卡片之间的间距 */
    padding: 10px;
}

/* 每个产品的宽度计算：(100% - 间距总和) / 3 */
.related-product-item {
    flex: 0 0 calc((100% - 40px) / 3); 
    box-sizing: border-box;
    margin-bottom: 20px;
}

/* 卡片内部装饰 */
.related-product-item .box {
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    height: 100%;
}

.related-product-item .box:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); /* 鼠标悬停阴影 */
    transform: translateY(-5px); /* 向上微动 */
}

/* 图片处理：保持比例 */
.related-product-item .img-box {
    width: 100%;
    aspect-ratio: 1 / 1; /* 强制图片容器为正方形 */
    overflow: hidden;
}

.related-product-item .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 图片自动裁剪填充 */
    display: block;
}

/* 标题文字样式 */
.related-product-item .content-box {
    padding: 15px;
    text-align: center;
}

.related-product-item h2 {
    font-size: 16px;
    margin: 0;
    line-height: 1.4;
}

.related-product-item h2 a {
    text-decoration: none;
    color: #333;
    /* 超过两行显示省略号 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- 响应式适配 --- */
@media (max-width: 992px) {
    /* 平板端一行 2 个 */
    .related-product-item {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (max-width: 600px) {
    /* 手机端一行 1 个 */
    .related-product-item {
        flex: 0 0 100%;
    }
}

