/* ==========================================================
   明欣药业官网 - 首页样式
   零依赖 · 响应式 · 设计稿基准 1920px
   ========================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  /* 颜色 */
  --color-primary: #16499a;
  --color-text: #111827;
  --color-text-secondary: #4b5563;
  --color-text-muted: #6b7280;
  --color-text-tertiary: #6b7a8d;
  --color-bg: #ffffff;
  --color-bg-page: #f4f4f4;
  --color-bg-alt: #fafafa;
  --color-bg-footer: #000000;
  --color-border: #e5e7eb;
  --color-card: #fcfcfc;
  --color-hero-gradient-from: #f6f9ff;
  --color-hero-gradient-to: #ffffff;
  --color-shadow-primary: rgba(22, 73, 154, 0.16);

  /* 圆角 */
  --radius-sm: 4px;
  --radius-full: 119px;

  /* 字体 */
  --font-sans: "DM Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei",
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* 布局 */
  --container-max: 1600px;
  --container-pad: clamp(16px, 8.33vw, 160px);
  --header-height: 60px;

  /* 动效 */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg-page);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: calc(var(--container-max) + var(--container-pad) * 2);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section-title {
  font-size: clamp(26px, 2.08vw, 40px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.38px;
  color: var(--color-text);
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
}

/* ==========================================================
   顶部导航
   ========================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 var(--color-border);
}

.header-inner {
  max-width: 1920px;
  height: 100%;
  margin-inline: auto;
  padding-inline: clamp(16px, 8.33vw, 160px);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: none;
}

.brand-logo {
  height: 34px;
  width: auto;
}

.brand-tagline {
  height: 21px;
  width: auto;
}

.main-nav {
  margin-inline: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.8vw, 54px);
}

.nav-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 24px;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-primary);
  font-weight: 700;
}

.btn-store {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text);
  background: transparent;
  transition: border-color 0.2s, color 0.2s;
}

.btn-store:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-store .icon {
  font-size: 16px;
}

/* 汉堡按钮（移动端） */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================
   首屏 Banner
   ========================================================== */
.hero {
  position: relative;
  height: clamp(320px, 47vw, 903px);
  background: linear-gradient(
    160deg,
    var(--color-hero-gradient-from),
    var(--color-hero-gradient-to)
  );
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/hero.jpg") center / cover no-repeat;
}

.hero-slogan {
  position: absolute;
  left: var(--container-pad);
  top: 38%;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(16px, 1.25vw, 24px);
  letter-spacing: 4px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

/* ==========================================================
   关于公司
   ========================================================== */
.about {
  position: relative;
  padding: clamp(56px, 10.4vw, 200px) 0 clamp(180px, 11vw, 220px);
  background: linear-gradient(180deg, #eef3fb 0%, #fdfdfe 70%);
  overflow: hidden;
}

.about-visual {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-58%);
  width: min(800px, 90vw);
  aspect-ratio: 800 / 430;
  background: url("images/building.jpg") center bottom / contain no-repeat;
  opacity: 0.9;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 726px) minmax(0, 520px);
  justify-content: space-between;
  gap: clamp(32px, 4vw, 80px);
}

.about-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.about-text,
.about-side-text {
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 1.75px;
  color: var(--color-text-secondary);
}

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
  border-bottom: 1.5px solid #0c1e3c;
  font-size: 14px;
  color: var(--color-text-secondary);
  transition: color 0.2s, gap 0.25s var(--ease-out);
}

.btn-more:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  gap: 10px;
}

.about-side-text {
  margin-bottom: 34px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 60px;
}

.stat-number {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--color-primary);
  font-weight: 700;
  line-height: 28px;
}

.stat-number .num {
  font-family: "DM Sans", var(--font-sans);
  font-size: 40px;
  font-variant-numeric: tabular-nums;
}

.stat-number .unit {
  font-size: 14px;
  font-weight: 500;
}

.stat-label {
  margin-top: 12px;
  font-size: 16px;
  color: var(--color-text-tertiary);
}

/* ==========================================================
   产品矩阵
   ========================================================== */
.products {
  padding: clamp(56px, 5.2vw, 100px) 0 clamp(64px, 7.3vw, 140px);
  background: var(--color-bg-alt);
}

.section-lead {
  max-width: 887px;
  margin-top: 24px;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 1.75px;
  color: var(--color-text-secondary);
}

.product-stage {
  margin-top: clamp(32px, 6vw, 116px);
  display: flex;
  justify-content: center;
}

.product-track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(16px, 1.9vw, 36px);
  width: 100%;
}

.product-card {
  flex: 0 1 261px;
  transition: flex-basis 0.45s var(--ease-out), margin 0.45s var(--ease-out);
}

.product-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 24px;
  background: var(--color-card);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: box-shadow 0.45s var(--ease-out), transform 0.45s var(--ease-out),
    background 0.3s, border-color 0.3s;
}

/* 左上角品牌角标：品牌 logo 图片（行内第 3 个元素的 LOGO） */
.product-brand {
  position: absolute;
  top: 14px;
  left: 14px;
  height: 18px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
}

.product-img-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.06;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.3s, transform 0.45s var(--ease-out);
}

.product-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0.25px;
  color: var(--color-text-secondary);
  text-align: center;
  transition: color 0.3s, font-size 0.3s;
}

.product-link:hover .product-img-wrap img {
  transform: scale(1.04);
}

/* 最两侧卡片（slot-far-left / slot-far-right） */
.product-card.slot-far-left,
.product-card.slot-far-right {
  flex-basis: 261px;
  margin-top: 62px;
}

/* 两侧卡片（slot-left / slot-right） */
.product-card.slot-left,
.product-card.slot-right {
  flex-basis: 290px;
  margin-top: 44px;
}

.product-card.slot-left .product-name,
.product-card.slot-right .product-name {
  color: var(--color-text);
}

.product-card.slot-left .product-img-wrap img,
.product-card.slot-right .product-img-wrap img {
  opacity: 1;
}

/* 产品轮播：左右箭头 */
.product-stage {
  position: relative;
}

.product-arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(22, 73, 154, 0.12);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.product-arrow:hover {
  border-color: var(--color-primary);
  transform: translateY(-50%) scale(1.06);
}

.product-arrow svg {
  width: 16px;
  height: 16px;
}

.product-arrow-prev {
  left: clamp(8px, 5vw, 110px);
}

.product-arrow-next {
  right: clamp(8px, 5vw, 110px);
}

@media (max-width: 1200px) {
  .product-arrow {
    display: none;
  }
}

/* ==========================================================
   产品轮播：连续滚动引擎（JS 添加 is-engine 时启用）
   卡片绝对定位 + transform 连续插值，环形无限循环
   ========================================================== */
.product-track.is-engine {
  position: relative;
  display: block;
  width: 100%;
}

.product-track.is-engine .product-card {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(362px, 30vw);
  margin: 0 !important;
  transition: none;
  will-change: transform;
}

.product-track.is-engine .product-card .product-link {
  background: var(--color-bg);
  padding: 20px 20px 28px;
  box-shadow: 0 18px 50px rgba(22, 73, 154, 0.1);
}

.product-stage {
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.product-stage.is-engine-host {
  cursor: grab;
}

.product-stage.is-dragging {
  cursor: grabbing;
}

@media (max-width: 1200px) {
  .product-track.is-engine {
    display: flex;
    height: auto !important;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 16px;
    padding-bottom: 16px;
  }

  .product-track.is-engine .product-card {
    position: static;
    width: 240px;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* 中间主推卡片 */
.product-card.slot-center {
  flex-basis: 362px;
  margin-top: 0;
  z-index: 1;
}

.product-card.slot-center .product-link {
  background: var(--color-bg);
  padding: 24px 24px 32px;
  box-shadow: 0 28px 80px var(--color-shadow-primary);
}

.product-card.slot-center .product-name {
  font-size: 22px;
  color: var(--color-text);
}

.product-card.slot-center .product-img-wrap img {
  opacity: 1;
}

/* ==========================================================
   最新资讯
   ========================================================== */
.news {
  padding: clamp(56px, 8.3vw, 160px) 0 clamp(64px, 7.8vw, 150px);
  background: var(--color-bg);
}

.news-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.news-more {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.25px;
  color: var(--color-primary);
  transition: opacity 0.2s;
}

.news-more:hover {
  opacity: 0.75;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 1.05vw, 20px);
  margin-top: clamp(32px, 3.6vw, 70px);
}

.news-card {
  display: flex;
  flex-direction: column;
}

.news-img-wrap {
  display: block;
  aspect-ratio: 10 / 7;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
}

.news-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.news-card:hover .news-img-wrap img {
  transform: scale(1.05);
}

.news-title {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 0.25px;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.news-card:hover .news-title {
  color: var(--color-primary);
}

.news-date {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.25px;
  color: var(--color-text-muted);
}

/* ==========================================================
   页脚
   ========================================================== */
.site-footer {
  background: var(--color-bg-footer);
  color: var(--color-bg);
  padding: clamp(36px, 3.2vw, 60px) 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 4vw, 80px);
  padding-bottom: clamp(28px, 2.4vw, 44px);
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 31px;
  opacity: 0.9;
}

/* 页脚 LOGO：独立页脚资源图（1970x800 横版），页脚为纯黑底，统一去色成黑白；
   按视口宽度缩放，高度按图片比例自适应不变形 */
.footer-logos .footer-logo--mono {
  width: clamp(240px, 20vw, 320px);
  height: clamp(34px, 2.9vw, 46px);
  max-width: 100%;
  object-fit: cover;
  object-position: center 54%;
  filter: grayscale(1);
}

.footer-contact {
  margin-top: 24px;
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  color: var(--color-bg);
}

.footer-contact a:hover {
  color: var(--color-primary);
  opacity: 0.9;
}

.social-list {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.social-list a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  color: var(--color-bg);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.25s, color 0.25s, transform 0.25s var(--ease-out);
}

.social-list a:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

.social-list svg {
  width: 18px;
  height: 18px;
}

/* 页脚导航：右侧内边距把整块往左收，避免紧贴容器右边缘；
   min-width 固定导航列宽度基准，子栏目展开为绝对定位，不会撑开或推动一级栏目 */
.footer-nav {
  padding-right: clamp(0px, 7vw, 140px);
  min-width: 340px;
}

.footer-nav__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-nav a {
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: var(--color-bg);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--color-primary);
  opacity: 0.9;
}

/* 链接类栏目（联系我们）：栏目本身无独立页面，子栏目默认收起，鼠标移入时在同一行展开 */
.footer-nav__group {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 16px;
}

.footer-nav__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: var(--color-bg);
}

.footer-nav__sub {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px 16px;
  white-space: nowrap;
}

.footer-nav__sub a {
  font-size: 17px;
  font-weight: 500;
  line-height: 28px;
  color: var(--color-bg);
}

/* 有鼠标指针的设备：子栏目绝对定位在「联系我们」右侧，绝对定位不参与布局，
   展开/收起时一级栏目位置完全不动；触屏设备不支持 hover，子栏目直接常显 */
@media (hover: hover) and (pointer: fine) {
  .footer-nav__group {
    position: relative;
  }

  /* 透明桥接区：指针从父栏目横向移到子栏目时 hover 不中断；位于子栏目图层下方，不影响子项点击 */
  .footer-nav__group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% + 220px);
    height: 100%;
  }

  .footer-nav__sub {
    position: absolute;
    left: 100%;
    top: 0;
    padding-left: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    transition: opacity 0.22s ease-out, transform 0.28s var(--ease-out), visibility 0.28s;
  }

  .footer-nav__group:hover .footer-nav__sub,
  .footer-nav__group:focus-within .footer-nav__sub,
  .footer-nav__sub:hover {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-legal p + p {
  margin-top: 4px;
}

.police {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 16px;
}

.police svg {
  width: 15px;
  height: 17px;
}

.police:hover {
  color: var(--color-primary);
  opacity: 0.9;
}

.footer-designer {
  flex: none;
}

/* ==========================================================
   滚动进入动画
   仅在 JS 正常执行（html.js）时才隐藏，避免脚本异常/未加载时文案永久不可见
   ========================================================== */
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================
   响应式
   ========================================================== */

/* ≤1200px：产品区收缩 */
@media (max-width: 1200px) {
  .product-track {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
  }

  .product-card {
    flex: 0 0 240px;
    margin-top: 0 !important;
    scroll-snap-align: center;
  }

  .product-card.slot-center {
    flex-basis: 280px;
  }

  .news-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ≤1024px：导航折叠、关于区改单列 */
@media (max-width: 1024px) {
  .header-inner {
    padding-inline: 16px;
    gap: 12px;
  }

  .brand-tagline {
    display: none;
  }

  .btn-store {
    margin-left: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    padding: 8px 16px 16px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease-out), opacity 0.25s, visibility 0.25s;
  }

  .main-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    display: block;
    padding: 12px 4px;
    border-bottom: 1px solid var(--color-border);
    font-size: 15px;
  }

  .about {
    padding-bottom: clamp(160px, 24vw, 220px);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    gap: 32px 40px;
  }

  .footer-nav a {
    font-size: 18px;
  }

  .footer-nav__title {
    font-size: 18px;
  }

  .footer-nav__sub a {
    font-size: 16px;
  }
}

