.hero {
    padding: 4rem 0;
}
		/* 主要内容区域 */
		.main-content {
			display: flex;
			gap: 30px;
			padding: 40px 0;
		}

		/* 左侧分类导航 */
		.category-sidebar {
			width: 280px;
			flex-shrink: 0;
		}

		.category-title {
			font-size: 18px;
			padding: 15px 20px;
			background: var(--primary-color);
			color: var(--white);
			border-radius: 8px 8px 0 0;
			margin-bottom: 0;
		}

		.category-list {
			background: var(--white);
			border-radius: 0 0 8px 8px;
			box-shadow: var(--shadow);
		}

		.category-item {
			border-bottom: 1px solid #f0f0f0;
			position: relative;
			list-style: none;
		}

		.category-item:last-child {
			border-bottom: none;
		}

		.category-link {
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 15px 20px;
			color: var(--dark-color);
			text-decoration: none;
			transition: var(--transition03);
		}

		.category-link:hover {
			background: var(--primary-light);
			color: var(--white);
		}

		.category-link i {
			transition: var(--transition03);
		}

		.category-item:hover .category-link i {
			transform: rotate(90deg);
		}

		.subcategory-list {
			position: absolute;
			left: 100%;
			top: 0;
			width: 200px;
			background: var(--white);
			box-shadow: var(--shadow);
			border-radius: 0 8px 8px 0;
			opacity: 0;
			visibility: hidden;
			transform: translateX(-10px);
			transition: var(--transition03);
			z-index: 10;
		}

		.category-item:hover .subcategory-list {
			opacity: 1;
			visibility: visible;
			transform: translateX(0);
		}

		.subcategory-item {
			border-bottom: 1px solid #f0f0f0;
			list-style: none;
		}

		.subcategory-item:last-child {
			border-bottom: none;
		}

		.subcategory-link {
			display: block;
			padding: 12px 20px;
			color: var(--dark-color);
			text-decoration: none;
			transition: var(--transition03);
		}

		.subcategory-link:hover {
			background: var(--primary-light);
			color: var(--white);
		}

		/* 产品列表区域 */
		.hyx-news-content {
			flex: 1;
		}

		.hyx-news-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 20px;
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #f8fafc;
}

/* 网格布局：自动响应列数 */
.hyx-news-grid ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
  list-style: none;
}

/* 新闻卡片 */
.hyx-news-grid li {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  transition: transform 0.25s ease, box-shadow 0.3s ease;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.6);
}

.hyx-news-grid li:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -10px rgba(0, 100, 200, 0.15), 0 8px 15px -6px rgba(0, 0, 0, 0.05);
  border-color: #b2d4ff;
}

/* 整个卡片作为链接 */
.hyx-news-grid a {
  display: flex;
  flex-wrap: wrap;
  text-decoration: none;
  color: #1e293b;
  height: 100%;
  padding: 18px 16px 16px 18px;
  /* 为内部flex布局做准备 */
}

/* 左侧主要内容区 (图片+文字) */
.hyx-news-grid .d1_text {
  display: flex;
  flex: 1 1 240px;  /* 至少240px，允许拉伸 */
  gap: 16px;
}

/* 图片容器 */
.hyx-news-grid .img {
  flex: 0 0 100px;          /* 固定宽度100px */
  height: 100px;
  border-radius: 14px;
  overflow: hidden;
  background-color: #eef2f6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.2s;
}

.hyx-news-grid .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.hyx-news-grid li:hover .img img {
  transform: scale(1.06);
}

/* 文字区块 */
.hyx-news-grid .text {
  flex: 1;
  min-width: 0; /* 防止flex溢出 */
}

.hyx-news-grid .text h3 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  color: #0f172a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.hyx-news-grid .text p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #475569;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

/* 右侧日期标记 (年份 + 月日) */
.hyx-news-grid .d1_year {
  flex: 0 0 70px;           /* 固定宽度70px */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(145deg, #f1f5f9, #e6edf5);
  border-radius: 40px 12px 12px 40px;
  margin-left: 12px;
  padding: 8px 0;
  min-height: 90px;
  align-self: center;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.7), inset 0 -1px 3px rgba(0, 0, 0, 0.02);
  border-left: 2px solid #ffffff;
}

