/* 养老战略页面样式
 * 主色系：深绿色(#2E5D46) + 暖灰(#F5F7FA)
 * 辅助色：生态绿(#8BAE8D) + 活力橙(#FFA726)
 */

/* 全局样式变量 */
:root {
  --primary-color: #187748;
  --secondary-color: #23c848;
  --accent-color: #cce45f;
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #999999;
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f5;
  --light-gray: #F5F7FA; /* 暖灰色 */
  --text-color: #333; /* 主要文字颜色 */
  --border-color: #E5E8ED; /* 边框颜色 */
  --shadow-light: 0 2px 10px rgba(0,0,0,0.07); /* 轻微阴影 */
  --shadow-medium: 0 5px 15px rgba(0,0,0,0.1); /* 中等阴影 */
}

/* 全局布局 */
body {
  font-family: "思源宋体", "Source Han Serif", "Noto Serif SC", serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* 新的布局结构样式 */
.content-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
}

.category-nav-area {
  position: sticky;
  top: 90px;
  height: fit-content;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  padding-right: 10px;
}

.content-display-area {
  background-color: var(--bg-primary);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 25px;
}

.content-section {
  display: none;
}

.content-section.active {
  display: block;
}

.content-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-color);
}

.content-block {
  margin-bottom: 30px;
}

.data-visualization {
  margin-bottom: 25px;
}

.chart-container {
  height: 300px;
  background-color: var(--bg-secondary);
  border-radius: 8px;
  overflow: hidden;
}

.text-analysis h3,
.key-projects h3,
.system-description h3,
.model-comparison h3 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.text-analysis p {
  margin-bottom: 20px;
  line-height: 1.6;
}

/* 项目条目样式 */
.project-item {
  background-color: var(--bg-secondary);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.project-header h4 {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  color: var(--text-primary);
}

.progress-bar {
  width: 120px;
  height: 6px;
  background-color: #ddd;
  border-radius: 3px;
}

.progress {
  height: 100%;
  background-color: var(--secondary-color);
  border-radius: 3px;
  text-align: right;
  font-size: 10px;
  color: white;
  padding-right: 5px;
}

/* 系统建设列表 */
.system-points {
  list-style: none;
  padding: 0;
}

.system-points li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 15px;
}

.system-points li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--secondary-color);
}

