/* CSS Document */

html,
body {
  overflow-x: hidden;
}

/* 重定义layui组件颜色 */
.layui-nav-bar {
  background-color: #7ac4a0 !important;
}

.layui-btn-normal {
  background-color: #194779 !important;
}

.layui-full {
  position: relative;
  margin: 0 auto;
  padding: 0;
}

.lh-1 {
  line-height: 24px;
}

.lh-2 {
  line-height: 28px;
}

.lh-3 {
  line-height: 32px;
}

.lh-4 {
  line-height: 36px;
}

.lh-5 {
  line-height: 40px;
}

.lh-6 {
  line-height: 48px;
}

#image-slider {
  overflow: hidden;
  white-space: nowrap;
  background-color: #fff;
  padding: 20px;
}

.images {
  display: inline-block;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
  /* 动画持续时间根据需要调整 */
}

.images img {
  margin-right: 50px;
  height: 50px;
  /* 或者具体的宽度 */
  display: inline-block;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-73%);
  }

  /* 根据图片数量调整 */
}

.images:hover {
  animation-play-state: paused;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 70px;
  background-color: #fff;
  box-shadow: 0 1px 3px rgb(0 0 0 / 5%);
  z-index: 9999;
}

.header .logo {
  height: 70px;
  line-height: 70px;
}

.header .logo img {
  height: 20px;
}

.header .nav {
  text-align: center;
  line-height: 70px;
}

.header .nav a {
  font-size: 16px;
}

.search {
  padding-top: 15px;
}

.menu {
  display: none;
}

.bg-light {
  background-color: #fff !important;
}

.bx-wrapper {
  margin-top: 70px;
}

