/* ==========================================================================
   一心心智 · 模板 2 / 3 —— 产品中心 + 行业资讯
   适用页面：/index.php/products、各分类页、产品详情页、
             /index.php/blogs、资讯详情页、解决方案列表与详情
   作用域：body.yx-inner（列表 / 详情专用，不会误伤首页）
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. 设计令牌 —— 共用（三份完全一致，改这里即可全站换色）
   -------------------------------------------------------------------------- */
:root {
  --yx-red: #da251e;          /* Logo 主色 */
  --yx-red-deep: #b21e18;
  --yx-red-soft: #f0b2ae;
  --yx-red-wash: #fdf1f0;

  --yx-ink: #1c1917;
  --yx-ink-soft: #3f3a36;
  --yx-muted: #6f675f;
  --yx-faint: #a3988d;

  --yx-line: #e4dcd2;
  --yx-line-soft: #efe9e1;
  --yx-paper: #f6f3ee;
  --yx-card: #fffcf8;
  --yx-sand: #efe8df;
  --yx-night: #161311;

  --yx-max: 1180px;
  --yx-max-wide: 1320px;
  --yx-gutter: 28px;
  --yx-header: 76px;

  --yx-sans: "Manrope", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --yx-serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;

  --yx-r-sm: 12px;
  --yx-r-md: 18px;
  --yx-r-lg: 24px;
  --yx-r-xl: 32px;

  --yx-ease: 180ms ease;
  --yx-ease-out: 320ms cubic-bezier(.22, .61, .36, 1);

  --yx-shadow-sm: 0 8px 24px rgba(28, 25, 23, .05);
  --yx-shadow-md: 0 18px 44px rgba(28, 25, 23, .09);
  --yx-shadow-lg: 0 30px 80px rgba(28, 25, 23, .14);

  --phone: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M8.2 3.8h2.2c.4 0 .8.3.9.7l.7 2.6c.1.4 0 .8-.3 1.1l-1.3 1.1a12.6 12.6 0 0 0 5.1 5.1l1.1-1.3c.3-.3.7-.4 1.1-.3l2.6.7c.4.1.7.5.7.9v2.2c0 .7-.5 1.3-1.2 1.4A16.2 16.2 0 0 1 4.8 6.9c.1-.7.7-1.2 1.4-1.2z'/></svg>");
  --chev: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m9 6 6 6-6 6'/></svg>");
  --arrow-ne: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M7 17 17 7M9 7h8v8'/></svg>");
}

/* --------------------------------------------------------------------------
   1. 基础重置 —— 共用（三份完全一致）
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--yx-paper);
  color: var(--yx-ink);
  font-family: var(--yx-sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--yx-red); color: #fff; }
:focus-visible { outline: 2px solid var(--yx-red); outline-offset: 3px; }

h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

.container {
  width: min(var(--yx-max), calc(100% - 2 * var(--yx-gutter)));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   2. 页头：Logo + 菜单 + 右侧电话 —— 共用（三份完全一致）
   -------------------------------------------------------------------------- */
body > header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--yx-header);
  padding-inline: max(var(--yx-gutter), calc((100% - var(--yx-max)) / 2));
  background: color-mix(in srgb, var(--yx-paper) 88%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 2px solid var(--yx-red);
  border-bottom: 1px solid var(--yx-line);
  transition: min-height var(--yx-ease), background var(--yx-ease), box-shadow var(--yx-ease);
}

body.is-scrolled > header {
  min-height: 64px;
  background: color-mix(in srgb, var(--yx-paper) 94%, transparent);
  border-bottom-color: var(--yx-line);
  box-shadow: var(--yx-shadow-sm);
}

.yx-logo p { margin: 0; }

.yx-logo img { height: 40px; width: auto; }

.yx-logo p:last-child {
  margin-top: 1px;
  color: var(--yx-muted);
  font-size: 11px;
  letter-spacing: .18em;
  display: flex;
    align-items: center;
}

#yx-site-nav { flex: 1; min-width: 0; }

.yx-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.yx-menu-li { margin: 0; list-style: none; }

.yx-menu-li a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--yx-ink-soft);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--yx-ease);
}

.yx-menu-li a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 2px;
  background: var(--yx-red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--yx-ease-out);
}

.yx-menu-li a:hover { color: var(--yx-ink); }
.yx-menu-li a:hover::after { transform: scaleX(1); }

.yx-menu-li.current a,
.yx-menu-li.active a,
.yx-menu-li a[aria-current="page"] {
  color: var(--yx-ink);
  font-weight: 700;
}

.yx-menu-li.current a::after,
.yx-menu-li.active a::after,
.yx-menu-li a[aria-current="page"]::after { transform: scaleX(1); }

.yx-header-phone { margin: 0; }

.icon-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px 0 12px;
  border: 1px solid var(--yx-line);
  border-radius: 999px;
  background: var(--yx-card);
  color: var(--yx-ink);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color var(--yx-ease), color var(--yx-ease), box-shadow var(--yx-ease);
}

.icon-call::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: none;
  background: var(--yx-red);
  -webkit-mask: var(--phone) center / contain no-repeat;
  mask: var(--phone) center / contain no-repeat;
}

.icon-call:hover {
  border-color: var(--yx-red);
  box-shadow: 0 0 0 3px var(--yx-red-wash);
}

/* 汉堡按钮（窄屏） */
.yx-nav-toggle {
  display: none;
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-r-sm);
  background: var(--yx-card);
  color: transparent;
  font-size: 0;
  cursor: pointer;
}

.yx-nav-toggle::before,
.yx-nav-toggle::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--yx-ink);
  transition: transform var(--yx-ease-out), box-shadow var(--yx-ease-out), top var(--yx-ease-out);
}

.yx-nav-toggle::before { top: 16px; box-shadow: 0 6px 0 var(--yx-ink); }
.yx-nav-toggle::after { top: 28px; }

.yx-nav-toggle[aria-expanded="true"]::before {
  top: 21px;
  box-shadow: none;
  transform: rotate(45deg);
}

.yx-nav-toggle[aria-expanded="true"]::after {
  top: 21px;
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   3. 按钮 —— 共用（三份完全一致）
   -------------------------------------------------------------------------- */
.btn-theme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--yx-ease), color var(--yx-ease), border-color var(--yx-ease),
    box-shadow var(--yx-ease), transform var(--yx-ease);
}

