/* ===== 文章卡片设计 ===== */
.article-card {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(45,45,45,0.08);
  opacity: 1; /* 滚动动画触发点 */
  min-height: 120px; /* 防止空内容折叠 */
  animation-fill-mode: forwards !important; /* 保持动画最终状态 */
}
/* 调试模式 */
.debug .article-card {
  opacity: 1 !important;
  transform: none !important;
  background: rgba(91,203,125,0.1);
}
.article-card .article-meta {
  /*display: block;*/
  color: var(--secondary);
  font-size: 0.9em;
  margin-bottom: 0.8rem;
}
.article-card .article-meta span {
    padding: 0 5px;
}
.article-card h2 {
  font-size: 1.8em;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.article-card .excerpt {
  color: var(--secondary);
  max-width: 60ch;
}
.article-card .article-footer {
  margin-top: 6px;
}
/*标签*/
.tag {
  background: rgba(91, 203, 125, 0.1);
  color: var(--accent);
  padding: 0.2rem 0.6rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
}

/* 加载指示器 */
.loader-container {
    display: flex;
    justify-content: center;
    padding: 20px;
    height: 60px;
    margin-bottom: 20px;
}
.loader {
    width: 20px;
    height: 20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.end-message {
    text-align: center;
    padding: 30px;
    color: #7f8c8d;
    font-style: italic;
}