/* 全局重置、全局变量 全页面通用 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", PingFang SC, sans-serif;
}

:root {
  --red: #dd1821;
  --dark-green: #0e4339;
  --text-black: #222;
  --text-white: #fff;
  --gray-text: #bbbbbb;
}

a {
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* 区块通用（全屏吸附滚动仅首页单独定义） */
.screen {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.screen-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: 0;
}

.mask {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.65);
  z-index: -1;
}

.screen-dark .mask {
  background: rgba(0, 0, 0, 0.4);
}

.screen-footer .screen-bg {
  object-position: center bottom;
}

/* ===================== 顶部公共导航 header-nav 所有页面共用 ===================== */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  z-index: 997;
  box-shadow: 0 1px 4px #eee;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 42px;
  /* background: var(--red); */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  font-weight: bold;
}

.logo-text h1 {
  font-size: 24px;
  color: var(--text-black);
}

.logo-text p {
  font-size: 12px;
  color: #666;
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-menu a {
  position: relative;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  padding-bottom: 6px;
  transition: color 0.25s ease;
}

/* 悬停 / 当前页：红色下划线自左向右展开 */
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--red);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  transform: scaleX(1);
}

.tel-top {
  color: var(--red);
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===================== 右侧垂直圆点导航 公共 ===================== */
.right-dot-nav {
  position: fixed;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 996;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dot-item {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--red);
  background: #fff;
  cursor: pointer;
  transition: 0.25s;
}

.dot-item.active {
  background: var(--red);
  transform: scale(1.3);
}

/* ===================== 底部悬浮向下按钮 公共 ===================== */
.fixed-down-btn {
  position: fixed;
  left: 50%;
  bottom: 0px;
  transform: translateX(-50%);
  border-radius: 50%;
  /* background:var(--red); */
  border: none;
  color: #fff;
  font-size: 24px;
  z-index: 995;
  cursor: pointer;
  animation: bounce 1.4s infinite ease-in-out;
}

.fixed-down-btn img {
  width: 100px;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-12px);
  }
}

/* ===================== 招商弹窗 全局公共 ===================== */
.pop-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1000;
  display: none;
  align-items: flex-end;
}

.pop-box {
  width: 100%;
  background: var(--dark-green);
  padding: 30px 5%;
  position: relative;
  color: #fff;
}

.pop-close {
  position: absolute;
  right: 24px;
  top: 16px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.pop-layout {
  display: flex;
  align-items: center;
  gap: 36px;
  width: 100%;
  padding-right: 48px;
}

.pop-info {
  flex: 0 0 auto;
  min-width: 0;
}

.pop-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}

.pop-title-main {
  font-size: 28px;
  line-height: 1.2;
  font-weight: bold;
  white-space: nowrap;
}

.pop-title-sub {
  font-size: 20px;
  line-height: 1.3;
}

.pop-desc {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  opacity: 0.92;
}

.pop-form {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: stretch;
  gap: 14px;
}

.pop-form-fields {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pop-form input {
  padding: 12px 14px;
  border: 2px solid transparent;
  border-radius: 3px;
  font-size: 15px;
  transition: border-color 0.2s;
}

.pop-form input.is-error {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 1px rgba(255, 107, 107, 0.35);
}

.pop-form input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.45);
}

.pop-submit {
  flex-shrink: 0;
  width: 110px;
  padding: 0 12px;
  background: var(--red);
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 3px;
}

.pop-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

@media (max-width: 1100px) {
  .pop-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding-right: 0;
  }

  .pop-info {
    width: auto;
  }

  .pop-form {
    flex-direction: column;
  }

  .pop-submit {
    width: 100%;
    min-height: 48px;
  }
}

/* ===================== 内容容器通用透传点击 ===================== */
.content-wrap {
  width: 92%;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.content-wrap [data-edit="true"],
.content-wrap a,
.content-wrap button {
  pointer-events: auto;
}

/* footer区域点击透传公共样式 */
.screen-footer>*:not(.screen-bg):not(.mask) {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.screen-footer .foot1,
.screen-footer .foot {
  pointer-events: none;
}

.screen-footer [data-edit="true"],
.screen-footer a,
.screen-footer button {
  pointer-events: auto;
}

/* ===================== 底部 footer ===================== */
.screen-footer {
  padding: 0;
  color: #bbb;
  overflow: hidden;
}

.clearafter::after {
  content: "";
  display: block;
  clear: both;
}

.clear {
  clear: both;
  height: 0;
  line-height: 0;
  font-size: 0;
}

.fl { float: left; }
.fr { float: right; }

.foot1 {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.foot {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 8.15% 20px;
  box-sizing: border-box;
}

.flogo {
  padding-top: 8%;
}

.flogo h2 {
  font-size: 1.375rem;
  font-weight: bold;
  color: #14a83c;
  width: 25%;
  float: left;
  margin: 0;
}

.flogo h2 a {
  text-decoration: none;
  color: inherit;
}

.flogo h2 img {
  display: block;
  width: 83.5%;
}

.flogo h2 em {
  display: block;
  color: #fff;
  font-size: 22px;
  padding-top: 4%;
  font-style: normal;
}

.flogo h5 {
  width: 70%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  float: right;
  margin: 0;
  font-weight: normal;
}

.flogo h5.flogo-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
}

.flogo h5 .flogo-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 14px "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  line-height: 40px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  min-width: 0;
}

.flogo h5 .flogo-contact-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 18px;
  display: block;
}