.btn-theme:hover { transform: translateY(-1px); }
.btn-theme:active { transform: translateY(0); }

.btn-theme-primary { background: var(--yx-red); color: #fff; }
.btn-theme-primary:hover {
  background: var(--yx-red-deep);
  box-shadow: 0 10px 24px rgba(218, 37, 30, .26);
}

.btn-theme-outline { background: transparent; border-color: var(--yx-ink); color: var(--yx-ink); }
.btn-theme-outline:hover { background: var(--yx-ink); color: var(--yx-card); }

/* 按钮里的电话图标只保留图形（否则会套用页头胶囊外观） */
.btn-theme .icon-call {
  display: inline-flex;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-size: inherit;
}

.btn-theme .icon-call::before { background: currentColor; }

/* --------------------------------------------------------------------------
   4. 内页版心
   -------------------------------------------------------------------------- */
body.yx-inner > .container { padding-top: 0; }

.yx-page-content {
  width: 100%;
  min-width: 0;
  padding: 84px 0 64px;
}

/* 页面主标题（列表页 / 分类页） */
.yx-page-heading {
  position: relative;
  margin: 24px 0 40px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--yx-line);
}

.yx-page-heading h1 {
  margin: 0;
  font-family: var(--yx-serif);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.yx-page-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 72px;
  height: 3px;
  background: var(--yx-red);
}

/* Joomla 系统提示 */
#system-message-container {}

#system-message-container .alert {
  margin: 0;
  padding: 14px 18px;
  border: 1px solid var(--yx-line);
  border-left: 3px solid var(--yx-red);
  border-radius: var(--yx-r-sm);
  background: var(--yx-card);
  color: var(--yx-ink-soft);
  font-size: 15px;
}

#system-message-container .alert-success { border-left-color: #1f9d55; }
#system-message-container .alert-error { border-left-color: var(--yx-red); }

/* --------------------------------------------------------------------------
   5. 列表页：产品中心 / 行业资讯 / 解决方案（卡片网格）
   -------------------------------------------------------------------------- */
.yxx-prods-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.yxx-prod-item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-r-md);
  background: var(--yx-card);
  transition: border-color var(--yx-ease), box-shadow var(--yx-ease), transform var(--yx-ease);
}

.yxx-prod-item:hover {
  border-color: var(--yx-red-soft);
  box-shadow: var(--yx-shadow-md);
  transform: translateY(-3px);
}

/* 缩略图 */
.yxx-prod-item .item-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 236px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--yx-line-soft);
  border-radius: var(--yx-r-md) var(--yx-r-md) 0 0;
  background: #fff;
  float: none;
}

.yxx-prod-item .item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  transition: transform 420ms ease;
}

.yxx-prod-item:hover .item-image img { transform: scale(1.045); }

/* 资讯类卡片没有产品白底图，改用封面裁切 */
.yxx-prod-item:has(.article-info) .item-image img { object-fit: cover; padding: 0; }

.yxx-prod-item .item-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 20px 22px;
}

.yxx-prod-item .page-header {
  margin: 0;
  padding: 0;
  border: 0;
}

.yxx-prod-item h2 {
  margin: 0 0 10px;
  font-family: var(--yx-serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.01em;
}

.yxx-prod-item h2 a {
  color: var(--yx-ink);
  text-decoration: none;
  transition: color var(--yx-ease);
}

.yxx-prod-item h2 a:hover { color: var(--yx-red); }

/* 让整张卡片可点：标题链接铺满 */
.yxx-prod-item h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--yx-r-md);
}

/* 文章信息（日期 / 点击数） */
.yxx-prod-item .article-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin: 0 0 12px;
  padding: 0;
  color: var(--yx-faint);
  font-size: 12.5px;
}

.yxx-prod-item .article-info > dd {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.yxx-prod-item .article-info .icon-calendar,
.yxx-prod-item .article-info .icon-eye { opacity: .75; }

.yxx-prod-item .article-info .icon-calendar::before,
.yxx-prod-item .article-info .icon-eye::before { font-size: 13px; }

/* 摘要 */
.yxx-prod-item .item-content > p:not(.readmore),
.yxx-prod-item .yx-article-lead {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-height: 3.4em;
  margin: 0 0 14px;
  color: var(--yx-muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* 阅读全文 */
.yxx-prod-item .readmore {
  margin: auto 0 0;
  padding: 0;
}

.yxx-prod-item .readmore .btn,
.yxx-prod-item .readmore .btn-secondary {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--yx-line);
  border-radius: 999px;
  background: var(--yx-paper);
  color: var(--yx-ink);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color var(--yx-ease), background var(--yx-ease), color var(--yx-ease), gap var(--yx-ease);
}

.yxx-prod-item .readmore .btn:hover {
  border-color: var(--yx-red);
  background: var(--yx-red-wash);
  color: var(--yx-red);
  gap: 9px;
}

.yxx-prod-item .readmore .icon-chevron-right {
  display: inline-block;
  width: 12px;
  height: 12px;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--chev) center / contain no-repeat;
  mask: var(--chev) center / contain no-repeat;
}

/* 屏蔽 fontello 图标字体字形，避免与遮罩图形重叠 */
.yxx-prod-item .readmore .icon-chevron-right::before { content: none; }

/* 子分类链接（items-more） */
.items-more { margin-top: 40px; }

.com-content-blog__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.com-content-blog__link { margin: 0; list-style: none; }

.com-content-blog__link a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--yx-line);
  border-radius: 999px;
  background: var(--yx-card);
  color: var(--yx-ink-soft);
  font-size: 14px;
  text-decoration: none;
  transition: border-color var(--yx-ease), color var(--yx-ease), background var(--yx-ease);
}

.com-content-blog__link a:hover {
  border-color: var(--yx-red);
  background: var(--yx-red-wash);
  color: var(--yx-red);
}

/* 子分类区块（产品中心首页底部的"基础标品"等） */
.com-content-category-blog__children {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.com-content-category-blog__child {
  position: relative;
  padding: 24px 26px 24px 32px;
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-r-md);
  background: var(--yx-card);
  transition: border-color var(--yx-ease), box-shadow var(--yx-ease);
}