@media screen and (max-width: 768px) {
  .header {
    height: 60px;
  }

  .header .nav {
    display: none;
  }

  .search {
    display: none;
  }

  .menu {
    display: block;
    text-align: right;
    line-height: 60px;
  }

  .bx-wrapper {
    margin-top: 60px;
  }

  .index_title {
    font-size: 18px !important;
    line-height: 50px !important;
  }

  .index_about {
    display: none;
  }

  .cont .title {
    font-size: 18px;
    line-height: 40px;
  }

  .cont .ntitle {
    font-size: 18px;
    line-height: 30px;
  }

  .cont p img {
    width: 100%;
    margin-left: -28px;
    margin-top: 0;
    margin-bottom: 0;
  }

  .cont video {
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 992px) {
  .header {
    height: 60px;
  }

  .header .nav {
    display: none;
  }

  .header .logo {
    height: 60px;
    line-height: 60px;
  }

  .header .logo img {
    height: 18px;
  }

  .menu {
    display: block;
    text-align: right;
    line-height: 60px;
  }

  .search {
    display: none;
  }

  .bx-wrapper {
    margin-top: 60px;
  }

  .index_title {
    font-size: 18px !important;
    line-height: 60px !important;
  }

  .index_about {
    display: none;
  }

  .cont .title {
    font-size: 18px;
    line-height: 40px;
  }

  .cont .ntitle {
    font-size: 18px;
    line-height: 30px;
  }

  .cont p img {
    width: 100%;
    margin-left: -28px;
    margin-top: 0;
    margin-bottom: 0;
  }

  .cont video {
    width: 100%;
    height: auto;
  }
}

.index_title {
  font-size: 28px;
  color: #194779;
  font-weight: bold;
  line-height: 80px;
  text-align: center;
}

.section {
  width: 100%;
}

.section img {
  width: 100%;
}

.index_about {
  box-sizing: border-box;
  margin-top: 40px;
  padding: 100px 30px;
  width: 100%;
  height: 500px;
  background-image: url("../img/intro.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.index_about_box {
  width: 45%;
  background-color: #fff;
  padding: 20px;
  line-height: 30px;
  opacity: 0.8;
}

.index_about_box .title {
  font-size: 24px;
  font-weight: bold;
  color: #444;
  line-height: 50px;
}

.index_about_box .text {
  font-size: 14px;
  text-indent: 28px;
}

.index_about_box .btn {
  line-height: 60px;
}

.index_product {
  padding: 10px;
}

.index_product img {
  width: 100%;
  border: solid 2px #eee;
}

.index_news {
  width: 100%;
}

.index_news_box {
  width: 100%;
}

.index_news_box img {
  width: 100%;
  height: auto;
}

.footer {
  margin-top: 20px;
  padding: 20px 0px;
  width: 100%;
  background-color: #194779;
}

.footer .box {
  width: 100%;
  line-height: 30px;
  color: #eee;
}

.footer .box a {
  color: #fff;
  text-decoration: none;
}

.footer .box a:hover {
  color: #fff;
}

.footer .box img {
  margin-top: 20px;
  width: 130px;
}

.copyright {
  margin-top: 15px;
  padding-top: 10px;
  border-top: solid 1px #ddd;
  font-size: 14px;
  color: #fff;
  text-align: center;
}

.banner {
  margin-top: 70px;
  width: 100%;
  height: auto;
}

.banner img {
  width: 100%;
  height: auto;
}

.cont {
  margin: 30px 0;
  padding: 15px;
  font-size: 14px;
  line-height: 24px;
  background-color: #fff;
  border: solid 1px #eee;
}

.title {
  font-size: 28px;
  color: #194779;
  font-weight: bold;
  line-height: 60px;
}

.cont p {
  margin: 0;
  padding: 8px 0;
  text-indent: 28px;
  line-height: 26px;
}

.cont p img {
  margin: 10px 0 10px -28px;
  max-width: 800px;
  height: auto;
}

.cont .video {
  text-align: center;
}

.cont video {
  max-width: 800px;
  height: auto;
}

.nlist {
  width: 100%;
}

.nlist img {
  width: 100%;
  height: auto;
}

.ntitle {
  font-size: 28px;
  color: #194779;
  font-weight: bold;
  line-height: 60px;
  text-align: center;
}

.pronav {
  margin: 20px 0;
  text-align: center;
}

/* 分页 */
.pager {
  margin-top: 20px;
  padding: 10px;
  font-family: verdana, tahoma, arial, helvetica, sans-serif;
  font-size: 14px;
  text-align: center;
}

.pager a {
  border-right: #b7d8ee 1px solid;
  padding-right: 6px;
  border-top: #b7d8ee 1px solid;
  padding-left: 5px;
  padding-bottom: 4px;
  margin: 0px 1px;
  border-left: #b7d8ee 1px solid;
  color: #194779;
  padding-top: 5px;
  border-bottom: #b7d8ee 1px solid;
  text-decoration: none;
}

.pager a:hover {
  border-right: #b7d8ee 1px solid;
  border-top: #b7d8ee 1px solid;
  border-left: #b7d8ee 1px solid;
  color: #0066a7;
  border-bottom: #b7d8ee 1px solid;
  background-color: #d2eaf6;
}

.pager .current {
  border-right: #b7d8ee 1px solid;
  padding-right: 6px;
  border-top: #b7d8ee 1px solid;
  padding-left: 5px;
  font-weight: bold;
  padding-bottom: 4px;
  margin: 0px 1px;
  border-left: #b7d8ee 1px solid;
  color: #444444;
  padding-top: 5px;
  border-bottom: #b7d8ee 1px solid;
  background-color: #d2eaf6;
}

.pager .disabled {
  border-right: #b7d8ee 1px solid;
  padding-right: 6px;
  border-top: #b7d8ee 1px solid;
  padding-left: 5px;
  padding-bottom: 4px;
  margin: 0px 1px;
  border-left: #b7d8ee 1px solid;
  color: #b7d8ee;
  padding-top: 5px;
  border-bottom: #b7d8ee 1px solid;
  background-color: #fff;
}

/* 产品详情专用样式 */
.product-detail {
  background: #fff;
  padding: 30px;
  border: solid 1px #eee;
  margin-top: 20px;
}
.product-main {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.product-gallery {
  flex: 1 1 420px;
  min-width: 320px;
}
.product-gallery .main-img {
  width: 100%;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
}
.product-gallery .main-img img {
  width: 100%;
  display: block;
}
.product-gallery .thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.product-gallery .thumb {
  width: 72px;
  height: 72px;
  border: 2px solid #eee;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  transition: 0.2s;
}
.product-gallery .thumb.active,
.product-gallery .thumb:hover {
  border-color: #1e88e5;
}
.product-gallery .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-info {
  flex: 1 1 420px;
  min-width: 320px;
}
.product-info h1 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 12px;
}
.product-info .model {
  display: inline-block;
  background: #f3f4f6;
  color: #374151;
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-family: Consolas, monospace;
  margin-bottom: 12px;
}
.product-info .summary {
  color: #666;
  line-height: 1.9;
  font-size: 14px;
  padding: 16px 0;
  border-top: 1px dashed #eee;
  border-bottom: 1px dashed #eee;
  margin-bottom: 16px;
  white-space: pre-wrap;
}
.product-content {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  line-height: 1.9;
  font-size: 15px;
  color: #333;
}
.product-content img {
  max-width: 100%;
  height: auto;
}

.news-detail {
  background: #fff;
  padding: 30px 40px;
  margin-top: 30px;
  border: solid 1px #eee;
}
.news-detail h1 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  color: #222;
  margin: 0 0 16px;
  text-align: center;
}
.news-meta {
  text-align: center;
  color: #999;
  font-size: 13px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
  margin-bottom: 24px;
}
.news-meta span {
  margin: 0 10px;
}
.news-summary {
  background: #f8f9fa;
  border-left: 4px solid #1e88e5;
  padding: 14px 18px;
  color: #555;
  font-size: 14px;
  line-height: 1.9;
  border-radius: 4px;
  margin-bottom: 24px;
}
.news-content {
  font-size: 15px;
  line-height: 1.9;
  color: #333;
  word-break: break-word;
}
.news-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 16px auto;
  border-radius: 4px;
}
.news-content p {
  margin: 12px 0;
}
.news-content h1,
.news-content h2,
.news-content h3,
.news-content h4 {
  margin: 20px 0 12px;
}