/* ≤768px：布局单列 */
@media (max-width: 768px) {
  .hero {
    height: clamp(300px, 60vw, 480px);
  }

  .about-visual {
    width: 92vw;
    opacity: 0.6;
  }

  .news-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    padding-right: 0;
    min-width: 0;
  }

  .footer-nav > .footer-nav__list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 24px;
  }

  .footer-nav a {
    font-size: 16px;
  }

  .footer-nav__title {
    font-size: 16px;
  }

  .footer-nav__sub a {
    font-size: 14px;
  }

  .footer-contact {
    margin-top: 32px;
  }

  .social-list {
    margin-top: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    font-size: 13px;
    line-height: 22px;
  }
}

/* ≤480px：极端小屏 */
@media (max-width: 480px) {
  .brand-logo {
    height: 28px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .news-list {
    grid-template-columns: 1fr;
  }

  .product-card {
    flex-basis: 210px;
  }

  .product-card.slot-center {
    flex-basis: 240px;
  }

  .footer-logos {
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-logos .footer-logo--mono {
    width: 180px;
  }

  .footer-legal p {
    word-break: break-all;
  }

  .police {
    margin-left: 0;
  }
}

/* ==========================================================
   首页轮播图（数据来源：页面部件 home-banner）
   ========================================================== */
.hero-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* 部件无数据时整个轮播层隐藏，回退到 .hero 默认渐变背景 */
.hero-carousel:empty {
  display: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
}

/* 标语固定在最上层，不随图片切换 */
.hero-slogan {
  z-index: 2;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.45);
}

.hero-arrow-prev {
  left: 24px;
}

.hero-arrow-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

/* 只有一张图时隐藏箭头和圆点 */
.hero.is-single .hero-arrow,
.hero.is-single .hero-dots {
  display: none;
}

@media (max-width: 768px) {
  .hero-arrow {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .hero-arrow-prev {
    left: 10px;
  }

  .hero-arrow-next {
    right: 10px;
  }

  .hero-dots {
    bottom: 16px;
  }
}

/* ==========================================================
   首屏 Banner：后台可维护的背景图 + 标语
   背景图来源：页面部件 home_banner 第一张（.hero-banner）
   未配置时回退 .hero::before 的 assets/images/hero.jpg
   ========================================================== */
.hero-banner {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* 关于公司：后台配置的全幅背景图（铺满整个区块） */
.about-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* 全幅背景图上叠加一层淡淡的白色，保证蓝色文字可读 */
.about-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
}

.hero-copy {
  position: absolute;
  left: var(--container-pad);
  top: 30%;
  z-index: 2;
}

.hero-title {
  margin: 0 0 8px;
  font-size: clamp(28px, 3.2vw, 56px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-primary);
}

.hero-subtitle {
  margin: 0;
  font-size: clamp(18px, 1.8vw, 32px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .hero-copy {
    top: 24%;
  }
}

/* ==========================================================
   内页通用：面包屑 + 页头
   ========================================================== */
.page-head {
  padding: clamp(28px, 3.2vw, 56px) 0 clamp(16px, 1.6vw, 28px);
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.breadcrumb a {
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.crumb-sep {
  opacity: 0.5;
}

.crumb-current {
  color: var(--color-text-secondary);
}

.page-title {
  margin: 12px 0 0;
  font-size: clamp(24px, 2.4vw, 40px);
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--color-primary);
}

/* ==========================================================
   资讯列表页：与首页共用 .news-card，仅外层网格不同
   ========================================================== */
.news-page {
  padding: clamp(32px, 4vw, 72px) 0 clamp(56px, 6vw, 120px);
  background: var(--color-bg);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 40px);
}

.news-grid .news-title {
  font-size: 17px;
  line-height: 26px;
}

.news-grid .news-date {
  margin-top: 12px;
}

.news-summary {
  margin-top: 8px;
  font-size: 14px;
  line-height: 22px;
  color: var(--color-text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 分页条（<@page_bar> 输出 .pagination / .page_link） */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(32px, 4vw, 64px);
}

.pagination .page_link {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--color-text-secondary);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.pagination .page_link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.pagination .page_active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.pagination .page_active:hover {
  color: #ffffff;
}

.pagination .page_white {
  border-color: transparent;
  cursor: default;
}

.pagination .page_white:hover {
  border-color: transparent;
  color: var(--color-text-secondary);
}

/* ==========================================================
   企业发展轴：深色区块 + 右侧旋转轮盘（复刻寰泰官网发展轨迹）
   ========================================================== */
.about-history {
  padding: clamp(56px, 5.2vw, 100px) 0;
  background: #ffffff;
  color: var(--color-text);
  overflow: hidden;
}

.about-history .about-section-title {
  color: var(--color-text);
}

.about-history .milestone-event-date {
  color: #1d5ab8;
}

.about-history .milestone-event-text {
  color: var(--color-text-secondary);
}

.about-history .milestone-panel {
  border-top-color: var(--color-border);
}

.about-history .milestone-empty {
  color: var(--color-text-muted);
}

.about-history .timeline-nav-btn {
  border-color: transparent;
  background: #edf1f7;
  color: #97a3b4;
}

.about-history .timeline-nav-btn:hover {
  border-color: transparent;
  background: #e0e8f3;
  color: var(--color-primary);
}

.about-history .timeline-nav-btn.is-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.about-history .timeline-nav-btn.is-primary:hover {
  background: #1d5ab8;
  border-color: #1d5ab8;
}

.about-history-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-history-main .milestone-panel {
  width: 100%;
}

.about-history-nav {
  display: flex;
  gap: 12px;
  margin-top: clamp(24px, 2.6vw, 44px);
}

/* 发展轴扇形轮盘：双层滑片（刻度层+年份层）以圆心为轴扇形展开；
   --wheel-r 为扇形半径，滑片长度(0.92R)、圆环尺寸、区块高度都随之联动，调大扇形更舒展 */
.wheel {
  --wheel-r: clamp(340px, 30vw, 600px);
  position: relative;
  min-height: calc(var(--wheel-r) + 80px);
  overflow: visible;
}

.wheel-dial {
  position: absolute;
  top: 50%;
  /* 轴心推到区块最右缘：补上 container 内边距 + 居中留白 */
  left: calc(
    100% + var(--container-pad) +
    max((100vw - var(--container-max) - 2 * var(--container-pad)) / 2, 0px)
  );
  width: calc(var(--wheel-r) * 2);
  height: calc(var(--wheel-r) * 2);
  margin: calc(var(--wheel-r) * -1) 0 0 calc(var(--wheel-r) * -1);
  border-radius: 50%;
  overflow: hidden;
  /* 浅蓝软色带（环面），上下由 ::after 白色渐隐收尾 */
  background: radial-gradient(
    circle closest-side,
    rgba(157, 193, 245, 0.22) 0 16%,
    rgba(157, 193, 245, 0.32) 32%,
    rgba(157, 193, 245, 0.16) 52%,
    transparent 64%
  );
}

.wheel-dial::before {
  /* 细圆弧：穿过年份圆点（半径 = 滑片长度 0.92R） */
  content: "";
  position: absolute;
  inset: calc(var(--wheel-r) * 0.08);
  border-radius: 50%;
  border: 1px solid #dbe5f4;
  pointer-events: none;
}

.wheel-dial::after {
  /* 上下白色渐隐，让色带与细弧在中部最清晰、两端收尾 */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 80%, #ffffff 100%);
  pointer-events: none;
}

/* 扇形层：锚点即圆心，滑片从圆心向右展开 */
.wheel-layer {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
}

.wheel-layer-ticks {
  z-index: 1;
}

.wheel-layer-years {
  z-index: 2;
}

.wheel-slide {
  position: absolute;
  right: 0; /* 滑片从轴心向左展开 */
  top: 0;
  width: calc(var(--wheel-r) * 0.92);
  height: 0;
  transform-origin: right center;
  transition: transform 0.8s var(--ease-out), opacity 0.8s var(--ease-out);
  will-change: transform, opacity;
}

.wheel-layer-years .wheel-slide {
  cursor: pointer;
}

.wheel-slide .dot {
  /* 圆点在滑片外端（细圆弧上） */
  position: absolute;
  left: 0;
  top: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f6bc4;
  transform: translate(-50%, -50%);
}

.wheel-layer-years .wheel-slide .dot {
  display: none; /* 圆点只由刻度层输出 */
}

.wheel-slide .line {
  display: none; /* 直线全部隐藏 */
}

.wheel-layer-ticks .wheel-slide .line {
  display: none;
}

/* 年份层不显示直线 */
.wheel-layer-years .wheel-slide .line {
  display: none;
}

/* 指针：圆环 + 圆心点 + 横线，位于年份左侧（线到年份左缘即止，右侧不显示） */
.wheel-pointer {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--wheel-r) * 0.92);
  height: 0;
  transform: translate(-100%, -50%);
  z-index: 3;
  pointer-events: none;
}

.wheel-pointer::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  border: 1px solid #2f6bc4;
  border-radius: 50%;
  background: #ffffff;
}

.wheel-pointer::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2f6bc4;
}

.wheel-pointer-line {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(50% - 84px); /* 只画到年份文字左缘，年份右侧不画 */
  height: 1px;
  background: #b9c9e2;
}

.wheel-slide .wheel-year {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  font-size: clamp(20px, 1.8vw, 34px);
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1;
  color: #9aa8bd;
  white-space: nowrap;
  transition: font-size 1.1s var(--ease-out), font-weight 1.1s var(--ease-out), color 0.6s;
}

/* 锁定到水平位后放大加粗 */
.wheel-slide.is-active .wheel-year {
  font-size: clamp(34px, 3vw, 58px);
  font-weight: 700;
  color: #14294d;
}

/* 装饰散点（已隐藏） */
.wheel-dot {
  display: none;
}

/* ==========================================================
   资讯详情页
   ========================================================== */
.article {
  padding: clamp(32px, 4vw, 64px) 0 clamp(56px, 6vw, 120px);
  background: var(--color-bg);
}

.article-inner {
  max-width: 1080px;
}


.article-title {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 800;
  line-height: 1.4;
  color: var(--color-text);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.article-summary {
  margin: 24px 0 0;
  padding: 16px 20px;
  background: var(--color-bg-alt);
  border-left: 3px solid var(--color-primary);
  font-size: 15px;
  line-height: 26px;
  color: var(--color-text-secondary);
}

.article-content {
  margin-top: clamp(24px, 2.4vw, 40px);
  font-size: 16px;
  line-height: 30px;
  color: var(--color-text-secondary);
}

.article-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 16px auto;
  border-radius: var(--radius-sm);
}

.article-content p {
  margin: 0 0 16px;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  margin: 28px 0 12px;
  color: var(--color-text);
  font-weight: 700;
}

.article-content h2 { font-size: 22px; }
.article-content h3 { font-size: 18px; }

.article-content ul,
.article-content ol {
  margin: 0 0 16px;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

.article-content blockquote {
  margin: 16px 0;
  padding: 12px 20px;
  border-left: 3px solid var(--color-primary);
  background: var(--color-bg-alt);
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.article-content th,
.article-content td {
  border: 1px solid var(--color-border);
  padding: 10px 12px;
}

.article-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.article-nav-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 15px;
  color: var(--color-text-secondary);
  transition: color 0.2s;
}

.article-nav-item:hover {
  color: var(--color-primary);
}

.article-nav-label {
  flex: 0 0 auto;
  font-size: 13px;
  color: var(--color-text-muted);
}

.article-nav-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-back {
  margin-top: 32px;
}

@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   关于公司页面（设计稿 1920 宽，区块自上而下：banner/简介/价值观/发展轴/荣誉）
   ========================================================== */
.about-hero {
  position: relative;
  /* 与产品中心 / 明欣动态列表页 Banner 同高（原来 46.9vw/900px 会顶满一屏） */
  height: clamp(320px, 32vw, 560px);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.18);
}

.about-hero-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(30px, 2.5vw, 48px);
  font-weight: 700;
  letter-spacing: 6px;
  color: #ffffff;
}

