/* 案例列表样式 - prolist 前缀 */

/* 案例网格容器 */
.prolist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap:0 54px;
  margin-top: 40px;
  margin-bottom: 60px;
}

/* 案例项 */
.prolist-item {
  background: #fff;
  overflow: hidden;
  transition: all 0.3s ease;
}

.prolist-item:hover {
  transform: translateY(-8px);
}

/* 案例链接 */
.prolist-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* 案例图片容器 */
.prolist-image {
  width: 100%;
  height: 570px;
  overflow: hidden;
  position: relative;
  background: #f5f5f5;
}

.prolist-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.prolist-item:hover .prolist-image img {
  transform: scale(1.1);
}

/* 案例信息 */
.prolist-info {
  padding: 24px;
}

/* 案例标题 */
.prolist-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  text-align: center;
  margin: 0 0 4px 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.3s ease;
}

.prolist-item:hover .prolist-title {
  color: #e53131;
}

/* 案例描述 */
.prolist-desc {
  font-size: 16px;
  color: #9f9f9f;
  line-height: 1.6;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-align: center;
}

/* 平板端适配 (768px - 1024px) */
@media (max-width: 1440px) {
    .prolist-image {
        height:430px;
    }
}
@media (max-width: 1200px) {
    .prolist-image {
        height:360px;
    }
}
@media (max-width: 1024px) {
  .prolist-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .prolist-image {
    height: 240px;
  }

  .prolist-info {
    padding: 20px;
  }

  .prolist-title {
    font-size: 17px;
  }

  .prolist-desc {
    font-size: 13px;
  }
}

/* 手机端适配 (max-width: 768px) */
@media (max-width: 768px) {
  .prolist-grid {
    grid-template-columns: 1fr;
    gap: 0px;
    margin-top: 30px;
    margin-bottom: 0px;
  }

  .prolist-image {
    height: auto;
  }

  .prolist-info {
    padding: 18px;
  }

  .prolist-title {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .prolist-desc {
    font-size: 12px;
  }

  .prolist-item:hover {
    transform: translateY(-4px);
  }
    .news-list-section {
        padding: 20px 0;
    }
    .prolist-grid {
        margin-top: 15px;
    }
}

/* 小屏手机适配 (max-width: 480px) */
@media (max-width: 480px) {
  .prolist-grid {
    gap: 16px;
    margin-top: 24px;
    margin-bottom: 0;
  }

  .prolist-image {
    height: 200px;
  }

  .prolist-info {
    padding: 16px;
  }

  .prolist-title {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .prolist-desc {
    font-size: 12px;
    line-height: 1.5;
  }
}
