/* ============================================================
   PC 端 —— 按 618ps（蓝月风格馆）页面 CSS 数值 1:1 复刻
   参考：reference/618-all.css（#header 117px / #menu 75px /
   .container 1380px / .search 70px / .tits #5a7fa0 / #copyright #64798c）
   ============================================================ */
* { margin: 0; padding: 0; }
ul, li { list-style: none; }
img { vertical-align: top; border: none; }
a { text-decoration: none; outline: none; }
body { font: 14px/1.5 "Microsoft YaHei", "微软雅黑", sans-serif; color: #333; background: #fff; }
.fl { float: left; display: inline; }
.fr { float: right; display: inline; }
.clear { clear: both; }
.center { width: 1380px; margin: 0 auto; }
.container { width: 1380px; margin: 0 auto; }

/* ---------- 头部 117px ---------- */
#header { height: 117px; min-width: 1380px; margin: 0 auto; background: #fff; }
#logo { float: left; width: 369px; height: 105px; text-align: center; padding-top: 12px; }
#logo a { display: inline-flex; align-items: center; gap: 12px; }
.lg-mark {
  width: 64px; height: 64px; display: inline-grid; place-items: center;
  background: linear-gradient(150deg, #29a4e0 0%, #1e6bb8 55%, #f5b93f 55.5%, #e8961e 100%);
  color: #fff; font-size: 38px; font-weight: 900; border-radius: 10px;
  font-family: "STKaiti", "KaiTi", serif; font-style: italic;
  box-shadow: 0 2px 8px rgba(30, 107, 184, .35);
}
.lg-text { text-align: left; }
.lg-text b {
  display: block; font-size: 34px; font-style: italic; font-weight: 900;
  color: #1e6bb8; letter-spacing: 2px; line-height: 1.1;
  font-family: "Microsoft YaHei", sans-serif;
}
.lg-text i { display: block; font-style: normal; font-size: 13px; color: #f5a623; letter-spacing: 1px; }
#header .company { padding-left: 15px; margin-top: 25px; margin-left: 15px; padding-top: 5px; text-align: left; }
.company h2 { color: #e6212a; font-size: 24px; letter-spacing: 1px; }
.company h3 { margin-top: 5px; font-weight: normal; font-size: 14px; color: #666; letter-spacing: 1px; }
#header .tel {
  background: none; height: 120px; width: 260px; text-align: left; padding-left: 58px;
  position: relative;
}
#header .tel::before {
  content: "🐧"; position: absolute; left: 0; top: 30px; font-size: 44px;
}
#header .tel p { font-size: 16px; color: #666; margin-top: 30px; }
#header .tel p span { font-size: 30px; display: block; font-weight: bold; color: #666; line-height: 1.2; }

/* ---------- 导航 75px 深蓝条 ---------- */
#menu { height: 75px; position: relative; min-width: 1380px; margin: 0 auto; background: #43536b; z-index: 1500; }
#menu .center { position: relative; }
#menu .menus { float: left; position: relative; margin-bottom: -2px; display: flex; }
#menu .menus li { float: left; margin-right: 1px; position: relative; }
#menu .menus li a {
  float: left; width: 164px; height: 73px; line-height: 73px; text-align: center;
  position: relative; font-size: 17px; color: #fff; display: block;
  transition: background .3s;
}
#menu .menus li a:hover, #menu .menus li a.active { color: #c8e5ff; background: rgba(255, 255, 255, .07); }
#menu .menus li.has-sub > a::after { content: ""; margin-left: 5px; border: 4px solid transparent; border-top-color: rgba(255,255,255,.7); display: inline-block; vertical-align: middle; }
.nav-container .sub-menu { position: absolute; left: 0; top: 73px; margin: 0; padding: 0; display: none; background: #252525; min-width: 164px; z-index: 99; }
.nav-container > li:hover > .sub-menu { display: block; }
.nav-container .sub-menu li { float: none; }
.nav-container .sub-menu li a { float: none; display: block; width: 100%; height: 35px; line-height: 35px; padding: 5px 0; font-size: 15px; color: #fff; }
.nav-container .sub-menu li a:hover { background: #333; color: #c8e5ff; }

/* ---------- 横幅 .ban 320px（原为整图，此处按原版式还原） ---------- */
.ban {
  width: 100%; height: 320px; overflow: hidden; min-width: 1380px;
  background: linear-gradient(180deg, #f7f7f7 0%, #ececec 60%, #e3e3e3 100%);
}
.ban-inner { width: 1380px; margin: 0 auto; height: 100%; position: relative; }
.ban-shots { position: absolute; left: 20px; top: 34px; width: 560px; height: 260px; }
.ban-shots span { position: absolute; border: 6px solid #262626; border-radius: 6px; overflow: hidden; background: #111; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.ban-shots .shot-a { left: 0; top: 20px; width: 330px; height: 200px; z-index: 2; }
.ban-shots .shot-b { left: 240px; top: 0; width: 320px; height: 195px; z-index: 1; }
.ban-shots img { width: 100%; height: 100%; object-fit: cover; }
.ban-text { position: absolute; left: 640px; top: 44px; width: 720px; }
.ban-text h1 { font-size: 34px; color: #1e6bb8; letter-spacing: 1px; }
.ban-note { margin-top: 10px; color: #999; font-size: 15px; }
.ban-red { margin-top: 14px; color: #e6212a; font-size: 20px; font-weight: bold; letter-spacing: 1px; }
.ban-tip { margin-top: 12px; color: #999; font-size: 12px; line-height: 1.9; }
.ban-qq { margin-top: 20px; display: flex; gap: 40px; }
.ban-qq span { display: flex; align-items: center; gap: 8px; }
.penguin { font-style: normal; font-size: 30px; }
.ban-qq b { font-size: 30px; color: #e6212a; font-family: Arial, sans-serif; letter-spacing: 1px; }

/* ---------- 搜索栏 70px ---------- */
.search { height: 70px; border-bottom: 1px solid #e2e2e2; background: #fff; }
.search .fl { line-height: 70px; }
.search .fl span { color: #333; font-weight: bold; font-size: 15px; }
.search .fr { width: 384px; height: 70px; position: relative; overflow: hidden; }
.search .fr input {
  width: 280px; height: 36px; border: 1px solid #eee; margin-top: 15px;
  padding-left: 15px; border-radius: 6px 0 0 6px; outline: none;
  font-size: 13px; color: #666; box-sizing: border-box;
}
.search .fr input:focus { border-color: #5a7fa0; }
.search .fr button {
  width: 75px; height: 40px; border: none; top: 15px; position: absolute;
  background: #e6212a; color: #fff; font-size: 18px; border-radius: 0 6px 6px 0; cursor: pointer;
}
.search .fr button:hover { filter: brightness(1.1); }

/* ---------- 面包屑 #weizi ---------- */
#weizi {
  margin: 0 auto -46px; width: 1380px; line-height: 36px; text-align: right;
  position: relative; overflow: hidden; margin-bottom: 15px; border-bottom: 1px solid #e2e2e2;
  padding-bottom: 10px;
}
#weizi a { color: #64798c; }
#weizi a:hover { color: #00b2bc; }
.PartTitle { height: 46px; line-height: 46px; overflow: hidden; font-size: 20px; float: left; color: #333; }
.crumb { float: right; font-size: 13px; color: #999; margin-top: 12px; }

/* ---------- 内容区 .ny ---------- */
.ny { height: auto; overflow: hidden; width: 100%; padding: 30px 0; background: #fff; }
.pro { height: auto; padding: 10px 0 30px; overflow: hidden; }
.pro .img { float: left; display: inline-block; width: 620px; height: 380px; border: 1px solid #e5e5e5; overflow: hidden; border-radius: 6px; box-shadow: 0 6px 22px rgba(0, 0, 0, .12); }
.pro .img img { width: 100%; height: 100%; object-fit: cover; }
.pro .text { float: right; display: inline-block; width: 700px; }
.pro .text h1 { padding-top: 20px; font-weight: normal; font-size: 28px; color: #333; letter-spacing: 1px; }
.pro .text h2 { padding-top: 20px; font-weight: normal; font-size: 19px; color: #555; line-height: 1.6; }
.pro .text br { display: none; }

.pro-content { margin-top: 20px; }
.pro-content .tits { border-bottom: 2px solid #e8e8e8; }
.pro-content .tits span { background: #5a7fa0; display: block; text-align: center; width: 220px; height: 44px; line-height: 44px; color: #fff; font-size: 17px; letter-spacing: 2px; }
.pro-content .info { padding: 20px 0; }
.info-c { text-align: center; font-size: 20px; color: #686667; }
.info-r { text-align: center; font-size: 20px; color: #ff0000; margin-top: 6px; }
.show-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.show-grid a {
  display: block; border: 1px solid #e2e2e2; height: 200px; overflow: hidden;
  cursor: pointer; position: relative; background: #111;
  border-radius: 5px; box-shadow: 0 4px 14px rgba(0, 0, 0, .16);
  transition: transform .25s, box-shadow .25s;
}
.show-grid a:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0, 0, 0, .25); }
.show-grid a img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.show-grid a:hover img { transform: scale(1.06); }
.show-grid a span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 10px 6px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .7)); color: #fff; font-size: 13px; text-align: center;
}

/* 新闻列表 */
.news-tabs { display: flex; gap: 4px; border-bottom: 2px solid #e8e8e8; }
.news-tabs a { padding: 10px 34px; font-size: 15px; color: #666; cursor: pointer; position: relative; }
.news-tabs a.on { color: #5a7fa0; font-weight: bold; }
.news-tabs a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: #5a7fa0; }
.news-list { margin-top: 6px; }
.news-list li { display: flex; align-items: center; padding: 0 10px; height: 44px; line-height: 44px; border-bottom: 1px dashed #e5e5e5; cursor: pointer; }
.news-list li:hover { background: #f7fafc; }
.news-list li:hover .nl-title { color: #5a7fa0; }
.nl-tag { flex: none; width: 58px; color: #e6212a; font-size: 13px; font-weight: bold; }
.nl-title { flex: 1; color: #555; font-size: 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nl-pin { flex: none; font-size: 11px; color: #e6212a; border: 1px solid #e6212a; padding: 0 5px; border-radius: 2px; margin-right: 8px; white-space: nowrap; line-height: 16px; align-self: center; }
.nl-date { flex: none; color: #999; font-size: 13px; font-family: Arial, sans-serif; }
.news-empty { text-align: center; color: #999; padding: 30px 0; }

/* ---------- 版权声明 ---------- */
#DocCopyright {
  padding: 12px 30px; width: 1040px; line-height: 30px; text-align: right;
  font-size: 14px; color: #64798c; margin: 0px auto 70px auto; border-top: 1px dashed #d3d1d2;
}

/* ---------- 页脚 #copyright ---------- */
#copyright { min-width: 1380px; margin: 0 auto; padding-bottom: 35px; background-color: #64798c; }
#copyright .copyright1 { width: 1380px; }
#contact { float: left; width: 1380px; height: 100px; padding-top: 12px; }
#contact ul { width: 1380px; float: left; margin-top: 0; margin-bottom: 6px; }
#contact ul li { color: #FFF; width: auto; height: 22px; line-height: 22px; margin-bottom: 8px; float: left; margin-right: 20px; font-size: 14px; }
#contact ul li:first-child { font-weight: bold; }
#contact ul li a { color: #FFF; }
#contact ul li a:hover { color: #ff0; }
#contact ul li b { font-size: 16px; font-family: Arial, sans-serif; }

/* ---------- 弹窗 / 灯箱 ---------- */
.modal, .lightbox {
  position: fixed; inset: 0; z-index: 99999; display: none;
  align-items: center; justify-content: center;
  background: rgba(20, 24, 32, .7);
}
.modal.show, .lightbox.show { display: flex; }
.modal-box {
  width: 620px; max-height: 80vh; overflow-y: auto;
  background: #fff; border-top: 4px solid #5a7fa0; padding: 26px 30px; position: relative;
}
.modal-close { position: absolute; top: 10px; right: 14px; color: #999; font-size: 13px; text-decoration: underline; cursor: pointer; }
.modal-close:hover { color: #e6212a; }
.modal-box h3 { font-size: 20px; color: #333; margin-bottom: 10px; padding-right: 50px; line-height: 1.5; }
.modal-meta { font-size: 13px; color: #999; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px dashed #e5e5e5; }
.modal-meta em { font-style: normal; color: #e6212a; margin-right: 8px; }
.modal-content { font-size: 14px; line-height: 2; color: #555; white-space: pre-wrap; word-break: break-word; }
.lb-body { max-width: 92%; text-align: center; position: relative; }
.lb-body img { max-width: 100%; max-height: 80vh; border: 3px solid #fff; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.lb-body p { margin-top: 10px; color: #fff; font-size: 14px; }