/* 企业简介：左图 708×400 + 右文 */
.about-intro {
  padding: clamp(48px, 5.2vw, 100px) 0;
  background: var(--color-bg);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 708px) minmax(0, 1fr);
  gap: clamp(32px, 5.1vw, 98px);
  align-items: center;
}

.about-intro-img {
  display: block;
  width: 100%;
  aspect-ratio: 708 / 400;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.about-intro-text {
  margin: 0;
  font-size: 16px;
  line-height: 30px;
  color: var(--color-text-secondary);
}

/* 企业简介正文由后台子栏目内容正文（cms_article）输出，段落样式兜底 */
.about-intro-body p {
  margin: 0;
  font-size: 16px;
  line-height: 30px;
  color: var(--color-text-secondary);
}

/* 区块标题（32px/700，与设计稿一致） */
.about-section-title {
  margin: 0;
  font-size: clamp(24px, 1.7vw, 32px);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-text);
}

/* 企业价值观：4 卡 382×500，gap 24 */
.about-values {
  padding: clamp(48px, 4.2vw, 80px) 0 clamp(56px, 5.2vw, 100px);
  background: var(--color-bg-alt);
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.25vw, 24px);
  margin-top: clamp(24px, 2.6vw, 50px);
}

.value-card {
  position: relative;
  display: block;
  aspect-ratio: 382 / 500;
  border-radius: 8px;
  overflow: hidden;
}

.value-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.value-card:hover img {
  transform: scale(1.04);
}

.value-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 46%, rgba(0, 0, 0, 0.5) 100%);
}

.value-card-name {
  position: absolute;
  left: clamp(20px, 1.7vw, 32px);
  bottom: clamp(20px, 1.7vw, 32px);
  z-index: 1;
  font-size: clamp(24px, 1.9vw, 36px);
  font-weight: 600;
  letter-spacing: 4px;
  color: #ffffff;
}

.about-history-grid {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 80px);
  align-items: start;
  margin-top: clamp(24px, 2.6vw, 50px);
}

.about-history-figure {
  margin: 0;
}

.about-history-slides img {
  display: none;
  width: 100%;
  aspect-ratio: 640 / 420;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.about-history-slides img.is-active {
  display: block;
}

/* 左侧图片下方：当年正文（后台文章内容） */
.about-history-descs {
  margin-top: 16px;
}

/* 正文来自后台富文本（cms_article），编辑器常带内联 font-family / font-size，
   统一压成 Noto Sans SC-Regular 16px，避免各年份字体字号五花八门 */
.about-history-desc {
  margin: 20px 0 0;
  font-family: "Noto Sans SC", var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  color: var(--color-text-secondary);
}

.about-history-desc p,
.about-history-desc span,
.about-history-desc font,
.about-history-desc div,
.about-history-desc li {
  font-family: "Noto Sans SC", var(--font-sans) !important;
  font-size: 16px !important;
  line-height: 28px !important;
}

.about-history-desc p {
  margin: 0 0 6px;
}

.about-history-desc img {
  max-width: 100%;
}

.timeline-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.timeline-nav-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.timeline-nav-btn svg {
  width: 16px;
  height: 16px;
}

/* 发展轴右侧：年份导航条 + 事件面板（复刻寰泰官网发展轨迹交互） */
.milestone-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1vw, 20px);
}

.milestone-years {
  display: flex;
  flex: 1;
  gap: clamp(16px, 1.8vw, 36px);
  margin: 0;
  padding: 0 2px 2px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.milestone-years::-webkit-scrollbar {
  display: none;
}

.milestone-year {
  position: relative;
  flex: 0 0 auto;
  padding: 4px 2px 16px;
  font-size: 17px;
  font-weight: 500;
  color: var(--color-text-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s, font-size 0.2s;
}

.milestone-year:hover {
  color: var(--color-primary);
}

.milestone-year.is-active {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
}

.milestone-year.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

.milestone-panel {
  min-height: 150px;
  margin-top: clamp(20px, 2.2vw, 40px);
  padding-top: clamp(20px, 2.2vw, 36px);
  border-top: 1px solid var(--color-border);
}

.milestone-event {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
}

.milestone-event-date {
  flex: 0 0 52px;
  font-weight: 700;
  line-height: 28px;
  color: var(--color-primary);
}

.milestone-event-text {
  margin: 0;
  font-size: 16px;
  line-height: 28px;
  color: var(--color-text-secondary);
}

.milestone-empty {
  margin: 0;
  font-size: 15px;
  color: var(--color-text-muted);
}

/* 荣誉资质：横向滚动证书列表 328×206 */
.about-honors {
  padding: clamp(56px, 5.2vw, 100px) 0 clamp(64px, 6vw, 120px);
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.about-honors-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(240px, 17vw, 328px);
  gap: clamp(24px, 3.2vw, 61px);
  margin-top: clamp(24px, 2.6vw, 50px);
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x proximity;
}

.honor-card {
  scroll-snap-align: start;
}

.honor-card-img {
  display: block;
  width: 100%;
  aspect-ratio: 328 / 206;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}

.honor-card-name {
  display: block;
  margin-top: 16px;
  font-size: 15px;
  line-height: 26px;
  color: var(--color-text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1200px) {
  .about-intro-grid,
  .about-history-grid {
    grid-template-columns: 1fr;
  }

  .about-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-history-grid {
    margin-top: 16px;
  }

  .wheel {
    display: none;
  }
}

@media (max-width: 640px) {
  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-title {
    letter-spacing: 3px;
  }
}

/* ==========================================================
   联系我们（商务合作）页
   ========================================================== */
.contact-hero {
  background-size: cover;
  background-position: center;
  padding: clamp(56px, 6.5vw, 125px) 0;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.5fr);
  gap: clamp(24px, 3.2vw, 64px);
  align-items: center;
}

.contact-hero-title {
  margin: 0;
  font-size: clamp(30px, 2.5vw, 48px);
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--color-primary);
}

.contact-hero-divider {
  width: 1px;
  height: clamp(64px, 6.5vw, 125px);
  background: rgba(22, 73, 154, 0.35);
}

.contact-hq-name {
  margin: 0 0 20px;
  font-size: clamp(24px, 2.1vw, 40px);
  font-weight: 600;
  color: var(--color-primary);
}

.contact-hq-info p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 24px;
  color: var(--color-text-secondary);
}

.contact-hq-info .label {
  color: var(--color-primary);
}

/* 联系方式 / 社交媒体区块
   统一使用页面底色，白色卡片浮于其上；原先「白底 + #fafafa 卡片 + 与下一区块交替底色」
   三层灰度过于接近，视觉上发灰不干净 */
.contact-section {
  padding: clamp(48px, 5.2vw, 96px) 0;
  background: var(--color-bg-page);
}

.contact-section + .contact-section {
  background: var(--color-bg-page);
}

/* 联系方式三卡 */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.5vw, 28px);
  margin-top: clamp(24px, 2.6vw, 48px);
}

.contact-card {
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  padding: clamp(22px, 2vw, 36px);
  box-shadow: 0 2px 10px rgba(16, 24, 40, 0.05);
}

.contact-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
}

.contact-card-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

.contact-card p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 26px;
  color: var(--color-text-secondary);
}

.contact-card .label {
  color: var(--color-text-muted);
}

.contact-card .highlight {
  color: var(--color-primary);
  text-decoration: underline;
}

/* 联系卡正文由后台文章内容（cms_article）输出，链接样式兜底 */
.contact-card p a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* 社交媒体二维码 */
.social-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 2.2vw, 42px);
  margin-top: clamp(20px, 2.2vw, 36px);
}

.social-tab {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  padding: 0 2px 10px;
  margin: 0;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--color-text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  transition: color 0.2s, border-color 0.2s;
}

.social-tab:hover {
  color: var(--color-primary);
}

.social-tab.is-active {
  color: var(--color-primary);
  font-weight: 600;
  border-bottom-color: var(--color-primary);
}

.social-qr-group {
  display: none;
}

.social-qr-group.is-active {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 3.2vw, 64px);
  margin-top: clamp(28px, 3vw, 56px);
}

.social-qr {
  text-align: center;
}

.social-qr-img {
  display: block;
  width: clamp(108px, 8.6vw, 148px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0;
  border: 1px dashed var(--color-border);
  padding: 8px;
  background: #ffffff;
  box-sizing: border-box;
}

.social-qr-name {
  display: block;
  margin-top: 14px;
  font-size: 15px;
  color: var(--color-text-secondary);
}

.social-qr-empty {
  padding: 40px 0 8px;
  font-size: 15px;
  color: var(--color-text-muted);
}

/* 导航下拉（联系我们：商务合作 / 人才招聘） */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 128px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #ffffff;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(22, 73, 154, 0.16);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 30;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--color-text-secondary);
  text-align: center;
  white-space: nowrap;
}

.nav-dropdown a:hover,
.nav-dropdown a.is-active {
  color: var(--color-primary);
  background: var(--color-bg-alt);
}

/* ==========================================================
   人才招聘页
   ========================================================== */
.talent-hero {
  /* 与关于公司、产品中心 / 明欣动态列表页 Banner 同高（原来 46.9vw/900px 会顶满一屏） */
  min-height: clamp(320px, 32vw, 560px);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.talent-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 35, 0.35);
}

.talent-hero {
  position: relative;
}

.talent-hero-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(28px, 2.5vw, 48px);
  font-weight: 700;
  letter-spacing: 4px;
  color: #ffffff;
}

.talent-welcome {
  padding: clamp(56px, 6vw, 110px) 0;
  text-align: center;
  background: var(--color-bg);
}

.talent-welcome p {
  margin: 0;
  font-size: clamp(18px, 1.25vw, 24px);
  line-height: 40px;
  color: var(--color-text-secondary);
}

.btn-primary {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 40px;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #1d5ab8;
  color: #ffffff;
}

/* 薪酬保障 4 卡
   区块底色统一走「白 / 页面灰」交替：#fafafa 与 #ffffff 差异过小，
   相邻区块看起来像没对齐的色块，改用更明确的 #f4f4f4 拉开层次 */
.talent-salary {
  padding: clamp(48px, 5.2vw, 96px) 0;
  background: var(--color-bg-page);
}

.salary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.5vw, 28px);
  margin-top: clamp(24px, 2.6vw, 48px);
}

.salary-card {
  position: relative;
  aspect-ratio: 340 / 400;
  border-radius: var(--radius-sm);
  overflow: visible;
}

.salary-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.salary-card-name {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 12px 36px;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(22, 73, 154, 0.14);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

/* 部分福利 8 宫格 */
.talent-welfare {
  padding: clamp(48px, 5.2vw, 96px) 0;
  background: var(--color-bg);
}

.welfare-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(24px, 2.6vw, 48px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #ffffff;
}

.welfare-cell {
  padding: clamp(24px, 2.6vw, 48px) 12px;
  text-align: center;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.welfare-grid .welfare-cell:nth-child(4n) {
  border-right: none;
}

.welfare-grid .welfare-cell:nth-child(n + 5) {
  border-bottom: none;
}

.welfare-icon {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto 16px;
  color: var(--color-primary);
}

.welfare-icon svg {
  width: 100%;
  height: 100%;
}

.welfare-name {
  font-size: 17px;
  font-weight: 500;
  color: var(--color-text);
}

/* 明欣生活：弧形 3D 画廊（CircularGallery）
   与「部分福利」白底区块相邻，改页面灰底形成白/灰交替，避免两大块白连成一片 */
.talent-life {
  padding: clamp(48px, 5.2vw, 96px) 0;
  background: var(--color-bg-page);
}

.talent-life-desc {
  max-width: 640px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 15px;
  line-height: 28px;
  color: var(--color-text-secondary);
}

.talent-life .life-gallery {
  height: clamp(360px, 40vw, 560px);
  margin-top: clamp(20px, 2.4vw, 44px);
}

/* ---------- CircularGallery 组件样式 ---------- */
.circular-gallery {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  outline: none;
}

.circular-gallery[data-pointer] {
  cursor: pointer;
}

.circular-gallery[data-dragging] {
  cursor: grabbing;
}

.circular-gallery-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.circular-gallery-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.circular-gallery-label {
  position: absolute;
  top: 0;
  left: 0;
  line-height: 1.2;
  white-space: nowrap;
  will-change: transform, opacity;
}

.circular-gallery-caption {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(90%, 36rem);
  text-align: center;
  opacity: 0;
  pointer-events: none;
}

.circular-gallery-caption-text {
  margin: 0;
  line-height: 1.5;
  opacity: 0.65;
}

.circular-gallery-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.circular-gallery-close[data-open] {
  opacity: 0.8;
  pointer-events: auto;
}

.circular-gallery-close:hover {
  opacity: 1;
}

/* WebGL 不可用时的降级横向滚动 */
.circular-gallery-fallback {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  align-items: center;
  padding: 20px 6%;
}

.circular-gallery-fallback-item {
  flex: 0 0 auto;
  width: clamp(220px, 24vw, 340px);
  margin: 0;
}

.circular-gallery-fallback-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.circular-gallery-fallback-item figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--color-text-secondary);
  text-align: center;
}

