/* 重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial,
    sans-serif;
  line-height: 2;
  color: #333;
  background-color: #fff;
}

/* 通用样式 */
.container {
  /*max-width: 1120px;*/
  max-width: 1013px;
  margin: 0 auto;
  padding: 0;
}
.main-header .container {max-width: 1106px;}

/* 导航栏 */
.main-header {
  background: #fff;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* 汉堡菜单样式 */
.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  z-index: 1000;
  background: transparent;
  border: none;
  outline: none;
  transition: all 0.3s ease;
}

.hamburger-menu:hover {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

.hamburger-menu span {
  width: 24px;
  height: 2px;
  background-color: #333;
  margin: 4px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
  display: block;
}

.hamburger-menu:hover span {
  background-color: #3d85c6;
}

/* 汉堡菜单激活状态 */
.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-left .nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  margin-bottom: 0;
}

.nav-links li {
  position: relative;
  padding: 0 25px;
  padding-right: 64px;
}

.nav-links a {
  color: #707070;
  text-decoration: none;
  font-size: 21px;
  line-height: 29px;
  font-weight: bold;
  font-family: MicrosoftYaHei, MicrosoftYaHei;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links li:not(:last-child) a::after {
  content: "";
  position: absolute;
  right: -56px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background-color: #ccc;
}

.nav-links a:hover,
.nav-links li.active a {
  color: #3d85c6;
}
/*.nav-right{width:16%;}*/
.nav-right .logo {
    /*width: 200px;*/
  text-align: right;
}

.fengjing-logo img {
  width: 270px;
  height: 38px;
  object-fit: contain;
}

/* 主要内容区域 */
.main-content {
  background: #fafafa;
  padding: 20px 0;
}

/* 公司简介区域 */
.company-intro {
  /* background: #fff; */
  max-width: 1013px;
  margin: 0 auto;
}

.intro-header {
  text-align: center;
}

.intro-title {
  font-size: 30px;
  color: #0454a7;
  font-weight: 700;
  margin: 0;
}

.intro-content {
  /*display: flex;*/
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.intro-text {
  padding: 0;
  text-align: center;
  max-width: 1120px;
}

.intro-paragraph {
  font-size: 16px;
  line-height: 32px;

  color: #707070;
  margin-bottom: 16px;
  text-align: left;

  font-family: MicrosoftYaHei;
  font-style: normal;
  text-transform: none;

  text-indent: 2em;
}

.intro-image {
  text-align: center;
}

.intro-image img {
  width: 100%;
  max-width: 960px;
  height: 297px;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.company-intro p{font-size:21px;line-height:40px;}

/* 页脚 */
.main-footer {
  background: #fff;
}

/* 联系信息区域 */
.footer-contact {
  background: #3d85c6;
  color: #fff;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /*gap: 320px;*/
  /*gap: 121px;*/
  /*padding-left: 50px;*/
  padding-left: 2em;
  justify-content: space-between;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 40px;

}
.contact-item:nth-child(2) {
margin-left: 26%;
}
.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.8rem;
  color: #fff;
}

.contact-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.contact-info h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: 600;
}

.contact-info p {
  color: #fff;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

/* 白色页脚区域 */
.footer-bottom {
  background: #fff;
  padding: 20px 0 6px;
  border-top: 1px solid #eee;
}

.footer-content {
  display: flex;
  /*gap: 234px;*/
  gap: 0px;
  align-items: center;
  /*margin-left: 20px;*/
  justify-content: space-between;
 
}

.footer-nav {
  display: flex;
  flex-direction: column;
}

.footer-nav .footer-links {
  display: flex;
  list-style: none;
  gap: 40px;
  justify-content: flex-start;
}

.footer-links a {
  transition: color 0.3s ease;

  font-family: MicrosoftYaHei;
  font-size: 16px;
  color: #707070;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.footer-links a:hover {
  color: #3d85c6;
  text-decoration: none;
}

.footer-links li.active a {
  color: #3d85c6;
  text-decoration: none;
}

.footer-copyright {
  text-transform: none;
}

.footer-copyright p {
  font-family: MicrosoftYaHei;
  font-size: 16px;
  color: #707070;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.footer-search {
  display: flex;
  justify-content: flex-end;
}

.search-box {
  display: flex;
  width: 371px;
  height: 32px;
  gap: 0;
}

.search-box input {
  flex: 1;
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 3px 0 0 3px;
  border-right: none;
  font-size: 13px;
  outline: none;
  height: 32px;
  box-sizing: border-box;
  margin-right: 0;
}

.search-box input::placeholder {
  color: #b6b6b6;
  font-size: 13px;
}

.search-box input:focus {
  border-color: #3498db;
}

.search-btn {
  background: #3d85c6;
  color: #fff;
  border: none;
  padding: 6px 16px;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  font-size: 11px;
  height: 32px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.3s ease;
  margin-left: 0;
}

.search-btn:hover {
  background: #2980b9;
}

.search-btn i {
  font-size: 13px;
}







/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
  .nav-links a {
    padding: 12px 0;
  }

  .search-btn {
    padding: 12px 20px;
  }

  .contact-item {
    padding: 25px 20px;
  }
}

/* 高分辨率屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .intro-image img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* 打印样式 */
@media print {
  .main-header,
  .footer-contact,
  .footer-bottom {
    display: none;
  }

  .main-content {
    padding: 0;
  }

  .intro-image img {
    max-width: 100%;
    height: auto;
  }
}

/* 工具类 */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.mb-15 {
  margin-bottom: 15px;
}
.mb-4 {
  margin-bottom: 1.5rem;
}
.mt-4 {
  margin-top: 1.5rem;
}

.p-0 {
  padding: 0;
}
.p-4 {
  padding: 1.5rem;
}

.border-none {
  border: none;
}
.relative {
  position: relative;
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* 加载动画 */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #e74c3c;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 联系我们页面样式 */
.contact-section {
  max-width: 1266px;
  margin: 0 auto;
  padding: 30px 0;
  background: #fafafa;
}

.contact-header {
  text-align: left;
  margin-bottom: 20px;
}

.contact-title {
  font-size: 28px;
  color: #333;
  font-weight: 500;
  margin: 0;
  font-family: MicrosoftYaHei;
}

.contact-map-container {
  margin: 0 auto;
}

.contact-map {
  width: 1292px;
  height: 400px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
}

/* 高德地图信息窗体样式 */
.amap-info-content {
  padding: 15px !important;
  min-width: 300px;
  max-width: 400px;
  font-family: MicrosoftYaHei, sans-serif;
}

.amap-info-content h4 {
  color: #0454a7;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.amap-info-content p {
  color: #333;
  font-size: 14px;
  line-height: 1.6;
  margin: 8px 0;
}

.amap-info-close {
  top: 10px !important;
  right: 10px !important;
}

.amap-info-sharp {
  border-top-color: #fff !important;
}

/* 自定义地图信息窗体样式 */
.map-info-window {
  padding: 20px;
  min-width: 320px;
  max-width: 420px;
  font-family: MicrosoftYaHei, sans-serif;
}

.map-info-window h4 {
  color: #0454a7;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 15px 0;
  line-height: 1.3;
  text-align: center;
}

.map-info-window p {
  color: #333;
  font-size: 14px;
  line-height: 1.8;
  margin: 12px 0;
  padding: 0;
}

.map-info-window strong {
  color: #0454a7;
  font-weight: 600;
}


/* 公司动态页面样式 */
.company-news {
  padding: 20px 0;
  /* background: #fff; */
}

.news-container {
  max-width: 1020px;
  margin: 0 auto;
}

.news-header {
  margin-bottom: 20px;
}

.news-title {
  font-size: 28px;
  font-weight: 500;
  color: #333;
  margin: 0;
  font-family: MicrosoftYaHei, sans-serif;
}

.news-content {
  /* max-width: 1000px; */
  margin: 0 auto;
}

.news-list {
  margin-bottom: 40px;
}

.news-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
  padding-right: 15px;
}

.news-item:hover {
  background-color: #f8f9fa;
  cursor: pointer;
}

.news-item:last-child {
  border-bottom: none;
}

.news-text {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex: 1;
  font-size: 21px;
  color: #333;
  line-height: 1.2;
}

.news-bullet {
  color: #333;
  font-size: 24px;
  font-weight: bold;
  margin-right: 15px;
  flex-shrink: 0;
  margin-left: 8px;
  display:  inline-block;
  width: 4px;
  height: 4px;
  background-color:#333;
}

.news-date {
  color: #333;
  font-size: 16px;
  font-weight: 500;
  flex-shrink: 0;
  margin-left: 20px;
}

.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.page-btn {
  padding: 10px 20px;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 16px;
}

.page-btn:hover {
  background: #3d85c6;
  color: #fff;
  border-color: #3d85c6;
  text-decoration: none;
}

.page-number {
  padding: 10px 15px;
  border: 1px solid #3d85c6;
  background: #3d85c6;
  color: #fff;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
}

.page-number.current {
  background: #3d85c6;
  color: #fff;
}


/* 工厂介绍页面样式 */
.factory-intro {
  max-width: 1266px;
  margin: 0 auto;
}

.factory-layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  /*margin-left: 48px;*/
}

