* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
ul,li { list-style: none; }
/* 公共样式 */
a{text-decoration: none;
color: #000;
}
/* body的背景颜色 */
body { background-color: #ffffff;line-height:1.4; }
.bor1 {
    border: 3px solid red;
}
.bor2 {
    border: 2px solid blue;
}
.bor3 {
    border: 1px solid green;
}
.lh15{
    line-height: 1.5;
}
.lh2{
    line-height: 2;
}
/* 相对定位 */
.rel { position: relative; }
/* 绝对定位 */
.abs{ position: absolute }
/* 固定定位 */
.fixed { position: fixed; }
/* 隐藏 */
.dsn { display: none; }
/* 宽度100% */
.w50p{width: 50%;}
.w100p { width: 100%; }
.h100p { height: 100%; }

/* 颜色 */
.f4{color: #999999;}
.fff { color: #fff; }
.bg-fff { background-color: #fff; }
/* 主题色 */

.base1 { color: #Fd8134; }
.base2{color: #Fd8134;}
.bg-base { background-color: #Fd8134; }

/* 字体 */
.fb{font-weight: bold;}
.f6{font-size: 6px;}
.f8{font-size: 8px;}
.f10 { font-size: 10px; }
.f12 { font-size: 12px; }
.f14 { font-size: 14px; }
.f16 { font-size: 16px; }
.f18 { font-size: 18px; } 
.f20 { font-size: 20px; }
.f22 { font-size: 22px; }
.f24 { font-size: 24px; }
.f26 { font-size: 26px; }
.f28 { font-size: 28px; }
.f30 { font-size: 30px; }
.f32 { font-size: 32px; }
.f34 { font-size: 34px; }
.f36 { font-size: 36px; } 
.fw-b{ font-weight: bold;}
.f500{font-weight: 500;}

/* 弹性盒子 */
.flex { display: flex; }
.jc-c { justify-content: center; }
.jc-sb { justify-content: space-between; }
.jc-sa { justify-content: space-around; }
.jc-se { justify-content: space-evenly; }
.aic { align-items: center; }
/* 盒子排成一列 */
.fdc { flex-direction: column; }
/* 剩余空间分配 */
.fg1 { flex-grow: 1; }
.fww {flex-wrap:wrap;}
.tac{text-align: center;}
.fcc {display: flex;justify-content: center;align-items: center;}

/* margin */
.ml-2{margin-left: 2px;}
.mt-5 {margin-top: 5px;}
.mt-10 {margin-top: 10px;}
.mt-15 {margin-top: 15px;}
.mt-20 {margin-top: 20px;}
.mt-25 {margin-top: 25px;}
.mt-30 {margin-top: 30px;}
.mt-60{margin-top: 60px;}
.ml-5 {margin-left: 5px;}
.ml-10 {margin-left: 10px;}
.ml-15 {margin-left: 15px;}
.ml-20 {margin-left: 20px;}
.ml-25 {margin-left: 25px;}
.ml-30 {margin-left: 30px;}
.mr-5 {margin-right: 5px;}
.mr-10 {margin-right: 10px;}
.mr-15 {margin-right: 15px;}
.mr-20 {margin-right: 20px;}
.mr-25 {margin-right: 25px;}
.mr-30 {margin-right: 30px;}
.mb-5 {margin-bottom: 5px;}
.mb-10 {margin-bottom: 10px;}
.mb-15 {margin-bottom: 15px;}
.mb-20 {margin-bottom: 20px;}
.mb-25 {margin-bottom: 25px;}
.mb-30 {margin-bottom: 30px;}

/* padding */
.pt-5 {padding-top: 5px;}
.pt-10 {padding-top: 10px;}
.pt-15 {padding-top: 15px;}
.pt-20 {padding-top: 20px;}
.pt-25 {padding-top: 25px;}
.pt-30 {padding-top: 30px;}
.pl-5 {padding-left: 5px;}
.pl-10 {padding-left: 10px;}
.pl-15 {padding-left: 15px;}
.pl-20 {padding-left: 20px;}
.pl-25 {padding-left: 25px;}
.pl-30 {padding-left: 30px;}
.pr-5 {padding-right: 5px;}
.pr-10 {padding-right: 10px;}
.pr-15 {padding-right: 15px;}
.pr-20 {padding-right: 20px;}
.pr-25 {padding-right: 25px;}
.pr-30 {padding-right: 30px;}
.pb-5 {padding-bottom: 5px;}
.pb-10 {padding-bottom: 10px;}
.pb-15 {padding-bottom: 15px;}
.pb-20 {padding-bottom: 20px;}
.pb-25 {padding-bottom: 25px;}
.pb-30 {padding-bottom: 30px;}

main{
  margin-bottom: 80px;
}

/* 为除首页外的其他页面添加顶部呼吸空间 */
.page-content {
  margin-top: 20px;
}

/* 首页不需要额外的顶部间距 */
.home-page main {
  margin-top: 0;
}

footer {
    bottom: 0;
    height: 50px;
  }
  footer .item {
    height: 100%;
  }
  footer .item:hover a {
    color: #ffea23;
  }
  footer .item:hover .iconfont {
    color: #ffea23;
  }
  footer a {
    font-size: 12px;
    margin-top: 3px;
  }
  footer .iconfont {
    font-size: 18px;
  }

/* 资讯站专用样式 */
/* 头部样式 */
.header {
      background: #Fd8134;
  color: white;
  padding: 15px 20px;
  position: relative;
  transition: all 0.3s ease;
  z-index: 1000;
  height: 60px;
  display: flex;
  align-items: center;
}

.header.scrolled {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 侧边菜单按钮 */
.sidebar-toggle {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.sidebar-toggle svg {
  width: 24px;
  height: 24px;
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-image {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  border-radius: 8px;
}

/* 头部返回按钮样式 */
.back-button-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 14px;
  flex-shrink: 0;
}

.back-button-header:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-button-header svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
}

.back-button-header span {
  font-weight: 500;
}



/* 搜索栏样式 */
.search-bar {
  background: white;
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  z-index: 999;
}

.search-bar.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.search-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 30px;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.search-input {
  width: 100%;
  padding: 12px 20px;
  padding-right: 50px;
      border: 2px solid #Fd8134;
  border-radius: 25px;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
  background: white;
  min-width: 500px;
  max-width: 800px;
}

.search-input:focus {
  border-color: #Fd8134;
  box-shadow: 0 0 0 3px rgba(253, 129, 52, 0.1);
}

.search-input::placeholder {
  color: #999;
}



.search-clear {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: none;
}

.search-clear:hover {
  background: #f0f0f0;
  color: #666;
}

.search-clear svg {
  width: 16px;
  height: 16px;
}

/* 搜索图标样式 */
.search-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #Fd8134;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.search-icon svg {
  width: 18px;
  height: 18px;
}

/* 搜索结果状态栏样式 */
.search-results-bar {
  background: #f8f9fa;
  border-bottom: 1px solid #e1e5e9;
  padding: 15px 0;
  display: none;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 30px;
  padding-right: 30px;
}

.search-results-info {
  color: #666;
  font-size: 14px;
}

.search-results-info span {
  color: #333;
  font-weight: 600;
}

.clear-search-btn {
  background: #Fd8134;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.clear-search-btn:hover {
  background: #Fd8134;
}

/* 分类栏样式 */
.category-bar {
  background: white;
  padding: 0 0 15px 0;
  border-bottom: 1px solid #e1e5e9;
  overflow-x: auto;
  white-space: nowrap;
}

.category-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 15px;
  padding: 0 20px;
  flex-wrap: nowrap;
  align-items: center;
}

.category-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: none;
  background: #f8f9fa;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: fit-content;
  width: auto;
  height: auto;
}

.category-btn:hover {
  background: #e9ecef;
  transform: translateY(-2px);
}

.category-btn.active {
  background: #Fd8134;
  color: white;
}





.category-name {
  font-size: 12px;
  font-weight: 500;
}

/* 主内容布局 */
.main-content {
  margin-bottom: 80px;
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  /* 移除flex布局，因为侧边栏现在是固定定位 */
  min-height: 500px;
}











/* 主内容区域 */
.main-content-area {
  width: 100%;
  max-width: 100%;
}

/* 文章容器样式 */
.articles-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 文章卡片样式 */
.article-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: 140px;
  min-height: 140px;
  width: 100%;
  position: relative;
}

/* 文章卡片水平布局 */
body .main-content .articles-container .article-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

body .main-content .articles-container .article-card .article-image {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  min-width: 140px;
  max-width: 140px;
}

/* 文章卡片水平布局 */
html body .article-card,
html body .main-content .article-card,
html body .articles-container .article-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: 140px;
  min-height: 140px;
}

html body .article-card .article-image,
html body .main-content .article-card .article-image,
html body .articles-container .article-card .article-image {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  min-width: 140px;
  max-width: 140px;
}

html body .article-card .article-content,
html body .main-content .article-card .article-content,
html body .articles-container .article-card .article-content {
  flex: 1;
  padding: 20px;
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  transition: background-color 0.3s ease;
  pointer-events: none;
}

.article-card:hover::before {
  background: rgba(146, 207, 244, 0.05);
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.article-image {
  width: 140px;
  height: 140px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  min-width: 140px;
  max-width: 140px;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  overflow: hidden;
}

.article-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-wrap: break-word;
  hyphens: auto;
  margin-top: 0;
}

.article-summary {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #999;
  margin-top: auto;
}

.article-type {
  background: #f0f2f5;
  padding: 4px 8px;
  border-radius: 12px;
  color: #Fd8134;
  font-weight: 500;
}

.article-time {
  color: #999;
  font-size: 11px;
}

/* 详情页样式 */
.article-detail {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  width: 100%;
}

/* 返回按钮样式 */
.back-button-container {
  margin-bottom: 10px;
  margin-top: 10px;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #Fd8134;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(253, 129, 52, 0.3);
}

.back-button:hover {
  background: #Fd8134;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(253, 129, 52, 0.4);
}

.back-button svg {
  width: 16px;
  height: 16px;
}

.article-header {
  text-align: center;
  margin-bottom: 30px;
}

.article-detail-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.3;
}

.article-detail-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  color: #666;
  font-size: 14px;
}

.article-detail-section {
  margin-top: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid #Fd8134;
}

.article-detail-section p {
  margin: 0;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

.article-detail-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 30px;
}

.article-detail-content {
  background: transparent;
  padding: 30px 0;
  border-radius: 0;
  box-shadow: none;
  line-height: 1.8;
  color: #333;
}

.article-detail-content h3 {
  color: #Fd8134;
  margin: 25px 0 15px 0;
  font-size: 20px;
}

.article-detail-content p {
  margin-bottom: 15px;
}

.article-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px 0;
}