@media (max-width: 1200px) {
  .contact-hero-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero-divider {
    display: none;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .salary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 56px;
  }

  .welfare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .welfare-grid .welfare-cell:nth-child(4n) {
    border-right: 1px solid var(--color-border);
  }

  .welfare-grid .welfare-cell:nth-child(2n) {
    border-right: none;
  }

  .welfare-grid .welfare-cell:nth-child(n + 5) {
    border-bottom: 1px solid var(--color-border);
  }

  .welfare-grid .welfare-cell:nth-child(n + 7) {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .salary-grid {
    grid-template-columns: 1fr;
  }

  .welfare-grid {
    grid-template-columns: 1fr;
  }

  .welfare-grid .welfare-cell {
    border-right: none !important;
    border-bottom: 1px solid var(--color-border) !important;
  }

  .welfare-grid .welfare-cell:last-child {
    border-bottom: none !important;
  }
}

/* ==========================================================
   荣誉资质：3D 圆环轮播（仿 CircularCarousel orbit）
   ========================================================== */
.honor-carousel {
  --honor-w: 300px;
  position: relative;
  margin-top: clamp(24px, 2.6vw, 50px);
  height: clamp(360px, 36vw, 460px);
  perspective: 1400px;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.honor-carousel.is-dragging {
  cursor: grabbing;
}

/* 左右边缘渐隐 */
.honor-carousel::before,
.honor-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12%;
  z-index: 6;
  pointer-events: none;
}

.honor-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--color-bg), rgba(255, 255, 255, 0));
}

.honor-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--color-bg), rgba(255, 255, 255, 0));
}

.honor-stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.honor-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

.honor-card3d {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  will-change: opacity;
}

/* 朝向补偿层：抵消环旋转，让卡片始终正面朝向镜头 */
.honor-face {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

.honor-frame {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  aspect-ratio: 328 / 206;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(9, 27, 56, 0.28);
}

.honor-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
}

.honor-shade {
  position: absolute;
  inset: 0;
  background: #0c2140;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s linear;
}

.honor-name {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 340px;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  color: var(--color-text-secondary);
}

/* ============================================================================
   列表页 / 详情页样式（原 css/style.css，已合并进本文件，全站只保留这一份样式表）
   下方所有规则统一加 .page-hero / .page-detail 作用域，
   首页、关于、联系、人才等页面（body 无这两个类）完全不受影响。
   ============================================================================ */

/* 列表页 / 详情页沿用的旧版设计变量 */
:root {
  --c-primary: #16499a;
  --c-primary-rgb: 22, 73, 154;
  --c-text: #111827;
  --c-text-2: #6b7280;
  --c-body: #4b5563;
  --c-dark: #0c1e3c;
  --c-line: #e5e7eb;
  --c-line-2: #e3e7ee;
  --c-bg: #f6f6f6;
  --c-bg-detail: #f4f4f4;
  --c-card: #ffffff;
  --grad-hover: linear-gradient(180deg, #eef4ff 0%, #ffffff 58%);
  --grad-hero: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
  --shadow-card-hover: 0 28px 80px rgba(var(--c-primary-rgb), 0.25);
  --font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --header-h: 60px;
  --radius-s: 4px;
  --radius-m: 8px;
  --ease: cubic-bezier(0.25, 0.6, 0.3, 1);
}

/* 列表页 / 详情页排版基线（沿用旧版 body 规则：字体栈、行高、浅灰底） */
body.page-hero,
body.page-detail {
  margin: 0;
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 768px) {
  body.page-hero,
  body.page-detail {
    font-size: 15px;
  }
}

/* 以下是原 css/style.css 的全部规则，选择器已加页面作用域前缀（保持原有层叠顺序） */
/* =========================================================
   明欣药业官网 — 产品中心 / 产品详情 样式
   基于 Figma 设计稿 1:1 复刻（1920 基准）+ 移动端响应式
   ========================================================= */

/* ---------- 设计变量 ---------- */


/* ---------- Reset ---------- */




.page-hero h1,.page-detail h1,.page-hero h2,.page-detail h2,.page-hero h3,.page-detail h3,.page-hero h4,.page-detail h4,.page-hero p,.page-detail p,.page-hero ul,.page-detail ul,.page-hero ol,.page-detail ol,.page-hero figure,.page-detail figure {margin: 0; padding: 0;}

.page-hero ul,.page-detail ul,.page-hero ol,.page-detail ol {list-style: none;}

.page-hero img,.page-detail img {display: block; max-width: 100%; border: 0;}

.page-hero a,.page-detail a {color: inherit; text-decoration: none; transition: color 0.25s var(--ease);}

.page-hero button,.page-detail button {font-family: inherit; border: 0; background: none; cursor: pointer; padding: 0;}


.page-hero .container,.page-detail .container {width: min(1600px, 100% - 80px);
  margin-inline: auto;}

/* =========================================================
   列表页 — 顶部大屏 Banner（产品中心 / 明欣动态）
   高度统一参照首页 .home-hero 标准，标题居中显示
   ========================================================= */

.page-hero .hero-banner,.page-detail .hero-banner {position: relative;
  width: 100%;
  height: clamp(320px, 32vw, 560px);
  overflow: hidden;}

.page-hero .hero-banner__img,.page-detail .hero-banner__img {position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;}

.page-hero .hero-banner__title,.page-detail .hero-banner__title {position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(26px, 2.9vw, 56px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 3px;
  text-align: center;
  color: var(--c-primary);}

/* =========================================================
   列表页 — 分类筛选
   ========================================================= */
/* 锚点定位偏移：切换分类 tag（链接带 #filter）后视口落在筛选区，
   预留固定页头高度 + 呼吸间距，避免被 fixed header 遮挡 */

.page-hero .filter-bar,.page-detail .filter-bar,.page-hero .news-filter,.page-detail .news-filter {scroll-margin-top: 80px;}


.page-hero .filter-bar,.page-detail .filter-bar {margin-top: 94px;
  display: flex;
  align-items: center;
  gap: 37px;}

.page-hero .filter-tabs,.page-detail .filter-tabs {display: flex; align-items: center; gap: 36px; flex-wrap: wrap;}

.page-hero .filter-tab,.page-detail .filter-tab {padding: 7px 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  color: var(--c-text-2);
  border-radius: 999px;
  white-space: nowrap;}

.page-hero .filter-tab:hover,.page-detail .filter-tab:hover {color: var(--c-primary);}

.page-hero .filter-tab.active,.page-detail .filter-tab.active {color: var(--c-text);
  background: var(--c-card);
  padding: 7px 24px;}

.page-hero .filter-count,.page-detail .filter-count {margin-left: auto;
  font-size: 16px;
  line-height: 28px;
  color: var(--c-text-2);
  flex-shrink: 0;}

/* =========================================================
   列表页 — 产品卡片网格
   ========================================================= */

.page-hero .product-grid,.page-detail .product-grid {margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;}
/* 列表页底部留白：产品卡片/分页与页脚之间 */

.page-hero .list-wrap,.page-detail .list-wrap {padding-bottom: 96px;}


.page-hero .product-card,.page-detail .product-card {position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 76 / 100;
  padding: 20px;
  background: var(--c-card);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease);}

.page-hero .product-card:hover,.page-detail .product-card:hover {box-shadow: var(--shadow-card-hover);}
/* 卡片内的链接容器（替代旧的外层 <a>，避免嵌套链接拆散 DOM） */

.page-hero .product-card__link,.page-detail .product-card__link,.page-hero .product-card__detail,.page-detail .product-card__detail {display: block;
  color: inherit;
  text-decoration: none;}

.page-hero .product-card__link,.page-detail .product-card__link {display: flex; flex-direction: column; flex: 1; min-height: 0;}

.page-hero .product-card__detail,.page-detail .product-card__detail {flex: 1; min-height: 0;}


.page-hero .product-card__media,.page-detail .product-card__media {position: relative;
  height: 72%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s var(--ease);}

.page-hero .product-card__media img,.page-detail .product-card__media img {max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;}
/* 商标logo：叠加在产品图左上角（来源：cms_exd_content 扩展模型的 content_logo 字段）
   选择器带 .product-card__media 前缀，覆盖 .product-card__media img 的尺寸限制 */

.page-hero .product-card__media .product-card__logo,.page-detail .product-card__media .product-card__logo {position: absolute;
  top: 4px;
  left: 4px;
  max-width: 28%;
  max-height: 15%;
  width: 0;
  height: auto;
  object-fit: contain;
  object-position: left top;
  transition: opacity 0.35s var(--ease);}

.page-hero .product-card:hover .product-card__media .product-card__logo,.page-detail .product-card:hover .product-card__media .product-card__logo {opacity: 0;}

.page-hero .product-card__name,.page-detail .product-card__name {margin-top: auto;
  font-size: 15px;
  font-weight: 350;
  font-family: SF, PingFangSC-Regular, "Microsoft YaHei", 微软雅黑, "Microsoft JhengHei", 华文细黑, STHeiti, MingLiu;
  line-height: 28px;
  letter-spacing: -0.1px;
  color: var(--c-text);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: opacity 0.35s var(--ease);}

/* hover 展开面板 */

.page-hero .product-card__panel,.page-detail .product-card__panel {position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 40px 20px 36px;
  background: var(--grad-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;}

.page-hero .product-card:hover .product-card__panel,.page-detail .product-card:hover .product-card__panel {opacity: 1; visibility: visible; transform: none;}

.page-hero .product-card:hover .product-card__media,.page-detail .product-card:hover .product-card__media,.page-hero .product-card:hover .product-card__name,.page-detail .product-card:hover .product-card__name {opacity: 0;}


.page-hero .product-card__title,.page-detail .product-card__title {font-size: 22px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 0.25px;
  color: var(--c-dark);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;}

.page-hero .product-card__desc,.page-detail .product-card__desc {margin-top: 10px;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.5px;
  color: #4a5568;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;}

.page-hero .product-card__more,.page-detail .product-card__more {margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding-bottom: 2px;
  font-size: 14px;
  line-height: 24px;
  color: var(--c-primary);
  border-bottom: 1.5px solid var(--c-primary);}

.page-hero .product-card__more svg,.page-detail .product-card__more svg {width: 13px; height: 13px;}

.page-hero .product-card__buylabel,.page-detail .product-card__buylabel {margin-top: auto;
  font-size: 16px;
  font-weight: 500;
  line-height: 28px;
  color: var(--c-dark);}

.page-hero .product-card__shops,.page-detail .product-card__shops {margin-top: 8px; display: flex; gap: 12px;}

.page-hero .shop-ico,.page-detail .shop-ico {width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);}

.page-hero .shop-ico:hover,.page-detail .shop-ico:hover {transform: translateY(-2px); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.14);}

.page-hero .shop-ico svg,.page-detail .shop-ico svg {width: 40px; height: 40px;}

.page-hero .shop-ico__img,.page-detail .shop-ico__img {width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;}

/* 触屏设备：不显示 hover 面板，整卡点击进详情 */

@media (hover: none) {
  
.page-hero .product-card__panel,.page-detail .product-card__panel {display: none;}
}

/* =========================================================
   列表页 — 分页
   ========================================================= */

.page-hero .pager,.page-detail .pager {margin-top: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;}

.page-hero .pager a,.page-detail .pager a,.page-hero .pager span,.page-detail .pager span {min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-card);
  border-radius: var(--radius-s);
  font-size: 14px;
  color: var(--c-text);
  border: 1px solid transparent;}

.page-hero .pager a:hover,.page-detail .pager a:hover {border-color: rgba(var(--c-primary-rgb), 0.4); color: var(--c-primary);}

