.list-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.breadcrumb {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb a {
  color: #409eff;
  text-decoration: none;
}

.breadcrumb .sep {
  color: #bbb;
}

.breadcrumb .current {
  color: #333;
}

.sub-cate-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.sub-cate-label {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-right: 4px;
}

.sub-cate-link {
  display: inline-block;
  padding: 5px 14px;
  font-size: 13px;
  color: #555;
  background: #f5f6fa;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s;
}

.sub-cate-link:hover {
  background: #e8f0fe;
  color: #409eff;
}

.sub-cate-link.active {
  background: #409eff;
  color: #fff;
}

.list-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.list-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.15s;
}

.list-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-1px);
}

.list-item-link {
  display: flex;
  text-decoration: none;
  color: inherit;
  gap: 16px;
  padding: 16px;
}

.list-img-wrap {
  flex-shrink: 0;
  width: 160px;
  min-width: 120px;
  max-width: 200px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f6fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.list-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.list-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 13px;
  background: #f0f0f0;
  border-radius: 8px;
}

.list-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.list-title {
  font-size: 17px;
  font-weight: 600;
  color: #222;
  margin: 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-item:hover .list-title {
  color: #409eff;
}

.list-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-item {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  color: #409eff;
  background: #ecf5ff;
  border-radius: 12px;
  line-height: 1.6;
}

.list-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #999;
}

.list-empty {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 16px;
  background: #fff;
  border-radius: 12px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 30px;
  padding-bottom: 20px;
  flex-wrap: wrap;
}

.page-btn {
  padding: 8px 16px;
  font-size: 14px;
  color: #409eff;
  background: #fff;
  border: 1px solid #dcdfe6;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
}

.page-btn:hover {
  color: #409eff;
  border-color: #409eff;
}

.page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  font-size: 14px;
  color: #333;
  background: #fff;
  border: 1px solid #dcdfe6;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
}

.page-num:hover {
  color: #409eff;
  border-color: #409eff;
}

.page-num.active {
  background: #409eff;
  color: #fff;
  border-color: #409eff;
}

.page-dots {
  color: #999;
  padding: 0 4px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .list-container {
    padding: 12px;
  }

  .list-item-link {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }

  .list-img-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    aspect-ratio: auto;
    max-height: 240px;
  }

  .list-img-wrap img {
    width: 100%;
    max-height: 240px;
    object-fit: contain;
    border-radius: 8px;
  }

  .list-img-placeholder {
    aspect-ratio: 16/9;
  }

  .list-title {
    font-size: 16px;
  }

  .list-desc {
    font-size: 13px;
    -webkit-line-clamp: 3;
  }

  .sub-cate-bar {
    padding: 10px 12px;
    gap: 6px;
  }

  .sub-cate-link {
    padding: 4px 10px;
    font-size: 12px;
  }

  .pagination {
    gap: 4px;
  }

  .page-btn {
    padding: 6px 12px;
    font-size: 13px;
  }

  .page-num {
    min-width: 32px;
    height: 32px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .list-item-link {
    padding: 10px;
    gap: 10px;
  }

  .list-img-wrap {
    max-height: 200px;
  }

  .list-img-wrap img {
    max-height: 200px;
  }

  .list-title {
    font-size: 15px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .tag-item {
    font-size: 11px;
    padding: 2px 8px;
  }
}