.com-content-category-blog__child::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 15px;
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: var(--yx-red);
  transform: translateY(-50%);
  transition: height var(--yx-ease);
}

.com-content-category-blog__child:hover {
  border-color: var(--yx-red-soft);
  box-shadow: var(--yx-shadow-sm);
}

.com-content-category-blog__child:hover::before { height: 32px; }

.com-content-category-blog__child h3.item-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--yx-serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.com-content-category-blog__child h3.item-title a {
  color: var(--yx-ink);
  text-decoration: none;
  transition: color var(--yx-ease);
}

.com-content-category-blog__child h3.item-title a:hover { color: var(--yx-red); }

.com-content-category-blog__child .badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--yx-sand);
  color: var(--yx-muted);
  font-family: var(--yx-sans);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.com-content-category-blog__description {
  margin-top: 10px;
  color: var(--yx-muted);
  font-size: 14px;
  line-height: 1.75;
}

.com-content-category-blog__description:empty { display: none; }

/* 分页容器 + "第 X 页 共 Y 页" */
.com-content-category-blog__navigation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 44px;
}

.com-content-category-blog__counter {
  margin: 0;
  color: var(--yx-muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

/* 分页 */
.com-content-category-blog__pagination { margin-top: 48px; }

.pagination__wrapper ul.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination__wrapper .page-item { margin: 0; list-style: none; }

.pagination__wrapper .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--yx-line);
  border-radius: 999px;
  background: var(--yx-card);
  color: var(--yx-ink-soft);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  transition: border-color var(--yx-ease), background var(--yx-ease), color var(--yx-ease);
}

.pagination__wrapper a.page-link:hover {
  border-color: var(--yx-red);
  color: var(--yx-red);
}

.pagination__wrapper .active .page-link,
.pagination__wrapper .page-item.active .page-link {
  border-color: var(--yx-red);
  background: var(--yx-red);
  color: #fff;
  font-weight: 700;
}

.pagination__wrapper .disabled .page-link,
.pagination__wrapper .page-link[aria-disabled="true"] {
  opacity: .45;
  pointer-events: none;
}

/* 首/末页与上/下页用 Joomla 图标字体，站点未加载该字体表 → 改用 SVG 遮罩 */
.pagination__wrapper .page-link [class*="icon-angle-"] {
  display: inline-block;
  width: 13px;
  height: 13px;
  background: currentColor;
  -webkit-mask: var(--ang) center / contain no-repeat;
  mask: var(--ang) center / contain no-repeat;
}

.pagination__wrapper .page-link [class*="icon-angle-"]::before { content: none; }

.pagination__wrapper .icon-angle-left {
  --ang: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M10 3 5 8l5 5'/></svg>");
}

.pagination__wrapper .icon-angle-right {
  --ang: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 3l5 5-5 5'/></svg>");
}

.pagination__wrapper .icon-angle-double-left {
  --ang: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M8 3 3 8l5 5M13.5 3 8.5 8l5 5'/></svg>");
}

.pagination__wrapper .icon-angle-double-right {
  --ang: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M8 3l5 5-5 5M2.5 3l5 5-5 5'/></svg>");
}

/* --------------------------------------------------------------------------
   6. 深层级 · 产品详情页
   -------------------------------------------------------------------------- */
.yx-product-article {
  width: min(var(--yx-max-wide), 100%);
  margin: 0 auto;
  color: var(--yx-ink);
}

/* 面包屑 */
.yx-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 26px;
  color: var(--yx-muted);
  font-size: 13.5px;
}

.yx-breadcrumb a {
  color: var(--yx-ink-soft);
  text-decoration: none;
  transition: color var(--yx-ease);
}

.yx-breadcrumb a:hover { color: var(--yx-red); }

.yx-breadcrumb > span[aria-current="page"] {
  color: var(--yx-ink);
  font-weight: 700;
}

.yx-breadcrumb > span[aria-hidden="true"] { color: var(--yx-faint); }

/* 左侧同类导航 + 右侧主体 */
.yx-product-layout {
  display: grid;
  grid-template-columns: 246px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.yx-product-subnav-slot {
  position: sticky;
  top: calc(var(--yx-header) + 20px);
  padding: 22px 16px;
  border: 1px solid var(--yx-line);
  border-radius: 20px;
  background: var(--yx-card);
  box-shadow: var(--yx-shadow-sm);
  max-height: calc(100vh - var(--yx-header) - 40px);
  overflow: auto;
}

.yx-subnav-kicker {
  margin-bottom: 8px;
  color: var(--yx-red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}

.yx-subnav-title {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--yx-line-soft);
  color: var(--yx-ink);
  font-family: var(--yx-serif);
  font-size: 18px;
  font-weight: 600;
}

.yx-subnav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.yx-subnav-list a {
  display: block;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--yx-ink-soft);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  transition: background var(--yx-ease), color var(--yx-ease);
}

.yx-subnav-list a:hover { background: var(--yx-sand); color: var(--yx-red); }

.yx-subnav-list a.is-active {
  background: var(--yx-red);
  color: #fff;
  font-weight: 700;
}

.yx-product-main { min-width: 0; }

/* 主图 + 文案 */
.yx-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.yx-product-hero-media {
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-r-lg);
  background: #fff;
  padding: 24px;
  box-shadow: var(--yx-shadow-sm);
}

.yx-product-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.yx-panel-kicker {
  color: var(--yx-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
}

.yx-product-hero-copy h1 {
  margin: 12px 0 20px;
  font-family: var(--yx-serif);
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.02em;
  text-wrap: initial;
  line-break: strict;
}

.yx-product-hero-copy > p {
  margin: 0;
  color: var(--yx-muted);
  font-size: 16px;
  line-height: 1.9;
}

.yx-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.yx-product-actions .btn-theme {
  flex: 0 1 auto;
  min-height: 48px;
  padding: 0 24px;
}

.yx-product-divider {
  height: 1px;
  margin: 52px 0;
  background: linear-gradient(90deg, var(--yx-line), transparent);
}

/* 内容面板（适用场景 / 整体介绍 / 参数） */
.yx-product-panel {
  margin: 0 0 28px;
  padding: 44px 44px 46px;
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-r-lg);
  background: var(--yx-card);
}

