/* ============================================
   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;
}

/* ---------- 分隔线 ---------- */
.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;
}

/* ============================================
   幻灯片 / 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;
}

/* ---------- 文字内容 ---------- */
.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: 0;                         /* 默认隐藏 */
  transition: opacity 0.3s ease;
}

.video-feature-wrapper:hover .video-feature-controls {
  opacity: 1;                        /* 鼠标移上去才显示控件 */
}

/* 内层 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;
}

/* 播放/暂停图标切换：用更精确选择器避免被 .video-play-btn svg 覆盖 */
.video-play-btn .video-icon-pause { display: none; }
.video-feature-wrapper.is-playing .video-play-btn .video-icon-play { display: none; }
.video-feature-wrapper.is-playing .video-play-btn .video-icon-pause { display: block; }

/* ---------- 进度条 ---------- */
.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 {
  font-size: 13px;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: 1px;
  transition: opacity 0.2s ease;
}

.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;
}