.page-hero .pager .pager__cur,.page-detail .pager .pager__cur {background: var(--c-primary); color: #fff; font-weight: 700;}

.page-hero .pager .pager__gap,.page-detail .pager .pager__gap {background: transparent;}

.page-hero .pager .pager__disabled,.page-detail .pager .pager__disabled {opacity: 0.35; pointer-events: none;}

/* =========================================================
   详情页 — 首屏（渐变背景 + 图集 + 产品信息）
   ========================================================= */

.page-hero .page-detail,.page-detail .page-detail {background: var(--c-bg-detail);}

.page-hero .detail-hero,.page-detail .detail-hero {background: var(--grad-hero); padding: 91px 0 100px;}


.page-hero .product-view,.page-detail .product-view {display: flex; align-items: flex-start;}


.page-hero .gallery,.page-detail .gallery {position: relative;
  display: flex;
  flex-shrink: 0;}

.page-hero .gallery__main,.page-detail .gallery__main {position: relative;
  width: 640px;
  height: 640px;
  padding: 40px;
  background: var(--c-card);
  border-radius: var(--radius-s);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;}

.page-hero .gallery__main img,.page-detail .gallery__main img {max-width: 100%; max-height: 100%; object-fit: contain;}

/* 缩略图列：固定高度上限（与主图等高），组图过多时列表内部滚动；上下箭头居两端 */
.page-hero .gallery__thumbs,.page-detail .gallery__thumbs {margin-left: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-height: 640px;}

.page-hero .gallery__thumbs-list,.page-detail .gallery__thumbs-list {display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;}

.page-hero .gallery__thumbs-list::-webkit-scrollbar,.page-detail .gallery__thumbs-list::-webkit-scrollbar {display: none;}

/* 上下箭头按钮：贴合列表两端，点击逐屏滚动；到顶/到底置灰 */
.page-hero .gallery__thumbs-nav,.page-detail .gallery__thumbs-nav {flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 24px;
  padding: 0;
  color: var(--c-text-2);
  background: rgba(var(--c-primary-rgb), 0.06);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), opacity 0.25s var(--ease);}

.page-hero .gallery__thumbs-nav svg,.page-detail .gallery__thumbs-nav svg {width: 14px; height: 14px;}

.page-hero .gallery__thumbs-nav:hover,.page-detail .gallery__thumbs-nav:hover {color: var(--c-primary); background: rgba(var(--c-primary-rgb), 0.12);}

.page-hero .gallery__thumbs-nav:disabled,.page-detail .gallery__thumbs-nav:disabled {opacity: 0.3; color: var(--c-text-2); background: rgba(var(--c-primary-rgb), 0.04); cursor: default;}

/* 缩略图不足一屏时无需箭头 */
.page-hero .gallery__thumbs.is-static .gallery__thumbs-nav,.page-detail .gallery__thumbs.is-static .gallery__thumbs-nav {display: none;}

/* 商品组图轮播：左右箭头（悬停显示） */
.page-hero .gallery__nav,.page-detail .gallery__nav {position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  padding: 0;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--c-primary);
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);}

.page-hero .gallery:hover .gallery__nav,.page-detail .gallery:hover .gallery__nav {opacity: 1;}

.page-hero .gallery__nav:hover,.page-detail .gallery__nav:hover {background: var(--c-primary); color: #fff;}

.page-hero .gallery__nav--prev,.page-detail .gallery__nav--prev {left: 12px;}

.page-hero .gallery__nav--next,.page-detail .gallery__nav--next {right: 12px;}

.page-hero .gallery__nav svg,.page-detail .gallery__nav svg {width: 18px; height: 18px;}

/* 放大镜：镜片跟随鼠标，右侧面板展示局部放大图 */
.page-hero .gallery__main img,.page-detail .gallery__main img {cursor: zoom-in;}

.page-hero .gallery__lens,.page-detail .gallery__lens {position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: none;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6), 0 4px 14px rgba(0, 0, 0, 0.12);
  pointer-events: none;}

.page-hero .gallery__zoom,.page-detail .gallery__zoom {position: absolute;
  top: 0;
  left: calc(100% + 20px);
  z-index: 20;
  display: none;
  width: 480px;
  height: 480px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-s);
  background-color: #fff;
  background-repeat: no-repeat;
  box-shadow: 0 18px 48px rgba(16, 36, 66, 0.16);
  pointer-events: none;}

@media (max-width: 1024px) {

.page-hero .gallery__zoom,.page-detail .gallery__zoom {display: none !important;}
}

@media (max-width: 1500px) and (min-width: 1025px) {

.page-hero .gallery__zoom,.page-detail .gallery__zoom {width: 400px;
  height: 400px;}
}

@media (hover: none) {

.page-hero .gallery__nav,.page-detail .gallery__nav {display: none;}
}

@media (max-width: 1500px) {

.page-hero .gallery__thumbs,.page-detail .gallery__thumbs {max-height: 520px;}
}

@media (max-width: 1200px) {

.page-hero .gallery__thumbs,.page-detail .gallery__thumbs {max-height: 420px;}
}

@media (max-width: 992px) {

/* 小屏改为横向滑动，触屏无需箭头与滚动条 */
.page-hero .gallery__thumbs,.page-detail .gallery__thumbs {max-height: none;
  align-items: stretch;}

.page-hero .gallery__thumbs-nav,.page-detail .gallery__thumbs-nav {display: none;}

.page-hero .gallery__thumbs-list,.page-detail .gallery__thumbs-list {flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;}

.page-hero .gallery__thumbs-list::-webkit-scrollbar,.page-detail .gallery__thumbs-list::-webkit-scrollbar {display: none;}
}

.page-hero .gallery__thumb,.page-detail .gallery__thumb {width: 98px;
  height: 98px;
  flex: 0 0 auto; /* 禁止被 flex 压缩，保证溢出时滚动而非挤扁 */
  padding: 9px;
  background: var(--c-card);
  border-radius: var(--radius-s);
  border: 1px solid transparent;
  cursor: pointer;
  transition: border-color 0.25s var(--ease);}

.page-hero .gallery__thumb img,.page-detail .gallery__thumb img {width: 100%; height: 100%; object-fit: contain;}

.page-hero .gallery__thumb.active,.page-detail .gallery__thumb.active {border-color: rgba(var(--c-primary-rgb), 0.2);}

.page-hero .gallery__thumb:hover,.page-detail .gallery__thumb:hover {border-color: rgba(var(--c-primary-rgb), 0.45);}


.page-hero .product-info,.page-detail .product-info {flex: 1; min-width: 0; margin-left: 42px; max-width: 800px;}

.page-hero .product-info__brand,.page-detail .product-info__brand {font-size: 16px; line-height: 28px; color: rgba(0, 0, 0, 0.5);}

.page-hero .product-info__name,.page-detail .product-info__name {margin-top: 10px;
  font-size: 40px;
  font-weight: 700;
  line-height: 52px;
  color: var(--c-text);}

.page-hero .product-info__hr,.page-detail .product-info__hr {border: 0; border-top: 1px solid var(--c-line); margin: 20px 0 0;}

.page-hero .product-info__subtitle,.page-detail .product-info__subtitle {margin-top: 29px; font-size: 16px; font-weight: 700; line-height: 28px; color: var(--c-text);}

.page-hero .product-info__summary,.page-detail .product-info__summary {margin-top: 9px;
  font-size: 16px;
  line-height: 28px;
  color: var(--c-body);
  /* 换行与后台「摘要」配置保持一致：按换行符展示，不裁剪行数 */
  white-space: pre-line;
  word-break: break-word;}

/* 摘要下方固定提示语（模板内联样式兜底，此处为同值规则便于后续统一维护） */
.page-hero .product-info__summary-note,.page-detail .product-info__summary-note {margin-top: 36px;
  font-size: 14px;
  line-height: 26px;
  color: var(--c-body);}

.page-hero .product-info__summary + .product-info__hr,.page-detail .product-info__summary + .product-info__hr,.page-detail .product-info__summary-note + .product-info__hr {margin-top: 28px;}

