/* ============================================
   common.css  公共组件
   作用：跨页面复用的样式（导航、按钮、容器等）

   图文件命名前缀：header-
   ============================================ */

/* ============================================
   顶部导航：全用 flex
   ============================================ */
.site-header {
  position: relative;
  background-color: var(--color-primary);
  color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 35px;
  width: auto;
  display: block;
}

/* 右侧工具区：搜索 + 图标 */
.header-tools {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

/* 主导航：占满中间，padding 避开 logo/tools */
.main-nav {
  flex: 1;
  height: 100%;
  padding-right: 8px;
}

.nav-list {
  display: flex;
  /* flex:1; */
  justify-content: center;
  /* gap: 8px; */
  height: 100%;
}

.nav-item {
  flex:1;
  height: 100%;
}

.nav-item > a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 18px;
  font-size: 16px;
  color: #4d96d3;
  white-space: nowrap;
  position: relative;
  transition: all 0.3s ease;
}

/* 底部白线：默认 0，hover 拉宽 */
.nav-item > a::after {
  content: "";
  position: absolute;
  bottom: 18px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-item > a:hover::after,
.nav-item.active > a::after {
  width: 60%;
}

.nav-item > a:hover,
.nav-item.active > a {
  background-color: var(--color-primary-light);
  color: #fff;
}
/* ---------- Mega Menu 容器（绝对定位 + 淡入下滑）---------- */
.mega-menu-container {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  /* background-color: #82beed; */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 999;
}

/* 移动端专用下拉容器：PC 端默认隐藏 */
.mega-menu-container_new {
  display: none;
}

.site-header:hover .mega-menu-container,
.mega-menu-container:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


.mega-menu-container_newn {
   position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #82beed;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 9;
  height: 220px;
}
.site-header:hover .mega-menu-container_newn,
.mega-menu-container_newn:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu {
  padding:20px 0;
}

/* 两侧占位：宽度 = logo 宽，让 mega-menu-inner 起始位置对齐主导航 */
.mega-menu-spacer {
  width: 230px;
  height: 100%;
  flex-shrink: 0;
}

.mega-menu-inner {
  flex:1;
  /* gap: 60px; */
  /* padding: 24px 30px; */
  padding-right: 18px;
}

.mega-col {
  display: flex;
  flex-direction: column;
  /* gap: 3px; */
  /* width: 104px; */
  flex:1;
  /* width: 104px; */
  text-align: center;
}

.mega-col a {
  color: #b1d6f4;
  font-size: 14px;
  padding: 4px 0;
  transition: all 0.2s ease;
  display: inline-block;   /* 让 transform 生效 */
}

.mega-col a:hover {
  color: #fff;
  font-weight: bold;
  transform: translateX(4px);  /* 鼠标移上去向右微移 */
}

/* ---------- 搜索框 ---------- */
.search-box {
  display: flex;
  align-items: center;
  /* background-color: #82beed; */
  border: 2px solid #1a6fba;
  border-radius: 10px;
  padding: 0 12px 0 16px;
  height: 25px;
  width: 160px;
}

.search-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
}

.search-input::placeholder {
  color: rgba(255,255,255,0.7);
}

.search-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-icon {
  width: 12px;
  height: 12px;
  display: block;
}

/* ---------- 工具图标 ---------- */
.tool-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #fff;
}

.tool-icon-img {
  width: 18px;
  height: 18px;
  display: block;
}

/* ---------- 公众号/抖音 弹窗（点击切换 .is-open） ---------- */
.tool-icon-qr {
  position: relative;
}

.tool-qr-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: #fff;
  border-radius: 8px;
  padding: 12px 12px 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  text-align: center;
  z-index: 200;
  min-width: 134px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  pointer-events: none;
}

.tool-icon-qr.is-open .tool-qr-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.tool-qr-img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  background: #f5f5f5;
}

.tool-qr-label {
  margin: 8px 0 0;
  font-size: 12px;
  color: #333;
  line-height: 1.4;
}

/* ---------- 分隔线 ---------- */
.tool-divider {
  width: 2px;
  height: 22px;
  background-color: #2b7cc2;
  margin: 0 5px;
}

/* ---------- 移动端汉堡按钮（PC 端隐藏）---------- */
.nav-toggle {
  display: none;
}

/* ---------- mega-col 分类标题：默认隐藏，移动端展开 ---------- */
.mega-col-title {
  display: none;
}

/* ============================================
   友情链接
   ============================================ */
.friend-links {
  background-color: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.friend-links-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  line-height: 1.8;
}

.friend-links-label {
  font-weight: bold;
  color: #333;
  flex-shrink: 0;
}

.friend-link {
  color: #666;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.friend-link:hover {
  color: var(--color-primary);
}

/* 分隔符 "|"：用 CSS 伪元素，HTML 不用手写 */
.friend-links-label::after,
.friend-link::after {
  content: "|";
  color: #ccc;
  font-weight: normal;
  margin: 0 12px;
}

.friend-link:last-of-type::after {
  display: none;
}

/* ============================================
   底部
   ============================================ */
.site-footer {
  background-color: var(--color-primary);     /* #005bad */
  color: #fff;
}

/* ---------- 顶部 Logo ---------- */


/* ---------- 主体两栏 ---------- */
.footer-main {
  padding: 16px 0 36px;
}

.footer-grid {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

/* 左侧：联系信息 */
.footer-contact {
  flex: 1.4;
  min-width: 0;
}

/* 标题上方小图标 */
.footer-contact-icon {
  height: 40px;
  width: auto;
  display: block;
  /* margin-bottom: 14px; */
  margin:40px 0;
}

.footer-title {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  margin: 0 0 10px 0;
}

.footer-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin: 0 0 16px 0;
  /* max-width: 380px; */
}

