

        /* 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; /* 标题底部间距 */
        }
        /* ADDED START: Styles for the new Subcategory Navigation */
        .subcategory-nav {
            display: flex;
            justify-content: center;
            margin-bottom: 30px; /* Space between nav and the description paragraph */
        }
        
        .subcategory-nav ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
            gap: 15px; /* Space between the buttons */
            justify-content: center;
        }
        
        .subcategory-nav li a {
            display: inline-block;
            padding: 8px 20px;
            background-color: #fff;
            border: 1px solid #dce9f5;
            border-radius: 50px; /* Pill-shaped buttons */
            color: #337ab7;
            font-weight: 500;
            transition: all 0.3s ease;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            text-decoration: none;
        }
        
        /* Style for the active/hovered button */
        .subcategory-nav li.active a,
        .subcategory-nav li a:hover {
            background-color: #007bff;
            color: #fff;
            border-color: #007bff;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,123,255,0.15);
        }

        /* News List Section - Now full width */
        .news-list-section {
            padding: 40px 0;
        }

        /* Main list area now takes full width */
        .main-list-area {
            width: 100%; /* Take full width of its container */
            max-width: 1200px; /* Limit to container max-width */
            margin: 0 auto; /* Center it */
        }

        /* News Grid Specific Styles */
        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* 适应性网格，最小320px */
            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: 90%;
            height: 200px; /* 固定图片高度 */
            background-color: #e0e0e0; /* Placeholder background */
            display: flex;
            margin:0 auto;
            padding-top:10px;
            justify-content: center;
            align-items: center;
            font-size: 18px;
            color: #666;
            object-fit: cover; /* 确保图片覆盖整个区域 */
        }

        .news-card-content {
            padding: 25px;
            flex-grow: 1; /* 内容区域占据剩余空间 */
            display: flex;
            flex-direction: column;
            justify-content: space-between; /* 标题、摘要、日期/链接分布 */
        }

        .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; /* 摘要占据更多空间 */
        }

        .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;
        }

        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            margin-top: 40px;
            gap: 10px;
        }

        .pagination a {
            display: inline-block;
            padding: 10px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            color: #007bff;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        .pagination li.active,
        .pagination a:hover {
            background-color: #007bff;
            color: #fff;
            border-color: #007bff;
        }
        .pagination li.active a{
            color: #fff;
        }

        /* Main Products Section (formerly sidebar-block main-products) */
        .main-products-section {
            background-color: #fff;
            padding: 30px; /* Adjusted padding for a full-width section */
            border-radius: 8px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.08);
            margin-top: 40px; /* Space from pagination */
            text-align: center; /* Center the title */
        }

        .main-products-section h2 {
            font-size: 28px; /* Larger title for a main section */
            color: #2c3e50;
            margin-bottom: 25px;
            font-weight: 700;
            border-bottom: 2px solid #e0e0e0;
            padding-bottom: 15px;
            display: inline-block; /* Make border-bottom only under text */
        }

        .main-products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* More columns for products */
            gap: 25px;
            margin-top: 20px;
        }

        .product-item-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 20px;
            border: 1px solid #f0f0f0;
            border-radius: 8px;
            background-color: #f9f9f9;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            text-align: center;
        }

        .product-item-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.1);
        }

        .product-item-card img {
            width: 80px; /* Larger image for main section */
            height: 80px;
            border-radius: 50%; /* Make it round */
            object-fit: cover;
            margin-bottom: 15px;
            border: 3px solid #007bff; /* Add a border */
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .product-item-card a {
            font-size: 18px;
            color: #007bff;
            font-weight: 600;
            line-height: 1.4;
        }
        .product-item-card a:hover {
            text-decoration: underline;
        }


        /* Footer Links */
        .footer-links {
            margin-top: 20px;
            margin-bottom: 20px;
        }

        .footer-links ul {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px 25px; /* Row and column gap */
        }

        .footer-links a {
            color: #ecf0f1;
            font-size: 15px;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: #007bff;
            text-decoration: underline;
        }

        .pagination li {list-style: none}
       

        /* Responsive Design */
        @media (max-width: 992px) {
            /* No sidebar, so main-content-layout is not needed */
            .main-list-area {
                width: 100%; /* Ensure it takes full width */
            }
            .news-list-section .container {
                padding: 30px; /* Adjust padding for smaller screens */
            }
            .main-products-grid {
                grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Adjust for smaller screens */
            }
        }

        @media (max-width: 768px) {
            .header .container {
                flex-direction: column;
                align-items: center;
            }
            .logo {
                margin-bottom: 15px;
                margin-right: 0;
            }
            .menu-toggle {
                display: flex;
            }
            .nav-menu {
                display: none;
                flex-direction: column;
                width: 100%;
                position: absolute;
                top: 70px;
                left: 0;
                box-shadow: 0 4px 8px rgba(0,0,0,0.1);
                padding: 10px 0;
                background-color: #fff; /* Ensure background for mobile menu */
            }
            body.nav-open .nav-menu {
                display: flex;
            }
            .nav-menu li {
                margin: 10px 0;
            }

            .section-title {
                font-size: 28px;
            }
            /* News grid for mobile */
            .news-grid {
                grid-template-columns: 1fr; /* Single column on mobile */
            }
            /* Main products grid for mobile */
            .main-products-grid {
                grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Two columns on mobile */
            }
            .product-item-card {
                padding: 15px;
            }
            .product-item-card img {
                width: 60px;
                height: 60px;
            }
            .product-item-card a {
                font-size: 16px;
            }
        }

        @media (max-width: 480px) {
            .section-title {
                font-size: 24px;
            }
            .main-products-grid {
                grid-template-columns: 1fr; /* Single column on very small mobile */
            }
        }