/* 合作伙伴页面核心样式 */
.content {
  padding: 0;
  overflow: hidden;
}

/* 横幅区域 */
.cooperation-banner {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #373838ff 0%, #34495e 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cooperation-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 调整背景图片显示方式 */
  background: url("/static/picture/banner-pattern.png") no-repeat center center;
  /* 让图片自适应容器大小（完整显示） */
  background-size: cover;
  /* 或铺满容器（可能拉伸，适合纹理图） */
  /* background-size: cover; */
  opacity: 0.6;
}

.banner-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.banner-text h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.banner-text p {
  font-size: 18px;
  opacity: 0.9;
  letter-spacing: 1px;
}

/* 合作理念区域 */
.cooperation-merit {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.public-title {
  text-align: center;
  margin-bottom: 60px;
}

.public-title p:first-child {
  font-size: 30px;
  color: #333;
  font-weight: 600;
  margin-bottom: 12px;
}

.public-underline {
  font-size: 14px;
  color: #666;
  text-transform: uppercase;
  padding-bottom: 8px;
  position: relative;
}

.public-underline::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: #3498db;
}

.merit-content {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.merit-content-item {
  flex: 1;
  min-width: 280px;
  text-align: center;
  padding: 30px 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.merit-content-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.icon-box {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background-color: #f1f7ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iconfont {
  font-size: 36px;
  color: #3498db;
}

.icon-decription h4 {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.icon-decription p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

/* 合作伙伴矩阵区域 */
.cooperation-list-wrapper {
  padding: 80px 0;
}

.cooperation-grid {
  margin-top: 40px;
}

.partner-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 30px;
}

.partner-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.partner-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.partner-img {
  width: 160px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

.partner-item:hover .partner-img img {
  transform: scale(1.05);
}

.partner-name {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

/* 响应式调整 */
@media (max-width: 1200px) {
  .partner-row {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .cooperation-banner {
    height: 220px;
  }

  .banner-text h2 {
    font-size: 32px;
  }

  .public-title p:first-child {
    font-size: 24px;
  }

  .cooperation-merit,
  .cooperation-list-wrapper {
    padding: 50px 0;
  }

  .merit-content {
    flex-direction: column;
    gap: 20px;
  }

  .partner-row {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
  }

  .partner-img {
    width: 120px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .cooperation-banner {
    height: 180px;
  }

  .banner-text h2 {
    font-size: 26px;
  }

  .banner-text p {
    font-size: 16px;
  }

  .partner-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
