/* Breadcrumb Navigation */
        .breadcrumb {
            background-color: #f2f7fc;
            padding: 10px 0;
            font-size: 15px;
            border-bottom: 1px solid #e0e0e0;
        }

        .breadcrumb ol {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            padding: 0 20px; /* Adjust padding for container */
            margin: 0 auto;
            max-width: 1200px; /* Match main container width */
        }

        .breadcrumb li {
            display: flex;
            align-items: center;
            color: #666;
        }

        .breadcrumb li + li::before {
            content: '/';
            margin: 0 8px;
            color: #999;
        }

        .breadcrumb li a {
            color: #007bff;
            text-decoration: none;
        }

        .breadcrumb li a:hover {
            text-decoration: underline;
        }

        .breadcrumb li:last-child {
            color: #333;
            font-weight: 500;
        }

        /* Section Styling - 各内容区块的通用样式 */
        .section {
            padding: 60px 0; /* 上下内边距 */
            background-color: #fff; /* 背景色 */
            margin-bottom: 20px; /* 底部外边距 */
            border-radius: 8px; /* 圆角 */
            box-shadow: 0 4px 10px rgba(0,0,0,0.08); /* 阴影 */
        }

        .section:nth-of-type(even) {
            background-color: #f2f7fc; /* 偶数区块使用浅蓝色背景，增加视觉区分 */
        }

        .section-title {
            font-size: 36px;
            font-weight: 700;
            color: #2c3e50;
            text-align: center;
            margin-bottom: 40px; /* 标题底部间距 */
        }

        /* News Content Section with Sidebar */
        .news-content-section {
            padding: 40px 0; /* Slightly less padding to make space for sidebar */
        }

        .main-content-layout {
            display: flex;
            gap: 30px; /* Space between main content and sidebar */
            align-items: flex-start; /* Align items to the top */
        }

        .main-article-area {
            flex: 3; /* Takes 3 parts of the available space (e.g., ~70%) */
            min-width: 0; /* Allow content to shrink */
        }

        .sidebar {
            flex: 1; /* Takes 1 part of the available space (e.g., ~30%) */
            display: flex;
            flex-direction: column;
            gap: 20px; /* Space between sidebar blocks */
        }

        .sidebar-block {
            background-color: #fff;
            padding: 25px;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }

        .sidebar-block h2 {
            font-size: 22px;
            color: #007bff;
            margin-bottom: 15px;
            font-weight: 600;
            border-bottom: 2px solid #e0e0e0;
            padding-bottom: 10px;
        }

        /* Sidebar Product List with Images */
        .sidebar-products-grid {
            display: grid;
            grid-template-columns: 1fr; /* Single column by default */
            gap: 15px;
        }

        .sidebar-product-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px;
            border: 1px solid #f0f0f0;
            border-radius: 5px;
            transition: background-color 0.2s ease;
        }

        .sidebar-product-item:hover {
            background-color: #f9f9f9;
        }

        .sidebar-product-item img {
            width: 50px;
            height: 50px;
            border-radius: 4px;
            object-fit: cover;
            flex-shrink: 0; /* Prevent image from shrinking */
        }

        .sidebar-product-item .product-text {
            flex-grow: 1;
        }

        .sidebar-product-item .product-text a {
            font-size: 16px;
            color: #333;
            font-weight: 500;
            line-height: 1.3;
        }
        .sidebar-product-item .product-text a:hover {
            color: #007bff;
            text-decoration: underline;
        }


        .sidebar-block ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .sidebar-block li {
            margin-bottom: 10px;
        }

        .sidebar-block li:last-child {
            margin-bottom: 0;
        }

        .sidebar-block a {
            color: #555;
            font-size: 16px;
            display: block; /* Make links block level for better click area */
            padding: 5px 0;
            transition: color 0.3s ease;
        }

        .sidebar-block a:hover {
            color: #007bff;
            text-decoration: underline;
        }

        /* Article Content Styles */
        .article-container {
            max-width: none; /* Remove fixed max-width, let flex control */
            margin: 0; /* Remove auto margin */
            padding: 40px;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.08);
        }

        .article-title {
            font-size: 38px;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 20px;
            text-align: center;
            line-height: 1.3;
        }

        .article-meta {
            text-align: center;
            font-size: 15px;
            color: #888;
            margin-bottom: 30px;
            border-bottom: 1px solid #eee;
            padding-bottom: 15px;
        }

        .article-meta span {
            margin: 0 10px;
        }

        .article-image {
            width: 100%;
            height: auto;
            max-height: 450px;
            object-fit: cover;
            border-radius: 8px;
            margin-bottom: 30px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .article-content p {
            font-size: 17px;
            line-height: 1.8;
            margin-bottom: 20px;
            color: #444;
            text-align: justify; /* 段落两端对齐 */
        }

        .article-content h3 {
            font-size: 24px;
            color: #007bff;
            margin-top: 30px;
            margin-bottom: 15px;
            font-weight: 600;
        }

        /* Article Tags */
        .article-tags {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #eee;
        }

        .article-tags h4 {
            font-size: 18px;
            color: #2c3e50;
            margin-bottom: 15px;
            font-weight: 600;
            display: inline-block; /* For border-bottom effect */
            padding-right: 10px;
            border-bottom: 2px solid #007bff;
        }

        .article-tags .tag-list {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .article-tags .tag-list li {
            display: inline-block;
        }

        .article-tags .tag-list a {
            background-color: #e9f5ff; /* Light blue background */
            color: #007bff;
            padding: 8px 15px;
            border-radius: 20px; /* Pill shape */
            font-size: 14px;
            font-weight: 500;
            transition: background-color 0.3s ease, color 0.3s ease;
            border: 1px solid #007bff; /* Border matching text color */
        }

        .article-tags .tag-list a:hover {
            background-color: #007bff;
            color: #fff;
            text-decoration: none;
        }


        /* Article Navigation (Prev/Next) - NOW INSIDE .article-container */
        .article-container .article-nav {
            display: flex;
            justify-content: space-between;
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid #eee;
            /* Remove max-width and margins here as it's now contained */
            max-width: none; /* Ensure it fills its parent */
            margin-left: 0;
            margin-right: 0;
        }

        .article-nav a {
            display: inline-flex;
            align-items: center;
            color: #007bff;
            font-weight: 500;
            padding: 10px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            transition: background-color 0.3s ease, color 0.3s ease;
            max-width: 48%; /* Ensure they don't overlap */
            text-align: left;
            word-break: break-word; /* Allow long titles to break */
            flex-direction: column; /* Stack text for smaller titles */
            align-items: flex-start; /* Align text to left */
        }
        .article-nav a .nav-direction {
            font-size: 14px;
            color: #666;
            margin-bottom: 5px;
        }
        .article-nav a .nav-title {
            font-size: 16px;
            font-weight: 600;
            color: #007bff;
        }

        .article-nav a:hover {
            background-color: #007bff;
            color: #fff;
            text-decoration: none;
            border-color: #007bff;
        }
        .article-nav a:hover .nav-direction,
        .article-nav a:hover .nav-title {
            color: #fff; /* Change text color to white on hover */
        }


        .article-nav .prev-article {
            margin-right: auto; /* Push to left */
        }

        .article-nav .next-article {
            margin-left: auto; /* Push to right */
            text-align: right; /* Align text to right for next button */
            align-items: flex-end; /* Align text to right */
        }

        /* Related Articles Section */
        .related-articles-section {
            padding: 60px 0;
            background-color: #f2f7fc; /* Use light background for this section */
            margin-top: 20px; /* Space from previous section */
            border-radius: 8px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.08);
        }

        .related-articles-section .section-title {
            color: #2c3e50; /* Match main title color */
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Adaptive grid */
            gap: 30px;
        }

        .news-card {
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.08);
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .news-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 15px rgba(0,0,0,0.12);
        }

        .news-card-image {
            width: 100%;
            height: 200px; /* Fixed image height */
            background-color: #e0e0e0; /* Placeholder background */
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 18px;
            color: #666;
            object-fit: cover; /* Ensure image covers entire area */
        }

        .news-card-content {
            padding: 25px;
            flex-grow: 1; /* Content area takes remaining space */
            display: flex;
            flex-direction: column;
            justify-content: space-between; /* Title, summary, date/link distribution */
        }

        .news-card-content h3 {
            font-size: 22px;
            color: #2c3e50;
            margin-bottom: 10px;
            font-weight: 600;
            line-height: 1.4;
        }

        .news-card-content p {
            font-size: 15px;
            color: #555;
            margin-bottom: 15px;
            flex-grow: 1; /* Summary takes more space */
        }

        .news-card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 14px;
            color: #999;
        }

        .news-card-footer a {
            color: #007bff;
            font-weight: 500;
        }
 /* Responsive Design */
        @media (max-width: 992px) {
            .main-content-layout {
                flex-direction: column; /* Stack main content and sidebar vertically */
            }
            .main-article-area {
                flex: none; /* Remove flex sizing */
                width: 100%; /* Take full width */
            }
            .sidebar {
                flex: none; /* Remove flex sizing */
                width: 100%; /* Take full width */
            }
            .article-container {
                padding: 30px; /* Adjust padding for smaller screens */
            }
            /* Footer Responsive */
            .feature-item {
                flex-basis: calc(50% - 15px); /* 2 columns */
            }
            
        }

        @media (max-width: 768px) {
            /* 移动端头部样式 */
            .header {
                padding: 10px 0; /* 减少头部内边距，使其更紧凑 */
            }
            .header .container {
                flex-direction: row; /* 确保Logo和导航按钮在同一行 */
                justify-content: space-between; /* Logo在左，导航按钮在右 */
                align-items: center;
            }
            .logo {
                margin-bottom: 0; /* 移除额外底部间距 */
                margin-right: 0;
            }
            /* 导航按钮（汉堡菜单）在移动端显示并定位到右侧 */
            .menu-toggle {
                display: flex; /* 在移动端显示汉堡菜单按钮 */
                position: absolute; /* 相对于 .header .container 定位 */
                right: 20px; /* 距离右侧20px */
                top: 50%; /* 垂直居中 */
                transform: translateY(-50%);
            }
            /* 移动端导航菜单默认隐藏，点击按钮后显示 */
            .nav-menu {
                transform: translateY(-100%); 
                transition: transform 0.3s ease-out; 
                position: fixed; 
                top: 0;
                left: 0;
                width: 100%;
                height: 100%; 
                background-color: #fff; 
                z-index: 999; 
                padding-top: 80px; 
                overflow-y: auto; 
                display: flex; 
                flex-direction: column; 
                justify-content: flex-start; 
                align-items: center; 
            }
            body.nav-open .nav-menu {
                transform: translateY(0); 
            }
            .nav-menu li {
                margin: 5px 0; 
                width: 100%; 
                text-align: center; 
            }
            .nav-menu a {
                padding: 8px 0; 
                font-size: 16px; 
                border-bottom: 1px solid #eee; 
                display: block; 
            }
            .nav-menu li:last-child a {
                border-bottom: none; 
            }

            .nav-menu .close-menu-btn {
                position: absolute;
                top: 20px;
                right: 20px;
                font-size: 30px;
                color: #888;
                cursor: pointer;
                transition: color 0.3s ease;
            }
            .nav-menu .close-menu-btn:hover {
                color: #333;
            }

            .article-container {
                padding: 25px;
            }
            .article-title {
                font-size: 28px;
            }
            .article-content p {
                font-size: 16px;
            }
            .article-content h3 {
                font-size: 20px;
            }
            .contact-popup {
                width: 100%;
                max-width: 100%;
                border-radius: 0;
            }

            /* 移动端文章上下页导航样式调整 */
            .article-nav {
                flex-direction: row; 
                flex-wrap: wrap; 
                justify-content: space-between; 
                gap: 15px; 
            }
            .article-nav a {
                width: calc(50% - 7.5px); 
                padding: 12px 10px; 
                font-size: 15px; 
                text-align: left; 
                flex-direction: column; 
                align-items: flex-start; 
                justify-content: center; 
            }
            .article-nav a .nav-direction {
                margin-bottom: 5px; 
                margin-right: 0; 
            }
            .article-nav .prev-article {
                margin-right: 0; 
            }
            .article-nav .next-article {
                margin-left: 0; 
                text-align: right; 
                align-items: flex-end; 
            }

            .article-tags .tag-list {
                justify-content: center; 
            }
            .article-tags .tag-list a {
                padding: 6px 12px; 
                font-size: 13px; 
            }
             /* Footer Responsive */
            
        }

        @media (max-width: 480px) {
            .article-title {
                font-size: 24px;
            }
            .article-content p {
                font-size: 15px;
            }
            .sidebar-products-grid {
                grid-template-columns: 1fr; 
            }
            .article-nav {
                flex-direction: row; 
                flex-wrap: wrap; 
                gap: 10px; 
            }
            .article-nav a {
                width: calc(50% - 5px); 
                padding: 10px; 
                font-size: 14px; 
            }
            .article-nav a .nav-direction {
                margin-bottom: 3px; 
            }
            .article-nav .prev-article,
            .article-nav .next-article {
                margin: 0;
            }
            /* Footer Responsive */
            .feature-item {
                flex-basis: 100%; /* 1 column */
                justify-content: flex-start; /* Align icon and text to start */
            }
        }