/* ========================================
   案例列表组件样式
======================================== */

.junhua-cases-list-section {
  position: relative;
  padding: var(--spacing-9xl) 0;
  overflow: hidden;
}

.junhua-cases-list-container {
  position: relative;
  z-index: 1;
}

/* 标题区域 */
.junhua-cases-list-header {
  text-align: center;
  margin-bottom: var(--spacing-7xl);
}

.junhua-cases-list-title {
  font-family: var(--font-family);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-title);
  color: var(--text-color-strong);
  margin-bottom: var(--spacing-2xl);
}

.junhua-cases-list-highlight-title {
  color: var(--primary-color);
}

.junhua-cases-list-subtitle {
  font-family: var(--font-family);
  font-size: var(--font-size-h5);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-title);
  color: var(--text-color-strong);
  margin: 0;
}

/* 案例卡片网格 */
.junhua-cases-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-7xl);
}

/* 案例卡片 */
.junhua-cases-list-item {
  display: grid;
  grid-template-columns: 20rem 1fr;
  background-color: var(--bg-color-white);
  transition: var(--transition-base);
  position: relative;
}

/* 图片区域 */
.junhua-cases-list-item-image {
  width: 100%;
  height: 11.25rem;
  overflow: hidden;
}

.junhua-cases-list-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-base);
}

.junhua-cases-list-item:hover .junhua-cases-list-item-image img {
  transform: scale(1.05);
}

/* 内容区域 */
.junhua-cases-list-item-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem var(--spacing-5xl) 0 var(--spacing-5xl);
}

/* 日期 */
.junhua-cases-list-item-date {
  font-family: var(--font-family);
  font-size: var(--font-size-tiny);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-title);
  padding: var(--spacing-base) 0;
  color: #b3b3b3;
  border-top: #f7f7f7 solid 1px;
}

/* 文本信息 */
.junhua-cases-list-item-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-base);
}

.junhua-cases-list-item-title {
  font-family: var(--font-family);
  font-size: var(--font-size-h5);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-title);
  color: var(--text-color-primary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.junhua-cases-list-item-desc {
  font-family: var(--font-family);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-title);
  color: var(--text-color-gray-600);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.junhua-cases-list-item-tags {
  display: flex;
  gap: 5px;
}
/* 标签 */
.junhua-cases-list-item-tag {
  display: inline-flex;
  align-items: center;
  padding: var(--spacing-xs) var(--spacing-sm);
  background-color: #eeeeee;
  font-family: var(--font-family);
  font-size: var(--font-size-tiny);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-title);
  color: var(--text-color-gray-400);
  width: fit-content;
}

/* 分页导航 */
.junhua-cases-list-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-5xl);
}

/* ========================================
   响应式设计
======================================== */

/* 移动端 */
@media screen and (max-width: 767px) {
  .junhua-cases-list-item {
    grid-template-columns: 1fr;
  }
}