/* 左侧导航菜单 */
.factory-nav {
  flex: 0 0 240px;
  background: #fff;
}

.factory-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.factory-nav-list .nav-item {
  margin: 0;
  padding: 0;
  height: 80px;
  line-height: 80px;
  border: 1px solid #eee;
  border-left: none;
  text-align: center;
}

.factory-nav-list .nav-item a {
  display: block;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
}

.factory-nav-list .nav-item:hover a {
  color: #fff;
  background-color: #3d85c6;
  border-left-color: #3d85c6;
}

.factory-nav-list .nav-item.active a {
  color: #fff;
  background-color: #3d85c6;
  border-left-color: #3d85c6;
  font-weight: 600;
}

.factory-nav-list .nav-item.active a::before {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: #3d85c6;
  border-radius: 50%;
}

/* 右侧内容区域 */
.factory-content {
  flex: 1;
  min-height: 600px;
  padding: 20px 0;
}

.content-section {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease-out;
}

.content-section.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.section-text {
  margin-bottom: 40px;
}

.section-text p {
  font-size: 21px;
  line-height: 40px;
  color: #707070;
  margin: 0;
  text-align: justify;
  font-family: MicrosoftYaHei;
  text-indent: 2em;
}

.section-image {
  text-align: center;
}

.section-image img {
  width: 86%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.section-image img:hover {
  transform: scale(1.02);
}

/* 页面入场动画 */
.page-transition {
  animation: simpleFadeIn 0.6s ease-out;
}

@keyframes simpleFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 页面离开动画 */
.page-leave {
  animation: simpleFadeOut 0.3s ease-in forwards;
}

@keyframes simpleFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* 页面内容入场动画 */
.page-content {
  animation: contentSlideUp 0.5s ease-out 0.2s both;
}

@keyframes contentSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 导航栏入场动画 */
.main-header {
  animation: headerFadeIn 0.5s ease-out;
  transition: all 0.3s ease;
}

@keyframes headerFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 页脚入场动画 */
.main-footer {
  animation: footerFadeIn 0.5s ease-out 0.3s both;
}

@keyframes footerFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 移动端汉堡式车间选择器 */
.factory-mobile-selector {
  display: none;
  position: relative;
  margin-bottom: 20px;
}

.factory-mobile-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.factory-mobile-trigger:hover {
  border-color: #3d85c6;
}

.factory-mobile-trigger.active {
  border-color: #3d85c6;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.factory-mobile-trigger .current-item {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.factory-mobile-trigger .arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #666;
  transition: transform 0.3s ease;
}

.factory-mobile-trigger.active .arrow {
  transform: rotate(180deg);
}

.factory-mobile-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 0 0 6px 6px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 1000;
}

