/* 页脚样式 - 适配线上代码 */

/* 页脚容器 */
.wp-footer {
  background: linear-gradient(135deg, rgba(91, 192, 190, 0.85) 0%, rgba(127, 219, 218, 0.85) 100%) !important;
  padding: 50px 0 30px 0 !important;
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}

/* 添加蒙版效果 */
.wp-footer::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(0, 0, 0, 0.15) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* 确保内容在蒙版之上 */
.wp-footer > * {
  position: relative !important;
  z-index: 1 !important;
}

/* 页脚导航（如果存在） */
.wp-footer .foot-nav {
  display: none !important; /* 隐藏页脚导航 */
}

/* 页脚主要内容 */
.wp-footer .footer {
  background: transparent !important;
  padding: 0 !important;
}

.wp-footer .footer .wp-inner {
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding: 0 60px !important;
}

/* 页脚内容容器 */
.wp-footer .footer-content {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 80px !important;
  width: 100% !important;
  padding-bottom: 20px !important;
  border-bottom: none !important;
}

/* 左侧：Logo */
.wp-footer .footer-left {
  flex: 0 0 45% !important;
  max-width: 45% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.wp-footer .footer-logo {
  width: 100% !important;
  max-width: 550px !important;
  height: auto !important;
  display: block !important;
  opacity: 1 !important;
  transition: transform 0.3s ease !important;
}

.wp-footer .footer-logo:hover {
  transform: scale(1.02) !important;
}

/* 右侧：联系方式 */
.wp-footer .footer-right {
  flex: 1 !important;
  display: flex !important;
  justify-content: flex-start !important;
  padding-left: 60px !important;
}

.wp-footer .footer-contact {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  width: 100% !important;
}

.wp-footer .footer-contact-item {
  font-size: 15px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.6 !important;
  text-align: left !important;
  font-weight: 400 !important;
  letter-spacing: 0.3px !important;
}

/* 联系方式中的span元素 */
.wp-footer .copyright,
.wp-footer .address,
.wp-footer .zipcode {
  font-size: 15px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  display: inline-block !important;
  font-weight: 400 !important;
  letter-spacing: 0.3px !important;
}

/* 备案信息 - 单独一行，居中显示 */
.wp-footer .footer-contact > p:last-child,
.wp-footer .icp {
  text-align: center !important;
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  margin-top: 15px !important;
  padding-top: 15px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  letter-spacing: 0.3px !important;
  width: 100% !important;
}

/* 链接样式 */
.wp-footer .footer-contact-item a,
.wp-footer .icp a,
.wp-footer a {
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  border-bottom: 1px solid transparent !important;
}

.wp-footer .footer-contact-item a:hover,
.wp-footer .icp a:hover,
.wp-footer a:hover {
  color: #ffffff !important;
  border-bottom-color: rgba(255, 255, 255, 0.5) !important;
}

/* 备案信息段落 */
.wp-footer .footer-contact p {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 15px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.6 !important;
  text-align: left !important;
  letter-spacing: 0.3px !important;
}

/* 隐藏空的icp span */
.wp-footer .icp:empty {
  display: none !important;
}

/* 原有的单行布局样式（如果存在） */
.wp-footer .footer .wp-inner > p {
  display: none !important;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .wp-footer {
    padding: 40px 0 25px 0 !important;
  }
  
  .wp-footer .footer .wp-inner {
    padding: 0 40px !important;
  }
  
  .wp-footer .footer-content {
    gap: 50px !important;
    padding-bottom: 18px !important;
  }
  
  .wp-footer .footer-left {
    flex: 0 0 42% !important;
    max-width: 42% !important;
  }
  
  .wp-footer .footer-logo {
    max-width: 460px !important;
  }
  
  .wp-footer .footer-right {
    padding-left: 40px !important;
  }
  
  .wp-footer .footer-contact {
    gap: 12px !important;
  }
  
  .wp-footer .footer-contact-item {
    font-size: 14px !important;
  }
  
  .wp-footer .copyright,
  .wp-footer .address,
  .wp-footer .zipcode {
    font-size: 14px !important;
  }
  
  .wp-footer .footer-contact p {
    font-size: 14px !important;
  }
  
  .wp-footer .footer-contact > p:last-child,
  .wp-footer .icp {
    font-size: 12px !important;
    margin-top: 12px !important;
    padding-top: 12px !important;
  }
}

@media (max-width: 768px) {
  .wp-footer {
    padding: 35px 0 20px 0 !important;
  }
  
  .wp-footer .footer .wp-inner {
    padding: 0 20px !important;
  }
  
  .wp-footer .footer-content {
    flex-direction: column !important;
    gap: 30px !important;
    align-items: center !important;
    padding-bottom: 15px !important;
  }
  
  .wp-footer .footer-left {
    flex: 0 0 auto !important;
    max-width: 100% !important;
    text-align: center !important;
  }
  
  .wp-footer .footer-logo {
    max-width: 380px !important;
    margin: 0 auto !important;
  }
  
  .wp-footer .footer-right {
    width: 100% !important;
    justify-content: center !important;
    padding-left: 0 !important;
  }
  
  .wp-footer .footer-contact {
    gap: 10px !important;
    text-align: center !important;
  }
  
  .wp-footer .footer-contact-item {
    font-size: 13px !important;
    text-align: center !important;
  }
  
  .wp-footer .footer-contact p {
    text-align: center !important;
    font-size: 13px !important;
  }
  
  .wp-footer .copyright,
  .wp-footer .address,
  .wp-footer .zipcode {
    font-size: 13px !important;
  }
  
  .wp-footer .footer-contact > p:last-child,
  .wp-footer .icp {
    font-size: 11px !important;
    margin-top: 10px !important;
    padding-top: 10px !important;
  }
}