.yx-product-panel h2 {
  margin: 10px 0 22px;
  font-family: var(--yx-serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.3;
}

.yx-product-panel > p {
  margin: 0;
  color: var(--yx-ink-soft);
  font-size: 16px;
  line-height: 1.9;
}

.yx-product-panel > p + .yx-feature-list { margin-top: 20px; }

/* 场景标签 */
.yx-scene-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.yx-scene-tags span {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--yx-red-soft);
  border-radius: 999px;
  background: var(--yx-red-wash);
  color: var(--yx-red);
  font-size: 14px;
  line-height: 1.4;
  transition: background var(--yx-ease), color var(--yx-ease);
}

.yx-scene-tags span:hover { background: var(--yx-red); color: #fff; }

/* 特性列表 */
.yx-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.yx-feature-list li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-bottom: 1px dashed var(--yx-line);
  color: var(--yx-ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.yx-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 10px;
  height: 2px;
  background: var(--yx-red);
}

/* 参数表 */
.yx-spec-table,
.yx-product-panel table {
  width: 100%;
  margin: 24px 0 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--yx-line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  color: var(--yx-ink-soft);
  font-size: 15px;
}

.yx-spec-table th,
.yx-spec-table td,
.yx-product-panel th,
.yx-product-panel td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--yx-line);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.yx-spec-table thead th,
.yx-product-panel thead th {
  background: var(--yx-sand);
  color: var(--yx-ink);
  font-weight: 700;
}

.yx-spec-table tbody th,
.yx-product-panel tbody th {
  width: 28%;
  background: color-mix(in srgb, var(--yx-sand) 45%, #fff);
  color: var(--yx-ink);
  font-weight: 600;
}

.yx-spec-table tr:last-child th,
.yx-spec-table tr:last-child td,
.yx-product-panel tr:last-child th,
.yx-product-panel tr:last-child td { border-bottom: 0; }

.yx-spec-table tbody tr:hover th,
.yx-spec-table tbody tr:hover td,
.yx-product-panel tbody tr:hover th,
.yx-product-panel tbody tr:hover td { background: var(--yx-red-wash); }

/* --------------------------------------------------------------------------
   7. 深层级 · 资讯详情页
   -------------------------------------------------------------------------- */
.yx-news-article-page {
  width: min(820px, 100%);
  margin: 0 auto;
}

.yx-news-article-page h1 {
  margin: 12px 0 14px;
  font-family: var(--yx-serif);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -.02em;
}

.yx-news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0 0 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--yx-line);
  color: var(--yx-muted);
  font-size: 13.5px;
}

.yx-news-meta::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yx-red);
}

.yx-article-lead {
  margin: 0 0 28px;
  padding: 18px 22px;
  border-left: 3px solid var(--yx-red);
  border-radius: 0 var(--yx-r-sm) var(--yx-r-sm) 0;
  background: var(--yx-red-wash);
  color: var(--yx-ink-soft);
  font-size: 16.5px;
  line-height: 1.85;
}

/* 正文排版 */
.yx-news-article { font-size: 16.5px; }

.yx-news-article p {
  margin: 0 0 18px;
  color: var(--yx-ink-soft);
  line-height: 1.95;
}

.yx-news-article h2,
.yx-news-article h3 {
  margin: 36px 0 16px;
  font-family: var(--yx-serif);
  font-weight: 600;
  line-height: 1.35;
}

.yx-news-article h2 { font-size: 26px; }
.yx-news-article h3 { font-size: 21px; }

.yx-news-article h2::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 12px;
  background: var(--yx-red);
}

.yx-news-article ul,
.yx-news-article ol {
  margin: 0 0 20px;
  padding-left: 22px;
  color: var(--yx-ink-soft);
}

.yx-news-article li { margin-bottom: 8px; line-height: 1.85; }

.yx-news-article a { color: var(--yx-red); text-decoration: underline; text-underline-offset: 3px; }

.yx-news-article blockquote {
  margin: 28px 0;
  padding: 22px 26px;
  border-radius: var(--yx-r-md);
  background: var(--yx-sand);
  color: var(--yx-ink-soft);
  font-family: var(--yx-serif);
  font-size: 17px;
  line-height: 1.8;
}

.yx-news-hero-image {
  width: 100%;
  margin: 0 0 28px;
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-r-lg);
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.yx-news-article img:not(.yx-news-hero-image) {
  margin: 24px 0;
  border-radius: var(--yx-r-md);
}

.yx-news-article table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 15px;
}

.yx-news-article th,
.yx-news-article td {
  padding: 12px 16px;
  border: 1px solid var(--yx-line);
  text-align: left;
}

.yx-news-article thead th { background: var(--yx-sand); }
/* ===== 资讯正文 · 上一篇 / 下一篇 ===== */
.yx-news-article-page .yx-article-pagenav {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--yx-line);
}

.yx-news-article-page .pagenavigation .pagination {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.yx-news-article-page .pagenavigation a.btn {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1 1 0;
  max-width: calc(50% - 10px);
  padding: 17px 22px 18px;
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-r-md);
  background: var(--yx-card);
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.yx-news-article-page .pagenavigation a.btn::before {
  content: "←";
  flex: none;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 700;
  color: var(--yx-red);
}

.yx-news-article-page .pagenavigation a.next::before {
  content: "→";
}

/* 只有“下一篇”时靠右放 */
.yx-news-article-page .pagination > a.next:first-child {
  margin-left: auto;
}

/* 插件自带的“上一页/下一页”与图标让位给标题 */
.yx-news-article-page .pagenavigation a.btn > span[aria-hidden="true"] {
  display: none;
}

/* 把插件给读屏准备的完整标题释放为可见标题，两行截断 */
.yx-news-article-page .pagenavigation .visually-hidden {
  position: static;
  display: -webkit-box;
  flex: 1;
  width: auto;
  height: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: auto;
  clip-path: none;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 15px;
  line-height: 1.75;
  color: var(--yx-ink-soft);
}

.yx-news-article-page .pagenavigation a.btn:hover {
  border-color: rgba(218, 37, 30, .32);
  box-shadow: var(--yx-shadow-sm);
  transform: translateY(-2px);
}

.yx-news-article-page .pagenavigation a.btn:hover .visually-hidden {
  color: var(--yx-ink);
}

.yx-news-article-page .pagenavigation a.btn:focus-visible {
  outline: 2px solid var(--yx-red);
  outline-offset: 3px;
}

@media (max-width: 680px) {
  .yx-news-article-page .yx-article-pagenav {
    margin-top: 44px;
    padding-top: 28px;
  }

  .yx-news-article-page .pagenavigation .pagination {
    flex-direction: column;
    gap: 12px;
  }

  .yx-news-article-page .pagenavigation a.btn {
    width: 100%;
    max-width: none;
    padding: 15px 18px 16px;
  }

  .yx-news-article-page .pagenavigation .visually-hidden {
    font-size: 14.5px;
  }
}

/* --------------------------------------------------------------------------
   8. 深层级 · 通用文章（解决方案详情等，未套产品/资讯模板时）
   -------------------------------------------------------------------------- */
.yx-inner .com-content-article {
  width: min(880px, 100%);
  margin: 0 auto;
}

.yx-inner .com-content-article__header {
  margin: 0 0 28px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--yx-line);
}

