/* 南通佳卫官网主样式 — 1:1 对齐 sanya.com.tw style.css */

body {
  font-family: "Microsoft YaHei","PingFang SC","Hiragino Sans GB","Source Sans 3","Helvetica Neue",Arial,sans-serif;
  color: #333;
  background: #fff;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  overflow-x: hidden;
}
a { color: #333; }
a:hover { color: #d02920; text-decoration: none; }
*:focus { outline: none; }
img { max-width: 100%; height: auto; }
.jiawey-site { overflow-x: hidden; }

/* ---------- Container 宽度（对齐台湾站） ---------- */
.container { max-width: 100%; }
@media (min-width: 1500px) {
  .container { width: 1530px; }
}
@media (min-width: 1200px) and (max-width: 1499.98px) {
  .container { width: 1140px; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .container { width: 960px; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .container { width: 720px; }
}
/* 内页内容区稍窄 */
.inside .container,
.section-page .container { width: 1200px; max-width: 100%; }
@media (max-width: 1230px) {
  .inside .container,
  .section-page .container { width: 100%; }
}

/* ---------- Header ---------- */
header {
  background: #fff;
  box-shadow: 0 12px 14.91px 6.09px rgba(0,0,0,.1);
}
header .top { padding: 15px 0; display: flex; align-items: center; }
header .top, header .bottom { width: 100%; }
.logo-box .logo { max-height: 50px; width: auto; }
header .row { display: flex; flex-wrap: wrap; align-content: stretch; }
header .logo_box, .logo-box { display: flex; align-items: center; }

/* 顶栏右侧工具区 */
header .funch {
  display: flex; align-items: stretch; justify-content: flex-end;
}
header .funch a, header .funch select { display: inline-block; }
.lang-select {
  padding: 5px 10px; font-size: 14px; border: 1px solid #ccc;
  border-radius: 3px; background: #fff; color: #333; cursor: pointer; margin-right: 15px;
}
.inquiry-link { color: #515557; font-size: 14px; padding-left: 20px; border-left: 1px solid #515557; }

/* 导航整栏蓝底 */
header .menu {
  display: flex; align-items: center; justify-content: center;
  background: #005aa1;
}
header .navbar { margin-bottom: 0; border: 0; min-height: 0; }
header .navbar-collapse { padding: 0; }
header .navbar-nav > li { padding: 15px 13px; }
header .navbar-nav > li > a {
  font-size: 1.3em; color: #fff; padding: 3px 10px;
  border-bottom: 2px solid transparent;
}
header .navbar-nav > li:hover > a {
  border-bottom: 2px solid #f00; color: #f00; font-weight: bold;
}
header .navbar-nav > li.active > a { color: #fff; }
header .nav > li > a:hover, header .nav > li > a:focus { background: transparent; }
.navbar-toggle { border-color: #ccc; }
.navbar-toggle .icon-bar { background: #333; }

/* ---------- Banner ---------- */
.banner { position: relative; }
#banner-owl { position: relative; }
#banner-owl .banner-item { display: block; }
#banner-owl .banner-item img { width: 100%; height: auto; display: block; }
#banner-owl .owl-dots {
  position: absolute; bottom: 0; left: 0; width: 100%;
  text-align: center; padding: 10px 0;
}
.owl-theme .owl-dots .owl-dot span { background: #ccc; }
.owl-theme .owl-dots .owl-dot.active span { background: #fff; }

/* ---------- 首页产品区（对齐台湾站 seaction_1） ---------- */
.section-products { padding: 30px 0 90px; }
.section-products .container { width: 1377px; max-width: 100%; }
.section-products .row { display: flex; flex-wrap: wrap; align-items: stretch; }
.section-products .items { display: flex; margin-bottom: 20px; }
.section-products .item {
  border: 3px solid #e0e0e0; text-align: center; position: relative;
  height: 100%; width: 100%; display: flex; flex-direction: column;
}
/* 每个产品不同色边框（对齐台湾站 nth-child） */
.section-products .items:nth-child(1) .item { border-color: #04449b; }
.section-products .items:nth-child(2) .item { border-color: #6f84c5; }
.section-products .items:nth-child(3) .item { border-color: #b7e13b; }
.section-products .items:nth-child(4) .item { border-color: #faad16; }
.section-products .items:nth-child(5) .item { border-color: #545454; }
.section-products .items:nth-child(6) .item { border-color: #999; }
.section-products .item:hover { border-color: #d6463e; }
.section-products .image { position: relative; flex: 1; }
.section-products .image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.section-products .text {
  border-top: 1px solid #e0e0e0; color: #000; font-size: 1.5em;
  padding: 20px 10px;
}
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-size: 48px; color: rgba(255,255,255,.9); text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

/* ---------- 内页 ---------- */
.inside { padding-top: 30px; padding-bottom: 50px; }
.breadcrumb {
  background: transparent; padding: 0; margin: 0 0 20px;
  font-size: 1.429em; list-style: none; display: block;
}
.breadcrumb li { display: inline; }
.breadcrumb li:after { content: " — "; color: #999; margin: 0 6px; }
.breadcrumb li:last-child:after { content: ""; }
.breadcrumb a { color: #000; }
.breadcrumb a:hover { color: #d02920; }
.breadcrumb .breadcrumb_h1 { font-size: 20px; color: #d02920; }
.contentEditor { font-size: 18px; color: #333; line-height: 1.7; }
.contentEditor p { margin-bottom: 15px; }
.contentEditor img { max-width: 100%; height: auto; margin: 10px 0; }
.subpage-content img { display: block; margin: 15px auto; }
.anchor-nav { margin-bottom: 30px; }
.anchor-nav a {
  display: inline-block; padding: 6px 14px; margin: 3px;
  border: 1px solid #005aa1; color: #005aa1; font-size: 13px;
}
.anchor-nav a:hover { background: #005aa1; color: #fff; }
.section-block { margin-bottom: 35px; }
.section-block h2 { font-size: 20px; color: #000; border-left: 4px solid #005aa1; padding-left: 12px; }
.placeholder-tip { color: #999; font-style: italic; }

/* ---------- 关于我们 ---------- */
.location-card { border: 1px solid #e0e0e0; padding: 20px; }
.location-card h3 { margin-top: 0; color: #005aa1; font-size: 18px; }

/* ---------- 联络我们 ---------- */
.contact-list { list-style: none; padding: 0; font-size: 16px; line-height: 2.2; }

/* ---------- 网站地图 ---------- */
.sitemap-list { list-style: none; padding: 0; columns: 2; }
.sitemap-list li { padding: 6px 0; border-bottom: 1px dashed #e0e0e0; }

/* ---------- 影片 ---------- */
.video-item { margin-bottom: 25px; }
.video-thumb {
  background: #222; color: #fff; height: 220px; display: flex;
  align-items: center; justify-content: center; margin-bottom: 10px;
}

/* ---------- 实绩 ---------- */
.perf-grid .perf-card { border: 1px solid #e0e0e0; margin-bottom: 20px; text-align: center; }
.perf-thumb { background: #eef4fa; height: 140px; display: flex; align-items: center; justify-content: center; color: #005aa1; }
.perf-name { padding: 10px; font-weight: 500; }

/* ---------- Footer（对齐台湾站） ---------- */
footer { color: #fff; }
#footer-info-container {
  background: #005aa1;
  box-shadow: 0 9px 15.2px 0.8px rgba(0,0,0,.14);
  padding: 30px 0 20px;
}
.footer-info-items {
  display: flex; align-items: center; padding-left: 10px;
  border-right: 1px solid rgba(255,255,255,.65);
  margin-bottom: 30px;
}
footer .col-md-3:last-child .footer-info-items { border-right: 0; }
.footer-info-items .image { width: 40px; text-align: center; flex-shrink: 0; }
.footer-info-items .image img { max-width: 100%; filter: brightness(0) invert(1); }
.footer-info-items .text { padding-left: 30px; }
.footer-info-items .info-title { color: #fff; font-weight: 500; font-size: 1.143em; }
.footer-info-items .info-text, .footer-info-items .info-text a { color: #fff; font-size: 1.143em; }

#footer-bottom { background: #f4f4f4; color: rgba(1,1,1,.651); padding: 30px 0 20px; }
.footer-nav { list-style: none; padding: 0; margin: 0 0 10px; font-size: 1.143em; }
.footer-nav li { display: inline-block; }
.footer-nav li + li:before { content: "|"; color: #000; margin: 0 8px; }
.footer-nav a { color: #929292; }
.footer-nav a:hover { color: #d02920; }
.copyright { color: rgba(1,1,1,.651); font-size: 1.143em; }
.copyright .icp { margin-left: 12px; }
.copyright .icp a { color: rgba(1,1,1,.651); }

/* ---------- 响应式：≤1366px ---------- */
@media (max-width: 1366px) {
  .logo-box .logo { width: 160px; }
}

/* ---------- 响应式：≤991px ---------- */
@media (max-width: 991px) {
  header { padding-top: 30px; }
  header .top { flex-direction: column; }
  header .funch { justify-content: center; margin: 10px 0; }
  header .menu { flex-wrap: wrap; margin-bottom: 10px; }
  .section-products { padding: 70px 0 50px; }
  .section-products [class*=col-] { margin-bottom: 80px; }
  #footer-info-container [class*=col-] { margin-bottom: 30px; }
  .footer-info-items { border-right: 0; }
  #superMenu_aside { padding-bottom: 30px; }
  #superMenu_aside .superMenu_title { background: #04449b; padding: 10px; }
  #superMenu_aside .superMenu_title h3 { color: #fff; }
}

/* ---------- 内页两栏布局（对齐台湾站 superMenu） ---------- */
.inside { padding-top: 30px; padding-bottom: 50px; }
#superMenu_aside .superMenu_title {
  background: transparent; padding-bottom: 18px;
}
#superMenu_aside .superMenu_title h3 {
  color: #000; margin: 0; font-size: 20px;
}
.superMenu { list-style: none; padding: 0; margin: 0; }
.superMenu > ul, .superMenu li { list-style: none; padding: 0; margin: 0; }
.sideCate > li {
  border-top: 1px solid #dcdcdc;
}
.sideCate > li:last-child { border-bottom: 1px solid #dcdcdc; }
.sideCate .superTitle { display: flex; align-items: stretch; }
.sideCate .superTitle > a {
  flex: 1; padding: 12px 15px; color: #000; font-size: 15px;
}
.sideCate > li:hover > .superTitle > a { color: #d02920; }
/* 折叠大类的箭头：> 收起，v 展开 */
.sideCate .tree {
  width: 36px; display: flex; align-items: center; justify-content: center;
  color: #999; cursor: pointer; font-size: 14px; font-weight: bold;
}
.sideCate .tree:before { content: ">"; }
.sideCate .tree.open:before { content: "v"; }
.sideCate ul.sideMenu { list-style: none; padding: 0; margin: 0; }
.sideCate ul.sideMenu li { border-top: 1px dashed #e5e5e5; }
.sideCate ul.sideMenu li .superTitle a { padding: 10px 15px 10px 30px; font-size: 14px; display: block; color: #444; }

/* 黑色占位图 */
.placeholder-img {
  background: #000; color: #888;
  width: 100%; height: 280px; margin: 15px 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}

/* 联络页两栏卡片 */
.contact-blocks { margin-top: 20px; }
.contact-region { font-size: 20px; color: #000; border-left: 4px solid #005aa1; padding-left: 12px; margin-bottom: 15px; }
.contact-card { border: 1px solid #e0e0e0; padding: 20px; margin-bottom: 20px; }
.contact-card h3 { margin-top: 0; color: #005aa1; font-size: 18px; }
.contact-list { list-style: none; padding: 0; font-size: 15px; line-height: 2; }

/* 产品主图 */
.product-main-image { margin: 20px 0; text-align: center; }
.product-main-image img { max-width: 100%; height: auto; }

/* 影片专区 */
.video-grid { margin-top: 20px; }
.video-item { margin-bottom: 25px; }
.video-thumb { position: relative; overflow: hidden; border: 1px solid #e0e0e0; }
.video-thumb img { width: 100%; height: 200px; object-fit: cover; display: block; }
.video-name { padding: 10px 5px; font-weight: 500; font-size: 15px; }
.video-links { font-size: 12px; margin-top: 5px; }
.video-links a { color: #005aa1; }
.video-links a:hover { color: #d02920; }

/* 联络表单 */
.contact-form-wrap { margin: 30px 0; }
.contact-form-wrap .form-group { margin-bottom: 15px; }
.contact-form-wrap label { display: block; font-weight: 500; margin-bottom: 5px; }
.contact-form-wrap .form-control {
  width: 100%; padding: 8px 12px; border: 1px solid #ccc; border-radius: 3px;
}
.contact-form-wrap .btn { padding: 8px 25px; border-radius: 3px; cursor: pointer; }
.contact-form-wrap .btn-primary { background: #005aa1; color: #fff; border: 0; margin-right: 10px; }
.contact-form-wrap .btn-primary:hover { background: #004a86; }
.contact-form-wrap .btn-default { background: #fff; border: 1px solid #ccc; }

/* ---------- 响应式：≤767px ---------- */
@media (max-width: 767px) {
  header { padding: 0; }
  header .top { padding: 0; }
  header .navbar-nav > li { padding: 0; text-align: center; }
  header .navbar-nav > li > a { font-size: 1em; padding: 12px 15px; border-top: 1px solid rgba(255,255,255,.2); }
  .section-products .text { font-size: 1.2em; padding: 12px 6px; }
  .page-title { font-size: 18px; }
  .intro { font-size: 15px; }
  .sitemap-list { columns: 1; }
  #footer-bottom { text-align: center; }
  .footer-nav li { display: block; }
  .footer-nav li + li:before { display: none; }
  .footer-info-items { justify-content: center; text-align: left; }
}