/* 表格响应式样式 */
.article-detail-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.article-detail-content th,
.article-detail-content td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
  word-wrap: break-word;
  hyphens: auto;
}

.article-detail-content th {
  background-color: #Fd8134;
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.article-detail-content td {
  font-size: 14px;
  line-height: 1.5;
}

/* 表格容器 - 支持水平滚动 */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.table-responsive::-webkit-scrollbar {
  height: 6px;
}

.table-responsive::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: #Fd8134;
  border-radius: 3px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
  background: #Fd8134;
}

/* 推荐文章样式 */
.recommended-section {
  margin-top: 40px;
  padding: 30px 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}



.recommended-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.recommended-card {
  display: flex;
  gap: 0;
  padding: 0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid #e9ecef;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  min-height: 88px;
}

.recommended-card:hover {
  background: #f8f9fa;
  transform: translateX(5px);
  border-color: #Fd8134;
  box-shadow: 0 4px 15px rgba(253, 129, 52, 0.2);
}

.recommended-image {
  width: 80px;
  height: 100%;
  border-radius: 8px 0 0 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.recommended-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recommended-content {
  flex: 1;
  padding-left: 15px;
}

.recommended-card-title {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin: 5px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left;
}

.recommended-summary {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

.recommended-type-tag {
  display: inline-block;
  padding: 4px 12px;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  color: #Fd8134;
  text-align: center;
  white-space: nowrap;
  margin-top: 5px;
}

/* 详情页推荐文章样式（无图片） */
.recommended-card.no-image {
  padding: 15px;
}

.recommended-card.no-image .recommended-content {
  padding-left: 0 !important;
  width: 100%;
}

/* 分类页样式 */
.category-page-header {
  background: white;
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 30px;
}

.category-page-title h1 {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.category-page-title p {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.category-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  margin-top: 20px;
}

.category-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 20px;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 15px;
}

.category-card-icon svg {
  width: 40px;
  height: 40px;
}

.category-card-content {
  flex: 1;
}

.category-card-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

.category-card-count {
  font-size: 14px;
  color: #666;
}

.category-card-arrow {
  color: #999;
  transition: transform 0.3s ease;
}

.category-card-arrow svg {
  width: 20px;
  height: 20px;
}

.category-card:hover .category-card-arrow {
  transform: translateX(5px);
  color: #Fd8134;
}

/* 分类文章页面样式 */
.current-category-articles {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.category-articles-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px 0;
}

.category-articles-header h2 {
  font-size: 28px;
  font-weight: bold;
  color: #333;
}

.back-to-categories {
  background: #Fd8134;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.back-to-categories:hover {
  background: #Fd8134;
  transform: translateY(-2px);
}

/* 关于我们页面样式 */
.about-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.about-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 40px 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-header h1 {
  font-size: 36px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.about-header p {
  font-size: 18px;
  color: #666;
}

.about-content {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
}

.about-section {
  padding: 30px;
  border-bottom: 1px solid #f0f2f5;
}

.about-section:last-child {
  border-bottom: none;
}

.about-section h2 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.about-section h3 {
  font-size: 20px;
  font-weight: bold;
  color: #Fd8134;
  margin: 25px 0 15px 0;
}

.about-section p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 15px;
}

.about-section ul {
  margin: 15px 0;
  padding-left: 20px;
}

.about-section li {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 10px;
  list-style: disc;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.value-item {
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.value-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.value-item h3 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.value-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 15px;
}

.contact-icon {
  font-size: 30px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 12px;
}

.contact-details h4 {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.contact-details p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* 隐私政策页面样式 */
.privacy-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.privacy-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 40px 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.privacy-header h1 {
  font-size: 36px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.privacy-header p {
  font-size: 18px;
  color: #666;
}

.privacy-content {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
}

.privacy-section {
  padding: 30px;
  border-bottom: 1px solid #f0f2f5;
}

.privacy-section:last-child {
  border-bottom: none;
}

.privacy-section h2 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.privacy-section h3 {
  font-size: 20px;
  font-weight: bold;
  color: #000;
  margin: 25px 0 15px 0;
}

.privacy-section p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 15px;
}

.privacy-section ul {
  margin: 15px 0;
  padding-left: 20px;
}

.privacy-section li {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 10px;
  list-style: disc;
}

.privacy-section strong {
  color: #333;
  font-weight: 600;
}

/* 移动端菜单样式 */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: none; /* 默认隐藏 */
  align-items: flex-start;
  justify-content: flex-end;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu-content {
  background: white;
  width: 280px;
  height: 100%;
  padding: 20px;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active .mobile-menu-content {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e1e5e9;
}

.mobile-menu-header h3 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
}

.mobile-menu-close svg {
  width: 24px;
  height: 24px;
}

.mobile-menu-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-menu-item {
  display: block;
  padding: 15px 0;
  color: #333;
  font-size: 16px;
  border-bottom: 1px solid #f0f2f5;
  transition: color 0.3s ease;
}

.mobile-menu-item:hover {
  color: #667eea;
}

/* 移动端适配 */
@media (max-width: 480px) {
  .header-content {
    padding: 0 15px;
  }
  

  

  
  .search-container {
    padding: 0 15px;
    gap: 10px;
  }
  
  .search-input {
    min-width: 250px;
    max-width: 100%;
    padding: 10px 16px;
    padding-right: 45px;
    font-size: 14px;
  }
  
  .search-icon {
    right: 15px;
  }
  
  .search-icon svg {
    width: 16px;
    height: 16px;
  }
  

  
  .category-container {
    padding: 0 15px;
    gap: 10px;
  }
  
  .category-btn {
    padding: 8px 16px;
    font-size: 11px;
  }
  
  .content-wrapper {
    padding: 15px;
  }
  

  
  .articles-container {
    padding: 0;
    grid-template-columns: 1fr;
  }
  
  .article-card {
    flex-direction: row;
    height: 140px;
    min-height: 140px;
    width: 100%;
  }
  
  .article-image {
    width: 140px;
    height: 140px;
    min-width: 140px;
    max-width: 140px;
  }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
  .article-card {
    flex-direction: column;
    height: auto;
    min-height: auto;
  }
  
  .article-image {
    width: 100%;
    height: 200px;
    min-width: 100%;
    max-width: 100%;
  }
  
  .article-detail {
    padding: 15px;
    max-width: 100%;
  }
  
  .article-detail-content {
    padding: 20px 0;
  }
  
  /* 移动端表格优化 */
  .article-detail-content table {
    font-size: 12px;
    min-width: 600px; /* 确保表格有最小宽度，触发水平滚动 */
  }
  
  .article-detail-content th,
  .article-detail-content td {
    padding: 8px 10px;
    font-size: 12px;
    white-space: nowrap; /* 防止文字换行 */
  }
  
  .table-responsive {
    margin: 15px -15px; /* 扩展到屏幕边缘 */
    border-radius: 0;
  }
  
  .recommended-section {
    padding: 20px 0;
  }
  
  .recommended-articles {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  
  .recommended-card {
    padding: 0;
    border-radius: 10px;
  }
  


  .category-page-header {
    padding: 30px 15px;
  }

  .category-page-title h1 {
    font-size: 24px;
  }

  .category-grid {
    padding: 0 15px;
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .category-card {
    padding: 20px;
  }

  .current-category-articles {
    padding: 0 15px;
  }

  .category-articles-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .category-articles-header h2 {
    font-size: 24px;
  }

  .about-page,
  .privacy-page {
    padding: 15px;
  }

  .about-header,
  .privacy-header {
    padding: 30px 15px;
  }

  .about-header h1,
  .privacy-header h1 {
    font-size: 28px;
  }

  .about-section,
  .privacy-section {
    padding: 20px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }
}

/* 底部样式 */
.footer {
  background: #000;
  color: white;
  padding: 10px 0;
  margin-top: 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  background: #000;
  padding: 10px;
  border-radius: 8px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 8px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.footer-links a:hover {
  color: #Fd8134;
}

.footer-copyright {
  color: #999;
  font-size: 14px;
  padding-top: 15px;
  border-top: 1px solid #333;
}

/* 加载动画 */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #Fd8134;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.empty-state-icon {
  font-size: 60px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-state-text {
  font-size: 18px;
  margin-bottom: 10px;
}

.empty-state-subtext {
  font-size: 14px;
  color: #999;
}

/* 侧边菜单栏样式 */
.sidebar-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  z-index: 2000;
  transition: right 0.3s ease;
  display: none;
}

.sidebar-menu.active {
  right: 0;
  display: block;
}

.sidebar-menu.active + .sidebar-overlay {
  display: block;
}

.sidebar-overlay.active {
  display: block;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
  backdrop-filter: blur(2px);
  z-index: 1999;
  display: none;
}

.sidebar-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 240px;
  height: 100%;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  border-left: 1px solid #e9ecef;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  background: #Fd8134;
  color: white;
  position: relative;
  overflow: hidden;
  height: 60px;
  box-sizing: border-box;
}

.sidebar-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.sidebar-header h3 {
  margin: 0;
  color: white;
  font-size: 20px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.sidebar-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.sidebar-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.sidebar-close svg {
  width: 18px;
  height: 18px;
}

.sidebar-items {
  padding: 20px 0;
}

.sidebar-item {
  display: flex;
  align-items: center;
  padding: 18px 30px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  overflow: hidden;
  height: 80px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.sidebar-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, #Fd8134 0%, #Fd8134 100%);
  transition: width 0.3s ease;
  z-index: 0;
}

.sidebar-item:hover::before {
  width: 100%;
}

.sidebar-item:hover {
  color: white;
  transform: translateX(8px);
  box-shadow: 0 4px 15px rgba(174, 208, 238, 0.3);
}

.sidebar-item svg {
  color: #666;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.sidebar-item:hover svg {
  color: white;
  transform: scale(1.1);
}

.sidebar-item span {
  font-weight: 500;
  font-size: 16px;
  position: relative;
  z-index: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  display: flex;
  align-items: center;
}

.sidebar-item.active {
  background: linear-gradient(90deg, #Fd8134 0%, #Fd8134 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(253, 129, 52, 0.3);
}

.sidebar-item.active svg {
  color: white;
}

.sidebar-item.active::before {
  width: 100%;
}

/* 分类分组样式 */
.sidebar-category {
  margin: 0;
}

.sidebar-category-title {
  padding: 0 30px 10px;
  color: #666;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 10px;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .header-content {
    padding: 0 15px;
  }
  
  /* 移动端页面内容呼吸空间 */
  .page-content {
    margin-top: 20px;
  }
  
  /* 首页移动端不需要额外间距 */
  .home-page main {
    margin-top: 0;
  }
  
  /* 状态显示样式 */
  .loading-state,
  .error-state,
  .cache-notice,
  .default-categories {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .loading-icon,
  .error-icon,
  .notice-icon,
  .default-icon {
    font-size: 48px;
    margin-bottom: 20px;
  }
  
  .loading-text,
  .error-text,
  .notice-text,
  .default-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
  }
  
  .notice-subtext,
  .default-subtext {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
  }
  
  .retry-btn,
  .refresh-btn {
      background: #Fd8134;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease;
  }
  
  .retry-btn:hover,
  .refresh-btn:hover {
    background: #Fd8134;
  }
  
  .sidebar-content {
    width: 240px;
  }
  
  .sidebar-header {
    padding: 0 25px;
    height: 60px;
    box-sizing: border-box;
  }
  
  .sidebar-item {
    padding: 15px 25px;
    height: 74px;
    box-sizing: border-box;
    flex-shrink: 0;
  }
  
  .sidebar-category-title {
    padding: 0 25px 10px;
  }
}

/* 回到首页悬浮按钮 */
.back-home-btn {
  position: fixed;
  right: 20px;
  bottom: calc(190px + env(safe-area-inset-bottom));
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #Fd8134; /* 主题色 */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15), 0 6px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  z-index: 3000;
  text-decoration: none;
}

.back-home-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 24px rgba(0,0,0,0.18), 0 8px 14px rgba(0,0,0,0.1);
  background: #Fd8134; /* 主题色 */
}

.back-home-btn:active {
  transform: translateY(0) scale(0.98);
}

.back-home-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(253, 129, 52, 0.3), 0 10px 20px rgba(0,0,0,0.15);
}

.back-home-btn svg {
  width: 26px;
  height: 26px;
}

@media (max-width: 768px) {
  .back-home-btn {
    right: 15px;
    bottom: calc(180px + env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
  }
  .back-home-btn svg {
    width: 24px;
    height: 24px;
  }
}