.yx-inner .com-content-article__header h1 {
  margin: 0;
  font-family: var(--yx-serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.yx-inner .com-content-article__body { font-size: 16.5px; }

.yx-inner .com-content-article__body p {
  margin: 0 0 18px;
  color: var(--yx-ink-soft);
  line-height: 1.95;
}

.yx-inner .com-content-article__body img {
  margin: 24px 0;
  border-radius: var(--yx-r-md);
}

.yx-inner .com-content-article__body h2,
.yx-inner .com-content-article__body h3 {
  margin: 34px 0 14px;
  font-family: var(--yx-serif);
  font-weight: 600;
  line-height: 1.35;
}
/* --------------------------------------------------------------------------
   7.1 资讯正文 · 长篇阅读排版
   作用域：.yx-news-article-page（正文无包裹层，p / h2 等均为 article 直接子级）
   -------------------------------------------------------------------------- */

/* 标题区：长中文标题收一点字距、放大行高，避免三行挤成一坨 */
.yx-news-article-page h1 {
  margin: 10px 0 18px;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.42;
  letter-spacing: .01em;
  text-wrap: balance;
}

.yx-news-article-page .yx-news-meta {
  margin-bottom: 38px;
  padding-bottom: 18px;
}

/* 首段当导语：左侧红线，字号略大、颜色更实 */
.yx-news-article-page > p:first-of-type {
  margin: 0 0 34px;
  padding-left: 18px;
  border-left: 3px solid var(--yx-red);
  color: var(--yx-ink);
  font-size: 18px;
  line-height: 1.95;
}

/* 正文段落：17.5px / 2 倍行高，约 45 字一行 */
.yx-news-article-page p {
  margin: 0 0 1.4em;
  color: var(--yx-ink-soft);
  font-size: 17.5px;
  line-height: 2;
  letter-spacing: .01em;
  text-align: justify;
  text-justify: inter-ideograph;
  text-wrap: pretty;
}

/* 章节小标题：衬线 + 红色短横线，靠上边距拉开呼吸 */
.yx-news-article-page h2 {
  margin: 2.6em 0 .9em;
  font-family: var(--yx-serif);
  font-size: clamp(21px, 2.2vw, 25px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .01em;
  color: var(--yx-ink);
  scroll-margin-top: 24px;
  text-wrap: balance;
}

.yx-news-article-page h2::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 12px;
  border-radius: 2px;
  background: var(--yx-red);
}

.yx-news-article-page h3 {
  margin: 2em 0 .7em;
  font-family: var(--yx-serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--yx-ink);
}

/* 全文加粗很多，统一压成墨色，作为快速扫读的锚点 */
.yx-news-article-page strong {
  color: var(--yx-ink);
  font-weight: 700;
}

/* 正文内链接 */
.yx-news-article-page p a,
.yx-news-article-page li a,
.yx-news-article-page td a {
  color: var(--yx-red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.yx-news-article-page p a:hover,
.yx-news-article-page li a:hover,
.yx-news-article-page td a:hover { color: var(--yx-red-deep); }

/* 列表 */
.yx-news-article-page ul,
.yx-news-article-page ol {
  margin: 0 0 1.4em;
  padding-left: 1.6em;
  color: var(--yx-ink-soft);
  font-size: 17.5px;
  line-height: 1.95;
}

.yx-news-article-page li { margin-bottom: .55em; }
.yx-news-article-page li::marker { color: var(--yx-red); }

/* 引用 */
.yx-news-article-page blockquote {
  margin: 2.2em 0;
  padding: 20px 24px;
  border-left: 3px solid var(--yx-red);
  border-radius: 0 var(--yx-r-sm) var(--yx-r-sm) 0;
  background: var(--yx-sand);
  color: var(--yx-ink-soft);
  font-family: var(--yx-serif);
  font-size: 17px;
  line-height: 1.9;
}

.yx-news-article-page blockquote p { margin: 0; font-size: inherit; line-height: inherit; }

/* 图片与图注 */
.yx-news-article-page img {
  max-width: 100%;
  height: auto;
  margin: 1.8em 0;
  border-radius: var(--yx-r-md);
}

.yx-news-article-page figure { margin: 1.8em 0; }
.yx-news-article-page figure img { margin: 0; }

.yx-news-article-page figcaption {
  margin-top: 10px;
  color: var(--yx-faint);
  font-size: 13.5px;
  line-height: 1.6;
  text-align: center;
}

/* 表格 */
.yx-news-article-page table {
  width: 100%;
  margin: 1.8em 0;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.7;
}

.yx-news-article-page th,
.yx-news-article-page td {
  padding: 11px 14px;
  border: 1px solid var(--yx-line);
  text-align: left;
  vertical-align: top;
}

.yx-news-article-page thead th { background: var(--yx-sand); color: var(--yx-ink); }
.yx-news-article-page tbody tr:nth-child(even) { background: var(--yx-paper); }

/* 分隔线 */
.yx-news-article-page hr {
  height: 1px;
  margin: 3em 0;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--yx-line) 20%, var(--yx-line) 80%, transparent);
}

/* 选中文字 */
.yx-news-article-page ::selection { background: var(--yx-red-wash); color: var(--yx-ink); }

/* 移动端（与站点 680px 断点一致） */
@media (max-width: 680px) {
  .yx-news-article-page h1 { font-size: 24px; line-height: 1.45; }
  .yx-news-article-page p,
  .yx-news-article-page ul,
  .yx-news-article-page ol { font-size: 16.5px; }
  .yx-news-article-page > p:first-of-type {
    margin-bottom: 28px;
    padding-left: 14px;
    font-size: 17px;
  }
  .yx-news-article-page h2 { margin-top: 2em; font-size: 20px; }
}
/* --------------------------------------------------------------------------
   9. 表单（内页 / 弹窗共用）
   -------------------------------------------------------------------------- */
.yxxform-module { margin: 0; }

.yxxform-card {
  padding: 26px 26px 22px;
  border-radius: var(--yx-r-md);
  background: var(--yx-card);
  color: var(--yx-ink);
}

.yxxform-title {
  margin: 0;
  font-family: var(--yx-serif);
  font-size: 26px;
  font-weight: 600;
}

.yxxform-description {
  margin: 6px 0 18px;
  color: var(--yx-muted);
  font-size: 14px;
}

.yxxform-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.yxxform-field { grid-column: 1 / -1; min-width: 0; }
.yxxform-half { grid-column: auto; }

.yxxform-label {
  display: block;
  margin-bottom: 6px;
  color: var(--yx-ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.yxxform-label span { color: var(--yx-red); }

.yxxform-form input,
.yxxform-form select,
.yxxform-form textarea {
  width: 100%;
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-r-sm);
  background: var(--yx-paper);
  color: var(--yx-ink);
  font: inherit;
  font-size: 15px;
  transition: border-color var(--yx-ease), box-shadow var(--yx-ease);
}

.yxxform-form input,
.yxxform-form select { height: 46px; padding: 0 14px; }

.yxxform-form textarea {
  min-height: 112px;
  padding: 12px 14px;
  resize: vertical;
}

.yxxform-form select {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='%231c1917' stroke-width='1.6' d='M5 7.5 10 12.5 15 7.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.yxxform-form input::placeholder,
.yxxform-form textarea::placeholder { color: var(--yx-faint); }

.yxxform-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding-left: 14px;
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-r-sm);
  background: var(--yx-paper);
}

.yxxform-phone span {
  color: var(--yx-muted);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.yxxform-phone input {
  height: 100%;
  border: 0;
  background: transparent;
  padding-left: 0;
}

.yxxform-form input:focus,
.yxxform-form select:focus,
.yxxform-form textarea:focus,
.yxxform-phone:focus-within {
  outline: none;
  border-color: var(--yx-red);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--yx-red) 18%, transparent);
}

.yxxform-form :focus-visible { outline: none; }

.yxxform-submit {
  width: 100%;
  height: 48px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  background: var(--yx-red);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--yx-ease), box-shadow var(--yx-ease), transform var(--yx-ease);
}

