/* 列表页样式 - 基于Figma设计风格 */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,600;1,800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: #404041;
  background: #f8f9fa;
  overflow-x: hidden;
}

.zh_container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* 面包屑导航 */
.zh_breadcrumb {
  background: #ffffff;
  padding: 25px 0;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 40px;
}

.zh_breadcrumb_container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.zh_breadcrumb_icon {
  width: 20px;
  height: 20px;
  opacity: 0.6;
}

.zh_breadcrumb_text {
  font-size: 14px;
  color: #868686;
}

.zh_breadcrumb_text a {
  color: #5c937f;
  text-decoration: none;
  transition: color 0.3s ease;
}

.zh_breadcrumb_text a:hover {
  color: #3e8383;
}

/* 主内容布局 */
.zh_list_main {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  margin-bottom: 80px;
}

/* 内容区 */
.zh_list_content {
  min-height: 500px;
}

.zh_list_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.zh_list_card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  cursor: pointer;
}

.zh_list_card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.zh_list_card_image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.zh_list_card_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s 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: 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 ease;
}

.zh_list_card:hover .zh_list_card_overlay {
  opacity: 1;
}

.zh_list_card_btn {
  padding: 12px 28px;
  background: linear-gradient(135deg, #f7c9aa 0%, #ff717a 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(255, 113, 122, 0.35);
  transition: all 0.3s ease;
  transform: scale(0.8);
}

.zh_list_card:hover .zh_list_card_btn {
  transform: scale(1);
}

.zh_list_card_btn:hover {
  box-shadow: 0 12px 30px rgba(255, 113, 122, 0.45);
}

.zh_list_card_info {
  padding: 25px;
}

.zh_list_card_title {
  font-size: 18px;
  font-weight: 700;
  color: #404041;
  margin-bottom: 12px;
  line-height: 1.4;
}

.zh_list_card_title a {
  color: #404041;
  text-decoration: none;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zh_list_card_title a:hover {
  color: #5c937f;
}

.zh_list_card_category {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #868686;
  font-size: 14px;
}

.zh_list_card_category span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 侧边栏 */
.zh_list_sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.zh_sidebar_widget {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.zh_sidebar_widget:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.zh_sidebar_widget_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f8f9fa;
  position: relative;
}

.zh_sidebar_widget_header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #71a896 0%, #3e8383 100%);
}

.zh_sidebar_widget_title {
  font-size: 20px;
  font-weight: 700;
  color: #404041;
}

.zh_sidebar_widget_icon {
  width: 30px;
  height: 30px;
  opacity: 0.7;
}

.zh_sidebar_list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.zh_sidebar_list li {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.zh_sidebar_list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.zh_sidebar_list li:hover {
  padding-left: 10px;
}

.zh_sidebar_list a {
  color: #404041;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.6;
  display: block;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zh_sidebar_list a:hover {
  color: #5c937f;
}

/* 分页 */
.zh_pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
}

.zh_pagination a,
.zh_pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
  padding: 0 15px;
  background: #ffffff;
  color: #404041;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.zh_pagination a:hover {
  background: linear-gradient(135deg, #71a896 0%, #3e8383 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(113, 168, 150, 0.3);
}

.zh_pagination .current {
  background: linear-gradient(135deg, #71a896 0%, #3e8383 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(113, 168, 150, 0.3);
}

/* 空状态 */
.zh_list_empty {
  text-align: center;
  padding: 80px 20px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.zh_list_empty_icon {
  font-size: 80px;
  color: #d1d5db;
  margin-bottom: 25px;
}

.zh_list_empty_text {
  font-size: 18px;
  color: #868686;
  margin-bottom: 30px;
}

.zh_list_empty_btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #f7c9aa 0%, #ff717a 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(255, 113, 122, 0.35);
  transition: all 0.3s ease;
}

.zh_list_empty_btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 113, 122, 0.45);
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .zh_container {
    padding: 0 30px;
  }

  .zh_list_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 992px) {
  .zh_container {
    padding: 0 20px;
  }

  .zh_list_main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .zh_list_sidebar {
    order: -1;
  }

  .zh_list_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .zh_breadcrumb {
    padding: 20px 0;
    margin-bottom: 30px;
  }

  .zh_list_grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .zh_list_card_image {
    height: 200px;
  }

  .zh_sidebar_widget {
    padding: 25px;
  }

  .zh_pagination a,
  .zh_pagination span {
    min-width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .zh_list_card_info {
    padding: 20px;
  }

  .zh_list_card_title {
    font-size: 16px;
  }

  .zh_sidebar_widget_title {
    font-size: 18px;
  }
}

/* WOW动画支持 */
.animate-fadeInUp {
  animation-name: fadeInUp;
  animation-duration: 0.8s;
  animation-fill-mode: both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
