/* ArticleCard + 各列表页的 .article-list */

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

.article-card {
  padding: 22px 20px 18px;
  background: var(--white);
  border: var(--stroke);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.article-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
}

/* 文章卡斑马线条（与作品卡 bento-stripe 同款，随机皮肤见 ArticleCard） */
.article-card--stripe {
  padding-top: 0;
  overflow: hidden;
}

.article-stripe {
  height: 12px;
  margin: 0 -20px 14px;
  border-bottom: var(--stroke);
  background: var(--stripe);
}

.article-card-row--with-cover {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 16px;
}

.article-card-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.article-card-title a {
  color: var(--ink);
  text-decoration: none;
}

.article-card-title a:hover {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent);
  color: var(--on-accent);
}

.article-summary {
  margin: 0 0 16px;
  color: var(--c-secondary);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.625;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 12px;
}

.article-date {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--c-secondary);
  white-space: nowrap;
}

.article-cover {
  display: block;
  width: 100%;
  height: 180px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--c-fill);
  border: var(--stroke);
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}

.article-cover:hover img {
  transform: scale(1.02);
}

.article-more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

@media (min-width: 768px) {
  .article-card {
    padding: 26px 24px 20px;
  }

  /* 覆盖上面 padding 简写，斑马线仍贴卡片顶边；负边距对齐 24px 水平内边距 */
  .article-card--stripe {
    padding-top: 0;
  }

  .article-stripe {
    margin-left: -24px;
    margin-right: -24px;
  }

  .article-card-row--with-cover {
    flex-direction: row;
    gap: 20px;
  }

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

  .article-card-title {
    font-size: 22px;
  }

  .article-cover {
    width: 180px;
    height: 108px;
  }
}