/* 政策法规列表 */
.filter-bar {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.filter-item select {
  padding: 8px 15px;
  border-radius: 5px;
  border: 1px solid #ddd;
  font-size: 14px;
  min-width: 120px;
}

.policy-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.policy-item {
  background-color: var(--bg-secondary);
  border-radius: 8px;
  padding: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.policy-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.policy-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  color: white;
  margin-bottom: 10px;
}

.policy-badge.law {
  background-color: var(--primary-color);
}

.policy-badge.regulation {
  background-color: var(--secondary-color);
}

.policy-badge.notice {
  background-color: var(--accent-color);
  color: var(--text-primary);
}

.policy-title {
  font-size: 16px;
  margin: 0 0 5px;
}

.policy-date {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

/* 国际养老模式比较 */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.model-item {
  background-color: var(--bg-secondary);
  border-radius: 8px;
  padding: 15px;
}

.model-item h4 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.model-item p {
  margin: 5px 0;
  font-size: 14px;
}

/* 底部工具区 */
.bottom-tools-section {
  position: relative;
  margin-top: 40px;
}

.strategy-dashboard {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.elderly-toolbar {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .category-nav-area {
    position: static;
    max-height: none;
    margin-bottom: 30px;
  }
  
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .project-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .progress-bar {
    width: 100%;
    margin-top: 10px;
  }
  
  .filter-bar {
    flex-direction: column;
  }
}

/* 标题样式 */
.section-title {
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.section-title .icon {
  color: var(--secondary-color);
}

.module-title {
  color: var(--primary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-color);
}

h3 {
  font-family: "思源黑体", "Source Han Sans", "Noto Sans SC", sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--text-color);
  margin: 0 0 15px;
}

h4 {
  font-family: "思源黑体", "Source Han Sans", "Noto Sans SC", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--text-color);
  margin: 0 0 10px;
}

/* 战略导航区域 */
.strategy-nav-section {
  background-color: var(--bg-primary);
  padding: 30px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 时间轴导航 */
.timeline-nav {
  margin: 30px 0;
}

.timeline-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
}

.timeline-progress-bar {
  position: absolute;
  top: 30px;
  left: 0;
  height: 2px;
  background-color: var(--primary-color);
  width: 100%;
  z-index: -1;
}

.timeline-period {
  position: relative;
  text-align: center;
  cursor: pointer;
}

.period-marker {
  display: block;
  width: 20px;
  height: 20px;
  background-color: var(--bg-primary);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  margin: 0 auto 10px;
}

.period-label {
  color: var(--text-primary);
  font-weight: bold;
}

.timeline-period.active .period-marker {
  background-color: var(--primary-color);
}

.timeline-period.active .period-label {
  color: var(--primary-color);
}

.period-tooltip {
  position: absolute;
  top: -120px;
  background-color: white;
  box-shadow: var(--shadow-medium);
  border-radius: 8px;
  padding: 15px;
  width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  text-align: center;
}

.period-tooltip:after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background-color: white;
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 3px 3px 5px rgba(0,0,0,0.05);
}

.timeline-period:hover .period-tooltip {
  opacity: 1;
  visibility: visible;
}

.key-data {
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #ddd;
}

/* 快速分类导航 */
.category-nav {
  margin-top: 30px;
}

.nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.nav-card {
  background-color: var(--bg-primary);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.nav-card-header {
  background-color: var(--primary-color);
  color: white;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-card-header i {
  margin-right: 10px;
  font-size: 24px;
}

.nav-card-header h3 {
  margin: 0;
  color: white;
  flex-grow: 1;
}

.toggle-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-card-content {
  padding: 15px;
}

.nav-card-content ul {
  margin: 0;
  padding: 0;
}

.nav-card-content li {
  margin-bottom: 10px;
}

.nav-card-content a {
  color: var(--text-primary);
  transition: color 0.3s;
}

.nav-card-content a:hover {
  color: var(--secondary-color);
}

.nav-card[data-category="policy"] .nav-card-header {
  background-color: var(--primary-color);
}

.nav-card[data-category="research"] .nav-card-header {
  background-color: var(--tertiary-color);
}

.nav-card[data-category="international"] .nav-card-header {
  background-color: var(--primary-light);
}

.nav-card[data-category="perspective"] .nav-card-header {
  background-color: var(--secondary-color);
}

/* 核心内容区域 */
.main-content-section {
  padding: 40px 0;
  background-color: var(--bg-secondary);
}

/* 时期战略模块 */
.strategy-period-module {
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--shadow-light);
  padding: 25px;
  margin-bottom: 40px;
}

/* 折叠面板 */
.accordion-panel {
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background-color: var(--light-gray);
  cursor: pointer;
}

.accordion-header h3 {
  margin: 0;
}

.accordion-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.accordion-content {
  display: none;
  padding: 20px;
}

.accordion-panel.active .accordion-content {
  display: block;
}

.accordion-panel.active .accordion-toggle i {
  transform: rotate(180deg);
}

/* 现状分析内容 */
.status-analysis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.status-chart {
  width: 100%;
  height: 300px;
}

/* 重点工程 */
.gantt-container {
  margin-bottom: 20px;
}

.project-gantt {
  width: 100%;
  height: 200px;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* 体系建设 */
.topology-container {
  margin-bottom: 20px;
}

.system-chart {
  width: 100%;
  height: 300px;
}

/* 政策法规矩阵 */
.policy-matrix-module {
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--shadow-light);
  padding: 25px;
  margin-bottom: 40px;
}

.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.regulation-list, .standard-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.regulation-item, .standard-item {
  background-color: var(--light-gray);
  border-radius: 8px;
  padding: 15px;
  transition: all 0.3s ease;
}

.regulation-item:hover, .standard-item:hover {
  box-shadow: var(--shadow-light);
  transform: translateY(-2px);
}

.regulation-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  color: white;
  margin-bottom: 8px;
}

.regulation-badge.law {
  background-color: var(--primary-color);
}

.regulation-badge.regulation {
  background-color: var(--tertiary-color);
}

.regulation-badge.notice {
  background-color: var(--secondary-color);
}

.regulation-title, .standard-title {
  font-weight: 500;
  margin: 0 0 5px;
}

.regulation-date, .standard-code {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

.search-box {
  display: flex;
  margin-bottom: 20px;
}

.search-box input {
  flex-grow: 1;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px 0 0 4px;
  font-size: 14px;
}

.search-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  padding: 0 15px;
  cursor: pointer;
}

.tool-entry {
  margin-top: 20px;
  text-align: center;
}

.comparison-tool {
  display: inline-flex;
  align-items: center;
  background-color: var(--light-gray);
  color: var(--primary-color);
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.comparison-tool i {
  margin-right: 8px;
}

.comparison-tool:hover {
  background-color: var(--primary-color);
  color: white;
}

/* 国际观察窗 */
.international-module {
  background-color: var(--bg-primary);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.global-map-container {
  margin-bottom: 30px;
}

.world-map {
  width: 100%;
  height: 200px;
  background-color: var(--light-gray);
  border-radius: 8px;
  margin-bottom: 15px;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.legend-item {
  display: flex;
  align-items: center;
}

.color-block {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  margin-right: 6px;
}

.legend-text {
  font-size: 14px;
}

/* 民政交流动态 */
.exchange-dynamics {
  margin-bottom: 30px;
}

.timeline-flow {
  position: relative;
  padding-left: 20px;
}

.timeline-flow:before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background-color: var(--tertiary-color);
}

.timeline-item {
  position: relative;
  padding: 0 0 20px 20px;
}

.timeline-item:before {
  content: '';
  position: absolute;
  left: -9px;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: white;
  border: 2px solid var(--tertiary-color);
}

.timeline-date {
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 5px;
}

.timeline-content h4 {
  font-size: 16px;
  margin: 0 0 5px;
}

.timeline-content p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

/* 制度比较工具 */
.country-selector {
  background-color: var(--light-gray);
  border-radius: 8px;
  padding: 20px;
}

.selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 15px;
}

.country-option {
  display: flex;
  align-items: center;
}

.country-option input[type="checkbox"] {
  margin-right: 8px;
}

.compare-btn {
  width: 100%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.compare-btn:hover {
  background-color: var(--primary-light);
}

/* 研究智库 */
.research-module {
  background-color: var(--bg-primary);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 养老资产白皮书 */
.pdf-preview {
  position: relative;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.pdf-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.preview-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
  padding: 15px;
  color: white;
}

.overlay-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.preview-btn, .download-btn {
  display: flex;
  align-items: center;
  background-color: rgba(255,255,255,0.2);
  color: white;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.preview-btn:hover, .download-btn:hover {
  background-color: rgba(255,255,255,0.3);
}

.preview-btn i, .download-btn i {
  margin-right: 5px;
  font-size: 18px;
}

.paper-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.highlight-item {
  background-color: var(--light-gray);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
}

.highlight-number {
  display: block;
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.highlight-text {
  font-size: 14px;
  line-height: 1.3;
}

/* 学术研究专题 */
.keyword-cloud {
  height: 150px;
  margin-bottom: 20px;
  background-color: var(--light-gray);
  border-radius: 8px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.literature-index {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.literature-item {
  border-left: 3px solid var(--tertiary-color);
  padding-left: 15px;
}

.literature-item h4 {
  margin: 0 0 5px;
}

.literature-source {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

/* 字体大小调整类 */
body.large-font {
  font-size: 120%;
}

/* 高对比度模式 */
body.high-contrast {
  background-color: #000;
  color: #fff;
}

body.high-contrast .strategy-nav-section,
body.high-contrast .strategy-period-module,
body.high-contrast .policy-matrix-module,
body.high-contrast .international-module,
body.high-contrast .research-module,
body.high-contrast .accordion-header,
body.high-contrast .nav-card,
body.high-contrast .regulation-item,
body.high-contrast .standard-item,
body.high-contrast .timeline-item,
body.high-contrast .country-selector,
body.high-contrast .highlight-item,
body.high-contrast .keyword-cloud,
body.high-contrast .dashboard-circle,
body.high-contrast .tool-btn {
  background-color: #222;
  color: #fff;
  border-color: #444;
}

body.high-contrast .section-title,
body.high-contrast .module-title,
body.high-contrast h3,
body.high-contrast h4 {
  color: #fff;
}

body.high-contrast .timeline-progress-bar,
body.high-contrast .progress-bar {
  background-color: #444;
}

body.high-contrast .timeline-period.active .period-marker,
body.high-contrast .progress {
  background-color: #FFA726;
}

/* 媒体查询 */
@media (max-width: 1199px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .strategy-dashboard {
    position: static;
    margin: 30px auto;
    justify-content: center;
  }
  
  .elderly-toolbar {
    display: none;
  }
}

@media (max-width: 767px) {
  .nav-grid {
    grid-template-columns: 1fr;
  }
  
  .dashboard-circle {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 15px;
  }
  
  .selector-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 树状分类菜单样式 */
.strategy-tree-menu {
  background-color: var(--bg-primary);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  margin-top: 30px;
  margin-bottom: 30px;
  height: auto;
}

.tree-menu-title {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tree-menu-title h3 {
  margin: 0;
  color: white;
  font-size: 16px;
}

.tree-menu-container {
  padding: 15px;
  overflow-y: visible;
  height: auto;
  max-height: none;
}

.tree-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tree-item {
  margin-bottom: 8px;
}

.tree-item-header {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.tree-item-header:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.folder-icon {
  color: var(--secondary-color);
  font-size: 20px;
}

.toggle-icon {
  margin-left: auto;
  color: var(--text-light);
  font-size: 20px;
  transition: transform 0.3s;
}

.tree-item.active .toggle-icon {
  transform: rotate(180deg);
}

.tree-submenu {
  list-style: none;
  padding-left: 25px;
  margin: 5px 0 0;
  display: none;
}

.tree-item.active .tree-submenu {
  display: block;
}

.tree-subitem {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  font-size: 14px;
  border-radius: 4px;
  margin-bottom: 3px;
}

.tree-subitem:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.tree-subitem i {
  color: var(--accent-color);
  font-size: 18px;
}

.tree-subitem a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
  flex-grow: 1;
}

.tree-subitem a:hover {
  color: var(--primary-color);
}

.tree-subitem.active {
  background-color: rgba(35, 200, 72, 0.1);
}

.tree-subitem.active a {
  color: var(--primary-color);
  font-weight: 500;
}

@media (max-width: 768px) {
  .strategy-tree-menu {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  
  .tree-menu-container {
    max-height: 300px;
  }
}

/* 修改内容展示区域样式，改为文章列表形式 */
.content-section {
  display: none;
}

.content-section.active {
  display: block;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-item {
  background: var(--bg-primary);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 第一行：标题 */
.article-title {
  font-size: 18px;
  color: var(--text-primary);
  margin: 0;
  font-weight: 500;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 第二行：简介 */
.article-excerpt {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 第三行：元信息和按钮 */
.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-light);
  font-size: 13px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.meta-item i {
  font-size: 16px;
  color: var(--text-light);
}

.article-tags {
  display: flex;
  gap: 8px;
}

.article-tag {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.read-more:hover {
  text-decoration: underline;
}

/* 分页样式 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  gap: 8px;
}

.page-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border-radius: 4px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}

.page-item:hover {
  background: var(--bg-secondary);
}

.page-item.active {
  background: var(--primary-color);
  color: white;
}

.page-item.disabled {
  color: var(--text-light);
  pointer-events: none;
  background: var(--bg-secondary);
}

.page-item i {
  font-size: 18px;
} 