.page-hero .btn-outline,.page-detail .btn-outline {margin-top: 31px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(var(--c-primary-rgb), 0.5);
  border-radius: var(--radius-s);
  color: var(--c-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
  transition: background 0.25s var(--ease);}

.page-hero .btn-outline:hover,.page-detail .btn-outline:hover {background: rgba(var(--c-primary-rgb), 0.06);}

.page-hero .btn-outline svg,.page-detail .btn-outline svg {width: 16px; height: 16px;}

/* 下载说明书按钮下的提示行（无附件或附件下载失败降级时显示） */

.page-hero .manual-tip,.page-detail .manual-tip {margin-top: 10px;
  font-size: 13px;
  line-height: 22px;
  color: var(--c-text-2);}


.page-hero .purchase,.page-detail .purchase {margin-top: 96px;}

.page-hero .purchase__label,.page-detail .purchase__label {font-size: 16px; font-weight: 500; line-height: 28px; color: var(--c-text);}

.page-hero .purchase__shops,.page-detail .purchase__shops {margin-top: 12px; display: flex; gap: 12px;}

/* =========================================================
   详情页 — 产品说明书区
   ========================================================= */

.page-hero .manual,.page-detail .manual {background: #fff; margin-top: 0; padding: 100px 0 90px; border-top: 1px solid var(--c-line); scroll-margin-top: 80px;}

.page-hero .manual__title,.page-detail .manual__title {font-size: 30px; font-weight: 700; line-height: 42px; color: var(--c-text);}


.page-hero .manual-layout,.page-detail .manual-layout {margin-top: 43px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;}

.page-hero .manual-nav,.page-detail .manual-nav {position: sticky; top: 24px;}

.page-hero .manual-nav a,.page-detail .manual-nav a {display: block;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.3px;
  color: var(--c-body);}

.page-hero .manual-nav a:hover,.page-detail .manual-nav a:hover {color: var(--c-primary);}

.page-hero .manual-nav a.active,.page-detail .manual-nav a.active {color: var(--c-primary); font-weight: 700;}


.page-hero .manual-body,.page-detail .manual-body {min-height: 300px;}

.page-hero .manual-body h2,.page-detail .manual-body h2,.page-hero .manual-body h3,.page-detail .manual-body h3 {font-size: 22px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: 0.2px;
  color: var(--c-text);
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--c-line);
  scroll-margin-top: 32px;}

.page-hero .manual-body h2:first-child,.page-detail .manual-body h2:first-child,.page-hero .manual-body h3:first-child,.page-detail .manual-body h3:first-child,.page-hero .manual-body > :first-child,.page-detail .manual-body > :first-child {border-top: 0; margin-top: 0; padding-top: 16px;}

.page-hero .manual-body p,.page-detail .manual-body p {margin: 16px 0 24px; font-size: 16px; line-height: 28px; letter-spacing: 0.5px; color: var(--c-body);}

.page-hero .manual-body p:last-child,.page-detail .manual-body p:last-child {margin-bottom: 0;}

.page-hero .manual-body img,.page-detail .manual-body img {max-width: 100%; height: auto; margin: 8px auto;}

.page-hero .manual-body ul,.page-detail .manual-body ul,.page-hero .manual-body ol,.page-detail .manual-body ol {margin: 0 0 24px 1.5em;}

.page-hero .manual-body ul,.page-detail .manual-body ul {list-style: disc;}

.page-hero .manual-body ol,.page-detail .manual-body ol {list-style: decimal;}

.page-hero .manual-body li,.page-detail .manual-body li {font-size: 16px; line-height: 28px; color: var(--c-body); margin: 4px 0;}

.page-hero .manual-body table,.page-detail .manual-body table {width: 100%; border-collapse: collapse; margin: 16px 0 24px;}

.page-hero .manual-body th,.page-detail .manual-body th,.page-hero .manual-body td,.page-detail .manual-body td {border: 1px solid var(--c-line); padding: 8px 12px; font-size: 15px; color: var(--c-body);}

.page-hero .manual-body strong,.page-detail .manual-body strong,.page-hero .manual-body b,.page-detail .manual-body b {color: var(--c-text);}

/* =========================================================
   响应式 — 平台自适应
   ========================================================= */

/* ≤1680：容器内边距收紧 */

@media (max-width: 1680px) {
  
.page-hero .container,.page-detail .container {width: min(1600px, 100% - 80px);}
}

/* ≤1440：5列→4列，详情区缩放 */

@media (max-width: 1500px) {
  
.page-hero .product-grid,.page-detail .product-grid {grid-template-columns: repeat(4, 1fr);}
  
.page-hero .gallery__main,.page-detail .gallery__main {width: 520px; height: 520px; padding: 30px;}
  
.page-hero .gallery__thumb,.page-detail .gallery__thumb {width: 84px; height: 84px; padding: 7px;}
  
.page-hero .product-info,.page-detail .product-info {margin-left: 32px;}
  
.page-hero .purchase,.page-detail .purchase {margin-top: 64px;}
}

/* ≤1200：4列→3列 */

@media (max-width: 1200px) {
  
.page-hero .product-grid,.page-detail .product-grid {grid-template-columns: repeat(3, 1fr);}
  
.page-hero .site-nav ul,.page-detail .site-nav ul {gap: 34px;}
  
.page-hero .detail-hero,.page-detail .detail-hero {padding: 60px 0 72px;}
  
.page-hero .gallery__main,.page-detail .gallery__main {width: 420px; height: 420px; padding: 24px;}
  
.page-hero .product-info__name,.page-detail .product-info__name {font-size: 32px; line-height: 44px;}
  
.page-hero .filter-bar,.page-detail .filter-bar {margin-top: 64px;}
}

/* ≤992：详情上下堆叠，说明单栏 */

@media (max-width: 992px) {
  
.page-hero .container,.page-detail .container {width: min(1600px, 100% - 48px);}
  
.page-hero .product-view,.page-detail .product-view {display: block;}
  
.page-hero .gallery,.page-detail .gallery {display: grid; grid-template-columns: 1fr;}
  
.page-hero .gallery__main,.page-detail .gallery__main {width: 100%; height: auto; aspect-ratio: 1 / 1; padding: 8%;}
  
.page-hero .gallery__thumbs,.page-detail .gallery__thumbs {margin: 12px 0 0; align-items: stretch;}
  
.page-hero .gallery__thumb,.page-detail .gallery__thumb {width: 76px; height: 76px;}
  
.page-hero .product-info,.page-detail .product-info {margin: 28px 0 0; max-width: none;}
  
.page-hero .purchase,.page-detail .purchase {margin-top: 40px;}
  
.page-hero .manual,.page-detail .manual {margin-top: 0; padding: 56px 0 48px;}
  
.page-hero .manual__title,.page-detail .manual__title {font-size: 24px; line-height: 34px;}
  
.page-hero .manual-layout,.page-detail .manual-layout {display: block; margin-top: 8px;}
  
.page-hero .manual-nav,.page-detail .manual-nav {position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    background: #fff;
    padding: 12px 0 4px;
    margin: 0 -8px;
    scrollbar-width: none;}
  
.page-hero .manual-nav::-webkit-scrollbar,.page-detail .manual-nav::-webkit-scrollbar {display: none;}
  
.page-hero .manual-nav a,.page-detail .manual-nav a {flex-shrink: 0;
    padding: 6px 14px;
    background: #f3f4f6;
    border-radius: 999px;
    font-size: 13px;}
  
.page-hero .manual-body h2,.page-detail .manual-body h2,.page-hero .manual-body h3,.page-detail .manual-body h3 {font-size: 19px; line-height: 30px; padding-top: 20px; margin-top: 20px;}
  
.page-hero .manual-body p,.page-detail .manual-body p {font-size: 15px; line-height: 26px;}
}


/* ≤768：Banner 压缩、网格 2 列 */

@media (max-width: 768px) {
  
  
.page-hero .hero-banner,.page-detail .hero-banner {height: clamp(260px, 46vw, 380px);}
  
.page-hero .filter-bar,.page-detail .filter-bar {margin-top: 40px; gap: 20px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;}
  
.page-hero .filter-bar::-webkit-scrollbar,.page-detail .filter-bar::-webkit-scrollbar {display: none;}
  
.page-hero .filter-tabs,.page-detail .filter-tabs {gap: 20px; flex-wrap: nowrap;}
  
.page-hero .filter-tab,.page-detail .filter-tab {font-size: 15px;}
  
.page-hero .filter-tab.active,.page-detail .filter-tab.active {padding: 5px 18px;}
  
.page-hero .filter-count,.page-detail .filter-count {font-size: 14px;}
  
.page-hero .product-grid,.page-detail .product-grid {grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px;}
  
.page-hero .list-wrap,.page-detail .list-wrap {padding-bottom: 48px;}
  
.page-hero .product-card,.page-detail .product-card {padding: 12px; border-radius: 6px;}
  
.page-hero .product-card__name,.page-detail .product-card__name {font-size: 14px; line-height: 22px; letter-spacing: 0;}
  
.page-hero .detail-hero,.page-detail .detail-hero {padding: 32px 0 48px;}
  
.page-hero .product-info__name,.page-detail .product-info__name {font-size: 26px; line-height: 38px;}
  
.page-hero .product-info__brand,.page-detail .product-info__brand {font-size: 14px;}
  
.page-hero .product-info__summary + .product-info__hr,.page-detail .product-info__summary + .product-info__hr,.page-detail .product-info__summary-note + .product-info__hr {margin-top: 20px;}
  
.page-hero .btn-outline,.page-detail .btn-outline {height: 42px; padding: 0 16px; font-size: 15px;}
  
.page-hero .btn-outline span,.page-detail .btn-outline span {font-size: 15px;}
}

/* ≤480：小屏微调 */

@media (max-width: 480px) {
  
.page-hero .container,.page-detail .container {width: min(1600px, 100% - 32px);}
  
.page-hero .hero-banner__title,.page-detail .hero-banner__title {letter-spacing: 2px;}
  
.page-hero .product-grid,.page-detail .product-grid {gap: 10px;}
  
.page-hero .product-card,.page-detail .product-card {padding: 10px;}
  
.page-hero .product-card__name,.page-detail .product-card__name {font-size: 13px; line-height: 20px;}
  
.page-hero .gallery__thumb,.page-detail .gallery__thumb {width: 64px; height: 64px; padding: 5px;}
  
.page-hero .purchase__label,.page-detail .purchase__label,.page-hero .product-info__subtitle,.page-detail .product-info__subtitle {font-size: 15px;}
  
.page-hero .footer-copy,.page-detail .footer-copy {font-size: 12px; line-height: 20px;}
  
.page-hero .pager a,.page-detail .pager a,.page-hero .pager span,.page-detail .pager span {min-width: 34px; height: 34px; padding: 0 8px; font-size: 13px;}
}

/* 尊重减弱动态效果偏好 */

@media (prefers-reduced-motion: reduce) {
  
  
}

/* 打印隐藏交互区块 */

@media print {
  
.page-hero .site-header,.page-detail .site-header,.page-hero .nav-drawer,.page-detail .nav-drawer,.page-hero .purchase,.page-detail .purchase,.page-hero .filter-bar,.page-detail .filter-bar,.page-hero .pager,.page-detail .pager,.page-hero .site-footer,.page-detail .site-footer {display: none !important;}
}

/* =========================================================
   明欣动态 — 列表页（Figma 40-7625）
   结构：Banner → 年份下拉 + 分类 Tabs → 3 列卡片 → 圆形分页
   ========================================================= */

/* ---------- 年份下拉 ---------- */

.page-hero .year-select,.page-detail .year-select {position: relative; flex-shrink: 0;}

.page-hero .year-select__btn,.page-detail .year-select__btn {display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 24px;
  background: var(--c-card);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-text);
  white-space: nowrap;}

.page-hero .year-select__btn svg,.page-detail .year-select__btn svg {width: 14px; height: 14px; flex-shrink: 0; transition: transform 0.25s var(--ease);}

.page-hero .year-select.open .year-select__btn svg,.page-detail .year-select.open .year-select__btn svg {transform: rotate(180deg);}

.page-hero .year-select__menu,.page-detail .year-select__menu {position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  min-width: 100%;
  max-height: 264px;
  overflow-y: auto;
  padding: 6px;
  margin: 0;
  list-style: none;
  background: var(--c-card);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(17, 24, 39, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;}

.page-hero .year-select.open .year-select__menu,.page-detail .year-select.open .year-select__menu {opacity: 1; visibility: visible; transform: none;}

.page-hero .year-select__menu button,.page-detail .year-select__menu button {display: block;
  width: 100%;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 22px;
  color: var(--c-body);
  text-align: left;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);}

.page-hero .year-select__menu button:hover,.page-detail .year-select__menu button:hover {background: #f3f6fc; color: var(--c-primary);}

.page-hero .year-select__menu button.active,.page-detail .year-select__menu button.active {color: var(--c-primary); font-weight: 500;}

/* ---------- 筛选行（年份 + 文字式分类 Tabs） ---------- */

.page-hero .news-filter,.page-detail .news-filter {margin-top: 100px;
  display: flex;
  align-items: center;
  gap: 44px;}

.page-hero .news-filter .filter-tabs,.page-detail .news-filter .filter-tabs {gap: 36px;}

.page-hero .news-filter .filter-tab,.page-detail .news-filter .filter-tab {padding: 7px 0;
  font-weight: 400;
  line-height: 19px;}

.page-hero .news-filter .filter-tab.active,.page-detail .news-filter .filter-tab.active {padding: 7px 0;
  background: transparent;
  color: var(--c-primary);
  font-weight: 500;}

/* ---------- 动态卡片网格 ---------- */

.page-hero .news-grid,.page-detail .news-grid {margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;}

.page-hero .news-card,.page-detail .news-card {display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--c-card);
  border-radius: var(--radius-m);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);}

.page-hero .news-card:hover,.page-detail .news-card:hover {box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);}

.page-hero .news-card__badge,.page-detail .news-card__badge {align-self: flex-start;
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 8px;
  border: 1px solid rgba(var(--c-primary-rgb), 0.2);
  border-radius: 2px;
  font-size: 13px;
  letter-spacing: 0.55px;
  color: var(--c-primary);
  white-space: nowrap;}

.page-hero .news-card__media,.page-detail .news-card__media {margin-top: 10px;
  aspect-ratio: 457 / 247;
  border-radius: var(--radius-s);
  overflow: hidden;}

.page-hero .news-card__media img,.page-detail .news-card__media img {width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);}

.page-hero .news-card:hover .news-card__media img,.page-detail .news-card:hover .news-card__media img {transform: scale(1.04);}

.page-hero .news-card__title,.page-detail .news-card__title {margin-top: 24px;
  font-size: 16px;
  font-weight: 500;
  font-family: SF, PingFangSC-Regular, "Microsoft YaHei", 微软雅黑, "Microsoft JhengHei", 华文细黑, STHeiti, MingLiu;
  line-height: 32px;
  letter-spacing: 1px;
  color: var(--c-text);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  transition: color 0.25s var(--ease);}

.page-hero .news-card:hover .news-card__title,.page-detail .news-card:hover .news-card__title {color: var(--c-primary);}

.page-hero .news-card__desc,.page-detail .news-card__desc {margin-top: 12px;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 1px;
  color: var(--c-body);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;}

.page-hero .news-card__foot,.page-detail .news-card__foot {margin-top: auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;}

.page-hero .news-card__date,.page-detail .news-card__date {font-family: "DM Sans", var(--font-family);
  font-size: 12px;
  line-height: 16px;
  color: var(--c-text-2);}

