:root {
    --primary-color: #0056b3;
    --dark-color: #333;
    --light-color: #fff;
    --gray-color: #666;
    --bg-light-color: #f8f9fa;
    --font-family: "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --box-shadow: 0 16px 20px rgba(0, 0, 0, 0.08);
    --border-radius: 8px;
    --transition-speed: 0.3s ease;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-family); line-height: 1.7; color: var(--dark-color); }
.container { max-width: 1500px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--bg-light-color); }
a { text-decoration: none; color: var(--dark-color); transition: color var(--transition-speed); }
a:hover { color: var(--primary-color); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 10px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }


.card { background: var(--light-color); border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--box-shadow); transition: transform var(--transition-speed), box-shadow var(--transition-speed); text-align: center; }
.card:hover { transform: translateY(-10px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-content { padding: 25px; }
.card-content h3 { font-size: 1.2rem; }

/* 1.1 页头与导航 */
.main-header { background: var(--light-color); box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.main-header .container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo img { height: 40px; }
.header-right { display: flex; align-items: center; }
.main-nav > ul { 
    display: flex;
}
.main-nav > ul > li { 
    position: relative;
    margin: 0 20px;
}
.main-nav a {
    font-size: 1rem;
    font-weight: 500;
    position: relative;
}
.main-nav > ul > li > a, 
.main-nav > ul > li > .nav-item-wrapper > a { 
    display: block;
    padding: 29px 0;
}

.nav-item-wrapper { display: flex; align-items: center; }

.main-nav li:hover > .nav-item-wrapper > a, 
.main-nav li:hover > a, 
.main-nav li.active  a { color: var(--primary-color); }
/* .main-nav>ul>.active a { color: var(--primary-color); }
.main-nav>ul>li.active>a { color: var(--primary-color); } */
.main-nav li:hover > .nav-item-wrapper > a::after,
.main-nav li:hover > a::after, 
/* .main-nav li.active  a::after { content: ''; position: absolute; bottom: 20px; left: 0; width: 100%; height: 3px; background-color: var(--primary-color); } */


/* 桌面端下拉菜单 */
.dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: 260px; background-color: var(--light-color); border: 1px solid #eee; box-shadow: var(--box-shadow); padding: 0; margin-top: 10px; opacity: 0; visibility: hidden; transition: opacity var(--transition-speed), visibility var(--transition-speed), margin-top var(--transition-speed); }
.has-dropdown:hover > .dropdown { opacity: 1; visibility: visible; margin-top: 0; }
.dropdown::before { content: ''; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); border-width: 0 10px 10px 10px; border-style: solid; border-color: transparent transparent var(--light-color) transparent; filter: drop-shadow(0 -2px 2px rgba(0,0,0,0.03)); }
.dropdown li { display: block; }
.dropdown li + li { border-top: 1px solid #f0f0f0; }
.dropdown li a { padding: 15px 25px; text-align: center; display: block; }
.dropdown li a:hover { background-color: var(--bg-light-color); }
.dropdown li a::after { display: none; }
.header-contact { margin-left: 30px; font-size: 1.2rem; font-weight: bold; color: var(--primary-color); white-space: nowrap; }
.mobile-toggle { display: none; }
.submenu-toggle { display: none; }

/* 1.2 友情链接与页脚 */
.friend-links-bar { background-color: #f5f5f5; padding: 15px 0; border-top: 1px solid #e0e0e0; color: var(--dark-color); }
.friend-links-bar .container { display: flex; align-items: center; }
.friend-links-bar span { font-weight: bold; margin-right: 15px; }
.friend-links-bar a { color: var(--gray-color); margin: 0 10px; font-size: 0.9rem; }
.friend-links-bar a:hover { color: var(--primary-color); }
.main-footer { background-color: #2c3e50; color: #bdc3c7; padding-top: 60px; }
.main-footer a {color: #bdc3c7;}
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-bottom: 40px; border-bottom: 1px solid #34495e; }
.footer-col h4 { color: var(--light-color); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a, .footer-col p { color: #bdc3c7; font-size: 0.95rem; }
.footer-col a:hover { color: var(--light-color); }
.footer-qr { text-align: center; }
.footer-qr img{width: 100px;height: 100px;margin: 0 auto;}
.footer-bottom { padding: 20px 0; text-align: center; font-size: 0.9rem; }


/* =================================================================== */
/* ===== 2. 首页样式 (index.html) ================================ */
/* =================================================================== */

.index-banner {
    position: relative;
    overflow: hidden;
    min-height: 700px;
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
    /* 默认隐藏，由JS控制显示 */
    display: none;
}
.swiper-slide.active {
    display: block; /* 当前显示的slide */
}

/* 图片和文字内容的样式保持不变，但要确保它们在slide内部 */
.swiper-slide .page-banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.about-stats .stat-item span.stat-number {
    font-size: 2.8rem; /* 可根据需要调整大小 */
    font-weight: bold;
    color: var(--primary-color); /* 关键修改：使用醒目的主题蓝色 */
    /* display: block; */
}
.about-stats .stat-item p {
    margin-top: 5px;
    color: var(--dark-color);
    font-size: 1rem;
}
/* .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
} */
.index-banner-content {
    position: relative;
    z-index: 3;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 700px;
    padding: 0 20px;
    text-align: center;
}
.index-banner-content h1 { font-size: 3.8rem; /* ... */ }
.index-banner-content p { font-size: 1.2rem; /* ... */ }


/* 左右控制箭头样式 */
.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    z-index: 10;
    cursor: pointer;
    background-size: 27px 44px;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.7;
    transition: opacity var(--transition-speed);
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
    opacity: 1;
}
.swiper-button-prev {
    left: 15px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
}
.swiper-button-next {
    right: 15px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
}

/* 分页指示点样式 */
.swiper-pagination {
    position: absolute;
    text-align: center;
    transition: 300ms opacity;
    transform: translate3d(0, 0, 0);
    z-index: 10;
    bottom: 20px;
    left: 0;
    width: 100%;
}
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 50%;
    background: #fff;
    opacity: 0.5;
    margin: 0 5px;
    cursor: pointer;
    transition: opacity var(--transition-speed), background-color var(--transition-speed);
}
.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

.two-column-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.section-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--primary-color); padding-bottom: 10px; margin-bottom: 20px; }
.section-header h2 { font-size: 1.5rem; margin: 0; }
.more-link { font-size: 0.9rem; color: var(--gray-color); }
.featured-news img { border-radius: var(--border-radius); margin-bottom: 15px; width: 100%; height: 375px; object-fit: cover; }
.featured-news-content { padding: 0 5px; margin-bottom: 20px; }
.featured-news-content h3 { font-size: 1.2rem; margin-bottom: 8px; line-height: 1.5; }
.featured-news-content span { font-size: 0.85rem; color: #999; }
.news-list li, .dynamics-list li { border-bottom: 1px dashed #ddd; }
.news-list li a, .dynamics-list li a { display: flex; justify-content: normal; align-items: center; color: var(--dark-color); padding: 15px 5px; transition: all var(--transition-speed); }
.news-list li a:hover, .dynamics-list li a:hover { color: var(--primary-color); background-color: #f7f7f7; }
.news-list li span, .dynamics-list li span { color: var(--gray-color); font-size: 0.9rem; flex-shrink: 0; margin: 0 85px 0 15px; }
.honor-item { border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--box-shadow);border: 2px solid #888;padding:5px }
.honor-item img { transition: transform var(--transition-speed); }
.honor-item:hover img { transform: scale(1.05); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text p { color: var(--gray-color); margin-bottom: 30px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-text a {color:var(--primary-color)}
.about-stats .stat-item { text-align: center; }
.about-stats .stat-item span { font-size: 2.5rem; font-weight: bold; color: var(--primary-color);  }
.about-stats .stat-item p { margin: 0; color: var(--dark-color); font-size: 1rem; }
.about-image img { border-radius: var(--border-radius); box-shadow: var(--box-shadow); }


/* =================================================================== */
/* ===== 3. 内页公共样式 (layout-sidebar-left) ======================= */
/* =================================================================== */
.page-banner { height: 300px; position: relative; overflow: hidden; }
.page-banner-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
/* .page-banner::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.4); z-index: 2; } */
.breadcrumb-section { background-color: var(--bg-light-color); border-bottom: 1px solid #e0e0e0; }
.breadcrumb { padding: 15px 0; color: var(--gray-color); font-size: 0.9rem; }
.breadcrumb a { color: var(--gray-color); }
.breadcrumb a:hover { color: var(--primary-color); }
.breadcrumb span { color: var(--dark-color); }
.page-content { padding-top: 60px; padding-bottom: 80px; }
.content-title-wrapper {
    text-align: center; 
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #ddd; 
}
.content-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 15px; 
    display: inline-block; 
}

.content-title {
    border-bottom: none;
}
.timeline-intro {
    color: var(--gray-color);
}
.timeline-intro p {
    margin: 0;
}
.two-column-page-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; }
 .sidebar { border: 1px solid #e0e0e0; }
.sidebar-title { background-color: var(--primary-color); color: var(--light-color); padding: 15px 20px; font-size: 1.2rem; font-weight: bold; }
/*.sidebar-nav li a { display: block; padding: 15px 20px; border-bottom: 1px solid #e0e0e0; font-size: 1rem; }
.sidebar-nav li:last-child a { border-bottom: none; }
.sidebar-nav li.active a { background-color: #f0f0f0; font-weight: bold; color: var(--primary-color); }
.sidebar-nav li a:hover { background-color: #f7f7f7; } */
.pagination { padding-top: 40px; text-align: center; border-top: 1px solid #eee;}
.pagination ul { display: inline-block; }
.pagination li { display: inline; margin: 0 4px; }
.pagination a, .pagination span { display: inline-block; padding: 8px 16px; border: 1px solid #ddd; border-radius: 4px; color: var(--dark-color); transition: all var(--transition-speed); }
.pagination a:hover { background-color: var(--bg-light-color); border-color: #ccc; color: var(--primary-color); }
.pagination .active { background-color: var(--primary-color); color: var(--light-color); border-color: var(--primary-color); cursor: default; }

/* =================================================================== */
/* ===== 4. 解决方案/案例中心页样式 (solutions & cases) ========== */
/* =================================================================== */
.product-grid, .case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product-item, .case-item { border: 1px solid #e9e9e9; border-radius: var(--border-radius); overflow: hidden; text-align: center; transition: box-shadow var(--transition-speed); }
.product-item:hover, .case-item:hover { box-shadow: var(--box-shadow); }
.product-item img, .case-item img { width: 100%; height: 220px; object-fit: cover; }
.product-item h4, .case-item h4 { padding: 20px 15px; font-size: 1.1rem; font-weight: normal; }

.product-overview-section {
    display: grid;
    grid-template-columns: 3fr 2fr; /* 左右两栏 */
    gap: 40px;
    margin-bottom: 50px;
}
.main-image {
    min-height:300px;
    max-height:400px;
}
.main-image img {
    border-radius: var(--border-radius);
    width: auto;
    max-height: 300px;
    max-width: 450px;
    margin: 0 auto;
}
.thumbnail-images {
    padding: 10px 0;
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.thumbnail-images img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #eee;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color var(--transition-speed);
}
.thumbnail-images img:hover,
.thumbnail-images img.active {
    border-color: var(--primary-color);
}
.product-intro .content-title {
    font-size: 2rem; /* 调整标题大小 */
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}
.product-intro p {
    font-size: 1rem;
    line-height: 2;
    color: var(--gray-color);
}



.product-tabs-section { margin-bottom: 50px; }
.tab-nav { display: flex; border-bottom: 2px solid var(--primary-color); }

/* =================================================================== */
/* ===== 5. 新闻动态页样式 (news.html) =========================== */
/* =================================================================== */
.article-item { display: flex; gap: 30px; padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid #eee; }
.article-item:last-child { border-bottom: none; margin-bottom: 0; }
.article-image-link { flex-shrink: 0; }
.article-image-link img { width: 240px; height: 160px; object-fit: cover; border-radius: var(--border-radius); transition: opacity var(--transition-speed); }
.article-image-link:hover img { opacity: 0.85; }
.article-content { display: flex; flex-direction: column; }
.article-content h3 { font-size: 1.3rem; margin-bottom: 10px; line-height: 1.5; }
.article-content h3 a:hover { color: var(--primary-color); }
.article-excerpt { color: var(--gray-color); font-size: 0.95rem; line-height: 1.8; margin-bottom: auto; }
.article-date { color: #999; font-size: 0.85rem; padding-top: 10px; }
.pagination a {display: inline-block;margin: 0 5px;}
#page_bg { 
    background-color: var(--primary-color);
    border-color: blue;
    color: #fff;
}

/* =================================================================== */
/* ===== 6. 产品详情页样式 (product-detail.html) ================= */
/* =================================================================== */
.product-display-section { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.product-gallery {border: 1px solid #eee;}
.thumbnail-images { display: flex; gap: 10px; margin-top: 10px;padding:10px auto; justify-content: center;border-top: 1px solid #eee;}
.thumbnail-images img { width: 80px; height: 80px; object-fit: cover; border: 2px solid #eee; border-radius: 4px; cursor: pointer; transition: border-color var(--transition-speed); }
.thumbnail-images img:hover, .thumbnail-images img.active { border-color: var(--primary-color); border: 2px solid blue}
.product-intro p { font-size: 1rem; line-height: 2; color: var(--gray-color); }
.product-tabs-section { margin-bottom: 50px; }
.tab-nav { display: flex; border-bottom: 2px solid var(--primary-color); }
.tab-link { background-color: #f0f0f0; color: var(--dark-color); border: none; padding: 15px 30px; cursor: pointer; font-size: 1.1rem; margin-right: 5px; border-radius: 8px 8px 0 0; transition: all var(--transition-speed); }
.tab-link:hover { background-color: #e0e0e0; }
.tab-link.active { background-color: var(--primary-color); color: var(--light-color); }
.tab-content { display: none; padding: 30px; border: 1px solid #eee; border-top: none; line-height: 1.8; }
.tab-content.active { display: block; }
.page-navigation { display: flex; justify-content: space-between; border-top: 1px solid #eee; padding-top: 30px; margin-bottom: 50px; }
.page-navigation a { color: var(--gray-color); }
.page-navigation a:hover { color: var(--primary-color); }

/* 左侧 */
/* 侧边栏整体 */
/* 侧边栏整体容器 */
.sidebar-nav { list-style: none; padding: 0; margin: 0; }
.sidebar-nav > li {
    display: flex; /* 关键：让 <a> 和 <button> 在一行 */
    flex-wrap: wrap; /* 允许二级菜单换行 */
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}
.sidebar-nav > li:last-child { border-bottom: none; }

/* 一级菜单链接 a */
.sidebar-nav > li > a {
    flex-grow: 1; /* 占据大部分空间 */
    padding: 15px 20px;
    font-weight: bold;
    color: var(--dark-color);
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

/* 展开/收起按钮 button */
.submenu-toggle-icon {
    background: none;
    border: none;
    padding: 15px 20px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gray-color);
    cursor: pointer;
    transition: transform var(--transition-speed);
    flex-shrink: 0;
}

/* 悬停和激活状态 */
.sidebar-nav li:hover,
.sidebar-nav li.active {
    background-color: #f7f7f7;
}
.sidebar-nav li:hover > a,
.sidebar-nav li.active > a {
    color: var(--primary-color);
}
.sidebar-nav li:hover > .submenu-toggle-icon,
.sidebar-nav li.active > .submenu-toggle-icon {
    color: var(--primary-color);
}

/* 二级菜单容器 ul.sidebar-submenu */
.sidebar-submenu {
    width: 100%; /* 确保二级菜单占满整行 */
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #fafafa;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}
.sidebar-submenu li a { display: block; padding: 12px 20px 12px 40px; border-top: 1px solid #eee; font-weight: normal; color: var(--gray-color); }
.sidebar-submenu li a:hover, .sidebar-submenu li.active a { color: var(--primary-color); background-color: #f0f0f0; }

/* 展开状态的核心样式 */
.sidebar-nav .has-submenu.submenu-expanded > .sidebar-submenu {
    max-height: 1000px;
}
.sidebar-nav .has-submenu.submenu-expanded > .submenu-toggle-icon {
    transform: rotate(45deg);
}
/* 结束 */
/* 相关案例区样式 */
.related-cases-section {
    margin-top: 50px;
}
.related-cases-section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
ul.related-cases-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px; /* 列间距40px，行间距0 */
}
ul.related-cases-list li {
    border-bottom: 1px dotted #ccc;
    border-left: 3px solid transparent;
    transition: all var(--transition-speed);
}
ul.related-cases-list li:hover {
    background-color: var(--bg-light-color);
    border-left-color: var(--primary-color);
}
ul.related-cases-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    color: var(--gray-color);
}
ul.related-cases-list li:hover a {
    color: var(--primary-color);
}
.item-title {
    flex-grow: 1; /* 占据可用空间 */
    margin-right: 20px; /* 与日期保持间距 */
    line-height: 1.6;
}
.item-date {
    flex-shrink: 0; /* 防止日期换行 */
    font-size: 0.9rem;
    color: #999;
}


/* =================================================================== */
/* ===== 7. 响应式设计 (所有页面通用) ================================ */
/* =================================================================== */
@media (max-width: 992px) {
    .header-contact { display: none; }
    .header-right { position: absolute; top: 80px; left: 0; width: 100%; background: var(--light-color); max-height: 0; overflow-y: auto; transition: max-height 0.5s ease-in-out; box-shadow: 0 10px 10px rgba(0,0,0,0.05); }
    .header-right.active { max-height: calc(100vh - 80px); }
    .main-image {min-height:auto;}
    .main-image img{width:100%;height:auto;}
    .thumbnail-images {overflow-x: auto;}
    .main-nav { width: 100%; }
    .main-nav > ul { flex-direction: column; }
    .main-nav > ul > li { margin-left: 20px; border-bottom: 1px solid #f0f0f0; }
    .featured-news img {height: auto;}
    .main-nav a { padding: 15px 20px; width: 100%; }
    .main-nav li > a, .main-nav li > .nav-item-wrapper { width: 100%; }
    .index-banner,
    .index-banner-content {
        min-height: 200px; /* 将高度调整为400px */
    }
    .index-banner-content h1 {
        font-size: 2.2rem; /* 同时适当缩小移动端的标题字号 */
    }
    .page-banner{
        height: 200px;
    }
    .index-banner-content p {
        font-size: 1rem;
    }
    .news-list li span, .dynamics-list li span{margin: 0 40px 0 15px;}
    /* 移动端激活样式 */
    .main-nav li.active > a,
    .main-nav li.active > .nav-item-wrapper > a {
        color: var(--primary-color);
        border-bottom: 2px solid var(--primary-color);
    }
    .main-nav li:hover > a::after, 
    .main-nav li:hover > .nav-item-wrapper > a::after,
    .main-nav li.active > a::after { 
        display: none; /* 移除桌面端的下划线 */
    }
    .main-content-area {
        width: 100%;
        overflow: hidden;
    }
    .main-content-area .article-body img,.main-content-area .article-body video{
        width:100% !important;
    }
    /* 方案 */
    .product-overview-section {
        grid-template-columns: 1fr; /* 在中等屏幕变为单列 */
    }
    
    ul.related-cases-list {
        grid-template-columns: 1fr; /* 中等屏幕变为单列 */
    }
    .nav-item-wrapper { justify-content: space-between; line-height: 0.5;}
    .main-nav > ul > li > a, .main-nav > ul > li > .nav-item-wrapper > a { line-height:1.5;flex-grow: 1; padding:15px 20px}
    .submenu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.2rem;
        color: var(--gray-color);
        cursor: pointer;
        padding: 10px 20px;
        font-weight: bold;
        transition: transform var(--transition-speed);
        flex-shrink: 0;
    }
    /* =================================================================== */
    .main-image-wrapper {
        position: relative;
    }

    /* 放大镜预览窗口的样式 (默认隐藏，仅在桌面端显示) */
    .magnifier-preview {
        display: none; /* 移动端默认彻底隐藏 */
        position: absolute;
        top: 0;
        left: 105%;
        width: 100%;
        height: 100%;
        background-color: #fff;
        border: 1px solid #eee;
        z-index: 99;
        background-repeat: no-repeat;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .main-image-wrapper:hover .magnifier-preview {
        opacity: 1; /* 桌面端悬停时显示 */
    }

    /* 缩略图激活状态 (所有设备通用) */
    .thumbnail-images img.active {
        border-color: var(--primary-color);
    }


    /* =================================================================== */
    /* ===== 桌面端样式 (min-width: 993px) =============================== */
    /* =================================================================== */
    @media (min-width: 993px) {
        /* 仅在桌面端显示放大镜预览窗口 */
        .magnifier-preview {
            display: block;
        }
    }
    
    /* 关键修改：移动端下拉菜单样式 */
    .dropdown {
        position: static; 
        width: 100%;
        box-shadow: none;
        border: none;
        border-radius: 0;
        transform:translateX(0);
        background-color: var(--bg-light-color);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
    }
    .dropdown::before { display: none; }
    .dropdown li a { text-align: left; padding-left: 40px; }

    .has-dropdown.submenu-active > .dropdown { max-height: 500px; }
    .has-dropdown.submenu-active > .nav-item-wrapper > .submenu-toggle { transform: rotate(45deg); }
    
    .mobile-toggle { display: block; background: none; border: none; cursor: pointer; padding: 10px; }
    .mobile-toggle span { display: block; width: 25px; height: 3px; background-color: var(--dark-color); margin: 5px 0; transition: all 0.3s; }


    .two-column-layout, .about-layout { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .about-image { order: -1; margin-bottom: 30px; }

    .two-column-page-layout { grid-template-columns: 1fr; }
    .sidebar { margin-bottom: 40px; }
    .product-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
    .product-display-section { grid-template-columns: 1fr; }
    .related-cases-list { grid-template-columns: 1fr; }
    .article-item { flex-direction: column; }
    .article-image-link img { width: 100%; height: 200px; }

    /* 历程 */
    .timeline::before { left: 30px; transform: translateX(0); }
    .timeline li,
    .timeline li:nth-child(even) { width: 100%; left: 0; padding-left: 70px; padding-right: 20px; text-align: left; }
    .timeline li::after,
    .timeline li:nth-child(even)::after { left: 20px; }
    .timeline li img {display: inline-block;max-width: 200px;}
}
@media (max-width: 576px) {
    .section-padding { padding: 60px 0; }
    .page-content { padding-top: 40px; padding-bottom: 60px; }
    .hero-banner-content h1 { font-size: 2.5rem; }
    .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; text-align: center; }
    .product-grid, .case-grid { grid-template-columns: 1fr; }
    .news-list li span, .dynamics-list li span{margin:0 15px;}
}
/* ===== 8. 案例/新闻详情页样式 (case-detail, news-detail) ====== */
/* =================================================================== */

.article-header {
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
    text-align: center;
}

.article-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.article-body {
    font-size: 1rem;
    line-height: 2;
    color: var(--dark-color);
}

.article-body h4 {
    font-size: 1.3rem;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid var(--primary-color);
}

.article-body p {
    margin-bottom: 25px;
    text-indent: 2em; /* 首行缩进 */
}
.article-body img{
    width:100%;
    max-width:600px;
    height: auto;
    margin: 0 auto;
}

.article-body .content-image {
    margin: 30px auto;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.article-footer {
    margin-top: 60px;
}
/* ===== 发展历程页样式 (history.html) =========================== */
/* =================================================================== */
.timeline {
    position: relative;
    padding: 20px 0;
}
/* 中心时间线 */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: #ddd;
}
.timeline ul { padding: 0; margin: 0; }
.timeline li { position: relative; width: 50%; padding: 20px 40px; box-sizing: border-box; }
.timeline li::after { content: ''; position: absolute; width: 20px; height: 20px; border-radius: 50%; background-color: var(--light-color); border: 4px solid var(--primary-color); top: 35px; z-index: 1; }
.timeline li:nth-child(odd) { left: 0; text-align: right; }
.timeline li:nth-child(odd)::after { right: -10px; }
.timeline li:nth-child(even) { left: 50%; }
.timeline li:nth-child(even)::after { left: -10px; }
.timeline li img {display: inline-block; max-width: 200px;}
.timeline-content { padding: 20px 30px; background-color: var(--bg-light-color); border-radius: var(--border-radius); border: 1px solid #eee; position: relative; }
.timeline-content h3 { color: var(--primary-color); font-size: 1.5rem; margin-bottom: 10px; }
.timeline-content p { color: var(--gray-color); font-size: 1rem; }
.prev-page {margin-right: 20px;}
/* ===== 荣誉资质页样式 (honors.html) ======================== */
/* =================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.gallery-item {
    text-align: center;
}
.gallery-image-wrapper {
    border: 2px solid #eee;
    padding: 10px;
    border-radius: var(--border-radius);
    background-color: var(--light-color);
    margin-bottom: 15px;
    transition: box-shadow var(--transition-speed), transform var(--transition-speed);
}
.gallery-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}
.gallery-image-wrapper img {
    width: auto;
    margin: 0 auto;
    height: 200px;
}
.gallery-item h4 {
    font-size: 1rem;
    font-weight: normal;
    color: var(--gray-color);
}
/* ===== 新增：联系我们页样式 (contact.html) ===================== */
/* =================================================================== */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}
.contact-card {
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.contact-card .card-header {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 12px 20px;
    font-size: 1.1rem;
    text-align: center;
}
.contact-card .card-body {
    padding: 30px 20px;
    text-align: center;
    background-color: var(--light-color);
}
.contact-card .card-body p {
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 15px;
    color: var(--dark-color);
}
.map-section {
    margin-bottom: 60px;
    border: 1px solid #eee;
}
.form-section {
    max-width: 700px;
    margin: 0 auto;
}
.form-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 40px;
}
.contact-form .form-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.contact-form label {
    flex: 0 0 100px; /* 固定标签宽度 */
    text-align: right;
    margin-right: 15px;
}
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form textarea {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}
.contact-form .captcha-group input {
    flex: 0 0 120px; /* 固定验证码输入框宽度 */
}
.contact-form .captcha-image {
    margin-left: 15px;
    cursor: pointer;
}
.contact-form .button-group {
    padding-left: 115px; /* 与标签宽度对齐 */
}
.btn-submit, .btn-reset {
    padding: 10px 30px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-speed);
}
.btn-submit {
    background-color: var(--primary-color);
    color: var(--light-color);
    margin-right: 15px;
}
.btn-submit:hover {
    background-color: #004494;
}
.btn-reset {
    background-color: #f0f0f0;
    color: var(--dark-color);
}
.btn-reset:hover {
    background-color: #ddd;
}

.form-status-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: bold;
    display: none; /* 默认隐藏 */
}

.form-status-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.form-status-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}
/* =================================================================== */
/* ===== 9. 响应式设计 ==================================== */
/* =================================================================== */

@media (max-width: 992px) {
    
    .sidebar{display: none;}
    .article-title { font-size: 1.8rem; }
    .article-meta { flex-wrap: wrap; gap: 15px; }
    .page-navigation {
    flex-direction: column; /* 将 flex 容器的方向改为垂直 */
    gap: 15px; /* 在两个链接之间增加间距 */
    }
    /* 发展历程页响应式 */
    .title-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .timeline::before { left: 30px; transform: translateX(0); }
    .timeline li,
    .timeline li:nth-child(even) { width: 100%; left: 0; padding-left: 70px; padding-right: 20px; text-align: left; }
    .timeline li::after,
    .timeline li:nth-child(even)::after { left: 20px; }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {

    .article-title { font-size: 1.5rem; }
    .article-body { line-height: 1.8; }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .contact-form .form-group {
        flex-direction: column;
        align-items: flex-start;
    }
    .contact-form label {
        text-align: left;
        margin-bottom: 5px;
        flex: 0;
    }
    .contact-form input, .contact-form textarea {
        width: 100%;
    }
    .contact-form .button-group {
        padding-left: 0;
    }
}