.flogo h5 .flogo-contact-item span[data-edit="true"] {
  min-width: 0;
}

.flogo h5 em {
  display: block;
  font: 14px "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  color: rgba(255, 255, 255, 0.5);
  padding: 3% 0 6%;
  font-style: normal;
}

.flogo h5 em a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.code {
  width: 25%;
  margin-top: 3%;
}

.code h5 em {
  display: block;
  float: left;
  width: 25%;
  font: 12px "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.2rem;
  font-style: normal;
}

.code h5 em img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 0.2rem solid #fff;
  box-sizing: border-box;
  margin-bottom: 1rem;
  background: #fff;
}

.code h5 em:nth-child(2) {
  margin: 0 6%;
}

.code p {
  margin: 0;
}

.code p span {
  display: inline-block;
  margin-right: 9%;
  position: relative;
}

.code p span:last-child {
  margin-right: 0;
}

.code p > span > img {
  display: inline-block;
  width: 47px;
  height: 47px;
  border: 1px solid #fff;
  border-radius: 50px;
}

.code p em {
  display: none;
  position: absolute;
  top: 58px;
  left: 0;
  z-index: 8;
  width: 180px;
  font: 20px Arial, Helvetica, sans-serif;
  color: #fff;
  font-style: normal;
}

.code p em img {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: contain;
  background: #fff;
}

.code p span:hover em {
  display: block;
}

.code p span:hover > img {
  background: #cf0110;
  border: 1px solid #cf0110;
}

.code p span:hover em img {
  background: none;
  border-radius: 0;
  border: 0;
}

.fnav {
  width: 70%;
  float: right;
  min-height: 17rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0 28px;
}

.fnav1 {
  width: auto;
  min-width: 0;
  flex: 1 1 0;
  float: none;
  margin-right: 0;
  margin-top: 5%;
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  box-sizing: border-box;
}

.fnav1:last-child {
  border-right: 0;
  padding-right: 0;
}

.fnav1 p {
  font: 14px "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  margin-top: 15%;
  margin-bottom: 0;
}

.fnav1 p a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.58rem;
  height: 1.58rem;
  overflow: hidden;
  text-decoration: none;
}

.fnav1 p a:hover,
.foot2 span a:hover {
  color: #cf0110;
  font-weight: bold;
}

.tit2 {
  height: 40px;
  position: relative;
  font: 14px "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  color: #fff;
}

.tit2::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: #fff;
}

.tit2 a {
  display: block;
  color: #fff;
  text-decoration: none;
}


.foot2 {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5% 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.foot2 a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.foot2 span {
  float: right;
  width: 70%;
  text-align: right;
}

.foot2 span a {
  padding-left: 4%;
}

/* 底部备案信息居中 */
.foot-copyright {
  clear: both;
  padding-top: 14px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* 面包屑定位图标 */
.breadcrumb-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 4px;
}

.p102-curmbs-1 b {
  font-weight: normal;
  padding-left: 35px;
  background: url(/officialWeb/images/locate.png) no-repeat left center;
  background-size: auto 16px;
}

/* 编辑提示只出现在可视化编辑预览，官网访客不可见 */
.admin-edit-hint {
  display: none !important;
}
html.is-visual-editor .admin-edit-hint {
  display: flex !important;
}
html:not(.is-visual-editor) .admin-edit-hint-slide,
html:not(.is-visual-editor) .admin-edit-hint-item {
  display: none !important;
}

@media (min-width: 1200px) and (max-width: 1400px) {
  .flogo { padding-top: 3%; }
  .flogo h2 em { font-size: 16px; }
  .code { margin-top: -3rem; }
  .code p span { margin-right: 3%; }
  .flogo h5.flogo-contact-grid { column-gap: 12px; }
  .flogo h5 .flogo-contact-item { font-size: 14px; line-height: 32px; }
}