.factory-mobile-dropdown.active {
  max-height: 400px;
}

.factory-mobile-options {
  list-style: none;
  margin: 0;
  padding: 0;
}

.factory-mobile-options li {
  border-bottom: 1px solid #f0f0f0;
}

.factory-mobile-options li:last-child {
  border-bottom: none;
}

.factory-mobile-options a {
  display: block;
  padding: 12px 16px;
  color: #333;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.2s ease;
}

.factory-mobile-options a:hover {
  background: #f8f9fa;
  color: #3d85c6;
}

.factory-mobile-options li.active a {
  background: #3d85c6;
  color: #fff;
}

.gsjs-phone{display:none;}
.secondmenu{display:none;clear:both;}
.sxlk .up,.sxlk .down{display:none;}





/* 富文本编辑器内容样式 */
.rich-text-content,
[contenteditable="true"],
.wysiwyg-content {
  /* 基础样式 */
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;

  /* 内边距，保持美观 */
  padding: 0px;
  margin-top:20px;

  /* 字体设置 */
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial,
    sans-serif;
  line-height: 1.6;
  color: #707070;
}

/* 富文本内容中的段落 */
.rich-text-content p,
[contenteditable="true"] p,
.wysiwyg-content p {
  margin-bottom: 16px;
  text-align: justify;
  text-indent: 0em;
  max-width: 100%;
  overflow-wrap: break-word;
  font-size: 21px;
}
.news-detail-content div p{line-height:40PX;}
/* 富文本内容中的标题 */
.rich-text-content h1,
.rich-text-content h2,
.rich-text-content h3,
.rich-text-content h4,
.rich-text-content h5,
.rich-text-content h6,
[contenteditable="true"] h1,
[contenteditable="true"] h2,
[contenteditable="true"] h3,
[contenteditable="true"] h4,
[contenteditable="true"] h5,
[contenteditable="true"] h6,
.wysiwyg-content h1,
.wysiwyg-content h2,
.wysiwyg-content h3,
.wysiwyg-content h4,
.wysiwyg-content h5,
.wysiwyg-content h6 {
  margin: 24px 0 16px 0;
  color: #0454a7;
  font-weight: 600;
  line-height: 1.4;
  max-width: 100%;
  overflow-wrap: break-word;
}

