/* ============ 列表页样式 ============ */

/* 列表项 */
.article-list li {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  padding: 2.2rem 0.6rem;
  border-bottom: 1px dashed #e5e5e5;
  transition: all 0.25s;
  cursor: pointer;
}

.article-list li:hover {
  background: #f7f7f7;
  padding-left: 1.4rem;
}

.article-list .a-date {
  width: 7.6rem;
  height: 7.6rem;
  flex-shrink: 0;
  background: #f7f7f7;
  color: #888;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0.4rem;
  transition: all 0.25s;
}

.article-list li:hover .a-date {
  background: #8a1c0e;
  color: #fff;
}

.article-list .a-date .d {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1;
}

.article-list .a-date .m {
  font-size: 1.2rem;
  margin-top: 0.6rem;
}

.article-list .a-text {
  flex: 1;
  min-width: 0;
}

.article-list .a-title {
  font-size: 1.7rem;
  font-weight: bold;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

.article-list li:hover .a-title {
  color: #8a1c0e;
}

.article-list .a-desc {
  font-size: 1.4rem;
  color: #888;
  margin-top: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 分页 */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.pagination a, .pagination span {
  min-width: 3.8rem;
  height: 3.8rem;
  padding: 0 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e5e5;
  border-radius: 0.4rem;
  font-size: 1.4rem;
  color: #555;
  transition: all 0.25s;
  cursor: pointer;
}

.pagination a:hover {
  border-color: #8a1c0e;
  color: #8a1c0e;
}

.pagination .active {
  background: #8a1c0e;
  border-color: #8a1c0e;
  color: #fff;
}

.pagination .disabled {
  color: #ccc;
  cursor: not-allowed;
}

/* 列表页响应式 */
@media (max-width: 768px) {
  .article-list .a-title {
    font-size: 1.5rem;
  }
}
/* ============ 列表页样式 ============ */

/* 列表项 */
.article-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 6px;
  border-bottom: 1px dashed #e5e5e5;
  transition: all 0.25s;
  cursor: pointer;
}

.article-list li:hover {
  background: #f7f7f7;
  padding-left: 14px;
}

.article-list .a-date {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  background: #f7f7f7;
  color: #888;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.25s;
}

.article-list li:hover .a-date {
  background: #8a1c0e;
  color: #fff;
}

.article-list .a-date .d {
  font-size: 30px;
  font-weight: bold;
  line-height: 1;
}

.article-list .a-date .m {
  font-size: 12px;
  margin-top: 6px;
}

.article-list .a-text {
  flex: 1;
  min-width: 0;
}

.article-list .a-title {
  font-size: 17px;
  font-weight: bold;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

.article-list li:hover .a-title {
  color: #8a1c0e;
}

.article-list .a-desc {
  font-size: 14px;
  color: #888;
  margin-top: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 分页 */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pagination a, .pagination span {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  font-size: 14px;
  color: #555;
  transition: all 0.25s;
  cursor: pointer;
}

.pagination a:hover {
  border-color: #8a1c0e;
  color: #8a1c0e;
}

.pagination .active {
  background: #8a1c0e;
  border-color: #8a1c0e;
  color: #fff;
}

.pagination .disabled {
  color: #ccc;
  cursor: not-allowed;
}

/* 列表页响应式 */
@media (max-width: 768px) {
  .article-list .a-title {
    font-size: 15px;
  }
}
