/* ======================== 列表页通用样式（guguyun） */

/* 顶部 Banner */
.list-banner {
  background: #111111;
  padding: 0;
}

.list-banner .section-content {
  padding: 72px 20px 64px;
}

.list-banner-title {
  font-size: 36px;
  font-weight: 700;
  color: #F2F2F2;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.list-banner-desc {
  font-size: 15px;
  color: rgba(242, 242, 242, 0.50);
  line-height: 1.7;
}

/* 列表内容区 */
.list-page {
  background: #F2F2F2;
  min-height: 55vh;
}

.list-page .section-content {
  padding: 48px 20px 80px;
}

/* ======================== 分类 Tabs */

.list-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.09);
}

.list-tab {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  font-size: 13px;
  color: rgba(17, 17, 17, 0.55);
  background: rgba(17, 17, 17, 0.05);
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.18s;
  user-select: none;
}

.list-tab:hover {
  color: #111111;
  background: rgba(17, 17, 17, 0.09);
}

.list-tab.active {
  color: #111111;
  background: #ffffff;
  border-color: rgba(17, 17, 17, 0.14);
  font-weight: 600;
}

.list-tab-num {
  font-size: 12px;
  margin-left: 5px;
  color: rgba(17, 17, 17, 0.30);
}

/* ======================== 列表条目 */

.list-container {
  min-height: 240px;
}

.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.07);
  gap: 24px;
  text-decoration: none;
  transition: opacity 0.15s;
}

.list-item:hover .list-item-title {
  opacity: 0.55;
}

.list-item-title {
  flex: 1;
  font-size: 15px;
  color: #111111;
  line-height: 1.5;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.15s;
}

.list-item-date {
  font-size: 13px;
  color: rgba(17, 17, 17, 0.35);
  flex-shrink: 0;
}

.list-empty,
.list-loading {
  text-align: center;
  padding: 64px 0;
  font-size: 14px;
  color: rgba(17, 17, 17, 0.30);
}

/* ======================== 底部（总数 + 分页） */

.list-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(17, 17, 17, 0.07);
}

.list-total {
  font-size: 13px;
  color: rgba(17, 17, 17, 0.38);
}

/* ======================== 分页 */

.list-pagination {
  display: flex;
  align-items: center;
  gap: 5px;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  font-size: 13px;
  color: rgba(17, 17, 17, 0.55);
  background: transparent;
  border: 1px solid rgba(17, 17, 17, 0.11);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.18s;
  user-select: none;
}

.page-btn:hover:not(.disabled):not(.active) {
  color: #111111;
  border-color: rgba(17, 17, 17, 0.28);
  background: rgba(17, 17, 17, 0.04);
}

.page-btn.active {
  color: #F2F2F2;
  background: #111111;
  border-color: #111111;
  font-weight: 600;
  cursor: default;
}

.page-btn.disabled {
  opacity: 0.30;
  cursor: not-allowed;
}

/* ======================== 响应式 */

@media screen and (max-width: 768px) {
  .list-banner-title { font-size: 26px; }
  .list-banner .section-content { padding: 48px 16px 40px; }
  .list-page .section-content { padding: 32px 16px 56px; }
  .list-item-title { font-size: 14px; }
  .list-footer { flex-direction: column; align-items: flex-start; }
}

@media screen and (max-width: 480px) {
  .list-item-date { display: none; }
}
