/* 列表页样式 - 基于首页Figma设计风格 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: #1b1b1b;
  background: #f8f8f8;
  overflow-x: hidden;
}

.zh_container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* 页面顶部Banner */
.zh_page_banner {
  background: linear-gradient(135deg, #1b1b1b 0%, #3d3d3d 100%);
  padding: 60px 0 40px;
  margin-top: 80px;
}

.zh_page_banner_content {
  text-align: center;
  color: #fff;
}

.zh_page_title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}

.zh_breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.zh_breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.zh_breadcrumb a:hover {
  color: #e60000;
}

.zh_breadcrumb i {
  font-size: 10px;
}

.zh_breadcrumb span {
  color: #fff;
}

/* 主内容区 */
.zh_list_main {
  padding: 80px 0;
}

.zh_list_layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
}

/* 列表内容区 */
.zh_list_content {
  background: transparent;
}

.zh_list_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

/* 列表卡片 */
.zh_list_card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.zh_list_card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(230, 0, 0, 0.15);
}

.zh_list_card_image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #f5f5f5;
}

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

.zh_list_card:hover .zh_list_card_image img {
  transform: scale(1.1);
}

.zh_list_card_overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.zh_list_card:hover .zh_list_card_overlay {
  opacity: 1;
}

.zh_list_card_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: #e60000;
  color: #fff;
  text-decoration: none;
  border-radius: 24px;
  font-weight: 600;
  font-size: 14px;
  transform: translateY(10px);
  transition: all 0.3s;
}

.zh_list_card:hover .zh_list_card_btn {
  transform: translateY(0);
}

.zh_list_card_btn:hover {
  background: #cc0000;
}

.zh_list_card_body {
  padding: 25px;
}

.zh_list_card_title {
  margin-bottom: 12px;
}

.zh_list_card_title a {
  font-size: 18px;
  font-weight: 600;
  color: #1b1b1b;
  text-decoration: none;
  display: block;
  line-height: 1.4;
  transition: color 0.3s;
}

.zh_list_card_title a:hover {
  color: #e60000;
}

.zh_list_card_desc {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zh_list_card_footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.zh_list_card_meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.zh_list_card_tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(230, 0, 0, 0.1);
  color: #e60000;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.zh_list_card_link {
  width: 32px;
  height: 32px;
  background: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: all 0.3s;
}

.zh_list_card:hover .zh_list_card_link {
  background: #e60000;
  color: #fff;
}

/* 分页 */
.zh_pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}

.zh_pagination :global(a),
.zh_pagination :global(span) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
}

.zh_pagination :global(a:hover) {
  background: #e60000;
  border-color: #e60000;
  color: #fff;
}

.zh_pagination :global(.current) {
  background: #e60000;
  border-color: #e60000;
  color: #fff;
  font-weight: 600;
}

/* 侧边栏 */
.zh_list_sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* 侧边栏卡片 */
.zh_sidebar_card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.zh_sidebar_card_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f5f5f5;
}

.zh_sidebar_card_title {
  font-size: 18px;
  font-weight: 600;
  color: #1b1b1b;
}

.zh_sidebar_card_header i {
  font-size: 20px;
  color: #e60000;
}

.zh_sidebar_card_body {
  padding: 0;
}

/* 侧边栏导航 */
.zh_sidebar_nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.zh_sidebar_nav li {
  margin-bottom: 10px;
}

.zh_sidebar_nav li:last-child {
  margin-bottom: 0;
}

.zh_sidebar_nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f8f8f8;
  border-radius: 12px;
  color: #666;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s;
}

.zh_sidebar_nav a:hover,
.zh_sidebar_nav a.active {
  background: linear-gradient(135deg, #e60000 0%, #ff4d4d 100%);
  color: #fff;
}

.zh_sidebar_nav i {
  font-size: 16px;
}

/* 侧边栏列表 */
.zh_sidebar_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.zh_sidebar_list li {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f5f5f5;
}

.zh_sidebar_list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.zh_sidebar_list a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
  transition: color 0.3s;
}

.zh_sidebar_list a:hover {
  color: #e60000;
}

.zh_sidebar_list a i {
  font-size: 12px;
  margin-top: 4px;
  color: #e60000;
  flex-shrink: 0;
}

.zh_sidebar_list a span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 侧边栏CTA卡片 */
.zh_sidebar_cta {
  background: linear-gradient(135deg, #e60000 0%, #ff6b6b 100%);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  color: #fff;
  box-shadow: 0 8px 25px rgba(230, 0, 0, 0.3);
}

.zh_sidebar_cta_icon {
  font-size: 48px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.zh_sidebar_cta_title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.zh_sidebar_cta_desc {
  font-size: 14px;
  margin-bottom: 25px;
  opacity: 0.9;
}

.zh_sidebar_cta_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #fff;
  color: #e60000;
  text-decoration: none;
  border-radius: 24px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s;
}

.zh_sidebar_cta_btn:hover {
  background: #f8f8f8;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .zh_list_layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .zh_list_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .zh_list_sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .zh_container {
    padding: 0 20px;
  }

  .zh_page_banner {
    padding: 40px 0 30px;
  }

  .zh_page_title {
    font-size: 32px;
  }

  .zh_list_main {
    padding: 50px 0;
  }

  .zh_list_grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .zh_list_sidebar {
    grid-template-columns: 1fr;
  }

  .zh_sidebar_card {
    padding: 20px;
  }
}