.yxxform-submit:hover {
  background: var(--yx-red-deep);
  box-shadow: 0 10px 24px rgba(218, 37, 30, .24);
  transform: translateY(-1px);
}

.yxxform-submit:disabled { opacity: .6; cursor: wait; transform: none; }

.yxxform-card.is-sent .yxxform-form,
.yxxform-card.is-sent .yxxform-description { display: none; }

.yxxform-card.is-sent::after {
  content: "已收到您的咨询。顾问会尽快与您联系，请保持电话畅通。";
  display: block;
  padding: 8px 0 12px;
  color: var(--yx-ink-soft);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   10. 深层级 · 预约咨询弹窗（内页 main 之后的 .yx-inquiry-inner-slot）
   -------------------------------------------------------------------------- */
/* 挂载点里只有 fixed 定位的弹窗，inline-flex 会撑出 26px 空行盒 */
.yx-inquiry-inner-slot { display: flex; width: 100%; }

.yxxform-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.yxxform-modal[hidden] { display: none; }

.yxxform-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 19, 17, .58);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.yxxform-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: min(90vh, 760px);
  overflow: auto;
  padding: 30px 26px 26px;
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-r-xl);
  background: var(--yx-paper);
  box-shadow: var(--yx-shadow-lg);
  animation: yx-modal-in 260ms var(--yx-ease-out) both;
}

@keyframes yx-modal-in {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to { opacity: 1; transform: none; }
}

.yxxform-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--yx-line);
  border-radius: 50%;
  background: var(--yx-card);
  color: var(--yx-ink-soft);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: border-color var(--yx-ease), color var(--yx-ease), transform var(--yx-ease);
}

.yxxform-modal-close:hover {
  border-color: var(--yx-red);
  color: var(--yx-red);
  transform: rotate(90deg);
}

.yxxform-modal-title {
  margin: 0 0 18px;
  padding-right: 40px;
  color: var(--yx-ink);
  font-family: var(--yx-serif);
  font-size: 24px;
  font-weight: 600;
}

/* 弹窗内表单去掉重复标题（外层 modal-title 已有） */
.yxxform-modal-dialog .yxxform-card {
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.yxxform-modal-dialog .yxxform-card > .yxxform-title { display: none; }

body.yxxform-body-lock { overflow: hidden; }

/* --------------------------------------------------------------------------
   11. 页脚 —— 共用（三份完全一致）
   -------------------------------------------------------------------------- */
.yx-footer {
  margin-top: 80px;
  padding: 56px 0 24px;
  background: var(--yx-night);
  color: #d9d0c6;
}

.yx-footer-grid,
.yx-footer > p {
  width: min(var(--yx-max), calc(100% - 2 * var(--yx-gutter)));
  margin-inline: auto;
}

.yx-footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.25fr;
  gap: 36px;
}

.yx-footer strong {
  display: block;
  margin-bottom: 14px;
  color: var(--yx-card);
  font-family: var(--yx-serif);
  font-size: 18px;
  font-weight: 600;
}

.yx-footer-grid p,
.yx-footer-grid a {
  display: block;
  margin: 0 0 8px;
  color: #d9d0c6;
  font-size: 14px;
  line-height: 1.7;
  text-decoration: none;
  transition: color var(--yx-ease);
}

