@charset "utf-8";
/* CSS Document */

/* CSS Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   顶部导航
   ======================================== */
.site-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  padding: 15px 0;
}

.header-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 28px;
  color: #e74c3c;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
}

.main-nav ul {
  display: flex;
  gap: 30px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: #555;
  padding: 8px 0;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #667eea;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input {
  width: 200px;
  padding: 10px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 25px;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

.header-search input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.header-search button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header-search button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* ========================================
   Banner区域
   ======================================== */
.hero-banner {
  position: relative;
  height: 500px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.banner-content {
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.banner-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.banner-content p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.95;
}

.btn-primary {
  display: inline-block;
  padding: 14px 35px;
  background: #fff;
  color: #667eea;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* ========================================
   内页Banner
   ======================================== */
.inner-banner {
  position: relative;
  height: 280px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.banner-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.banner-inner-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 0 20px;
}

.banner-inner-content h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.banner-inner-content p {
  font-size: 16px;
  opacity: 0.9;
}

.article-banner .banner-inner-content h1 {
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 15px;
}

.article-category-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 15px;
}

.article-meta-banner {
  display: flex;
  gap: 20px;
  font-size: 14px;
  opacity: 0.9;
}

/* ========================================
   面包屑导航
   ======================================== */
.breadcrumb-section {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #666;
}

.breadcrumb a {
  color: #667eea;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.separator {
  color: #ccc;
}

.current {
  color: #999;
}

/* ========================================
   分类信息
   ======================================== */
.category-section {
  padding: 60px 0;
  background: #fff;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  border-color: #667eea;
}

.cat-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.category-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 5px;
}

.category-card p {
  font-size: 13px;
  color: #888;
}

/* ========================================
   主内容区
   ======================================== */
.main-content {
  padding: 50px 0;
}

.content-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}

.article-layout {
  grid-template-columns: 1fr 320px;
}

.content-primary {
  min-width: 0;
}

/* ========================================
   区块标题
   ======================================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #eee;
}

.section-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-icon {
  color: #667eea;
}

.more-link {
  font-size: 14px;
  color: #667eea;
  font-weight: 500;
}

.more-link:hover {
  text-decoration: underline;
}

/* ========================================
   带缩略图的文章列表
   ======================================== */
.featured-articles {
  margin-bottom: 50px;
}

.article-list-thumbnail {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.article-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 25px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.article-card:hover {
  box-shadow: 0 5px 25px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.article-thumb {
  height: 100%;
  min-height: 180px;
}

.thumb-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
}

.article-info {
  padding: 20px 20px 20px 0;
  display: flex;
  flex-direction: column;
}

.article-category {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-size: 12px;
  border-radius: 15px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.article-info h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
}

.article-info h3 a {
  color: #2c3e50;
}

.article-info h3 a:hover {
  color: #667eea;
}

.article-summary {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
  flex: 1;
}

.article-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #999;
}

/* ========================================
   无缩略图文章列表
   ======================================== */
.text-articles {
  margin-bottom: 50px;
}

.article-list-text {
  display: grid;
  gap: 15px;
}

.article-list-text.dual-column {
  grid-template-columns: repeat(2, 1fr);
}

.text-article-item {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.text-article-item:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border-left-color: #667eea;
}

.text-cat {
  display: inline-block;
  font-size: 12px;
  color: #667eea;
  margin-bottom: 8px;
}

.text-article-item h4 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}

.text-article-item h4 a {
  color: #2c3e50;
}

.text-article-item h4 a:hover {
  color: #667eea;
}

.text-date {
  font-size: 12px;
  color: #999;
}

/* ========================================
   侧边栏
   ======================================== */
.sidebar-widget {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  margin-bottom: 25px;
  overflow: hidden;
}

.widget-header {
  padding: 18px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border-bottom: 1px solid #eee;
}

.widget-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-icon {
  color: #667eea;
}

.widget-content {
  padding: 20px;
}

/* 健康贴士 */
.tip-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

.tip-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tip-item:first-child {
  padding-top: 0;
}