.news-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 14px;
}
.news-nav a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}
.news-nav a:hover {
  color: #1e88e5;
}
.news-nav .prev,
.news-nav .next {
  max-width: 45%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-title {
  font-size: 18px;
  font-weight: 600;
  margin: 40px 0 16px;
  padding-left: 10px;
  border-left: 4px solid #1e88e5;
}
.related-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 12px;
  transition: box-shadow 0.2s;
  height: 100%;
  display: block;
  text-decoration: none;
  color: #333;
}
.related-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.related-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.related-card .title {
  font-size: 14px;
  margin-top: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card .date {
  font-size: 12px;
  color: #999;
  margin-top: 6px;
}

.video-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: block;
  text-decoration: none;
  color: #333;
  height: 100%;
}
.video-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.video-card .thumb {
  position: relative;
  width: 100%;
  padding-top: 60%;
  background: #f5f5f5;
  overflow: hidden;
}
.video-card .thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-card .thumb .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 22px;
  transition: background 0.2s;
}
.video-card:hover .thumb .play-icon {
  background: rgba(30, 136, 229, 0.9);
}
.video-card .info {
  padding: 12px;
}
.video-card .title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}
.video-card .meta {
  margin-top: 8px;
  font-size: 12px;
  color: #999;
  display: flex;
  justify-content: space-between;
}

.video-detail {
  background: #fff;
  padding: 24px 30px;
  margin-top: 30px;
  border: solid 1px #eee;
  border-radius: 6px;
}
.video-detail h1 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 12px;
  color: #222;
}
.video-meta {
  font-size: 13px;
  color: #999;
  padding-bottom: 14px;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}
.video-meta span {
  margin-right: 18px;
}

/* 播放器容器 */
.player-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 比例 */
  background: #000;
  border-radius: 6px;
  overflow: hidden;
}
.player-wrap video,
.player-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.player-empty {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  color: #fff;
  text-align: center;
  font-size: 14px;
}

/* 上下篇导航 */
.video-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 14px;
}
.video-nav a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 45%;
}
.video-nav a:hover {
  color: #1e88e5;
}
.video-nav .disabled {
  color: #ccc;
}

/* 相关视频 */
.related-title {
  font-size: 18px;
  font-weight: 600;
  margin: 30px 0 16px;
  padding-left: 10px;
  border-left: 4px solid #1e88e5;
}
.related-card {
  display: block;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: #333;
  transition: box-shadow 0.2s, transform 0.2s;
  height: 100%;
}
.related-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.related-card .thumb {
  position: relative;
  width: 100%;
  padding-top: 60%;
  background: #f5f5f5;
  overflow: hidden;
}
.related-card .thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-card .thumb .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  line-height: 42px;
  text-align: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 18px;
  transition: background 0.2s;
}
.related-card:hover .thumb .play-icon {
  background: rgba(30, 136, 229, 0.9);
}
.related-card .info {
  padding: 10px 12px;
}
.related-card .title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}
.related-card .meta {
  margin-top: 6px;
  font-size: 12px;
  color: #999;
  display: flex;
  justify-content: space-between;
}
