/* 首页文章列表卡片式样式 */

/* 年份标题样式 */
.post-list h2 {
  font-size: 36px;
  font-weight: 800;
  color: #222;
  padding: 30px 0 20px;
  letter-spacing: -1px;
  margin-bottom: 0;
}

/* 文章列表样式 */
.post-list ul {
  padding-left: 0;
  list-style: none;
  margin: 0;
}

/* 每篇文章样式 */
.post-list li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  padding: 20px 0;
  margin: 0;
  transition: background-color 0.3s ease;
}

.post-list li:hover {
  background-color: rgba(0, 0, 0, 0.01);
}

/* 日期样式 */
.post-list .date {
  font-size: 15px;
  color: #aaa;
  display: block;
  margin-bottom: 8px;
}

/* 文章标题样式 */
.post-list li a {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  line-height: 1.4;
  transition: color 0.2s;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

.post-list li a:hover {
  color: #000;
}

/* 文章描述样式 */
.post-list .description {
  font-size: 15px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 4.5em;
}

/* 描述链接样式 */
.post-list .description-link {
  text-decoration: none;
  display: block;
  font-size: inherit;
  font-weight: normal;
  margin-bottom: 0;
  color: inherit;
  cursor: pointer;
}

.post-list .description-link:hover .description {
  color: #444;
}

.post-list .description-link p {
  margin: 0 0 10px;
}

/* 分类标签样式 */
.post-list .category {
  font-size: 14px;
  color: #999;
  font-style: italic;
  margin-right: 10px;
  display: inline-block;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .post-list h2 {
    font-size: 28px;
    padding: 20px 0 15px;
  }
  
  .post-list li a {
    font-size: 18px;
  }
  
  .post-list .date {
    font-size: 14px;
  }
  
  .post-list .description {
    font-size: 14px;
    -webkit-line-clamp: 2;
  }
} 