/* 列表页样式 - 科技感高端风格 */
:root {
  --zh-primary: #00f2ff;
  --zh-secondary: #7000ff;
  --zh-accent: #ff0055;
  --zh-dark-bg: #030508;
  --zh-card-bg: rgba(255, 255, 255, 0.03);
  --zh-card-border: rgba(255, 255, 255, 0.05);
  --zh-text-main: #ffffff;
  --zh-text-muted: #8b9bb4;
  --zh-gradient: linear-gradient(135deg, #00f2ff 0%, #7000ff 100%);
  --zh-gradient-hover: linear-gradient(135deg, #00c8d4 0%, #5a00cc 100%);
}

body {
  background-color: var(--zh-dark-bg);
  color: var(--zh-text-main);
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
}

/* 通用容器 */
.zh_container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 面包屑导航 */
.zh_breadcrumb {
  padding: 120px 0 40px;
  /* Top padding for fixed header */
  background: linear-gradient(to bottom, #05080f, #030508);
}

.zh_breadcrumb_container {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 30px;
  background: var(--zh-card-bg);
  border: 1px solid var(--zh-card-border);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.zh_breadcrumb_icon {
  color: var(--zh-primary);
  font-size: 18px;
}

.zh_breadcrumb_text {
  color: var(--zh-text-muted);
  font-size: 14px;
}

.zh_breadcrumb_text a {
  color: var(--zh-text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.zh_breadcrumb_text a:hover {
  color: var(--zh-primary);
}

/* 列表主布局 */
.zh_list_main {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  padding-bottom: 80px;
}

/* 列表网格 */
.zh_list_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.zh_list_card {
  background: var(--zh-card-bg);
  border: 1px solid var(--zh-card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.zh_list_card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.zh_list_card_image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.zh_list_card_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.zh_list_card:hover .zh_list_card_image img {
  transform: scale(1.1);
}

.zh_list_card_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}

.zh_list_card:hover .zh_list_card_overlay {
  opacity: 1;
}

.zh_list_card_btn {
  padding: 10px 24px;
  background: var(--zh-gradient);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.zh_list_card:hover .zh_list_card_btn {
  transform: translateY(0);
}

.zh_list_card_info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.zh_list_card_title {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.zh_list_card_title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.zh_list_card_title a:hover {
  color: var(--zh-primary);
}

/* 侧边栏 */
.zh_sidebar_widget {
  background: var(--zh-card-bg);
  border: 1px solid var(--zh-card-border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 30px;
}

.zh_sidebar_widget_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--zh-card-border);
}

.zh_sidebar_widget_title {
  margin: 0;
  font-size: 18px;
  color: #fff;
  font-weight: 600;
}

.zh_sidebar_widget_icon {
  color: var(--zh-primary);
}

.zh_sidebar_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.zh_sidebar_list li {
  margin-bottom: 15px;
}

.zh_sidebar_list li:last-child {
  margin-bottom: 0;
}

.zh_sidebar_list a {
  color: var(--zh-text-muted);
  text-decoration: none;
  transition: all 0.3s;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-left: 15px;
  position: relative;
}

.zh_sidebar_list a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--zh-card-border);
  border-radius: 50%;
  transition: background 0.3s;
}

.zh_sidebar_list a:hover {
  color: var(--zh-primary);
  transform: translateX(5px);
}

.zh_sidebar_list a:hover::before {
  background: var(--zh-primary);
}

/* 分页 */
.zh_pagination {
  margin-top: 50px;
  text-align: center;
}

.zh_pagination ul {
  display: inline-flex;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.zh_pagination li a,
.zh_pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--zh-card-bg);
  border: 1px solid var(--zh-card-border);
  border-radius: 8px;
  color: var(--zh-text-muted);
  text-decoration: none;
  transition: all 0.3s;
}

.zh_pagination li.active span,
.zh_pagination li a:hover {
  background: var(--zh-primary);
  color: #000;
  border-color: var(--zh-primary);
  font-weight: bold;
}

/* 响应式 */
@media (max-width: 1024px) {
  .zh_list_main {
    grid-template-columns: 1fr;
  }

  .zh_list_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .zh_list_grid {
    grid-template-columns: 1fr;
  }
}