.page-hero .news-card__go,.page-detail .news-card__go {flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f4;
  color: #2c2c2c;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);}

.page-hero .news-card__go svg,.page-detail .news-card__go svg {width: 11px; height: 11px;}

.page-hero .news-card:hover .news-card__go,.page-detail .news-card:hover .news-card__go {background: var(--c-primary); color: #fff;}

/* 列表为空 */

.page-hero .news-empty,.page-detail .news-empty {padding: 120px 0 60px;
  text-align: center;
  font-size: 16px;
  color: var(--c-text-2);
  display: none;}

.page-hero .news-empty.is-visible,.page-detail .news-empty.is-visible {display: block;}

/* ---------- 圆形分页 ---------- */

.page-hero .pager--news,.page-detail .pager--news {margin-top: 70px; gap: 12px;}

.page-hero .pager--news a,.page-detail .pager--news a,.page-hero .pager--news span,.page-detail .pager--news span {min-width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 14px;}

.page-hero .pager--news a.pager-arrow,.page-detail .pager--news a.pager-arrow,.page-hero .pager--news span.pager-arrow,.page-detail .pager--news span.pager-arrow {background: var(--c-card);}

.page-hero .pager--news a:hover,.page-detail .pager--news a:hover {background: var(--c-card); border-color: rgba(var(--c-primary-rgb), 0.4); color: var(--c-primary);}

.page-hero .pager--news .pager__cur,.page-detail .pager--news .pager__cur {background: var(--c-card);
  border-color: var(--c-primary);
  color: var(--c-primary);
  font-weight: 500;}

.page-hero .pager--news svg,.page-detail .pager--news svg {width: 12px; height: 12px;}

/* =========================================================
   明欣动态 — 详情页（Figma 40-8325）
   结构：返回按钮 + 居中文章白卡（标题/元信息/正文/END/上下篇）
   ========================================================= */

.page-hero .news-detail,.page-detail .news-detail {padding: 160px 0 100px;}

.page-hero .news-detail__wrap,.page-detail .news-detail__wrap {position: relative;}


.page-hero .article-back,.page-detail .article-back {position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  height: 64px;
  padding: 0 32px;
  background: var(--c-primary);
  border-radius: 32px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);}

.page-hero .article-back:hover,.page-detail .article-back:hover {background: #123d80; transform: translateX(-3px);}

.page-hero .article-back svg,.page-detail .article-back svg {width: 18px; height: 18px; flex-shrink: 0;}


.page-hero .article-card,.page-detail .article-card {width: 1200px;
  max-width: 100%;
  margin-inline: auto;
  padding: 100px 98px;
  background: var(--c-card);
  border-radius: var(--radius-m);}

.page-hero .article-title,.page-detail .article-title {font-size: 52px;
  font-weight: 700;
  line-height: 68px;
  letter-spacing: 1px;
  color: var(--c-text);
  text-align: center;}

.page-hero .article-meta,.page-detail .article-meta {margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 28px;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 1px;
  color: var(--c-body);}

.page-hero .article-body,.page-detail .article-body {margin-top: 64px;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 1px;
  color: var(--c-body);
  word-break: break-word;}

.page-hero .article-body p,.page-detail .article-body p {margin: 0 0 20px;}

.page-hero .article-body p:last-child,.page-detail .article-body p:last-child {margin-bottom: 0;}

.page-hero .article-body h2,.page-detail .article-body h2,.page-hero .article-body h3,.page-detail .article-body h3 {margin: 32px 0 20px;
  font-size: 22px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 1px;
  color: var(--c-text);}

.page-hero .article-body h2:first-child,.page-detail .article-body h2:first-child,.page-hero .article-body h3:first-child,.page-detail .article-body h3:first-child {margin-top: 0;}

.page-hero .article-body img,.page-detail .article-body img {width: 100%;
  height: auto;
  margin: 24px 0;
  border-radius: var(--radius-s);}

.page-hero .article-body ul,.page-detail .article-body ul,.page-hero .article-body ol,.page-detail .article-body ol {margin: 0 0 20px 1.5em;}

.page-hero .article-body ul,.page-detail .article-body ul {list-style: disc;}

.page-hero .article-body ol,.page-detail .article-body ol {list-style: decimal;}

.page-hero .article-body li,.page-detail .article-body li {margin: 6px 0;}

.page-hero .article-body strong,.page-detail .article-body strong,.page-hero .article-body b,.page-detail .article-body b {color: var(--c-text);}

.page-hero .article-body blockquote,.page-detail .article-body blockquote {margin: 24px 0;
  padding: 12px 20px;
  border-left: 3px solid rgba(var(--c-primary-rgb), 0.4);
  background: #f6f9ff;
  color: var(--c-body);}

.page-hero .article-body table,.page-detail .article-body table {width: 100%; border-collapse: collapse; margin: 20px 0;}

.page-hero .article-body th,.page-detail .article-body th,.page-hero .article-body td,.page-detail .article-body td {border: 1px solid var(--c-line); padding: 8px 12px;}

.page-hero .article-body video,.page-detail .article-body video {width: 100%; border-radius: var(--radius-s);}

.page-hero .article-body a,.page-detail .article-body a {color: var(--c-primary);}

.page-hero .article-body a:hover,.page-detail .article-body a:hover {text-decoration: underline;}

/* END 分隔 */

.page-hero .article-end,.page-detail .article-end {margin-top: 100px;
  display: flex;
  align-items: center;
  gap: 20px;}

.page-hero .article-end i,.page-detail .article-end i {flex: 1; height: 1px; background: var(--c-line);}

.page-hero .article-end span,.page-detail .article-end span {flex-shrink: 0;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--c-text-2);}

/* 上一篇 / 下一篇：纯文字圆角按钮 */

.page-hero .article-switch,.page-detail .article-switch {margin-top: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;}

.page-hero .switch-btn,.page-detail .switch-btn {display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 46px;
  padding: 0 36px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-card);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 20px;
  color: var(--c-text);
  white-space: nowrap;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);}

.page-hero .article-switch .switch-btn--prev:hover,.page-detail .article-switch .switch-btn--prev:hover,.page-hero .article-switch .switch-btn--prev:focus-visible,.page-detail .article-switch .switch-btn--prev:focus-visible {transform: translateX(-3px);}

.page-hero .article-switch .switch-btn--next:hover,.page-detail .article-switch .switch-btn--next:hover,.page-hero .article-switch .switch-btn--next:focus-visible,.page-detail .article-switch .switch-btn--next:focus-visible {transform: translateX(3px);}

.page-hero .switch-btn:hover,.page-detail .switch-btn:hover,.page-hero .switch-btn:focus-visible,.page-detail .switch-btn:focus-visible {background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;}

.page-hero .switch-btn.is-disabled,.page-detail .switch-btn.is-disabled {opacity: 0.4; pointer-events: none;}

/* =========================================================
   明欣动态 — 响应式
   ========================================================= */

@media (max-width: 1500px) {
  
.page-hero .article-back,.page-detail .article-back {position: static; margin-bottom: 24px;}
  
.page-hero .news-detail,.page-detail .news-detail {padding-top: 120px;}
}


@media (max-width: 1200px) {
  
.page-hero .news-filter,.page-detail .news-filter {margin-top: 64px;}
  
.page-hero .news-grid,.page-detail .news-grid {gap: 24px;}
  
.page-hero .article-card,.page-detail .article-card {padding: 64px 48px;}
  
.page-hero .article-title,.page-detail .article-title {font-size: 40px; line-height: 54px;}
  
.page-hero .news-detail,.page-detail .news-detail {padding-bottom: 72px;}
}


@media (max-width: 992px) {
  
.page-hero .news-filter,.page-detail .news-filter {gap: 24px;}
  
.page-hero .news-grid,.page-detail .news-grid {grid-template-columns: repeat(2, 1fr); gap: 20px;}
  
.page-hero .news-card,.page-detail .news-card {padding: 18px;}
  
.page-hero .news-card__title,.page-detail .news-card__title {font-size: 18px; line-height: 27px; letter-spacing: 0.3px;}
  
.page-hero .news-card__desc,.page-detail .news-card__desc {margin-top: 8px; font-size: 13px; line-height: 21px;}
  
.page-hero .news-card__foot,.page-detail .news-card__foot {padding-top: 16px;}
  
.page-hero .article-card,.page-detail .article-card {padding: 48px 28px;}
  
.page-hero .article-title,.page-detail .article-title {font-size: 30px; line-height: 42px;}
  
.page-hero .article-meta,.page-detail .article-meta {margin-top: 20px; font-size: 14px;}
  
.page-hero .article-body,.page-detail .article-body {margin-top: 40px; font-size: 15px; line-height: 27px;}
  
.page-hero .article-end,.page-detail .article-end,.page-hero .article-switch,.page-detail .article-switch {margin-top: 56px;}
  
.page-hero .news-detail,.page-detail .news-detail {padding-top: 104px;}
}


@media (max-width: 768px) {
  
.page-hero .news-filter,.page-detail .news-filter {margin-top: 40px;
    gap: 20px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;}
  
.page-hero .news-filter::-webkit-scrollbar,.page-detail .news-filter::-webkit-scrollbar {display: none;}
  
.page-hero .news-filter .filter-tabs,.page-detail .news-filter .filter-tabs {gap: 20px; flex-wrap: nowrap;}
  
.page-hero .news-filter .filter-tab,.page-detail .news-filter .filter-tab {font-size: 15px;}
  
.page-hero .year-select__btn,.page-detail .year-select__btn {height: 36px; padding: 0 16px; font-size: 14px;}
  
.page-hero .news-grid,.page-detail .news-grid {grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px;}
  
.page-hero .news-card,.page-detail .news-card {padding: 12px; border-radius: 6px;}
  
.page-hero .news-card__badge,.page-detail .news-card__badge {height: 26px; font-size: 11px;}
  
.page-hero .news-card__title,.page-detail .news-card__title {margin-top: 14px; font-size: 15px; line-height: 22px;}
  
.page-hero .news-card__desc,.page-detail .news-card__desc {display: none;}
  
.page-hero .news-card__go,.page-detail .news-card__go {width: 26px; height: 26px;}
  
.page-hero .news-card__go svg,.page-detail .news-card__go svg {width: 10px; height: 10px;}
  
.page-hero .pager--news,.page-detail .pager--news {margin-top: 40px;}
  
.page-hero .pager--news a,.page-detail .pager--news a,.page-hero .pager--news span,.page-detail .pager--news span {min-width: 38px; height: 38px; font-size: 13px;}
  
.page-hero .news-detail,.page-detail .news-detail {padding: 88px 0 56px;}
  
.page-hero .article-card,.page-detail .article-card {padding: 32px 20px; border-radius: 6px;}
  
.page-hero .article-title,.page-detail .article-title {font-size: 24px; line-height: 34px;}
  
.page-hero .article-meta,.page-detail .article-meta {gap: 2px 16px; font-size: 13px; line-height: 24px;}
  
.page-hero .article-body,.page-detail .article-body {margin-top: 28px; font-size: 15px; line-height: 26px;}
  
.page-hero .article-body h2,.page-detail .article-body h2,.page-hero .article-body h3,.page-detail .article-body h3 {margin: 24px 0 14px; font-size: 18px; line-height: 28px;}
  
.page-hero .article-back,.page-detail .article-back {height: 52px; padding: 0 24px; gap: 10px; font-size: 15px; border-radius: 26px;}
  
.page-hero .switch-btn,.page-detail .switch-btn {min-width: 108px; height: 40px; padding: 0 28px; font-size: 13px; letter-spacing: 1px;}
}


@media (max-width: 480px) {
  
.page-hero .news-grid,.page-detail .news-grid {grid-template-columns: 1fr;}
  
.page-hero .news-card__desc,.page-detail .news-card__desc {display: -webkit-box;}
  
.page-hero .article-card,.page-detail .article-card {padding: 28px 16px;}
  
.page-hero .article-title,.page-detail .article-title {font-size: 22px; line-height: 32px;}
  
.page-hero .article-switch,.page-detail .article-switch {gap: 12px;}
}


/* =========================================================
   新版公共组件（自 assets/styles.css 移植：顶部导航 / 页脚 / 内页页头）
   设计令牌使用独立命名（--color-*），与旧令牌（--c-*）互不干扰
   ========================================================= */
/* ---------- 设计令牌 ---------- */



.page-hero .icon,.page-detail .icon {width: 1em;
  height: 1em;
  flex: none;}

/* ==========================================================
   顶部导航
   ========================================================== */

.page-hero .site-header,.page-detail .site-header {position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s, box-shadow 0.3s;}


.page-hero .site-header.is-scrolled,.page-detail .site-header.is-scrolled {background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 var(--color-border);}


.page-hero .header-inner,.page-detail .header-inner {max-width: 1920px;
  height: 100%;
  margin-inline: auto;
  padding-inline: clamp(16px, 8.33vw, 160px);
  display: flex;
  align-items: center;
  gap: 24px;}


.page-hero .brand,.page-detail .brand {display: flex;
  align-items: center;
  gap: 22px;
  flex: none;}


.page-hero .brand-logo,.page-detail .brand-logo {height: 34px;
  width: auto;}


.page-hero .brand-tagline,.page-detail .brand-tagline {height: 21px;
  width: auto;}


.page-hero .main-nav,.page-detail .main-nav {margin-inline: auto;}


.page-hero .nav-list,.page-detail .nav-list {display: flex;
  align-items: center;
  gap: clamp(20px, 2.8vw, 54px);}


.page-hero .nav-link,.page-detail .nav-link {font-size: 14px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 24px;
  transition: color 0.2s;}


.page-hero .nav-link:hover,.page-detail .nav-link:hover,.page-hero .nav-link.is-active,.page-detail .nav-link.is-active {color: var(--color-primary);
  font-weight: 700;}


.page-hero .btn-store,.page-detail .btn-store {flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text);
  background: transparent;
  transition: border-color 0.2s, color 0.2s;}


.page-hero .btn-store:hover,.page-detail .btn-store:hover {border-color: var(--color-primary);
  color: var(--color-primary);}


.page-hero .btn-store .icon,.page-detail .btn-store .icon {font-size: 16px;}

/* 汉堡按钮（移动端） */

.page-hero .nav-toggle,.page-detail .nav-toggle {display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;}


.page-hero .nav-toggle span,.page-detail .nav-toggle span {display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;}


.page-hero .nav-toggle.is-open span:nth-child(1),.page-detail .nav-toggle.is-open span:nth-child(1) {transform: translateY(7px) rotate(45deg);}


.page-hero .nav-toggle.is-open span:nth-child(2),.page-detail .nav-toggle.is-open span:nth-child(2) {opacity: 0;}


.page-hero .nav-toggle.is-open span:nth-child(3),.page-detail .nav-toggle.is-open span:nth-child(3) {transform: translateY(-7px) rotate(-45deg);}


/* 导航下拉（联系我们：商务合作 / 人才招聘） */

.page-hero .nav-item-dropdown,.page-detail .nav-item-dropdown {position: relative;}