.footer-info p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin: 0;
}

.footer-info p + p {
  margin-top: 4px;
}

/* 二维码组 */
.footer-qr {
  display: flex;
  gap: 18px;
  margin-top: 22px;
}

.qr-item {
  text-align: center;
}

.qr-img {
  width: 80px;
  height: 80px;
  background-color: #fff;     /* 占位白底，未提供图时显示 */
  padding: 4px;
  display: block;
  margin: 0 auto 6px;
  object-fit: contain;
}

.qr-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  margin: 0;
}

/* 右侧：链接组 */
.footer-links {
  flex: 1;
  display: flex;
  gap: 40px;
  padding-top: 120px;
  min-width: 0;
}

/* Accordion toggle：PC 端隐藏 */
.footer-links-toggle {
  display: none;
}

/* Accordion content：PC 端默认显示 */
.footer-links-content {
  display: flex;
  flex: 1;
  gap: 40px;
  min-width: 0;
}

.links-col {
  /* flex: 1; */
  padding-right:20px;
}

.links-col li {
  margin-bottom: 12px;
}

.links-col a {
  font-size: 14px;
  /* color: rgba(255, 255, 255, 0.85); */
  color:#82beed;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.links-col a:hover {
  color: #fff;
  font-weight: bold;
}

/* ---------- 底部版权栏 ---------- */
.footer-bottom {
  background-color: #001f5a;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  height:74px;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy,
.footer-icp {
  margin: 0;
}

/* ============================================
   底部导航 / 字库入口
   ============================================ */
/* .page-wrapper padding-bottom removed */

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(0, 31, 95, 0.92);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  z-index: 1100;
}

.bottom-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #dcefff;
  font-size: 14px;
  transition: all 0.2s ease;
}

.bottom-nav a:hover,
.bottom-nav a.is-active {
  background: #82beed;
  color: #001f5a;
  font-weight: 600;
}

/* ============================================
   幻灯片 / Banner（基于 Swiper 11）

   公共组件：多个页面（首页、产品列表等）都会复用
   依赖：index.html head 顶部已加载 swiper-bundle.min.css
   4 档响应式高度/字号/箭头尺寸在 pc.css / mobile.css
   ============================================ */

/* ---------- 容器 ---------- */
.banner {
  position: relative;
  width: 100%;
  height: 500px;                  /* PC 默认档基准，移动端由 mobile.css 覆盖 */
  overflow: hidden;
  background-color: #001f3f;
}

.banner-slide {
  position: relative;
  overflow: hidden;
}

/* ---------- 媒体：图片 / 视频共用 ---------- */
.banner-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Kenburns 缩放：仅对图片生效（视频保持静止，避免与视频动态内容冲突） */
/* 选择器说明：.swiper-slide-active 和 .banner-slide 是同一个 div 上的两个类，必须连写（无空格）才是匹配同一元素 */
.swiper-slide-active[data-type="image"] .banner-media {
  animation: kenburns 12s ease-out forwards;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.15); }
}

/* 渐变遮罩 */
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 31, 95, 0.55) 0%,
    rgba(0, 91, 173, 0.2) 50%,
    rgba(0, 31, 95, 0.45) 100%
  );
  z-index: 1;
}

/* 链接覆盖层 (link_url 不空时整张 banner 可点击) */
.banner-link {
  position: absolute;
  inset: 0;
  z-index: 4;
}

/* ---------- 文字内容 ---------- */
.banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  z-index: 3;
}

.banner-title {
  font-size: 40px;               /* PC 默认档基准 */
  font-weight: bold;
  margin: 0 0 16px;
  letter-spacing: 3px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(40px);
}

.swiper-slide-active .banner-title {
  animation: textIn 1s ease 0.3s forwards;
}

@keyframes textIn {
  to { opacity: 1; transform: translateY(0); }
}

.banner-subtitle {
  font-size: 15px;               /* PC 默认档基准 */
  letter-spacing: 2px;
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
}

.swiper-slide-active .banner-subtitle {
  animation: textIn 1s ease 0.6s forwards;
}

/* 视频右下角 caption */
.banner-caption {
  position: absolute;
  bottom: 70px;
  right: 60px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  letter-spacing: 1px;
  z-index: 3;
}

/* ---------- 左右箭头（覆盖 Swiper 默认样式）---------- */
.banner-arrow {
  width: 50px;                   /* PC 默认档基准 */
  height: 50px;
  background-color: rgba(0, 0, 0, 0.35);
  border-radius: 50%;
  transition: all 0.3s ease;
  opacity: 1;                    /* 常显（更明显） */
}

.banner-arrow::after {
  font-size: 20px;               /* 覆盖 Swiper 默认大小 */
  font-weight: bold;
  color: #fff;
}

.banner-arrow:hover {
  background-color: var(--color-primary);
  transform: scale(1.1);
}

.banner-arrow-prev { left: 40px; }
.banner-arrow-next { right: 40px; }

/* ---------- 圆点（覆盖 Swiper 默认样式）---------- */
.banner-dots {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  width: fit-content;
  margin: 0 auto;                /* 配合 fit-content 居中（比 left:50% + transform 更稳） */
  display: flex;
  gap: 12px;
  z-index: 4;
}

.banner-dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.4s ease;
  display: inline-block;
  margin: 0 !important;          /* 覆盖 Swiper 默认 margin */
  opacity: 1;
}

.banner-dot:hover {
  background-color: rgba(255, 255, 255, 0.85);
}

.banner-dot.swiper-pagination-bullet-active {
  background-color: #fff;
  width: 36px;                   /* active 拉长更明显 */
}

