/* 中间内容区域 */
.content-area {
  flex: 1;
  min-width: 0;
}

.content-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
  overflow: hidden;
}

.content-header {
  padding: 20px 25px;
  border-bottom: 1px solid #f0f0f0;
  background: linear-gradient(135deg, #f8f3e9 0%, #fff 100%);
}

.content-header h2 {
  font-size: 20px;
  color: #5d4037;
  margin-bottom: 5px;
}

.content-body {
  padding: 25px;
}

/* 列表页特定样式 */
.page-header {
  margin-bottom: 30px;
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, #f8f3e9 0%, #fff 100%);
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.page-title {
  font-size: 28px;
  color: #5d4037;
  font-weight: 600;
}

.page-subtitle {
  color: #8d6e63;
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding: 15px 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.filter-select {
  padding: 8px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
  color: #666;
  transition: all 0.3s;
  max-width: 100%;
  width: 100%;
}

.filter-select:focus {
  outline: none;
  border-color: #8d6e63;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-item {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  border-left: 4px solid transparent;
}

.article-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-left-color: #8d6e63;
}

/* 桌面端封面样式 */
.article-image {
  width: 100px; /* 从120px减小到100px */
  height: 75px; /* 从90px减小到75px */
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background-color: #f8f3e9; /* 添加默认背景色 */
}

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

/* 无封面时的占位符样式 */
.article-image .no-thumbnail {
  width: 40px;
  height: 40px;
  opacity: 0.5;
  color: #8d6e63;
}

.article-content {
  flex: 1;
  min-width: 0;
}

.article-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #5d4037;
  line-height: 1.4;
}

.article-title a {
  color: inherit;
  text-decoration: none;
}

.article-title a:hover {
  color: #8d6e63;
}

.article-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #8d6e63;
}

.article-excerpt {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-category {
  display: inline-block;
  padding: 3px 10px;
  background: #f8f3e9;
  border-radius: 12px;
  font-size: 12px;
  color: #8d6e63;
  font-weight: 500;
}

/* 无封面时的文章项样式 */
.article-item.no-cover .article-image {
  display: none;
}

.article-item.no-cover .article-content {
  width: 100%;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .article-item {
    padding: 15px;
    gap: 12px; /* 移动端间距稍小 */
  }
  
  /* 移动端封面尺寸调整 */
  .article-image {
    width: 80px;
  }
  
  .article-content {
    width: auto;
  }
  
  .article-title {
    font-size: 16px;
    margin-bottom: 8px;
  }
  
  .article-excerpt {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }
  
  .content-body {
    padding: 15px;
  }
  
  .filter-bar {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  
  .filter-options {
    flex-wrap: wrap;
  }
  
  /* 移动端无封面时的样式 */
  .article-item.no-cover {
    padding: 15px;
  }
}

/* 小屏幕手机适配 */
@media (max-width: 480px) {
  .article-item {
    padding: 12px;
    gap: 10px;
  }
  
  .article-image {
    width: 70px;
  }
  
  .article-title {
    font-size: 15px;
  }
  
  .article-excerpt {
    -webkit-line-clamp: 2;
  }
  
  /* 小屏幕无封面时的样式 */
  .article-item.no-cover {
    padding: 12px;
  }
}