.page-hero .nav-dropdown,.page-detail .nav-dropdown {position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 128px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #ffffff;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(22, 73, 154, 0.16);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 30;}


.page-hero .nav-item-dropdown:hover .nav-dropdown,.page-detail .nav-item-dropdown:hover .nav-dropdown,.page-hero .nav-item-dropdown:focus-within .nav-dropdown,.page-detail .nav-item-dropdown:focus-within .nav-dropdown {opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);}


.page-hero .nav-dropdown a,.page-detail .nav-dropdown a {display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--color-text-secondary);
  text-align: center;
  white-space: nowrap;}


.page-hero .nav-dropdown a:hover,.page-detail .nav-dropdown a:hover,.page-hero .nav-dropdown a.is-active,.page-detail .nav-dropdown a.is-active {color: var(--color-primary);
  background: var(--color-bg-alt);}

/* ==========================================================
   页脚
   ========================================================== */

.page-hero .site-footer,.page-detail .site-footer {background: var(--color-bg-footer);
  color: var(--color-bg);
  padding: clamp(36px, 3.2vw, 60px) 0 0;}


.page-hero .footer-top,.page-detail .footer-top {display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 4vw, 80px);
  padding-bottom: clamp(28px, 2.4vw, 44px);}


.page-hero .footer-logos,.page-detail .footer-logos {display: flex;
  align-items: center;
  gap: 31px;
  opacity: 0.9;}

/* 页脚 LOGO：独立页脚资源图（1970x800 横版），页脚为纯黑底，统一去色成黑白；
   按视口宽度缩放，高度按图片比例自适应不变形 */

.page-hero .footer-logos .footer-logo--mono,.page-detail .footer-logos .footer-logo--mono {width: clamp(240px, 20vw, 320px);
  height: clamp(34px, 2.9vw, 46px);
  max-width: 100%;
  object-fit: cover;
  object-position: center 54%;
  filter: grayscale(1);}


.page-hero .footer-contact,.page-detail .footer-contact {margin-top: 24px;
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  color: var(--color-bg);}


.page-hero .footer-contact a:hover,.page-detail .footer-contact a:hover {color: var(--color-primary);
  opacity: 0.9;}


.page-hero .social-list,.page-detail .social-list {display: flex;
  gap: 8px;
  margin-top: 24px;}


.page-hero .social-list a,.page-detail .social-list a {display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  color: var(--color-bg);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.25s, color 0.25s, transform 0.25s var(--ease-out);}


.page-hero .social-list a:hover,.page-detail .social-list a:hover {background: var(--color-primary);
  transform: translateY(-2px);}


.page-hero .social-list svg,.page-detail .social-list svg {width: 18px;
  height: 18px;}

/* 页脚导航：右侧内边距把整块往左收，避免紧贴容器右边缘；
   min-width 固定导航列宽度基准，子栏目展开为绝对定位，不会撑开或推动一级栏目 */

.page-hero .footer-nav,.page-detail .footer-nav {padding-right: clamp(0px, 7vw, 140px);
  min-width: 340px;}


.page-hero .footer-nav__list,.page-detail .footer-nav__list {display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;}


.page-hero .footer-nav a,.page-detail .footer-nav a {font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: var(--color-bg);
  transition: color 0.2s;}


.page-hero .footer-nav a:hover,.page-detail .footer-nav a:hover {color: var(--color-primary);
  opacity: 0.9;}

/* 链接类栏目（联系我们）：栏目本身无独立页面，子栏目默认收起，鼠标移入时在同一行展开 */

.page-hero .footer-nav__group,.page-detail .footer-nav__group {display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 16px;}


.page-hero .footer-nav__title,.page-detail .footer-nav__title {font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: var(--color-bg);}


.page-hero .footer-nav__sub,.page-detail .footer-nav__sub {display: flex;
  flex-wrap: nowrap;
  gap: 8px 16px;
  white-space: nowrap;}


.page-hero .footer-nav__sub a,.page-detail .footer-nav__sub a {font-size: 17px;
  font-weight: 500;
  line-height: 28px;
  color: var(--color-bg);}

/* 有鼠标指针的设备：子栏目绝对定位在「联系我们」右侧，绝对定位不参与布局，
   展开/收起时一级栏目位置完全不动；触屏设备不支持 hover，子栏目直接常显 */

@media (hover: hover) and (pointer: fine) {
  
.page-hero .footer-nav__group,.page-detail .footer-nav__group {position: relative;}

  /* 透明桥接区：指针从父栏目横向移到子栏目时 hover 不中断；位于子栏目图层下方，不影响子项点击 */
  
.page-hero .footer-nav__group::before,.page-detail .footer-nav__group::before {content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% + 220px);
    height: 100%;}

  
.page-hero .footer-nav__sub,.page-detail .footer-nav__sub {position: absolute;
    left: 100%;
    top: 0;
    padding-left: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    transition: opacity 0.22s ease-out, transform 0.28s var(--ease-out), visibility 0.28s;}

  
.page-hero .footer-nav__group:hover .footer-nav__sub,.page-detail .footer-nav__group:hover .footer-nav__sub,.page-hero .footer-nav__group:focus-within .footer-nav__sub,.page-detail .footer-nav__group:focus-within .footer-nav__sub,.page-hero .footer-nav__sub:hover,.page-detail .footer-nav__sub:hover {opacity: 1;
    visibility: visible;
    transform: none;}
}


.page-hero .footer-bottom,.page-detail .footer-bottom {display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.9);}


.page-hero .footer-legal p + p,.page-detail .footer-legal p + p {margin-top: 4px;}


.page-hero .police,.page-detail .police {display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 16px;}


.page-hero .police svg,.page-detail .police svg {width: 15px;
  height: 17px;}


.page-hero .police:hover,.page-detail .police:hover {color: var(--color-primary);
  opacity: 0.9;}


.page-hero .footer-designer,.page-detail .footer-designer {flex: none;}


/* ==========================================================
   内页通用：面包屑 + 页头
   ========================================================== */

.page-hero .page-head,.page-detail .page-head {padding: clamp(28px, 3.2vw, 56px) 0 clamp(16px, 1.6vw, 28px);
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);}


.page-hero .breadcrumb,.page-detail .breadcrumb {display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);}


.page-hero .breadcrumb a,.page-detail .breadcrumb a {color: var(--color-text-muted);
  transition: color 0.2s;}


.page-hero .breadcrumb a:hover,.page-detail .breadcrumb a:hover {color: var(--color-primary);}


.page-hero .crumb-sep,.page-detail .crumb-sep {opacity: 0.5;}


.page-hero .crumb-current,.page-detail .crumb-current {color: var(--color-text-secondary);}


.page-hero .page-title,.page-detail .page-title {margin: 12px 0 0;
  font-size: clamp(24px, 2.4vw, 40px);
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--color-primary);}

/* ≤1024px：导航折叠、关于区改单列 */

@media (max-width: 1024px) {
  
.page-hero .header-inner,.page-detail .header-inner {padding-inline: 16px;
    gap: 12px;}

  
.page-hero .brand-tagline,.page-detail .brand-tagline {display: none;}

  
.page-hero .btn-store,.page-detail .btn-store {margin-left: auto;}

  
.page-hero .nav-toggle,.page-detail .nav-toggle {display: flex;}

  
.page-hero .main-nav,.page-detail .main-nav {position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    padding: 8px 16px 16px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease-out), opacity 0.25s, visibility 0.25s;}

  
.page-hero .main-nav.is-open,.page-detail .main-nav.is-open {transform: none;
    opacity: 1;
    visibility: visible;}

  
.page-hero .nav-list,.page-detail .nav-list {flex-direction: column;
    align-items: stretch;
    gap: 0;}

  
.page-hero .nav-link,.page-detail .nav-link {display: block;
    padding: 12px 4px;
    border-bottom: 1px solid var(--color-border);
    font-size: 15px;}
}

/* 页脚响应式 */

@media (max-width: 1024px) {
  
.page-hero .footer-nav a,.page-detail .footer-nav a {font-size: 18px;}

  
.page-hero .footer-nav__title,.page-detail .footer-nav__title {font-size: 18px;}

  
.page-hero .footer-nav__sub a,.page-detail .footer-nav__sub a {font-size: 16px;}
}


@media (max-width: 768px) {
  
.page-hero .footer-top,.page-detail .footer-top {grid-template-columns: 1fr;}

  
.page-hero .footer-logos,.page-detail .footer-logos {flex-wrap: wrap;
    gap: 16px;}

  
.page-hero .footer-logos .footer-logo--mono,.page-detail .footer-logos .footer-logo--mono {width: 180px;}

  
.page-hero .footer-nav,.page-detail .footer-nav {padding-right: 0;
    min-width: 0;}

  
.page-hero .footer-nav > .footer-nav__list,.page-detail .footer-nav > .footer-nav__list {flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 24px;}

  
.page-hero .footer-nav a,.page-detail .footer-nav a {font-size: 16px;}

  
.page-hero .footer-nav__title,.page-detail .footer-nav__title {font-size: 16px;}

  
.page-hero .footer-nav__sub a,.page-detail .footer-nav__sub a {font-size: 14px;}

  
.page-hero .footer-contact,.page-detail .footer-contact {margin-top: 32px;}

  
.page-hero .social-list,.page-detail .social-list {margin-top: 32px;}

  
.page-hero .footer-bottom,.page-detail .footer-bottom {flex-direction: column;
    align-items: flex-start;
    font-size: 13px;
    line-height: 22px;}
}

/* ≤480px：极端小屏 */

@media (max-width: 480px) {
  
.page-hero .brand-logo,.page-detail .brand-logo {height: 28px;}
}

/* ==========================================================================
   人才招聘 · 简历投递对话框（点击「职等你来」弹出）
   ========================================================================== */
.apply-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000; /* 高于吸顶导航（100） */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* 显式覆盖 display:flex，保证 hidden 属性生效（UA 样式优先级更低） */
.apply-dialog[hidden] {
  display: none;
}

.apply-dialog__mask {
  position: absolute;
  inset: 0;
  background: rgba(9, 20, 40, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.28s var(--ease-out);
}

.apply-dialog__panel {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 52px 44px 40px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 40px 96px rgba(9, 20, 40, 0.32);
  text-align: center;
  outline: none;
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition: opacity 0.32s var(--ease-out), transform 0.32s var(--ease-out);
}

/* 面板顶部品牌柔光 */
.apply-dialog__panel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 150px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(165deg, rgba(22, 73, 154, 0.10), rgba(22, 73, 154, 0));
  pointer-events: none;
}

.apply-dialog.is-open .apply-dialog__mask {
  opacity: 1;
}

.apply-dialog.is-open .apply-dialog__panel {
  opacity: 1;
  transform: none;
}

.apply-dialog__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.apply-dialog__close svg {
  width: 18px;
  height: 18px;
}

.apply-dialog__close:hover {
  background: #eef2f9;
  color: var(--color-text);
}

.apply-dialog__close:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.apply-dialog__badge {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #2a6ad0, var(--color-primary) 55%, #123a7d);
  box-shadow: 0 14px 30px rgba(22, 73, 154, 0.35);
  color: #ffffff;
}

.apply-dialog__badge svg {
  width: 30px;
  height: 30px;
}

.apply-dialog__title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.apply-dialog__desc {
  max-width: 320px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text-secondary);
}

.apply-dialog__mail {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 16px;
  padding: 13px 16px;
  border: 1px solid rgba(22, 73, 154, 0.22);
  border-radius: 14px;
  background: #f4f8ff;
  text-align: left;
}

.apply-dialog__mail-icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--color-primary);
}

.apply-dialog__email {
  flex: 1;
  min-width: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-primary);
  word-break: break-all;
}

.apply-dialog__copy {
  flex: none;
  padding: 6px 14px;
  border: 1px solid rgba(22, 73, 154, 0.35);
  border-radius: 999px;
  background: #ffffff;
  color: var(--color-primary);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.apply-dialog__copy:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.apply-dialog__copy:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.apply-dialog__send {
  display: block;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.2s var(--ease-out), box-shadow 0.2s;
}

.apply-dialog__send:hover {
  background: #1d5ab8;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(22, 73, 154, 0.28);
}

.apply-dialog__send:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.apply-dialog__tip {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--color-text-tertiary);
}

/* 窄屏：收紧留白与字号 */
@media (max-width: 560px) {
  .apply-dialog {
    padding: 16px;
  }

  .apply-dialog__panel {
    padding: 44px 22px 28px;
    border-radius: 20px;
  }

  .apply-dialog__panel::before {
    border-radius: 20px 20px 0 0;
  }

  .apply-dialog__title {
    font-size: 20px;
  }

  .apply-dialog__mail {
    gap: 8px;
    padding: 12px;
  }

  .apply-dialog__email {
    font-size: 15px;
  }
}