.rich-text-content h1,
[contenteditable="true"] h1,
.wysiwyg-content h1 {
  font-size: 28px;
}
.rich-text-content h2,
[contenteditable="true"] h2,
.wysiwyg-content h2 {
  font-size: 24px;
}
.rich-text-content h3,
[contenteditable="true"] h3,
.wysiwyg-content h3 {
  font-size: 20px;
}
.rich-text-content h4,
[contenteditable="true"] h4,
.wysiwyg-content h4 {
  font-size: 18px;
}
.rich-text-content h5,
[contenteditable="true"] h5,
.wysiwyg-content h5 {
  font-size: 16px;
}
.rich-text-content h6,
[contenteditable="true"] h6,
.wysiwyg-content h6 {
  font-size: 14px;
}

/* 富文本内容中的图片 */
.rich-text-content img,
[contenteditable="true"] img,
.wysiwyg-content img {
  max-width: 93% !important;
  height: auto !important;
  display: block;
  margin: 20px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /*margin-bottom:88px;*/
}

/* 富文本内容中的链接 */
.rich-text-content a,
[contenteditable="true"] a,
.wysiwyg-content a {
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  word-break: break-all;
}

.rich-text-content a:hover,
[contenteditable="true"] a:hover,
.wysiwyg-content a:hover {
  color: #0454a7;
  border-bottom-color: #3d85c6;
}

/* 富文本内容中的列表 */
.rich-text-content ul,
.rich-text-content ol,
[contenteditable="true"] ul,
[contenteditable="true"] ol,
.wysiwyg-content ul,
.wysiwyg-content ol {
  margin: 16px 0;
  padding-left: 40px;
  max-width: 100%;
}

.rich-text-content li,
[contenteditable="true"] li,
.wysiwyg-content li {
  margin-bottom: 8px;
  line-height: 1.6;
  max-width: 100%;
  overflow-wrap: break-word;
}

/* 富文本内容中的表格 */
.rich-text-content table,
[contenteditable="true"] table,
.wysiwyg-content table {
  width: 100% !important;
  max-width: 100% !important;
  border-collapse: collapse;
  margin: 20px 0;
  overflow-x: auto;
  display: block;
}

.rich-text-content table th,
.rich-text-content table td,
[contenteditable="true"] table th,
[contenteditable="true"] table td,
.wysiwyg-content table th,
.wysiwyg-content table td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
  max-width: 200px;
  overflow-wrap: break-word;
}

.rich-text-content table th,
[contenteditable="true"] table th,
.wysiwyg-content table th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #333;
}

/* 富文本内容中的引用块 */
.rich-text-content blockquote,
[contenteditable="true"] blockquote,
.wysiwyg-content blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  border-left: 4px solid #3d85c6;
  background-color: #f8f9fa;
  font-style: italic;
  color: #666;
  max-width: 100%;
}

/* 富文本内容中的代码块 */
.rich-text-content pre,
[contenteditable="true"] pre,
.wysiwyg-content pre {
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 16px;
  margin: 20px 0;
  overflow-x: auto;
  font-family: "Courier New", monospace;
  font-size: 14px;
  line-height: 1.4;
  max-width: 100%;
}

.rich-text-content code,
[contenteditable="true"] code,
.wysiwyg-content code {
  background-color: #f8f9fa;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: "Courier New", monospace;
  font-size: 14px;
  color: #e83e8c;
  word-break: break-all;
}

/* 富文本内容中的分割线 */
.rich-text-content hr,
[contenteditable="true"] hr,
.wysiwyg-content hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 30px 0;
  max-width: 100%;
}

/* 富文本内容中的强调文本 */
.rich-text-content strong,
.rich-text-content b,
[contenteditable="true"] strong,
[contenteditable="true"] b,
.wysiwyg-content strong,
.wysiwyg-content b {
  font-weight: 600;
  color: #333;
}

.rich-text-content em,
.rich-text-content i,
[contenteditable="true"] em,
[contenteditable="true"] i,
.wysiwyg-content em,
.wysiwyg-content i {
  font-style: italic;
  color: #666;
}

/* 富文本内容中的删除线 */
.rich-text-content del,
.rich-text-content s,
[contenteditable="true"] del,
[contenteditable="true"] s,
.wysiwyg-content del,
.wysiwyg-content s {
  text-decoration: line-through;
  color: #999;
}

/* 富文本内容中的下划线 */
.rich-text-content u,
[contenteditable="true"] u,
.wysiwyg-content u {
  text-decoration: underline;
  color: #3d85c6;
}