.tip-number {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.tip-item p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* 标签云 */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-item {
  padding: 6px 14px;
  background: #f5f5f5;
  border-radius: 20px;
  font-size: 13px;
  color: #666;
  transition: all 0.3s ease;
}

.tag-item:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

/* ========================================
   列表页样式
   ======================================== */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  padding: 15px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.filter-tabs {
  display: flex;
  gap: 10px;
}

.filter-tab {
  padding: 8px 18px;
  background: transparent;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-tab:hover,
.filter-tab.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-color: transparent;
}

.sort-select {
  padding: 8px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  color: #666;
  background: #fff;
  cursor: pointer;
  outline: none;
}

/* 列表页文章 */
.article-list-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.list-article-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.list-article-item:hover {
  box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.article-thumb-small {
  height: 100%;
  min-height: 150px;
}

.article-body {
  padding: 20px 20px 20px 0;
}

.article-header {
  margin-bottom: 10px;
}

.article-header .article-category {
  margin-bottom: 8px;
}

.article-header h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.article-header h3 a {
  color: #2c3e50;
}

.article-header h3 a:hover {
  color: #667eea;
}

.article-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.article-footer {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #999;
}

/* 分页 */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  padding: 20px;
}

.page-link {
  padding: 10px 16px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  color: #666;
  transition: all 0.3s ease;
}

.page-link:hover,
.page-link.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-color: transparent;
}

.page-link.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-ellipsis {
  color: #999;
  padding: 0 5px;
}

/* 热门文章 */
.hot-article-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.hot-article-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hot-article-item:first-child {
  padding-top: 0;
}

.hot-rank {
  width: 26px;
  height: 26px;
  background: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  flex-shrink: 0;
}

.hot-article-item:nth-child(1) .hot-rank {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
  color: #fff;
}

.hot-article-item:nth-child(2) .hot-rank {
  background: linear-gradient(135deg, #ffa502 0%, #ff7f00 100%);
  color: #fff;
}

.hot-article-item:nth-child(3) .hot-rank {
  background: linear-gradient(135deg, #2ed573 0%, #26af61 100%);
  color: #fff;
}

.hot-article-item a {
  font-size: 14px;
  color: #444;
  line-height: 1.4;
  flex: 1;
}

.hot-article-item a:hover {
  color: #667eea;
}

/* 推荐专题 */
.topic-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.topic-card:last-child {
  margin-bottom: 0;
}

.topic-card:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.topic-card:hover .topic-title,
.topic-card:hover .topic-count {
  color: #fff;
}

.topic-title {
  font-size: 14px;
  font-weight: 500;
  color: #444;
}

.topic-count {
  font-size: 12px;
  color: #999;
}

/* ========================================
   文章页样式
   ======================================== */
.article-content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  overflow: hidden;
}

.article-body {
  padding: 40px;
}

.article-lead {
  font-size: 17px;
  color: #555;
  line-height: 1.8;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #667eea;
  margin-bottom: 30px;
}

.article-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
  margin: 35px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
}

.article-body h3 {
  font-size: 19px;
  font-weight: 600;
  color: #333;
  margin: 25px 0 15px;
}

.article-body p {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 15px;
}

.article-body ul {
  margin: 15px 0;
  padding-left: 25px;
}

.article-body ul li {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 10px;
  list-style: disc;
}

.article-body ul li strong {
  color: #2c3e50;
}
.article-body table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 20px 0 !important;
  padding: 0 !important;
  background-color: #fff !important;
  table-layout: fixed !important;
  word-break: normal !important;
  border: none !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #333 !important;
}

/* 表格单元格通用样式 */
.article-body th,
.article-body td {
  padding: 12px 15px !important;
  text-align: left !important;
  border: 1px solid #e5e7eb !important;
  vertical-align: middle !important;
  background: transparent !important;
}

/* 表头样式 */
.article-body th {
  background-color: #f9fafb !important;
  font-weight: 600 !important;
  color: #1f2937 !important;
}

/* 隔行变色（提升可读性） */
.article-body tr:nth-child(even) {
  background-color: #fafafa !important;
}

/* 鼠标悬浮高亮 */
.article-body tr:hover {
  background-color: #f5f7ff !important;
}

/* 响应式：小屏幕自动横向滚动，不破坏布局 */
@media (max-width: 768px) {
  .article-body {
    overflow-x: auto !important;
  }
  .article-body table {
    width: auto !important;
    min-width: 100% !important;
  }
  .article-body th,
  .article-body td {
    padding: 8px 10px !important;
    white-space: nowrap !important;
  }
}

.article-conclusion {
  margin-top: 40px;
  padding: 25px;
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border-radius: 10px;
  border: 1px solid #eee;
}

.article-conclusion h3 {
  margin-top: 0;
  color: #667eea;
}

/* 文章标签 */
.article-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 40px;
  border-top: 1px solid #eee;
}

