/* list2.css - 卡片网格列表页专属样式 */

/* ===========================
   页面主区域
=========================== */
.list2-page {
  background: #f5f0e8;
  min-height: 600px;
  padding: 0 0 60px;
}

/* ===========================
   卡片网格（4 列）
=========================== */
.card-grid {
  width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ===========================
   单张卡片（上图下文）
=========================== */
.card-item {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  cursor: pointer;
}

.card-item__thumb {
  width: 100%;
  height: 210px;
  overflow: hidden;
}

.card-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.card-item:hover .card-item__thumb img {
  transform: scale(1.06);
}

.card-item__body {
  padding: 16px 16px 20px;
}

.card-item__name {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
}

.card-item:hover .card-item__name {
  color: #bb2027;
}

.card-item__desc {
  margin: 0 0 14px;
  color: #777;
  font-size: 13px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-item__more {
  display: inline-block;
  color: #bb2027;
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.2s;
}

.card-item__more:hover {
  opacity: 0.7;
}
