/* ================================
   企业概览页面专用样式
   ================================ */

/* 全局样式重置 - 确保字体统一 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
body.zh_overview_page {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  line-height: 1.6;
  color: #000000;
  background: #FFFFFF;
  padding: 0;
  margin: 0;
}

/* 确保所有文本元素使用统一字体 */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 700;
  color: #000000;
}

p, span, div, li, ul, ol {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  /* color: #000000; */
}

a {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  text-decoration: none;
}

/* 强制覆盖文本元素的字体设置，但保留图标字体 */
*:not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not(.fad):not([class*="fa-"]):not(i[class*="fa"]) {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* 确保FontAwesome图标正常显示 */
.fa, .fas, .far, .fal, .fab, .fad,
[class*="fa-"],
i[class*="fa"] {
  font-style: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  line-height: 1 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* FontAwesome Solid 图标 */
.fa, .fas, 
i.fa, i.fas,
[class*="fa-"].fa,
[class*="fa-"].fas {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

/* FontAwesome Regular 图标 */
.far,
i.far,
[class*="fa-"].far {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 400 !important;
}

/* FontAwesome Brands 图标 */
.fab,
i.fab,
[class*="fa-"].fab {
  font-family: "Font Awesome 5 Brands" !important;
  font-weight: 400 !important;
}

/* FontAwesome Light 图标 */
.fal,
i.fal,
[class*="fa-"].fal {
  font-family: "Font Awesome 5 Pro" !important;
  font-weight: 300 !important;
}

/* 重置默认链接样式 */
a:where(:not(.wp-element-button)) {
  text-decoration: underline;
}

/* 页面主要容器 */
.site-main {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.page-content {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* 页面内容容器 */
.zh_overview_content {
  background: #FFFFFF;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* 强制重置主容器 */
main, section, article, div {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* 确保页面标题使用统一字体 */
.page-header .entry-title {
  display: none; /* 隐藏默认标题，使用自定义横幅 */
}

/* 横幅区域 */
.zh_hero_banner {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/static/image/battery-banner-gwb.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.zh_hero_bg_pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(237, 13, 30, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(212, 159, 54, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.zh_hero_content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.zh_hero_title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.zh_hero_icon {
  font-size: 4rem;
  color: #ED0D1E;
  margin-top: 30px;
  animation: zh_float 3s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.zh_hero_icon i {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  color: #ED0D1E !important;
}

@keyframes zh_float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* 企业简介区域 */
.zh_company_intro {
  padding: 100px 0;
  background: #FFFFFF;
}

.zh_intro_wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.zh_intro_content .zh_section_title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.zh_title_icon {
  color: #ED0D1E;
  font-size: 2rem;
}

.zh_title_icon i {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  color: #ED0D1E !important;
}

.zh_intro_text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #000000;
  margin-bottom: 40px;
}

.zh_intro_visual {
  display: flex;
  justify-content: center;
}

.zh_intro_visual .zh_image_container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 3px solid transparent;
  max-width: 100%;
}

.zh_intro_visual .zh_image_container:hover {
  transform: translateY(-10px);
  border-color: #ED0D1E;
  box-shadow: 0 25px 50px rgba(237, 13, 30, 0.15);
}

.zh_intro_visual .zh_image_container img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.zh_intro_visual .zh_image_container:hover img {
  transform: scale(1.05);
}

/* 核心技术区域 */
.zh_core_technology {
  padding: 100px 0;
  background: #F3F3F3;
}

.zh_tech_wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.zh_tech_content .zh_section_title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.zh_tech_text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #000000;
  margin-bottom: 40px;
}

.zh_tech_visual {
  display: flex;
  justify-content: center;
}

.zh_tech_visual .zh_image_container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 3px solid transparent;
  position: relative;
  max-width: 100%;
}

.zh_tech_visual .zh_image_container:hover {
  transform: translateY(-10px);
  border-color: #ED0D1E;
  box-shadow: 0 25px 50px rgba(237, 13, 30, 0.15);
}

.zh_tech_visual .zh_image_container img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.zh_tech_visual .zh_image_container:hover img {
  transform: scale(1.05);
}

.zh_tech_visual .zh_image_container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(237, 13, 30, 0.1) 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.zh_tech_visual .zh_image_container:hover::after {
  opacity: 1;
}

/* 通用容器 */
.zh_container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 通用图片容器样式 */
.zh_image_container {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.zh_image_container img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.zh_image_container:hover img {
  transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .zh_intro_wrapper,
  .zh_tech_wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .zh_tech_visual .zh_image_container,
  .zh_intro_visual .zh_image_container {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .zh_hero_title {
    font-size: 2.5rem;
  }
  
  .zh_hero_icon {
    font-size: 3rem;
  }
  
  .zh_company_intro,
  .zh_core_technology {
    padding: 60px 0;
  }
  
  .zh_intro_wrapper,
  .zh_tech_wrapper {
    gap: 40px;
  }
  
  .zh_intro_content .zh_section_title,
  .zh_tech_content .zh_section_title {
    font-size: 1.8rem;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .zh_hero_banner {
    min-height: 50vh;
  }
  
  .zh_hero_title {
    font-size: 2rem;
  }
  
  .zh_company_intro,
  .zh_core_technology {
    padding: 40px 0;
  }
  
  .zh_container {
    padding: 0 15px;
  }
  
  .zh_intro_text,
  .zh_tech_text {
    font-size: 1rem;
  }
}