.yx-footer-grid a:hover { color: #fff; }

.yx-footer-social {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.yx-footer-social span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 252, 248, .16);
  border-radius: 50%;
  color: var(--yx-card);
  font-size: 11px;
  font-weight: 700;
  transition: border-color var(--yx-ease), background var(--yx-ease);
}

.yx-footer-social span:hover { border-color: var(--yx-red); background: var(--yx-red); }

.yx-footer > p {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 252, 248, .1);
  color: #8d847b;
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   12. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .yx-nav-toggle { display: inline-flex; order: 3; }
  .yx-logo { margin-right: auto; }
  .yx-header-phone { order: 2; }

  .icon-call {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    font-size: 0;
    border-radius: var(--yx-r-sm);
  }

  #yx-site-nav {
    display: none;
    position: absolute;
    z-index: 50;
    top: 100%;
    left: 0;
    right: 0;
    padding: 8px 18px 18px;
    background: var(--yx-paper);
    border-bottom: 1px solid var(--yx-line);
    box-shadow: 0 18px 40px rgba(28, 25, 23, .08);
  }

  #yx-site-nav[data-open],
  #yx-site-nav.is-open { display: block; }

  .yx-menu { flex-direction: column; align-items: stretch; }
  .yx-menu-li a { min-height: 48px; justify-content: flex-start; }
  .yx-menu-li a::after { left: 14px; right: auto; width: 22px; }

  .yx-product-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 24px; }
}