/* ---------- 全屏 banner（占满可视区减去头部）---------- */
/* 用于 picture.html 等需要视觉冲击的页面 */
.banner-fullscreen {
  height: calc(100vh - var(--header-height));   /* 4 档响应式 --header-height 由 pc.css / mobile.css 提供 */
}

/* ============================================
   图片列表 / Image List（卡片网格 + 分页箭头）

   公共组件：服务指南、产品展示、新闻列表等
   4 档响应式（grid 列数 + 字号）在 pc.css / mobile.css
   ============================================ */

.image-list {
  padding: 60px 0;
}

/* ---------- 标题区：标题 + 翻页箭头 ---------- */
.image-list-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.image-list-title {
  position: relative;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin: 0;
  padding-bottom: 12px;
}

/* 标题下方的蓝色短下划线 */
.image-list-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

.image-list-nav {
  display: flex;
  gap: 8px;
}

/* 翻页箭头按钮 */
.image-list-arrow {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 6px;
  background-color: #fff;
  color: var(--color-primary);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.image-list-arrow:hover {
  background-color: var(--color-primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 91, 173, 0.25);
}

.image-list-arrow-icon {
  line-height: 1;
  font-weight: bold;
}

/* ---------- 网格 + 卡片 ---------- */
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);    /* PC 默认 3 列 */
  gap: 24px;
}

.image-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.image-card-pic {
  width: 100%;
  aspect-ratio: 16 / 10;     /* 卡片图固定比例 */
  overflow: hidden;
  background-color: #f5f5f5;
}

.image-card-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.image-card:hover .image-card-pic img {
  transform: scale(1.05);
}

.image-card-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 0;
  padding: 20px 20px 8px;
  /* 单行省略，避免卡片高度差异 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.image-card-desc {
  font-size: 13px;
  color: #999;
  line-height: 1.7;
  margin: 0;
  padding: 0 20px 24px;
  /* 3 行截断 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   表单模块 / Form Section（3 栏查询卡）

   公共组件：首页（防伪验证/授权商店/产品查询），
            其他页面也可能有查询表单（service、products）
   4 档响应式（列数 + 间距）在 pc.css / mobile.css
   ============================================ */

.form-section {
  padding: 50px 0;
  background-color: #fff;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);    /* PC 默认 3 列 */
  gap: 24px;
}

/* ---------- 单个表单卡 ---------- */
.form-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;                 /* 等高（grid 默认 stretch）*/
}

.form-card-title {
  position: relative;
  display: inline-block;                  /* 收缩到文字宽度 */
  width: fit-content;
  font-size: 22px;
  font-weight: bold;
  color: #333;
  margin: 0 0 8px;
  padding-bottom: 12px;
  transition: color 0.3s ease;
  cursor: pointer;
}

/* 标题下方的蓝色短下划线（hover 展开动画）*/
.form-card-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);            /* 居中锚点 */
  width: 0;                               /* 默认 0（不可见）*/
  height: 8px;
  background-color: #82beed;
  border-radius: 2px;
  transition: width 0.4s ease, background-color 0.3s ease;
}

/* 鼠标经过表单卡：标题变色 + 下划线从中间向两边展开 */
.form-card:hover .form-card-title {
  color: var(--color-primary);
}

.form-card:hover .form-card-title::after {
  width: 100%;                            /* hover 展开到文字宽度 */
  background-color: #82beed;              /* 保持浅蓝色 */
}

.form-card-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  flex: 1;                      /* 占满卡片剩余高度，让按钮能贴底 */
}

/* ---------- 输入框 + 下拉（统一样式）---------- */
.form-field {
  position: relative;
  width: 100%;
}

.form-input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  font-size: 13px;
  color: #333;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #ccc;       /* 底部细线风格 */
  outline: none;
  transition: border-color 0.2s ease;
  appearance: none;                    /* 去掉 select 默认箭头 */
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: #999;
}

.form-input:focus {
  border-bottom-color: var(--color-primary);
}

/* select 自定义箭头 */
select.form-input {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M3 5l3 3 3-3' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 28px;
  cursor: pointer;
}

/* 验证码字段：输入框 + 图形码横排 */
.form-field-captcha {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.form-input-captcha {
  flex: 1;
}

.form-captcha {
  flex-shrink: 0;
  height: 40px;
  min-width: 80px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #999;
  background-color: #f5f5f5;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
  user-select: none;
}

/* ---------- 带图标的 input：右侧搜索图标 ---------- */
.form-field-with-icon {
  position: relative;
}

.form-input-search {
  padding-right: 32px;                  /* 给右侧图标留位置 */
}

.form-input-icon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  transition: color 0.2s ease;
}

.form-input-icon:hover {
  color: var(--color-primary);
}

.form-input-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* ---------- 按钮 ---------- */
.form-btn {
  width: 100%;
  height: 40px;
  margin-top: auto;                     /* 关键：自动推到 body 底部，让 3 张卡的按钮对齐 */
  border: none;
  border-radius: 4px;
  background-color: #1a1a1a;            /* 默认黑色 */
  color: #fff;
  font-size: 14px;
  letter-spacing: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-btn:hover {
  background-color: #000;
}

/* 主色按钮（防伪验证）*/
.form-btn-primary {
  background-color: #4a9eff;            /* 浅蓝 */
  letter-spacing: 8px;
}

.form-btn-primary:hover {
  background-color: #1e7ce8;
}

/* ============================================
   通栏视频模块 / Video Feature

   首页特有：全宽通栏 + 自定义透明播放控件
   依赖：video.js 提供播放/暂停/进度联动
   4 档响应式（aspect-ratio + 控件大小）在 pc.css / mobile.css
   ============================================ */

.video-feature {
  width: 100%;
  background-color: #000;
  overflow: hidden;
}

.video-feature-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;              /* PC 大屏宽屏比例 */
  overflow: hidden;
}