/* 时间内部布局 */
.hyx-news-grid .yse_der {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}

.hyx-news-grid .yse_der p {
  font-size: 0.9rem;
  font-weight: 500;
  color: #4b5563;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  background: #d9e2ef40;
  padding: 2px 10px;
  border-radius: 30px;
}

.hyx-news-grid .yse_der h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0b3b5c;
  line-height: 1.2;
  background: #ffffffb0;
  padding: 4px 4px;
  border-radius: 30px;
  box-shadow: 0 1px 4px #0000000c;
}

/* 针对只有年份和日期的微调 */
.hyx-news-grid .yse_der p:last-child {
  margin-bottom: 0;
}

/* 响应式调整：小屏幕转为1列，内部自适应 */
@media screen and (max-width: 700px) {
  .hyx-news-grid ul {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hyx-news-grid a {
    padding: 16px 14px;
  }

  .hyx-news-grid .d1_text {
    flex-wrap: wrap;        /* 图片在上方，文字在下方的备用方案 */
  }

  .hyx-news-grid .img {
    flex: 0 0 80px;
    height: 80px;
  }

  .hyx-news-grid .d1_year {
    flex: 0 0 60px;
    margin-left: 8px;
    padding: 4px 0;
    min-height: 70px;
  }

  .hyx-news-grid .yse_der p {
    font-size: 0.8rem;
  }

  .hyx-news-grid .yse_der h3 {
    font-size: 1.1rem;
  }
}

/* 超小屏幕 (手机竖屏) 优化 */
@media screen and (max-width: 480px) {
  .hyx-news-grid .d1_text {
    flex-direction: column;
    gap: 12px;
  }

  .hyx-news-grid .img {
    flex: 0 0 120px;
    width: 100%;
    height: 130px;
  }

  .hyx-news-grid .text h3 {
    font-size: 1.05rem;
  }

  .hyx-news-grid .d1_year {
    flex: 0 0 45px;
    width: 100%;
    flex-direction: row;
    margin-left: 0;
    margin-top: 12px;
    border-radius: 30px;
    border-left: none;
    border-top: 2px solid #ffffff;
    background: #eef3f8;
    justify-content: space-evenly;
    padding: 6px 0;
  }

  .hyx-news-grid .yse_der {
    flex-direction: row;
    gap: 10px;
    justify-content: center;
  }

  .hyx-news-grid .yse_der p {
    margin-bottom: 0;
  }
}



		/*分页按钮*/
		.pagination ul{
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}
.pagination li {
    background: white;
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}
.pagination li.act {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

/*详情页面*/
.news-content{
	position: relative;
	padding: 0;
}
.blk-xs {
    width: 100%;
}
		/* 响应式设计 */
		@media (max-width: 992px) {
			.main-content {
				flex-direction: column;
			}

			.category-sidebar {
				width: 100%;
			}


			.category-list {
				display: flex;
				flex-wrap: wrap;
			}

			.category-item {
				flex: 1;
				min-width: 200px;
				border-bottom: none;
				border-right: 1px solid #f0f0f0;
			}

			.category-item:last-child {
				border-right: none;
			}

			.subcategory-list {
				position: static;
				width: 100%;
				opacity: 1;
				visibility: visible;
				transform: none;
				box-shadow: none;
				border-radius: 0;
				display: none;
			}

			.category-item:hover .subcategory-list {
				display: block;
			}

			.product-content{padding:0;}

			/*详情页面*/
			.product-detail {
				flex-direction: column;
			}

			.main-image {
				height: 350px;
			}


		}

		@media (max-width: 768px) {
			.product-grid {
				grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
			}

			/*详情页面*/
			.action-buttons {
				flex-direction: column;
			}

			.tab-header {
				flex-wrap: wrap;
			}

			.products-grid {
				grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
			}

		}

		@media (max-width: 576px) {
			.product-grid {
				grid-template-columns: 1fr 1fr;
				gap: 15px;
			}

			.category-list {
				flex-direction: column;
			}

			.category-item {
				border-right: none;
				border-bottom: 1px solid #f0f0f0;
			}

			/*详情页面*/
			.product-title {
				font-size: 24px;
			}

			.thumbnail-list {
				justify-content: center;
			}

			.products-grid {
				grid-template-columns: 1fr 1fr;
			}

		}