/* ========== 产品描述内容优化样式 ========== */

/* 产品描述主容器 */
#productDesc {
  word-wrap: break-word;
  word-break: break-word;
  line-height: 2;
  color: #4A5A6A;
  font-size: 16px;
  padding: 0;
  margin: 0;
}

/* 产品描述中的换行处理 */
#productDesc br {
  display: block;
  margin: 12px 0;
  content: "";
}

/* 产品描述卡片容器 */
.product-desc-card {
  background: linear-gradient(135deg, #F8FAFB 0%, #FFFFFF 100%);
  border-radius: 12px;
  padding: 30px;
  margin: 20px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #E8ECF0;
  transition: all 0.3s ease;
}

.product-desc-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* 产品描述段落 */
#productDesc p {
  margin: 0 0 20px 0;
  line-height: 2;
  color: #4A5A6A;
  font-size: 16px;
  text-align: justify;
  position: relative;
  padding-left: 0;
}

#productDesc p:last-child {
  margin-bottom: 0;
}


/* 重点文本高亮 */
.highlight-text {
  background: linear-gradient(120deg, rgba(127, 163, 181, 0.2) 0%, rgba(127, 163, 181, 0.1) 100%);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
  color: #2C3E50;
}

/* 引用样式 */
.quote-box {
  background: #F0F3F5;
  border-left: 4px solid #7FA3B5;
  border-radius: 8px;
  padding: 20px 25px;
  margin: 25px 0;
  position: relative;
  font-style: italic;
  color: #4A5A6A;
  line-height: 1.9;
}

.quote-box::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 48px;
  color: #7FA3B5;
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

.quote-box p {
  margin: 0;
  padding-left: 30px;
  position: relative;
  z-index: 1;
}


/* ========== 案例详情样式 ========== */
.case-detail-card {
  background: linear-gradient(135deg, #F8FAFB 0%, #FFFFFF 100%);
  border-radius: 12px;
  padding: 40px;
  margin: 30px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #E8ECF0;
  transition: all 0.3s ease;
}

.case-detail-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* 案例图片容器 */
.case-image-wrapper {
  text-align: center;
  margin-bottom: 30px;
}

.case-detail-image {
  max-width: 100%;
  max-height: 600px;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.case-detail-image:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: scale(1.02);
}

/* 案例文本内容 */
.case-detail-text {
  word-wrap: break-word;
  word-break: break-word;
  line-height: 2;
  color: #4A5A6A;
  font-size: 16px;
}

.case-detail-text br {
  display: block;
  margin: 12px 0;
  content: "";
}

.case-detail-text p {
  margin: 0 0 20px 0;
  line-height: 2;
  color: #4A5A6A;
  font-size: 16px;
  text-align: justify;
}

.case-detail-text p:last-child {
  margin-bottom: 0;
}

/* ========== 通用内容文本卡片样式（用于fuwu.html和news.html） ========== */
.content-text-card {
  background: linear-gradient(135deg, #F8FAFB 0%, #FFFFFF 100%);
  border-radius: 12px;
  padding: 40px;
  margin: 30px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #E8ECF0;
  transition: all 0.3s ease;
  word-wrap: break-word;
  word-break: break-word;
  line-height: 2;
  color: #4A5A6A;
  font-size: 16px;
}

.content-text-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.content-text-card br {
  display: block;
  margin: 12px 0;
  content: "";
}

.content-text-card p {
  margin: 0 0 20px 0;
  line-height: 2;
  color: #4A5A6A;
  font-size: 16px;
  text-align: justify;
}

.content-text-card p:last-child {
  margin-bottom: 0;
}

/* 新闻详情特殊样式 */
.ar_article.content-text-card {
  padding: 40px;
}

/* 详情描述容器优化 */
#detailDescContainer {
  padding: 40px;
  line-height: 2;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  margin: 30px 0;
}

#detailDescContainer p {
  margin: 0 0 25px 0;
  font-size: 16px;
  color: #4A5A6A;
  line-height: 2;
  text-align: justify;
  position: relative;
  padding-left: 25px;
}

#detailDescContainer p::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #7FA3B5;
  font-size: 20px;
  font-weight: bold;
  line-height: 2;
}

#detailDescContainer p:last-child {
  margin-bottom: 0;
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-desc-card {
  animation: fadeInUp 0.6s ease-out;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .product-desc-card {
    padding: 20px;
    margin: 15px 0;
  }
  
  #productDesc p,
  .product-desc-card p {
    font-size: 15px;
    line-height: 1.8;
  }
  
  #detailDescContainer {
    padding: 25px 20px;
  }
  
  #detailDescContainer p {
    font-size: 15px;
    padding-left: 20px;
  }
  
  .quote-box {
    padding: 15px 20px;
  }
  
  /* 案例详情响应式 */
  .case-detail-card {
    padding: 25px 20px;
  }
  
  .case-detail-text {
    font-size: 15px;
    line-height: 1.8;
  }
  
  .case-detail-image {
    max-height: 400px;
  }
  
}

@media (max-width: 480px) {
  .product-desc-card {
    padding: 15px;
    border-radius: 8px;
  }
  
  #productDesc p,
  .product-desc-card p {
    font-size: 14px;
    line-height: 1.7;
  }
  
  #detailDescContainer {
    padding: 20px 15px;
  }
  
  #detailDescContainer p {
    font-size: 14px;
    padding-left: 18px;
  }
  
  /* 案例详情移动端 */
  .case-detail-card {
    padding: 20px 15px;
  }
  
  .case-detail-text {
    font-size: 14px;
    line-height: 1.7;
  }
  
  .case-detail-image {
    max-height: 300px;
  }
  
  /* 内容文本卡片移动端 */
  .content-text-card {
    padding: 20px 15px;
    font-size: 14px;
    line-height: 1.7;
  }
  
  .ar_article.content-text-card {
    padding: 25px 15px;
  }
}

