/* 晶体矿物学习平台 - 知识港湾样式 */

/* 知识港湾布局 */
.knowledge-hub {
  max-width: 1600px;
  margin: 0 auto;
  padding: 24px;
  min-height: calc(100vh - 72px - 80px); /* 减去头部和底部的高度 */
}

/* 页面标题 */
.page-header {
  margin-bottom: 24px;
}

.page-title {
  font-size: 24px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 8px;
}

.page-desc {
  font-size: 14px;
  color: #666666;
}

/* 学习进度概览 */
.progress-overview {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.progress-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.progress-item {
  flex: 1;
  text-align: center;
  padding: 16px;
  background: #F9FAFC;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.progress-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.progress-circle {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  position: relative;
}

.progress-circle svg {
  transform: rotate(-90deg);
}

.progress-circle circle {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}

.progress-circle .bg {
  stroke: #EEEEEE;
}

/* 页面底部 */
.page-footer {
  background: #2A2A2A;
  padding: 48px 0 24px;
  margin-top: 40px;
  color: #FFFFFF;
}

.page-footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-footer .footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.page-footer .footer-logo {
  width: 200px;
}

.page-footer .footer-logo img {
  height: 40px;
  margin-bottom: 16px;
}

.page-footer .footer-logo p {
  font-size: 14px;
  color: #CCCCCC;
}




/* .link-group ul li {
  margin-bottom: 12px;
}

.link-group ul li a {
  color: #CCCCCC;
  font-size: 14px;
  transition: color 0.3s;
}

.link-group ul li a:hover {
  color: #FFFFFF;
} */

.page-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-footer .footer-nav {
  display: flex;
  gap: 24px;
}

.page-footer .footer-nav a {
  color: #CCCCCC;
  font-size: 14px;
  transition: color 0.3s;
}

.page-footer .footer-nav a:hover {
  color: #FFFFFF;
}

.page-footer .footer-copyright {
  color: #999999;
  font-size: 14px;
}

.progress-circle .fill {
  stroke: #2A5DAA;
  transition: stroke-dasharray 0.3s;
}

.progress-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  font-weight: bold;
  color: #2A5DAA;
}

.progress-label {
  font-size: 16px;
  color: #333333;
  margin-bottom: 8px;
}

.progress-desc {
  font-size: 12px;
  color: #666666;
}

