/* 表单公共组件（输入控件/下拉/分段/自动字段/错误态/上传/日期/级联/字数统计） */
@import url("form.css");

@font-face {
  font-family: "42dotSans";
  src: url("../fonts/42dot-sans-0-400-normal.woff") format("woff");
}

/* 联系页设计令牌 */
:root {
  --contact-red: #1553CD;
  --contact-text: #333333;
  --contact-radius: 8px;
}

body {
  overflow-x: hidden;
}

#AppPage {}

.pageContain {
  background-color: #fff;
  font-family: "42dotSans";
}

/* 留出固定导航高度 */
.contact-page {
  /* padding-top: 64px; */
  background-color: #F8F8F9;
}

/* 覆盖 Header 为红色主题（与首页一致） */
.contact-page .site-header {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.contact-page .site-header.scrolled {}

.contact-page .header-brand,
.contact-page .header-nav a,
.contact-page .lang-toggle,
.contact-page .header-hamburger span {}

.contact-page .header-nav a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.contact-page .lang-toggle {
  border-color: rgba(255, 255, 255, 0.5);
}

/* 加载占位 */
#appLoading {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--contact-red);
  font-size: 1.25rem;
  z-index: 9999;
}

/* Hero 横幅 */
.contact-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  color: #ffffff;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.15) 100%);
}

.contact-hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 24px;
}

.contact-hero__en {
  display: inline-block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.contact-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  margin: 0;
}

.contact-hero p {
  margin-top: 16px;
  font-size: 1.1rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .contact-hero {
    min-height: 280px;
  }

  .contact-hero h1 {
    font-size: 1.75rem;
  }

  .contact-hero p {
    font-size: 1rem;
  }
}


@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 1.8s ease forwards;
}

.img-max {
  display: block;
  width: 100%;
  height: 100%;
  animation: fadeIn 2s ease forwards;
}

.img-center {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.img-inline {
  display: inline-block;
  vertical-align: middle;
  width: 100%;
  height: auto;
}

/* 协议名称链接 */
.agreement-link {
  color: #2069ff;
  text-decoration: none;
  cursor: pointer;
}

.agreement-link:hover {
  text-decoration: underline;
}


.globalImgPreview {
  box-shadow: none !important;
  background-color: transparent !important;
}

.YaHeiFontFamily {
  font-family: "Microsoft YaHei";
}

.word-ellipsis3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  word-break: break-word;
}

.word-ellipsis2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  word-break: break-word;
}