@media (max-width: 900px) {
  .yxx-prods-items{ grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .yx-product-layout,
  .yx-product-hero { grid-template-columns: 1fr; gap: 28px; }

  .yx-product-subnav-slot {
    position: static;
    max-height: none;
  }

  .yx-subnav-list { flex-direction: row; flex-wrap: wrap; }
  .yx-subnav-list a { padding: 7px 14px; border: 1px solid var(--yx-line); border-radius: 999px; }

  .yx-product-panel { padding: 32px 24px 34px; }
  .yx-feature-list { grid-template-columns: 1fr; }
  .yx-product-divider { margin: 36px 0; }

  .com-content-category-blog__children { grid-template-columns: 1fr; gap: 14px; }
  .com-content-category-blog__navigation { flex-direction: column; align-items: center; }

  .yx-footer-grid { grid-template-columns: 1fr 1fr; }
  .yxxform-fields { grid-template-columns: 1fr; }
  .yxxform-half { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --yx-gutter: 18px; }

  .container { padding-top: 0; }
  .yx-page-content { padding: 24px 0 60px; }

  .yx-page-heading { margin: 16px 0 28px; padding-bottom: 16px; }

  .yxx-prods-items { grid-template-columns: 1fr; gap: 20px; }
  .yxx-prod-item .item-image { height: 210px; }

  .yx-product-hero-copy h1 { font-size: 30px; }
  .yx-product-actions { flex-direction: column; align-items: stretch; }
  .yx-product-actions .btn-theme { width: 100%; }

  .yx-spec-table tbody th,
  .yx-product-panel tbody th { width: 34%; }

  .yx-news-article-page,
  .yx-inner .com-content-article { font-size: 16px; }

  .yx-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .yx-footer { margin-top: 56px; }

  .yxxform-modal-dialog { padding: 26px 18px 20px; border-radius: var(--yx-r-lg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Solution专题页 */
.yx-solution-article-page{width:min(1280px,calc(100% - 56px));margin:0 auto;padding:28px 0 96px;color:var(--yx-ink)}
.yx-solution-article-page>.yx-breadcrumb{width:100%;margin:0 0 22px}
.yx-solution-page{display:flex;flex-direction:column;gap:24px}
.yx-solution-hero{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(360px,.98fr);align-items:stretch;gap:28px;padding:42px;border-radius:34px;overflow:hidden}
.yx-solution-hero-copy{display:flex;flex-direction:column;justify-content:center;padding:10px 0}
.yx-solution-eyebrow,.yx-solution-heading>span{display:block;color:var(--yx-red);font-size:12px;font-weight:800;letter-spacing:.18em}
.yx-solution-hero h1{max-width:680px;margin:14px 0 20px;font-family:var(--yx-serif);font-size:clamp(40px,5vw,68px);font-weight:600;line-height:1.12;letter-spacing:-.035em}
.yx-solution-hero-copy>p{max-width:650px;margin:0;color:var(--yx-muted);font-size:17px;line-height:1.9}
.yx-solution-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:28px}
.yx-solution-text-link{color:var(--yx-ink);font-size:14px;font-weight:700;text-decoration:none}
.yx-solution-text-link span{margin-left:5px;color:var(--yx-red);font-size:18px}
.yx-solution-proof{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:34px 0 0;padding:0;list-style:none}
.yx-solution-proof li{padding-top:14px;border-top:1px solid var(--yx-line)}
.yx-solution-proof strong{display:block;font-size:14px}
.yx-solution-proof span{display:block;margin-top:4px;color:var(--yx-muted);font-size:12px;line-height:1.55}
.yx-solution-hero-media{position:relative;min-height:440px;margin:0;border-radius:24px;overflow:hidden;background:var(--yx-sand)}
.yx-solution-hero-media img{width:100%;height:100%;object-fit:cover}
.yx-solution-hero-media figcaption{position:absolute;right:16px;bottom:14px;padding:7px 11px;border-radius:999px;background:rgba(255,252,248,.88);color:var(--yx-ink-soft);font-size:12px}
.yx-solution-statbar{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;padding:4px;border:1px solid var(--yx-line);border-radius:22px;background:var(--yx-line)}
.yx-solution-statbar>div{padding:20px 24px;background:var(--yx-card)}
.yx-solution-statbar>div:first-child{border-radius:18px 0 0 18px}
.yx-solution-statbar>div:last-child{border-radius:0 18px 18px 0}
.yx-solution-statbar strong{display:block;font-size:17px}
.yx-solution-statbar span{display:block;margin-top:4px;color:var(--yx-muted);font-size:13px}
.yx-solution-section{padding:54px;border:1px solid var(--yx-line);border-radius:30px;background:var(--yx-card)}
.yx-solution-section-soft{background:var(--yx-sand)}
.yx-solution-section-dark{background:var(--yx-night);border-color:var(--yx-night);color:var(--yx-card)}
.yx-solution-heading{max-width:780px;margin-bottom:30px}
.yx-solution-heading h2{margin:10px 0 12px;font-family:var(--yx-serif);font-size:clamp(30px,3.5vw,48px);font-weight:600;line-height:1.22;letter-spacing:-.025em}
.yx-solution-heading p{margin:0;color:var(--yx-muted);font-size:16px;line-height:1.8}
.yx-solution-section-dark .yx-solution-heading p{color:#c9c0b7}
.yx-solution-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.yx-solution-card-grid article{padding:24px;border:1px solid var(--yx-line);border-radius:18px;background:rgba(255,252,248,.68)}
.yx-solution-card-grid b{display:block;font-size:18px}
.yx-solution-card-grid p{margin:10px 0 0;color:var(--yx-muted);font-size:14px;line-height:1.75}
.yx-solution-feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.yx-solution-feature-grid article{min-height:210px;padding:24px;border:1px solid var(--yx-line);border-radius:18px;background:var(--yx-card)}
.yx-solution-index{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:10px;background:var(--yx-red);color:#fff;font-size:13px;font-weight:800}
.yx-solution-feature-grid h3{margin:22px 0 8px;font-size:18px}
.yx-solution-feature-grid p{margin:0;color:var(--yx-muted);font-size:14px;line-height:1.75}
.yx-solution-product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.yx-solution-product-grid article{overflow:hidden;border:1px solid var(--yx-line);border-radius:20px;background:var(--yx-card)}
.yx-solution-product-grid img{width:100%;height:220px;object-fit:contain;padding:22px;background:#fff}
.yx-solution-product-grid article>div{padding:20px 22px 22px}
.yx-solution-product-grid h3{margin:0;font-size:18px}
.yx-solution-product-grid p{margin:8px 0 0;color:var(--yx-muted);font-size:14px;line-height:1.7}
.yx-solution-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:0 0 32px;padding:0;list-style:none}
.yx-solution-steps li{position:relative;padding:0 20px 0 0}
.yx-solution-steps li:not(:last-child)::after{content:"→";position:absolute;top:0;right:16px;color:var(--yx-red);font-size:22px}
.yx-solution-steps strong{display:block;color:#fff;font-size:16px}
.yx-solution-steps span{display:block;margin-top:6px;color:#c9c0b7;font-size:13px;line-height:1.6}
.btn-theme-light{background:var(--yx-card);color:var(--yx-ink)}
.btn-theme-light:hover{background:#fff;color:var(--yx-red)}
@media(max-width:1000px){.yx-solution-hero{grid-template-columns:1fr}.yx-solution-hero-media{min-height:320px}.yx-solution-feature-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.yx-solution-article-page{width:calc(100% - 36px);padding-bottom:60px}.yx-solution-hero,.yx-solution-section{padding:28px 22px;border-radius:24px}.yx-solution-hero h1{font-size:40px}.yx-solution-proof,.yx-solution-statbar,.yx-solution-card-grid,.yx-solution-feature-grid,.yx-solution-product-grid,.yx-solution-steps{grid-template-columns:1fr}.yx-solution-statbar{gap:1px}.yx-solution-statbar>div:first-child,.yx-solution-statbar>div:last-child{border-radius:0}.yx-solution-statbar>div:first-child{border-radius:16px 16px 0 0}.yx-solution-statbar>div:last-child{border-radius:0 0 16px 16px}.yx-solution-steps li{padding:0 0 20px 0}.yx-solution-steps li:not(:last-child)::after{content:"↓";top:auto;right:auto;left:0;bottom:0}.yx-solution-product-grid img{height:190px}}



/* 全宽首屏与面包屑顺序 */
.yx-solution-article-page{padding-top:0}
.yx-solution-first-block{width:100%}
.yx-solution-first-block .yx-solution-hero{
  width:100vw;
  margin-left:calc(50% - 50vw);
  border-right:0;
  border-left:0;
  border-radius:0;
  padding-left:max(var(--yx-gutter),calc((100vw - var(--yx-max))/2));
  padding-right:max(var(--yx-gutter),calc((100vw - var(--yx-max))/2));
}
.yx-solution-article-page>.yx-breadcrumb{
  width:min(var(--yx-max),calc(100% - 2 * var(--yx-gutter)));
  margin:28px auto 24px;
}
.yx-solution-page-rest{width:100%}
.yx-about-hero{
  width:100vw;
  margin-left:calc(50% - 50vw);
  border-radius:0;
  padding-left:max(var(--yx-gutter),calc((100vw - var(--yx-max))/2));
  padding-right:max(var(--yx-gutter),calc((100vw - var(--yx-max))/2));
}
.yx-about-breadcrumb{
  width:min(var(--yx-max),calc(100% - 2 * var(--yx-gutter)));
  margin:28px auto 0;
}
@media(max-width:720px){
  .yx-solution-first-block .yx-solution-hero{padding-left:var(--yx-gutter);padding-right:var(--yx-gutter);border-radius:0}
  .yx-about-hero{padding-left:var(--yx-gutter);padding-right:var(--yx-gutter);border-radius:0}
}
/* 全宽首屏不产生横向滚动 */
html,body{overflow-x:hidden}
/* 解决方案、关于我们、联系我们首屏贴齐 Header */
body.yx-solution-route .yx-page-content{padding-top:0}
body.yx-about-route > .container,
body.yx-contact-page > .container{padding-top:0}
/* 内页首屏紧贴 Header 的最终覆盖 */
body.yx-solution-route > .container > .yx-page-content,
body.yx-about-route > .container > .yx-page-content,
body.yx-contact-page > .container > .yx-page-content{
  margin-top:0!important;
  padding-top:0!important;
}
body.yx-solution-route .yx-solution-article-page,
body.yx-about-route .yx-about-article-page{
  margin-top:0!important;
  padding-top:0!important;
}
body.yx-solution-route #system-message-container,
body.yx-about-route #system-message-container,
body.yx-contact-page #system-message-container{
  margin-top:0!important;
  margin-bottom:0!important;
  min-height:0!important;
}
