/* list.mobile.css — 文章列表页移动端响应式样式
   不修改原 list.css，通过媒体查询叠加覆盖 */

@media (max-width: 768px) {

  /* ===== 分类 Tab 栏 ===== */
  .list-tabs__inner {
    width: 100%;
    padding: 10px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .list-tabs__inner::-webkit-scrollbar {
    display: none;
  }

  .list-tab-btn {
    padding: 6px 16px;
    font-size: 13px;
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* ===== 文章列表容器 ===== */
  .list-container {
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .list-page {
    min-height: 400px;
    padding-bottom: 40px;
  }

  /* ===== 文章卡片（上图下文）===== */
  .article-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 0;
  }

  .article-item__thumb {
    width: 100%;
    height: 190px;
  }

  .article-item__body {
    min-height: 0;
  }

  .article-item__title {
    font-size: 15px;
  }

  .article-item__excerpt {
    flex: none;
    min-height: unset;
    font-size: 13px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .article-item__footer {
    margin-top: 8px;
  }

  .article-item__meta {
    padding: 5px 11px;
    font-size: 12px;
    gap: 6px;
    border-radius: 5px;
  }

  .article-item__meta::before {
    width: 13px;
    height: 13px;
  }

  /* ===== 分页 ===== */
  .pagination {
    margin-top: 28px;
    gap: 4px;
    flex-wrap: wrap;
  }

  .page-btn {
    min-width: 32px;
    height: 32px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {

  .article-item__thumb {
    height: 160px;
  }

  .article-item__title {
    font-size: 14px;
  }
}