/* ---------- 视频本身 ---------- */
.video-feature-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- 中心标题 ---------- */
.video-feature-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;               /* 标题不挡播放 */
}

.video-feature-title {
  font-size: 64px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 8px;
  margin: 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

/* ---------- 底部控件条 ---------- */
.video-feature-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 16px 24px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  opacity: 1;                         /* 默认显示：让播放按钮始终可点击 */
  transition: opacity 0.3s ease;
}

/* 内层 wrapper：按钮 + 进度条 作为整体居中显示 */
.video-controls-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

/* ---------- 视频上的内容文字（控件条上方，右下角）---------- */
.video-feature-caption {
  position: absolute;
  right: 32px;
  bottom: 80px;                       /* 控件条（bottom:0 + 高度~68）上方 */
  z-index: 3;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  letter-spacing: 2px;
  white-space: nowrap;
}

/* ---------- 播放按钮 ---------- */
.video-play-btn {
  flex-shrink: 0;
  width: 70px;                            /* 用户指定 */
  height: 70px;
  border: none;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background-color 0.2s ease;
  backdrop-filter: blur(4px);         /* 毛玻璃 */
  -webkit-backdrop-filter: blur(4px);
}

.video-play-btn:hover {
  background-color: rgba(255, 255, 255, 0.35);
}

.video-play-btn svg {
  width: 28px;                            /* 按钮 70px 配 ~28-32px 图标 */
  height: 28px;
  display: block;
}

/* 播放/暂停图标切换：
   默认（视频一直在播放）→ 显示 ⏸（暂停按钮）
   加 .is-paused class（用户点击暂停后）→ 显示 ▶（播放按钮）*/
.video-play-btn .video-icon-play { display: none; }
.video-play-btn .video-icon-pause { display: block; }
.video-feature-wrapper.is-paused .video-play-btn .video-icon-play { display: block; }
.video-feature-wrapper.is-paused .video-play-btn .video-icon-pause { display: none; }

/* ---------- 进度条 ---------- */
.video-progress {
  flex: 1;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.video-progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;                         /* 由 JS 实时更新 */
  background-color: #82beed;         /* 与表单卡下划线同色，呼应 */
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* ============================================
   新闻模块 / News Section（tabs + Swiper 卡片轮播）

   公共组件：首页新闻、品牌资讯列表通用
   4 档响应式（slidesPerView + 间距）在 pc.css / mobile.css
   ============================================ */

.news-section {
  padding: 60px 0 50px;
  background-color: #fff;
}

/* ---------- 标题区：tabs + more（整体居中，max-width 限制）---------- */
.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 1260px;                  /* 与 .container 同宽，标题居中范围 */
  margin: 0 auto 36px;                /* 水平居中 */
  padding: 0 40px;                    /* 左右内边距，避开屏幕边缘 */
}

.news-tabs {
  display: flex;
  gap: 40px;
}

.news-tab {
  position: relative;
  padding: 8px 0;
  font-size: 18px;
  color: #666;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.news-tab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.news-tab:hover {
  color: var(--color-primary);
}

.news-tab.is-active {
  color: var(--color-primary);
  font-weight: bold;
}

.news-tab.is-active::after {
  width: 100%;
}

.news-more {
  display: none;
  font-size: 13px;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: 1px;
  transition: opacity 0.2s ease;
}

.news-more.is-active {
  display: inline;
}

.news-more:hover {
  opacity: 0.7;
}

/* ---------- Swiper 轮播卡片 ---------- */
.news-swiper {
  width: 100%;                        /* 显式占满通长 */
  overflow: hidden;
  position: relative;
}

/* 配合 swiper slidesPerView: 1.5 + spaceBetween: 0 + centeredSlides
   严格实现 25% 露 + 50% 中 + 25% 露 比例
   - slide 固定 50% 视窗宽
   - 间距用 slide 内部 padding 实现（不破坏 swiper 间距）*/
.news-swiper .swiper-slide {
  width: 50%;
  padding: 0 12px;                   /* 左右各 12px = slide 之间 24px 间距 */
  box-sizing: border-box;
}

/* 4 档断点 slide 宽度（与 swiper slidesPerView 对应）*/
@media (max-width: 768px) {
  .news-swiper .swiper-slide {
    width: calc(100% / 1.3);          /* 移动端对应 slidesPerView 1.3 */
  }
}
@media (min-width: 769px) and (max-width: 1199px) {
  .news-swiper .swiper-slide {
    width: calc(100% / 1.4);          /* PC 769-991 对应 slidesPerView 1.4 */
  }
}
@media (min-width: 1200px) {
  .news-swiper .swiper-slide {
    width: 50%;                       /* PC ≥1200 严格 50% = 25/50/25 比例 */
  }
}

.news-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background-color: #fff;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  /* transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding:10px; */
}

.news-card-pic {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #f5f5f5;
}

.news-card-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card-pic img {
  transform: scale(1.05);
}

/* 描述 + 日期 容器：灰色背景条 */
.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background-color: #f5f5f5;
  font-size: 12px;
}