/* 富文本内容中的上标和下标 */
.rich-text-content sup,
[contenteditable="true"] sup,
.wysiwyg-content sup {
  vertical-align: super;
  font-size: 0.8em;
}

.rich-text-content sub,
[contenteditable="true"] sub,
.wysiwyg-content sub {
  vertical-align: sub;
  font-size: 0.8em;
}

/* 富文本内容中的对齐方式 */
.rich-text-content .text-left,
[contenteditable="true"] .text-left,
.wysiwyg-content .text-left {
  text-align: left;
}
.rich-text-content .text-center,
[contenteditable="true"] .text-center,
.wysiwyg-content .text-center {
  text-align: center;
}
.rich-text-content .text-right,
[contenteditable="true"] .text-right,
.wysiwyg-content .text-right {
  text-align: right;
}
.rich-text-content .text-justify,
[contenteditable="true"] .text-justify,
.wysiwyg-content .text-justify {
  text-align: justify;
}

/* 富文本内容中的颜色类 */
.rich-text-content .text-primary,
[contenteditable="true"] .text-primary,
.wysiwyg-content .text-primary {
  color: #3d85c6;
}
.rich-text-content .text-success,
[contenteditable="true"] .text-success,
.wysiwyg-content .text-success {
  color: #28a745;
}
.rich-text-content .text-warning,
[contenteditable="true"] .text-warning,
.wysiwyg-content .text-warning {
  color: #ffc107;
}
.rich-text-content .text-danger,
[contenteditable="true"] .text-danger,
.wysiwyg-content .text-danger {
  color: #dc3545;
}
.rich-text-content .text-info,
[contenteditable="true"] .text-info,
.wysiwyg-content .text-info {
  color: #17a2b8;
}



/* 富文本内容中的特殊元素 */
.rich-text-content .highlight,
[contenteditable="true"] .highlight,
.wysiwyg-content .highlight {
  background-color: #fff3cd;
  padding: 2px 4px;
  border-radius: 3px;
}

.rich-text-content .note,
[contenteditable="true"] .note,
.wysiwyg-content .note {
  background-color: #d1ecf1;
  border: 1px solid #bee5eb;
  border-radius: 4px;
  padding: 12px 16px;
  margin: 16px 0;
  color: #0c5460;
}

.rich-text-content .warning,
[contenteditable="true"] .warning,
.wysiwyg-content .warning {
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 4px;
  padding: 12px 16px;
  margin: 16px 0;
  color: #856404;
}

.rich-text-content .error,
[contenteditable="true"] .error,
.wysiwyg-content .error {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  padding: 12px 16px;
  margin: 16px 0;
  color: #721c24;
}

/* 富文本编辑器特殊样式 */
.rich-text-content *,
[contenteditable="true"] *,
.wysiwyg-content * {
  max-width: 100% !important;
  box-sizing: border-box;
}