.tags-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.tag-link {
  padding: 6px 14px;
  background: #f5f5f5;
  border-radius: 20px;
  font-size: 13px;
  color: #666;
  transition: all 0.3s ease;
}

.tag-link:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

/* 分享按钮 */
.article-share {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 40px;
  border-top: 1px solid #eee;
}

.share-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.share-btn {
  padding: 8px 18px;
  border: none;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.share-btn.weixin {
  background: #07c160;
  color: #fff;
}

.share-btn.weibo {
  background: #e6162d;
  color: #fff;
}

.share-btn.qq {
  background: #12b7f5;
  color: #fff;
}

.share-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* 上下篇导航 */
.article-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 25px 40px;
  background: #f8f9fa;
  border-top: 1px solid #eee;
}

.nav-prev,
.nav-next {
  display: flex;
  flex-direction: column;
}

.nav-next {
  text-align: right;
}

.nav-label {
  font-size: 12px;
  color: #999;
  margin-bottom: 5px;
}

.nav-title {
  font-size: 14px;
  font-weight: 500;
  color: #444;
  line-height: 1.4;
}

.nav-title:hover {
  color: #667eea;
}

/* 作者信息 */
.author-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
}

.author-details {
  flex: 1;
}

.author-name {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 5px;
}

.author-bio {
  font-size: 13px;
  color: #888;
  line-height: 1.4;
}

/* 侧边栏文章列表 */
.sidebar-text-item {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.sidebar-text-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-text-item:first-child {
  padding-top: 0;
}

.sidebar-text-item h4 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 5px;
}

.sidebar-text-item h4 a {
  color: #444;
}

.sidebar-text-item h4 a:hover {
  color: #667eea;
}

/* ========================================
   订阅表单
   ======================================== */
.subscribe-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.subscribe-box {
  text-align: center;
}

.subscribe-content {
  margin-bottom: 30px;
}

.subscribe-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.subscribe-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
}

.subscribe-form {
  max-width: 900px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.form-row input,
.form-row select {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
}

.form-row input:focus,
.form-row select:focus {
  box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.btn-subscribe {
  padding: 14px 35px;
  background: #fff;
  color: #667eea;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-subscribe:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.form-notice {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}

/* ========================================
   友情链接
   ======================================== */
.friend-links {
  padding: 50px 0;
  background: #fff;
}

.friend-links .section-header {
  justify-content: center;
  border-bottom: none;
  margin-bottom: 30px;
}

.friend-links .section-header h2 {
  font-size: 24px;
}

.links-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.friend-link {
  padding: 10px 25px;
  background: #f8f9fa;
  border-radius: 25px;
  font-size: 14px;
  color: #666;
  transition: all 0.3s ease;
}

.friend-link:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

/* ========================================
   底部信息
   ======================================== */
.site-footer {
  background: #2c3e50;
  color: #fff;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo .logo-icon {
  font-size: 24px;
  color: #e74c3c;
}

.footer-logo .logo-text {
  font-size: 20px;
  font-weight: 700;
	color: #fff;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

.contact-info {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
  .content-layout {
    grid-template-columns: 1fr;
  }
  
  .content-sidebar {
    order: 2;
  }
  
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-top .container {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .main-nav {
    order: 3;
    width: 100%;
  }
  
  .main-nav ul {
    justify-content: center;
    gap: 20px;
  }
  
  .hero-banner {
    height: 400px;
  }
  
  .banner-content h1 {
    font-size: 32px;
  }
  
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .article-card {
    grid-template-columns: 1fr;
  }
  
  .article-thumb {
    min-height: 200px;
  }
  
  .article-info {
    padding: 20px;
  }
  
  .article-list-text.dual-column {
    grid-template-columns: 1fr;
  }
  
  .list-article-item {
    grid-template-columns: 1fr;
  }
  
  .article-thumb-small {
    min-height: 180px;
  }
  
  .article-body {
    padding: 20px;
  }
  
  .form-row {
    flex-direction: column;
  }
  
  .article-navigation {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .nav-next {
    text-align: left;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .main-nav ul {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .main-nav a {
    font-size: 13px;
  }
  
  .category-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-bar {
    flex-direction: column;
    gap: 15px;
  }
  
  .filter-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .article-body {
    padding: 25px;
  }
  
  .article-body h2 {
    font-size: 20px;
  }
  
  .article-body h3 {
    font-size: 17px;
  }
  
  .article-tags,
  .article-share {
    flex-wrap: wrap;
    padding: 15px 25px;
  }
  
  .article-navigation {
    padding: 20px 25px;
  }
}