.news-card-desc {
  flex: 1;
  margin: 0;
  margin-right: 12px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-card-date {
  flex-shrink: 0;
  color: #999;
}

/* ============================================
   行业动态页 / Industry News（hydt.html）

   页面结构：
   1. 顶部 tabs（行业动态 / 新闻动态 / 媒体报道 / 专题专栏）
   2. 主体：左侧标题区 + 右侧 4 列卡片
   3. 第二组 4 列紧凑卡片（无图片）

   公共组件：4 档响应式在 pc.css / mobile.css
   ============================================ */

/* ---------- 顶部 tabs ---------- */
.hydt-tabs-section {
  background-color: #fff;
  padding: 32px 0 16px;
}

.hydt-tabs {
  display: flex;
  gap: 48px;
  border-bottom: 1px solid #eee;
  padding-bottom: 0;
}

.hydt-tab {
  position: relative;
  padding: 8px 0 14px;
  font-size: 16px;
  color: #666;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.hydt-tab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

/* 鼠标放上：下边蓝线从中间向两边展开（与首页 .form-card-title 一致）*/
.hydt-tab:hover {
  color: var(--color-primary);
}

.hydt-tab:hover::after {
  width: 100%;
}

.hydt-tab.is-active {
  color: var(--color-primary);
  font-weight: bold;
}

.hydt-tab.is-active::after {
  width: 100%;
}

/* ---------- 主体：左标题 + 右卡片 ---------- */
.hydt-content {
  background-color: #fff;
  padding: 40px 0 60px;
}

.hydt-layout {
  display: grid;
  grid-template-columns: 1fr;            /* 默认移动端：1 列堆叠 */
  gap: 24px;
  align-items: start;
}

/* ---------- 左侧标题区 ---------- */
.hydt-intro {
  width: 100%;                           /* 默认占满（移动端）*/
  height: auto;
  padding: 20px;
  background-color: #fff;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  justify-content: space-between;        /* 顶部标题 / 底部导航+更多，中间撑开 */
}

.hydt-intro-title {
  font-size: 27px;
  color: #333;
  margin: 0 0 4px;
  white-space: nowrap;               /* 不换行 */
}

.hydt-intro-subtitle {
  font-size: 13px;
  color: #999;
  letter-spacing: 2px;
  margin: 0 0 16px;
  white-space: nowrap;               /* 不换行（避免中间尺寸变两行）*/
}

.hydt-intro-desc {
  font-size: 16px;
  color: #333;
  margin: 0 0 32px;
}

/* 标题下方的蓝色横线（替代内联 style）*/
.hydt-intro-divider {
  width: 41px;
  height: 3px;
  background-color: #1460ae;
  margin-bottom: 20px;
}

/* 圆点指示器（竖排 4 个点）*/
.hydt-dots {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.hydt-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: transparent;
  border: 1.5px solid #ccc;
  cursor: pointer;
}

.hydt-dot.is-active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

/* 分页指示：< 02 / 03 >（文字箭头 + 页码）*/
.hydt-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;                 /* 箭头 + 页码始终同行 */
  gap: 10px;
  margin-top: auto;                  /* 把导航+更多推到 .hydt-intro 底部 */
  margin-bottom: 43px;
  height: 28px;
}

/* 左右箭头图片（fy_left.png / fy_right.png）*/
.hydt-nav-arrow {
  width: 14px;
  height: 22px;
  padding: 0;
  border: none;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  color: transparent;                /* 兜底：隐藏文字 */
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.hydt-nav-arrow:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

/* 左 / 右箭头各自引用对应素材 */
.hydt-nav-arrow--prev {
  background-image: url("../assets/images/fy_left.png");
  background-size:  auto 14px;
    background-position: center bottom;
}

.hydt-nav-arrow--next {
  background-image: url("../assets/images/fy_right.png");
   background-size:  auto 14px;
  background-position: center bottom;


}

/* 中间页码：02 / 03 —— 当前大号深色，总数小号灰色 */
.hydt-nav-page {
  display: inline-flex;
  align-items: baseline;
  font-size: 14px;
  line-height: 1;
  user-select: none;
}

.hydt-nav-cur {
  font-size: 26px;
  /* font-weight: bold; */
  color: #333;
  letter-spacing: 0.5px;
}

.hydt-nav-sep,
.hydt-nav-total {
  font-size: 17px;
  color: #999;
}

/* 查看更多按钮（hydt_more.png 胶囊背景）*/
.hydt-more-btn {
  display: block;
  width: 120px;
  height: 40px;
  padding: 0;
  background-color: transparent;
  background-image: url("../assets/images/hydt_more.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 0;
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 38px;
  transition: opacity 0.2s ease;
}

.hydt-more-btn:hover {
  opacity: 0.9;
}

/* ---------- 卡片栅格（默认移动端 1 列）---------- */
/* 注：intro 与卡片统一作为 .hydt-layout 的 grid items，无 .hydt-cards 包裹层 */

.hydt-card {
  position: relative;
  width: 100%;                       /* 默认占满（移动端）*/
  height: 490px;                     /* 用户指定 */
  display: flex;
  flex-direction: column;
  padding: 16px;
  background-color: #fff;
  border: 1px solid #eee;
  /* border-bottom: 0;   */
  border-radius: 0;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;                  /* 底部蓝线裁剪在卡片内 */
}

/* 底部蓝线：默认 0，hover/active 拉满 */
.hydt-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

/* 鼠标放上：底部蓝线 + 四边阴影（右侧偏重）*/
.hydt-card:hover {
  box-shadow:
    0 -2px 8px rgba(0, 91, 173, 0.12),    /* 上 */
    2px 0 8px rgba(0, 91, 173, 0.12),     /* 左 */
    -2px 0 8px rgba(0, 91, 173, 0.12),    /* 右 */
    0 6px 18px rgba(0, 91, 173, 0.18),    /* 下 */
    8px 0 22px rgba(0, 91, 173, 0.22);    /* 右侧加重 */
}

.hydt-card:hover::after {
  transform: scaleX(1);
}

/* 激活态：与 hover 同款阴影 + 蓝线（更强）*/
.hydt-card.is-active {
  box-shadow:
    0 -2px 10px rgba(0, 91, 173, 0.15),
    2px 0 10px rgba(0, 91, 173, 0.15),
    -2px 0 10px rgba(0, 91, 173, 0.15),
    0 6px 22px rgba(0, 91, 173, 0.22),
    10px 0 26px rgba(0, 91, 173, 0.28);   /* active 右侧最重 */
}

.hydt-card.is-active::after {
  transform: scaleX(1);
}

/* 日期：大数字 + 月份 */
.hydt-card-date {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 56px;
}

.hydt-card-day {
  font-size: 36px;
  /* font-weight: bold; */
  color: #333;
  line-height: 1;
}

.hydt-card-month {
  font-size: 12px;
  color: #999;
}

/* 卡片正文 */
.hydt-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom:12px;
}

/* 标签 + 标题 同行（蓝字 + 竖线 + 黑字粗体）*/
.hydt-card-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0;
  min-width: 0;                     /* 允许 flex 子项收缩触发省略 */
}

.hydt-card-tag {
  flex-shrink: 0;                   /* 标签始终完整显示 */
  font-size: 15px;
  color: var(--color-primary);      /* 蓝字、无背景 */
  background-color: transparent;
  padding: 0;
  line-height: 1.4;
  white-space: nowrap;
}

/* 标签与标题之间的竖线 |（用 ::after）*/
.hydt-card-tag::after {
  content: "|";
  margin: 0 8px;
  color: #ccc;
  font-weight: normal;
}

.hydt-card-title {
  flex: 1;
  min-width: 0;                     /* 关键：允许 flex 子项小于内容宽度 */
  font-size: 15px;
  color: var(--color-primary);      /* 蓝字、无背景 */
  margin: 0;
  line-height: 1.4;
  /* 单行省略（标题过长裁掉）*/
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hydt-card-desc {
  font-size: 13px;
  color: #999;
  line-height: 1.6;
  margin: 0;
  /* 3 行省略 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 卡片图片占位（蓝色） + 真实图片自适应 */
.hydt-card-pic {
  width: 100%;
  aspect-ratio: 4 / 2.5;
  /* background-color: #cce0f5;  */
  border-radius: 4px;
  margin: 12px 0 16px;
  overflow: hidden;
}

.hydt-card-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 卡片右下角 → 按钮（next_default.png / next_active.png）*/
.hydt-card-arrow {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: transparent;
  background-image: url("../assets/images/next_default.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  color: transparent;                /* 隐藏文字 →，只显示图片 */
  font-size: 0;
  line-height: 1;
  transition: background-image 0.2s ease, opacity 0.2s ease;
}

/* 卡片 hover 时 → 按钮切到 next_active.png */
.hydt-card:hover .hydt-card-arrow {
  background-image: url("../assets/images/next_active.png");
}

/* ---------- 第二组 4 列紧凑卡片 ---------- */
.hydt-compact {
  background-color: #fff;
  padding: 0 0 60px;
}

.hydt-compact-grid {
  display: grid;
  grid-template-columns: 1fr;          /* 默认移动端 1 列 */
  gap: 16px;
}

/* ============================================
   新闻详情页（news-detail.html）
   ============================================ */
.news-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 24px 0 16px;
  font-size: 13px;
  color: #999;
}
.news-breadcrumb a { color: #999; text-decoration: none; }
.news-breadcrumb a:hover { color: var(--color-primary); }
.news-breadcrumb-sep { color: #ccc; }
.news-breadcrumb-current { color: #333; }

/* 文章头部 */
.news-detail-header {
  padding: 20px 0 28px;
  border-bottom: 1px solid #eee;
}
.news-detail-title {
  font-size: 28px;
  font-weight: bold;
  color: #222;
  line-height: 1.4;
  margin: 0 0 16px;
}
.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #999;
}
.news-detail-category { color: var(--color-primary); }
.news-detail-sep { color: #ddd; }

/* 封面图 */
.news-detail-cover {
  margin: 0;
  padding: 28px 0;
}
.news-detail-cover img {
  display: block;
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 8px;
}

/* 文章正文 */
.news-detail-body {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
  padding: 0 0 40px;
}
.news-detail-body p { margin: 0 0 20px; }
.news-detail-body h2 {
  font-size: 20px;
  font-weight: bold;
  color: #222;
  margin: 32px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--color-primary);
}
.news-detail-body h3 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 24px 0 12px;
}
.news-detail-body blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  background: #f5f8fc;
  border-left: 4px solid var(--color-primary);
  font-style: italic;
  color: #555;
  border-radius: 4px;
}
.news-detail-body figure.news-detail-image { margin: 24px 0; }
.news-detail-body figure.news-detail-image img {
  display: block;
  width: 100%;
  border-radius: 4px;
}

/* 上下篇 */
.news-detail-pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.news-detail-prev,
.news-detail-next {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  background: #f8f8f8;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  transition: background 0.2s ease;
  min-width: 0;
}
.news-detail-prev { text-align: left; }
.news-detail-next { text-align: right; }
.news-detail-prev:hover,
.news-detail-next:hover { background: var(--color-primary); color: #fff; }
.news-detail-pager-label {
  font-size: 12px;
  color: #999;
  margin-bottom: 4px;
}
.news-detail-prev:hover .news-detail-pager-label,
.news-detail-next:hover .news-detail-pager-label { color: rgba(255, 255, 255, 0.85); }
.news-detail-pager-title {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 相关推荐 */
.news-detail-related { padding: 40px 0 60px; }
.news-detail-related-title {
  font-size: 20px;
  font-weight: bold;
  color: #222;
  margin: 0 0 24px;
  padding-left: 12px;
  border-left: 4px solid var(--color-primary);
}
.news-detail-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.news-related-card {
  display: block;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.news-related-card-pic {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f0f0f0;
}
.news-related-card-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-related-card-body { padding: 16px; }
.news-related-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  margin: 0 0 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-related-card-date { font-size: 12px; color: #999; }

/* 移动端 */
@media (max-width: 768px) {
  .news-detail-title { font-size: 22px; }
  .news-detail-related-grid { grid-template-columns: 1fr; }
  .news-detail-pager { flex-direction: column; }
}

/* ============================================
   图文列表页（articles.html）
   ============================================ */
.articles-header {
  padding: 60px 0 36px;
  text-align: center;
}
.articles-header-title {
  font-size: 32px;
  font-weight: bold;
  color: #222;
  margin: 0 0 8px;
  letter-spacing: 2px;
}
.articles-header-en {
  font-size: 14px;
  color: #999;
  letter-spacing: 4px;
  margin: 0;
}

/* 列表容器 */
.articles-list {
  list-style: none;
  margin: 0 0 80px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 单个 item */
.articles-item { list-style: none; }

.articles-link {
  display: flex;
  gap: 24px;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.articles-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* 缩略图 */
.articles-thumb {
  flex-shrink: 0;
  width: 240px;
  height: 160px;
  overflow: hidden;
  border-radius: 6px;
  background: #f0f0f0;
}
.articles-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.articles-link:hover .articles-thumb img {
  transform: scale(1.05);
}

/* 内容区 */
.articles-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 0;
}

.articles-title {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin: 0 0 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.articles-excerpt {
  font-size: 14px;
  color: #777;
  line-height: 1.7;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.articles-date {
  font-size: 12px;
  color: #999;
}

/* 移动端：单列 */
@media (max-width: 768px) {
  .articles-header { padding: 32px 0 20px; }
  .articles-header-title { font-size: 24px; }
  .articles-link { flex-direction: column; gap: 12px; padding: 12px; }
  .articles-thumb { width: 100%; height: 180px; }
  .articles-list { gap: 16px; margin-bottom: 40px; }
  .articles-title { font-size: 16px; }
  .articles-excerpt { font-size: 13px; -webkit-line-clamp: 2; }
}

/* 文章列表面包屑 */
.articles-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0 0;
  font-size: 13px;
  color: #999;
}
.articles-breadcrumb a { color: #999; text-decoration: none; }
.articles-breadcrumb a:hover { color: var(--color-primary); }
.articles-breadcrumb-sep { color: #ccc; }
.articles-breadcrumb-current { color: #333; }

/* ============================================
   图片列表页（photos.html）
   ============================================ */
.photos-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0 0;
  font-size: 13px;
  color: #999;
}
.photos-breadcrumb a { color: #999; text-decoration: none; }
.photos-breadcrumb a:hover { color: var(--color-primary); }
.photos-breadcrumb-sep { color: #ccc; }
.photos-breadcrumb-current { color: #333; }

.photos-header {
  padding: 20px 0 36px;
  text-align: center;
}
.photos-header-title {
  font-size: 32px;
  font-weight: bold;
  color: #222;
  margin: 0 0 8px;
  letter-spacing: 2px;
}
.photos-header-en {
  font-size: 14px;
  color: #999;
  letter-spacing: 4px;
  margin: 0;
}

/* 图片网格：PC 4 列 / 平板 3 列 / 移动 2 列 */
.photos-grid {
  list-style: none;
  margin: 0 0 80px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.photos-item { list-style: none; }

/* 空状态卡：跨整行 + 居中 + 灰色调（轻量版，无背景） */
.photos-empty {
  grid-column: 1 / -1;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px 24px;
  margin: 0 0 80px;
  text-align: center;
}
.photos-empty-icon {
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: #f1f4f8;
  border-radius: 50%;
}
.photos-empty-icon svg {
  width: 40px;
  height: 40px;
  color: #9aa5b8;
}
.photos-empty-title {
  font-size: 20px;
  font-weight: 600;
  color: #475569;
  margin: 0 0 10px;
  letter-spacing: 1px;
}
.photos-empty-desc {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .photos-empty { padding: 48px 16px; margin-bottom: 40px; }
  .photos-empty-icon { width: 64px; height: 64px; margin-bottom: 18px; }
  .photos-empty-icon svg { width: 30px; height: 30px; }
  .photos-empty-title { font-size: 17px; }
  .photos-empty-desc { font-size: 12px; }
}

.photos-card {
  display: block;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.photos-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.photos-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f0f0f0;
}
.photos-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.photos-card:hover .photos-thumb img {
  transform: scale(1.06);
}

.photos-title {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin: 0;
  padding: 14px 12px;
  line-height: 1.5;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 4 档响应式 */
@media (min-width: 992px) and (max-width: 1199px) {
  .photos-grid { grid-template-columns: repeat(3, 1fr); }
  .photos-header-title { font-size: 28px; }
}

@media (min-width: 769px) and (max-width: 991px) {
  .photos-grid { grid-template-columns: repeat(2, 1fr); }
  .photos-header-title { font-size: 24px; }
}

@media (max-width: 768px) {
  .photos-header { padding: 16px 0 24px; }
  .photos-header-title { font-size: 22px; }
  .photos-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 40px; }
  .photos-title { font-size: 12px; padding: 10px 8px; }
}

/* ============================================
   分页（articles.html / photos.html 通用）
   ============================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 24px 0 60px;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #555;
  font-size: 14px;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pagination a:hover {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.pagination-current {
  color: #fff !important;
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  cursor: default;
}
.pagination-disabled {
  color: #ccc !important;
  background: #f8f8f8 !important;
  border-color: #e0e0e0 !important;
  cursor: not-allowed;
}
/* ===================== 1. 标题区（蓝渐变背景） ===================== */

.contact-hero {
    padding: 140px 0 140px;
    text-align: center;
    background: linear-gradient(135deg, #3d71d4 0%, #1e5dc7 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    /* content: "";
    position: absolute;
    inset: 0;
    background: url('../images/htdt_banner.png') center center / cover no-repeat;
    opacity: 0.18;
    z-index: 0; */
}

.contact-hero .container {
    position: relative;
    z-index: 1;
}

.contact-hero-title {
    font-size: 52px;
    color: #fff;
    margin: 0;
    font-weight: 600;
    letter-spacing: 4px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.contact-hero-en {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 8px;
    margin: 14px 0 0;
    font-weight: 500;
}

.contact-hero-divider {
    width: 70px;
    height: 3px;
    background: #fff;
    margin: 24px auto 0;
}

/* ============================================
   首页表单查询结果 modal（3 个面板）
   - 遮罩 + 居中卡片，scale+opacity 入场
   - 防伪验证：商品卡 + 正品徽章 + 详情列表
   - 查找商店 / 产品查询：表格
   ============================================ */
.result-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.result-modal.is-open {
    opacity: 1;
    visibility: visible;
}

/* 遮罩：半透明 + 背景模糊 */
.result-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* 面板：居中卡片，最大 760px，圆角阴影 + scale 入场 */
.result-modal-panel {
    position: relative;
    width: calc(100% - 32px);
    max-width: 760px;
    max-height: 90vh;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.92) translateY(8px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.result-modal.is-open .result-modal-panel {
    transform: scale(1) translateY(0);
}

/* header：图标+标题 左，关闭 右 */
.result-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #eef2f7;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    flex-shrink: 0;
}
.result-modal-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}
.result-modal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
}
.result-modal-icon svg {
    width: 20px;
    height: 20px;
}
.result-modal-icon-success {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    color: #fff;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}
.result-modal-icon-primary {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: #fff;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

/* 关闭按钮：圆形 hover 灰底 */
.result-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #64748b;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}
.result-modal-close svg {
    width: 18px;
    height: 18px;
}
.result-modal-close:hover {
    background: #f1f5f9;
    color: #1a1a1a;
}

/* body：可滚动 */
.result-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

/* 防伪验证：商品卡 + 详情列表 */
.result-product-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
    margin-bottom: 20px;
}
.result-product-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.result-product-name {
    font-size: 18px;
    font-weight: 600;
    color: #1e3a8a;
}
.result-product-code {
    font-size: 13px;
    color: #64748b;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}
.result-badge {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}
.result-badge-success {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    color: #fff;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

/* 详情列表：2 列网格 */
.result-detail-list {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid #eef2f7;
    border-radius: 8px;
    overflow: hidden;
}
.result-detail-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    border-bottom: 1px solid #eef2f7;
}
.result-detail-row:last-child {
    border-bottom: none;
}
.result-detail-row dt {
    padding: 12px 16px;
    background: #f8fafc;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}
.result-detail-row dd {
    padding: 12px 16px;
    color: #1a1a1a;
    font-size: 14px;
    margin: 0;
}
.result-success-text {
    color: #10b981 !important;
    font-weight: 600;
}

/* 通用：表格 */
.result-summary {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 14px;
}
.result-summary b {
    color: #3b82f6;
    font-size: 16px;
    font-weight: 600;
}
.result-table-wrap {
    border: 1px solid #eef2f7;
    border-radius: 8px;
    overflow: hidden;
}
.result-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.result-table thead {
    background: #f8fafc;
}
.result-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #475569;
    border-bottom: 1px solid #eef2f7;
    white-space: nowrap;
}
.result-table td {
    padding: 12px 16px;
    color: #1a1a1a;
    border-bottom: 1px solid #f1f5f9;
}
.result-table tbody tr:last-child td {
    border-bottom: none;
}
.result-table tbody tr:nth-child(even) {
    background: #fafbfc;
}
.result-table tbody tr:hover {
    background: #eff6ff;
    transition: background 0.15s ease;
}

/* 表格内 tag */
.result-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    background: #f1f5f9;
    color: #475569;
}
.result-tag-blue {
    background: #dbeafe;
    color: #1e40af;
}

/* footer：居中关闭按钮 */
.result-modal-footer {
    padding: 16px 24px 20px;
    border-top: 1px solid #eef2f7;
    display: flex;
    justify-content: center;
    background: #f8fafc;
    flex-shrink: 0;
}
.result-modal-btn {
    padding: 8px 28px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 96px;
}
.result-modal-btn:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}
.result-modal-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}
.result-modal-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
}

/* 移动端：面板占满宽，圆角缩小 */
@media (max-width: 768px) {
    .result-modal-panel {
        width: calc(100% - 16px);
        max-height: 92vh;
        border-radius: 12px;
    }
    .result-modal-header {
        padding: 16px 16px;
    }
    .result-modal-title {
        font-size: 16px;
        gap: 8px;
    }
    .result-modal-icon {
        width: 32px;
        height: 32px;
    }
    .result-modal-body {
        padding: 16px;
    }
    .result-product-card {
        padding: 14px 16px;
    }
    .result-product-name {
        font-size: 16px;
    }
    .result-detail-row {
        grid-template-columns: 100px 1fr;
    }
    .result-detail-row dt,
    .result-detail-row dd {
        padding: 10px 12px;
        font-size: 13px;
    }
    .result-table {
        font-size: 13px;
    }
    .result-table th,
    .result-table td {
        padding: 10px 12px;
    }
}