/* 防止富文本内容溢出 */
.rich-text-content div,
[contenteditable="true"] div,
.wysiwyg-content div {
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* 富文本内容中的iframe */
.rich-text-content iframe,
[contenteditable="true"] iframe,
.wysiwyg-content iframe {
  max-width: 100% !important;
  height: auto !important;
}

/* 富文本内容中的视频 */
.rich-text-content video,
[contenteditable="true"] video,
.wysiwyg-content video {
  max-width: 100% !important;
  height: auto !important;
}

/* 富文本内容中的音频 */
.rich-text-content audio,
[contenteditable="true"] audio,
.wysiwyg-content audio {
  max-width: 100% !important;
}

/* 响应式设计 */
/* 工厂介绍页面响应式设计 */
@media (max-width: 991px) {
  .factory-layout {
    flex-direction: column;
    gap: 40px;
  }

  .factory-nav {
    flex: none;
    width: 100%;
    position: static;
  }

  .factory-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .factory-nav-list .nav-item {
    flex: 1;
    min-width: 150px;
  }

  .factory-nav-list .nav-item a {
    padding: 15px 20px;
    text-align: center;
    border-left: none;
    border-bottom: 3px solid transparent;
  }

  .factory-nav-list .nav-item:hover a,
  .factory-nav-list .nav-item.active a {
    border-left-color: transparent;
    border-bottom-color: #3d85c6;
  }

  .factory-nav-list .nav-item.active a::before {
    display: none;
  }
  .gsjs-phone{display:block;margin-top:0 !important;}
}
@media (max-width: 991px) {
  .factory-layout {
    flex-direction: column;
    gap: 30px;
  }

  .factory-nav {
    display: none;
  }

  .factory-mobile-selector {
    display: block;
  }

  .factory-content {
    padding: 15px 0;
  }
}
/* 公司动态页面响应式设计 */
@media (max-width: 991px) {
  .company-news {
    padding: 40px 0;
  }

  .news-title {
    font-size: 36px;
  }

  .news-text {
    font-size: 16px;
  }

  .news-date {
    font-size: 14px;
  }
}
/* 平板设备 (768px - 991px) */
@media (max-width: 991px) {
  .container {
    padding: 0 15px;
  }

  .nav-left .nav-links {
    gap: 25px;
  }

  .fengjing-logo {
    font-size: 2rem;
  }

  .fengjing-logo img {
    width: 280px;
    height: 40px;
  }

  .intro-title {
    font-size: 2rem;
  }

  .main-content {
    padding: 40px 0;
  }

  .footer-contact {
    padding: 40px 0;
  }

  .footer-bottom {
    padding: 25px 0;
  }

  .intro-content {
    gap: 30px;
  }

  .intro-text {
    padding: 0 20px;
  }

  .intro-image img {
    max-width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-nav .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-search {
    justify-content: center;
    margin-bottom: 10px;
    width: 80%;
  }

  .footer-copyright {
    text-align: center;
    padding: 0 20px;
  }
}
/* 联系我们页面响应式设计 */
@media (max-width: 991px) {
  .contact-section {
    padding: 40px 0;
  }

  .contact-title {
    font-size: 32px;
  }

  .contact-map {
    width: 100%;
    height: 450px;
  }
}
/* 响应式设计 - 移动端适配 */
@media (max-width: 768px) {
  .rich-text-content,
  [contenteditable="true"],
  .wysiwyg-content {
    padding: 0px;
  }

  .rich-text-content h1,
  [contenteditable="true"] h1,
  .wysiwyg-content h1 {
    font-size: 24px;
  }
  .rich-text-content h2,
  [contenteditable="true"] h2,
  .wysiwyg-content h2 {
    font-size: 20px;
  }
  .rich-text-content h3,
  [contenteditable="true"] h3,
  .wysiwyg-content h3 {
    font-size: 18px;
  }
  .rich-text-content h4,
  [contenteditable="true"] h4,
  .wysiwyg-content h4 {
    font-size: 16px;
  }
  .rich-text-content h5,
  [contenteditable="true"] h5,
  .wysiwyg-content h5 {
    font-size: 14px;
  }
  .rich-text-content h6,
  [contenteditable="true"] h6,
  .wysiwyg-content h6 {
    font-size: 12px;
  }

  .rich-text-content p,
  [contenteditable="true"] p,
  .wysiwyg-content p {
    font-size: 16px;
    line-height: 1.5;
  }

  .rich-text-content ul,
  .rich-text-content ol,
  [contenteditable="true"] ul,
  [contenteditable="true"] ol,
  .wysiwyg-content ul,
  .wysiwyg-content ol {
    padding-left: 20px;
  }

  .rich-text-content table,
  [contenteditable="true"] table,
  .wysiwyg-content table {
    font-size: 14px;
  }

  .rich-text-content table th,
  .rich-text-content table td,
  [contenteditable="true"] table th,
  [contenteditable="true"] table td,
  .wysiwyg-content table th,
  .wysiwyg-content table td {
    padding: 8px;
  }
}
@media (max-width: 767px) {
  .contact-section {
    padding: 30px 0;
  }

  .contact-title {
    font-size: 28px;
  }

  .contact-map {
    width: 100%;
    height: 400px;
  }

  .contact-map-container {
    padding: 0 15px;
  }
}
/* 手机设备 (576px - 767px) */
@media (max-width: 767px) {
  .container {
    padding: 0 15px;
  }

  .main-header {
    padding: 10px 0;
    height: auto;
    min-height: 60px;
  }

  .main-nav {
    align-items: flex-start;
    padding-top: 0;
  }

  .nav-left .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .fengjing-logo {
    font-size: 1.8rem;
  }

  .fengjing-logo img {
    width: 250px;
    height: 36px;
  }

  .intro-title {
    font-size: 1.8rem;
  }

  .intro-paragraph {
    font-size: 14px;
  }

  .main-content {
    padding: 30px 0;
  }

  .footer-contact {
    padding: 25px 0;
    height: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contact-item {
    flex-direction: row;
    text-align: left;
    gap: 20px;
    align-items: center;
  }

  .contact-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }

  .contact-icon i {
    font-size: 1.4rem;
  }

  .contact-icon img {
    width: 30px;
    height: 30px;
  }

  .contact-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
  }

  .contact-info p {
    font-size: 16px;
  }

  .footer-bottom {
    padding: 20px 0;
  }

  .footer-content {
    flex-direction: column;
    gap: 25px;
    align-items: center;
  }

  .footer-nav .footer-links {
    flex-direction: row;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-links a {
    font-size: 16px;
  }

  .footer-copyright {
    text-align: center;
    padding: 0;
  }

  .footer-copyright p {
    font-size: 14px;
    text-align: center;
  }

  .search-box {
    max-width: 100%;
    width: 100%;
    flex-direction: row;
    gap: 0;
  }

  .search-btn {
    width: auto;
    white-space: nowrap;
  }

}

@media (max-width: 767px) {
  .company-news {
    padding: 30px 0;
  }

  .news-title {
    font-size: 28px;
  }

  .news-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 6px;
  }

  .news-date {
    margin-left: 0;
    align-self: flex-end;
  }

  .news-pagination {
    gap: 15px;
  }

  .page-btn {
    padding: 8px 16px;
    font-size: 14px;
  }
  .news-detail-container{padding: 10px 0 40px 0 !important;}
  .news-detail-header{padding:20px!important;}
  /*.secondmenu{display:block;}*/
  /*.nav-links li:nth-child(2) a{border:0;}*/
  .sxlk .up{display:inline-block;}
}
@media (max-width: 767px) {
  .factory-intro {
    padding: 30px 0;
  }

  .factory-nav-list {
    flex-direction: column;
  }

  .factory-nav-list .nav-item {
    flex: none;
    width: 100%;
  }

  .section-text p {
    font-size: 16px;
    line-height: 28px;
  }

  .section-image img {
    max-width: 100%;
  }
}
@media (max-width: 767px) {
  .factory-mobile-trigger {
    padding: 10px 14px;
  }

  .factory-mobile-trigger .current-item {
    font-size: 15px;
  }

  .factory-mobile-options a {
    padding: 10px 14px;
    font-size: 14px;
  }
}
@media (max-width: 575px) {
  .company-news {
    padding: 20px 0;
  }

  .news-title {
    font-size: 24px;
  }

  .news-text {
    font-size: 14px;
  }

  .news-bullet {
    font-size: 20px;
    margin-right: 10px;
  }

  .news-pagination {
    gap: 10px;
  }

  .page-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

}

@media (max-width: 575px) {
  .contact-section {
    padding: 20px 0;
  }

  .contact-title {
    font-size: 24px;
  }

  .contact-map {
    width: 100%;
    height: 350px;
  }

  .contact-map-container {
    padding: 0 10px;
  }
}
/* 小屏手机 (max-width: 575px) */
@media (max-width: 575px) {
  .container {
    padding: 0 10px;
  }

  .main-header {
    padding: 8px 0;
    height: auto;
    min-height: 50px;
  }

  .main-nav {
    flex-direction: row;
    gap: 0;
    align-items: flex-start;
    padding-top: 0;
  }

  .nav-left {
    flex: 1;
    justify-content: space-between;
    margin-top: 10px;
  }

  /* 显示汉堡菜单 */
  .hamburger-menu {
    display: flex;
    padding: 3px 4px;
  }

  .hamburger-menu span {
    width: 21px;
    height: 2px;
    margin: 3px 0;
  }   

  .nav-left .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0px;
    transition: left 0.3s ease;
    z-index: 999;
    will-change: left;
    padding-top: 20%;
  }

  .nav-left .nav-links.active {
    left: 0;
  }

  .nav-links li {
    width: 92%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    will-change: opacity, transform;
    padding: 0 ;
    /*margin: 0 16px;*/
    margin-left: 4%;
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateY(0);
  }

  /* 打开菜单时的延迟动画 */
  .nav-links.active li:nth-child(1) {
    transition-delay: 0.1s;
  }
  .nav-links.active li:nth-child(2) {
    transition-delay: 0.2s;
  }
  .nav-links.active li:nth-child(3) {
    transition-delay: 0.3s;
  }
  .nav-links.active li:nth-child(4) {
    transition-delay: 0.4s;
  }

  /* 关闭菜单时 */
  .nav-links li {
    transition: all 0.2s ease;
     border-bottom: 1px solid #e0e0e0;
  }

  .nav-links li:not(.active) {
    transition-delay: 0s !important;
  }

  .nav-links a {
    font-size: 16px;
    padding: 8px 0;
   
    width: 86%;
    display: block;
  }
   .secondmenu {padding-left:30px;}
   .secondmenu p{margin-bottom:0;}
  .secondmenu a{padding:0;}
.sxlk i{display:inline-block;width:34px;margin-top:3px;}
.sxlk i img{width:100%;height:100%;}
  /* 隐藏移动端导航链接的竖线分隔符 */
  .nav-links li:not(:last-child) a::after {
    display: none;
  }

  .fengjing-logo {
    font-size: 1.5rem;
  }

  .fengjing-logo img {
    width: 200px;
    height: 30px;
  }

  .intro-title {
    font-size: 1.5rem;
    text-align: center;
    padding-top: 10px;
  }

  .intro-paragraph {
    font-size: 13px;
    text-align: center;
  }

  .main-content {
    padding: 0px 0;
  }

  .company-intro {
    padding: 0px 0;
  }

  .footer-contact {
    padding: 20px 0;
  }

  .contact-grid {
    gap: 20px;
  }

  .contact-item {
    gap: 15px;
    padding: 0;
  }
  .contact-item:nth-child(2) {
    margin-left: 0;
}
  .contact-icon {
    width: 50px;
    height: 50px;
  }

  .contact-icon i {
    font-size: 1.2rem;
  }

  .contact-icon img {
    width: 35px;
    height: 35px;
  }

  .contact-info h3 {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .contact-info p {
    font-size: 14px;
  }

  .footer-bottom {
    padding: 15px 0;
  }

  .footer-content {
    gap: 5px;
  }

  .footer-nav .footer-links {
    gap: 20px;
  }

  .footer-links a {
    font-size: 15px;
  }

  .footer-copyright p {
    font-size: 13px;
    margin-bottom: 0;
  }

  .search-box {
    gap: 0;
  }

  .search-box input {
    font-size: 14px;
    padding: 8px 12px;
  }

  .search-box input::placeholder {
    font-size: 14px;
  }

  .search-btn {
    font-size: 14px;
    padding: 8px 16px;
  }
}
@media (max-width: 575px) {
  .factory-mobile-trigger {
    padding: 8px 12px;
  }

  .factory-mobile-trigger .current-item {
    font-size: 14px;
  }

  .factory-mobile-options a {
    padding: 8px 12px;
    font-size: 13px;
  }
}

@media (max-width: 575px) {
  .factory-intro {
    padding: 0px 0;
  }

  .factory-nav-list .nav-item a {
    padding: 12px 15px;
    font-size: 16px;
  }

  .section-text p {
    font-size: 15px;
    line-height: 26px;
  }
}

/* 横屏手机优化 */
@media (max-height: 500px) and (orientation: landscape) {
  .main-header {
    padding: 10px 0;
  }

  .main-content {
    padding: 15px 0;
  }

  .footer-contact {
    padding: 20px 0;
  }

  .footer-bottom {
    padding: 15px 0;
  }
}
/* 超小屏手机 (max-width: 375px) */
@media (max-width: 375px) {
  .container {
    padding: 0 8px;
  }

  .main-header {
    padding: 6px 0;
    height: auto;
    min-height: 45px;
  }

  .main-nav {
    align-items: flex-start;
    padding-top: 0;
  }

  .hamburger-menu span {
    width: 20px;
    height: 2px;
    margin: 2px 0;
  }

  .nav-links a {
    font-size: 16px;
    padding: 6px 0;
    /*border-bottom: 1px solid #e0e0e0;*/
    width: 86%;
    display: block;
  }
  .secondmenu p a{padding:0;}

  /* 隐藏移动端导航链接的竖线分隔符 */
  .nav-links li:not(:last-child) a::after {
    display: none;
  }

  .fengjing-logo {
    font-size: 1.3rem;
  }

  .fengjing-logo img {
    width: 180px;
    height: 26px;
  }

  .intro-title {
    font-size: 1.3rem;
  }

  .intro-paragraph {
    font-size: 12px;
  }

  .footer-contact {
    padding: 18px 0;
  }

  .contact-grid {
    gap: 18px;
  }

  .contact-item {
    gap: 12px;
  }

  .contact-icon {
    width: 45px;
    height: 45px;
  }

  .contact-icon i {
    font-size: 1.1rem;
  }

  .contact-icon img {
    width: 35px;
    height: 35px;
  }

  .contact-info h3 {
    font-size: 14px;
    margin-bottom: 3px;
  }

  .contact-info p {
    font-size: 12px;
  }

  .footer-bottom {
    padding: 12px 0;
  }

  .footer-content {
    gap: 6px;
  }

  .footer-nav .footer-links {
    gap: 15px;
  }

  .footer-links a {
    font-size: 13px;
  }

  .footer-copyright p {
    font-size: 11px;
  }

  .search-box {
    gap: 0;
  }

  .search-box input {
    font-size: 13px;
    padding: 6px 10px;
  }

  .search-box input::placeholder {
    font-size: 13px;
  }

  .search-btn {
    font-size: 13px;
    padding: 6px 12px;
  }
}
@media (max-width: 375px) {
  .contact-title {
    font-size: 21px;
  }

  .contact-map {
    width: 100%;
    height: 300px;
  }
}