/* 知识地图 */
.knowledge-map {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.map-container {
  height: 400px;
  background: #F5F8FC;
  border-radius: 4px;
  margin-top: 16px;
}

/* 学习路径 */
.learning-path {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-section {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 16px 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-group {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-label {
  font-size: 14px;
  color: #666666;
  margin-right: 16px;
  min-width: 80px;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-option {
  padding: 6px 12px;
  background: #F5F8FC;
  border-radius: 4px;
  font-size: 14px;
  color: #666666;
  transition: all 0.3s;
  cursor: pointer;
}

.filter-option:hover {
  background: #E0EAFF;
  color: #2A5DAA;
}

.filter-option.active {
  background: #2A5DAA;
  color: #FFFFFF;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-title {
  font-size: 18px;
  font-weight: bold;
  color: #333333;
}

.view-options {
  display: flex;
  gap: 8px;
}

.view-option {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #F5F8FC;
  color: #666666;
  transition: all 0.3s;
}

.view-option:hover {
  background: #E0EAFF;
  color: #2A5DAA;
}

.view-option.active {
  background: #2A5DAA;
  color: #FFFFFF;
}

.view-all {
  font-size: 14px;
  color: #2A5DAA;
  display: flex;
  align-items: center;
  gap: 4px;
}

.path-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.path-item {
  background: #FFFFFF;
  border: 1px solid #EEEEEE;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.path-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.path-cover {
  height: 160px;
  background: #F5F8FC;
  position: relative;
}

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

.path-level {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #FFFFFF;
  border-radius: 4px;
  font-size: 12px;
}

.path-info {
  padding: 16px;
}

.path-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333333;
}

.path-desc {
  font-size: 14px;
  color: #666666;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 42px; /* 固定高度，防止内容不同导致卡片高度不一致 */
}

.path-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #999999;
  margin-bottom: 16px; /* 为按钮留出空间 */
}

.path-duration {
  display: flex;
  align-items: center;
  gap: 4px;
}

.path-progress {
  display: flex;
  align-items: center;
  gap: 8px;
}

.progress-bar {
  width: 100px;
  height: 4px;
  background: #EEEEEE;
  border-radius: 2px;
  overflow: hidden;
}

.progress-value {
  height: 100%;
  background: #2A5DAA;
  border-radius: 2px;
}

.path-btn {
  display: block;
  width: 100%;
  padding: 8px 0;
  background: #2A5DAA;
  color: #FFFFFF;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
  transition: background-color 0.3s;
}

.path-btn:hover {
  background: #4B8CD7;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
}

.page-btn {
  min-width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #F5F8FC;
  color: #666666;
  font-size: 14px;
  transition: all 0.3s;
  padding: 0 12px;
}

.page-btn:hover {
  background: #E0EAFF;
  color: #2A5DAA;
}

.page-btn.active {
  background: #2A5DAA;
  color: #FFFFFF;
}

.page-btn.next {
  padding: 0 16px;
}

.page-ellipsis {
  color: #666666;
}

/* 我的学习进度部分 */
.my-progress-section {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 知识点列表 */
.knowledge-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.knowledge-item {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.knowledge-item:hover {
  transform: translateY(-4px);
}

.knowledge-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333333;
}

.knowledge-desc {
  font-size: 14px;
  color: #666666;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.knowledge-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 4px 8px;
  background: #F0F5FF;
  color: #2A5DAA;
  border-radius: 4px;
  font-size: 12px;
}

/* 练习测评 */
.exercise-section {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.exercise-list {
  margin-top: 16px;
}

.exercise-item {
  display: flex;
  align-items: center;
  padding: 16px;
  border: 1px solid #EEEEEE;
  border-radius: 8px;
  margin-bottom: 16px;
  transition: box-shadow 0.3s;
}

.exercise-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.exercise-icon {
  width: 48px;
  height: 48px;
  background: #F0F5FF;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
}

.exercise-icon i {
  font-size: 24px;
  color: #2A5DAA;
}

.exercise-info {
  flex: 1;
}

.exercise-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 4px;
  color: #333333;
}

.exercise-meta {
  font-size: 12px;
  color: #999999;
}

.start-btn {
  padding: 8px 24px;
  background: #2A5DAA;
  color: #FFFFFF;
  border-radius: 4px;
  font-size: 14px;
  transition: background-color 0.3s;
}

.start-btn:hover {
  background: #4B8CD7;
}

/* 学习统计 */
.stats-section {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.stat-card {
  background: #FFFFFF;
  border: 1px solid #EEEEEE;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

.stat-value {
  font-size: 32px;
  font-weight: bold;
  color: #2A5DAA;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: #666666;
}

/* 面包屑导航 */
.breadcrumb {
  margin-bottom: 16px;
  font-size: 14px;
  color: #666666;
}

.breadcrumb a {
  color: #2A5DAA;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: #4B8CD7;
}

/* 文章列表 */
.article-section {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.article-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.article-item {
  display: flex;
  border: 1px solid #EEEEEE;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.article-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.article-cover {
  width: 240px;
  height: 180px;
  position: relative;
  flex-shrink: 0;
}

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

.article-category {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  background: rgba(42, 93, 170, 0.8);
  color: #FFFFFF;
  border-radius: 4px;
  font-size: 12px;
}

.article-info {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
}

.article-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #333333;
}

.article-desc {
  font-size: 14px;
  color: #666666;
  margin-bottom: 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: #999999;
  margin-bottom: 16px;
}

.article-author, 
.article-date, 
.article-views {
  display: flex;
  align-items: center;
  gap: 4px;
}

.article-level {
  padding: 2px 8px;
  background: #F0F5FF;
  color: #2A5DAA;
  border-radius: 4px;
}

.article-btn {
  align-self: flex-start;
  padding: 6px 16px;
  background: #2A5DAA;
  color: #FFFFFF;
  border-radius: 4px;
  font-size: 14px;
  transition: background-color 0.3s;
}

.article-btn:hover {
  background: #4B8CD7;
}

/* 网格视图样式 */
.article-list.grid-view {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.article-list.grid-view .article-item {
  flex-direction: column;
  height: 100%;
}

.article-list.grid-view .article-cover {
  width: 100%;
  height: 160px;
}

/* 热门标签 */
.tags-section {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.tag-item {
  padding: 6px 12px;
  background: #F0F5FF;
  color: #2A5DAA;
  border-radius: 4px;
  transition: all 0.3s;
}

.tag-item:hover {
  background: #2A5DAA;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
  .article-item {
    flex-direction: column;
  }
  
  .article-cover {
    width: 100%;
    height: 160px;
  }
  
  .article-meta {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .article-btn {
    width: 100%;
    text-align: center;
  }
  
  .tags-cloud {
    gap: 8px;
  }
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
  .knowledge-hub {
    padding: 16px;
  }

  .page-title {
    font-size: 20px;
  }

  .map-container {
    height: 300px;
  }

  .path-list,
  .knowledge-list {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-value {
    font-size: 24px;
  }

  .page-footer .footer-content {
    flex-direction: column;
    gap: 32px;
  }

  .page-footer .footer-logo {
    width: 100%;
    text-align: center;
  }

  .page-footer .footer-links {
    flex-direction: column;
    gap: 32px;
  }

  .page-footer .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .page-footer .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* 文章详情页面样式 */
.article-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  position: relative;
}

/* 文章头部 */
.article-header {
  margin-bottom: 32px;
}

.article-title {
  font-size: 32px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 16px;
  line-height: 1.4;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #666666;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-meta a {
  color: #2A5DAA;
  transition: color 0.3s;
}

.article-meta a:hover {
  color: #4B8CD7;
}

.article-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.article-tags .tag {
  padding: 4px 12px;
  background: #F0F5FF;
  color: #2A5DAA;
  border-radius: 4px;
  transition: all 0.3s;
}

.article-tags .tag:hover {
  background: #2A5DAA;
  color: #FFFFFF;
}

/* 文章目录 */
.article-toc {
  width: 260px;
  background: #FFFFFF;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: fixed;
  right: calc((100% - 1200px) / 2 + 24px);
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

/* 文章内容区域 */
.article-content {
  width: calc(100% - 300px);
  background: #FFFFFF;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

/* 文章内容 */
.content-block {
  margin-bottom: 40px;
}

.content-block h2 {
  font-size: 24px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #EEEEEE;
}

.sub-block {
  margin-bottom: 32px;
}

.sub-block h3 {
  font-size: 20px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 16px;
}

.sub-block p {
  font-size: 16px;
  line-height: 1.8;
  color: #444444;
  margin-bottom: 16px;
}

.sub-block ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.sub-block li {
  font-size: 16px;
  line-height: 1.8;
  color: #444444;
  margin-bottom: 8px;
}

.image-block {
  margin: 24px 0;
  text-align: center;
}

.image-block img {
  max-width: 100%;
  border-radius: 8px;
}

.image-caption {
  margin-top: 12px;
  font-size: 14px;
  color: #666666;
}

.crystal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.crystal-table th,
.crystal-table td {
  padding: 12px;
  border: 1px solid #EEEEEE;
  text-align: left;
}

.crystal-table th {
  background: #F5F8FC;
  font-weight: bold;
  color: #333333;
}

.crystal-table td {
  color: #444444;
}

.note-block {
  background: #F0F5FF;
  border-left: 4px solid #2A5DAA;
  padding: 16px;
  margin: 24px 0;
  border-radius: 0 4px 4px 0;
}

.note-block h4 {
  font-size: 16px;
  font-weight: bold;
  color: #2A5DAA;
  margin-bottom: 8px;
}

.note-block p {
  font-size: 14px;
  color: #444444;
  margin: 0;
}

.key-points {
  background: #F5F8FC;
  padding: 16px;
  border-radius: 8px;
  margin-top: 24px;
}

.key-points h4 {
  font-size: 16px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 12px;
}

.key-points ul {
  padding-left: 24px;
}

.key-points li {
  font-size: 14px;
  color: #444444;
  margin-bottom: 8px;
}

/* 文章工具栏 */
.article-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background: #FFFFFF;
  border-radius: 8px;
  margin: 24px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.toolbar-left,
.toolbar-right {
  display: flex;
  gap: 16px;
}

.tool-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  color: #666666;
  background: #F5F8FC;
  transition: all 0.3s;
}

.tool-btn:hover {
  background: #E0EAFF;
  color: #2A5DAA;
}

.tool-btn.active {
  background: #2A5DAA;
  color: #FFFFFF;
}

.tool-btn .count {
  color: inherit;
}

/* 相关推荐 */
.related-articles {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 24px;
  margin: 24px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.article-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.article-card {
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

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

.article-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}

.article-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.02), rgba(0,0,0,0.1));
  z-index: 1;
}

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

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

.article-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 10px;
}

.article-content p {
  font-size: 14px;
  color: #666666;
  margin-bottom: 15px;
  flex: 1;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #999999;
}

.article-meta i {
  margin-right: 5px;
  color: #2A5DAA;
}

/* 学习路径卡片样式 */
.path-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.path-card {
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.path-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.path-header {
  height: 150px;
  overflow: hidden;
  position: relative;
}

.path-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.path-card:hover .path-header img {
  transform: scale(1.05);
}

.path-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.path-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 10px;
}

.path-content p {
  font-size: 14px;
  color: #666666;
  margin-bottom: 15px;
  flex: 1;
}

.path-progress {
  margin-bottom: 15px;
}

.progress-bar {
  height: 8px;
  background-color: #F0F0F0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 5px;
}

.progress-fill {
  height: 100%;
  background-color: #2A5DAA;
  border-radius: 4px;
}

.progress-text {
  font-size: 12px;
  color: #666666;
  text-align: right;
}

.path-button {
  display: inline-block;
  padding: 8px 16px;
  background-color: #2A5DAA;
  color: #FFFFFF;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  transition: background-color 0.3s;
}

.path-button:hover {
  background-color: #1E4785;
}

/* 知识地图样式 */
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px;
  text-align: center;
}

.map-placeholder i {
  font-size: 48px;
  color: #2A5DAA;
  margin-bottom: 20px;
}

.map-placeholder p {
  font-size: 16px;
  color: #666666;
  margin-bottom: 20px;
  max-width: 500px;
}

.map-btn {
  padding: 10px 20px;
  background-color: #2A5DAA;
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.map-btn:hover {
  background-color: #1E4785;
}

/* 通用样式 */
h2 {
  font-size: 24px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 20px;
  position: relative;
  padding-left: 15px;
}

h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 24px;
  width: 4px;
  background-color: #2A5DAA;
  border-radius: 2px;
}

section {
  margin-bottom: 40px;
}

/* 响应式调整 */
@media screen and (max-width: 1024px) {
  .article-toc {
    display: none;
  }
  
  .article-content {
    width: 100%;
    margin-right: 0;
  }
  
  .toc-toggle {
    display: block;
  }
  
  .article-cards {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .article-title {
    font-size: 24px;
  }
  
  .article-meta {
    gap: 12px;
  }
  
  .article-toolbar {
    flex-direction: column;
    gap: 16px;
  }
  
  .toolbar-left,
  .toolbar-right {
    width: 100%;
    justify-content: space-between;
  }
  
  .article-cards {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 1200px) {
  .article-toc {
    right: 24px;
  }
}