/* ==========================================================================
   igold-huangjin 主题样式
   第 1 部分：共享设计系统（与 preview/assets/css/style.css 同源）
   修改设计请改共享 style.css 后重新合并，勿直接改本文件
   ========================================================================== */

/* ==========================================================================
   领峰黄金交易网 · 品牌主题样式 (igold-huangjin)
   主色：金 #d4af37 / 品牌黄 #ffb400 | 中国股市配色：涨红跌绿
   ========================================================================== */

:root {
  --gold: #d4af37;
  --gold-2: #ffb400;
  --gold-deep: #b8860b;
  --gold-soft: #fdf6e3;
  --ink: #191c20;
  --ink-2: #26292e;
  --body: #3d4249;
  --muted: #878d96;
  --line: #e9e4d8;
  --paper: #ffffff;
  --paper-2: #f8f6f1;
  --up: #d92b2b;      /* 涨 - 红（中国市场惯例） */
  --down: #0a9950;    /* 跌 - 绿 */
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(25, 28, 32, .06);
  --shadow-md: 0 10px 30px rgba(25, 28, 32, .10);
  --shadow-lg: 0 24px 60px rgba(25, 28, 32, .16);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  word-wrap: break-word;
}
html,body {
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold-deep); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-2); }

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

h1, h2, h3, h4, h5, h6 { color: var(--ink); line-height: 1.35; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1.1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* 无障碍：跳转链接 / 屏幕阅读器 */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
}

/* ==========================================================================
   顶部导航
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name b { font-size: 20px; color: var(--ink); letter-spacing: .5px; }
.brand-name span { font-size: 12px; color: var(--muted); letter-spacing: 1px; }

.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  display: block; padding: 10px 16px; font-size: 16px; color: var(--ink);
  border-radius: 8px; font-weight: 500;
}
.main-nav a:hover { color: var(--gold-2); background: var(--gold-soft); }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { color: var(--gold-2); font-weight: 700; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 44px; height: 40px; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 11px; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { left: 0; top: -6px; }
.nav-toggle span::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 999px; font-size: 16px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: all .22s ease;
  font-family: inherit; line-height: 1.4; text-align: center;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-deep));
  color: #fff; box-shadow: 0 8px 22px rgba(212, 175, 55, .38);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(212, 175, 55, .5); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: #fff; }
.btn-outline { border-color: var(--gold); color: var(--gold-deep); background: transparent; }
.btn-outline:hover { background: var(--gold); color: #fff; }
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ==========================================================================
   面包屑
   ========================================================================== */
.breadcrumb-bar { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
  padding: 13px 0; font-size: 14px; color: var(--muted); margin: 0;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb li + li::before { content: "/"; margin: 0 8px; color: #c8c3b8; }
.breadcrumb .current { color: var(--ink); font-weight: 500; }

/* ==========================================================================
   Hero 首屏（品牌 banner 背景图 2560×800，左侧浅色区承载深色文案）
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; color: var(--ink);
  display: flex; align-items: center; min-height: 540px;
  background-color: #eceae6;
  background-image:
    radial-gradient(700px 430px at 13% 58%, rgba(245, 243, 239, .95), rgba(245, 243, 239, 0) 74%),
    linear-gradient(94deg, rgba(238, 236, 232, .97) 0%, rgba(238, 236, 232, .9) 34%, rgba(238, 236, 232, .5) 54%, rgba(238, 236, 232, 0) 78%),
    url("../images/banner2560.png");
  background-repeat: no-repeat;
  background-position: left top, left center, right center;
  background-size: cover, 100% 100%, auto 100%;
  padding: 78px 0 90px;
}
.hero-inner { position: relative; width: 100%; }
.hero-inner > div { max-width: 660px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px;
  border: 1px solid rgba(166, 124, 0, .45); border-radius: 999px;
  background: rgba(255, 255, 255, .66); color: #8a6a10;
  font-size: 14px; letter-spacing: .5px; margin-bottom: 22px; backdrop-filter: blur(4px);
}
.hero-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 8px rgba(255, 180, 0, .8); }
.hero h1 { color: var(--ink); font-size: clamp(30px, 3.5vw, 44px); line-height: 1.26; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: #a67c00; position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px;
  background: rgba(255, 180, 0, .3); z-index: -1; border-radius: 3px;
}
.hero-sub { font-size: 16.5px; color: #454a52; max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero .btn-ghost { border-color: rgba(25, 28, 32, .4); color: var(--ink); background: rgba(255, 255, 255, .55); }
.hero .btn-ghost:hover { background: #fff; border-color: var(--ink); color: var(--ink); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 40px; }
.hero-stat b { display: block; font-size: 30px; color: #a67c00; line-height: 1.15; font-weight: 800; }
.hero-stat span { font-size: 13px; color: #5b6068; letter-spacing: 1px; }

/* ==========================================================================
   通用 Section
   ========================================================================== */
.section { padding: 78px 0; }
.section-alt { background: var(--paper-2); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 10px; font-weight: 600;
}
.section-head h2 { font-size: clamp(24px, 3vw, 34px); position: relative; padding-bottom: 16px; }
.section-head h2::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0;
  width: 64px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
}
.section-head p { color: var(--muted); margin: 14px 0 0; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head.left h2::after { left: 0; transform: none; }

/* ==========================================================================
   六大优势（品牌知识 - 沿用 igold bg 图）
   ========================================================================== */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.adv-card {
  position: relative; min-height: 280px; padding: 24px 22px 30px; border-radius: var(--radius);
  background: #fff center / contain no-repeat;
  background-image: var(--adv-bg, url("../images/bg1.png"));
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; justify-content: flex-end; text-align: center;
  transition: transform .28s ease, box-shadow .28s ease;
}
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
/* 卡片背景图统一放在样式表内（相对 CSS 解析，兼容 file:// 与任意服务器路径） */
.adv-bg1 { --adv-bg: url("../images/bg1.png"); }
.adv-bg2 { --adv-bg: url("../images/bg2.png"); }
.adv-bg3 { --adv-bg: url("../images/bg3.png"); }
.adv-bg4 { --adv-bg: url("../images/bg4.png"); }
.adv-bg5 { --adv-bg: url("../images/bg5.png"); }
.adv-bg6 { --adv-bg: url("../images/bg6.png"); }
.adv-card h3 { font-size: 20px; position: relative; padding-bottom: 12px; margin-bottom: 12px; }
.adv-card h3::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0;
  width: 44px; height: 2px; background: var(--gold);
}
.adv-card p { font-size: 14.5px; color: var(--body); margin: 0; }

/* ==========================================================================
   关于我们（品牌知识）
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.about-media::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1;
  border-radius: var(--radius); border: 2px solid rgba(212, 175, 55, .4);
}
.about-body h2 { font-size: clamp(24px, 3vw, 32px); }
.about-body .lead { font-size: 17px; color: var(--ink-2); }
.about-list { margin: 18px 0 26px; }
.about-list li { position: relative; padding: 7px 0 7px 32px; color: var(--body); }
.about-list li::before {
  content: "✓"; position: absolute; left: 0; top: 7px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--gold-soft); color: var(--gold-deep);
  font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.about-stat { text-align: center; padding: 18px 8px; background: var(--paper-2); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.about-stat b { display: block; font-size: 26px; color: var(--gold-deep); font-weight: 800; }
.about-stat span { font-size: 13px; color: var(--muted); }

/* ==========================================================================
   伦敦金 / 伦敦银 产品介绍与优势
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.product-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 34px 34px 30px;
  transition: transform .28s ease, box-shadow .28s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; }
.product-card.gold::before { background: linear-gradient(90deg, #ffd66b, var(--gold-deep)); }
.product-card.silver::before { background: linear-gradient(90deg, #e6e9ee, #9aa4b2); }

.product-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.product-head h3 { font-size: 23px; margin: 0; }
.product-head h3 small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 1px; margin-top: 6px; }
.product-code {
  flex-shrink: 0; width: 58px; height: 58px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; letter-spacing: .5px;
}
.product-card.gold .product-code { background: linear-gradient(135deg, #fff5d6, #ffdc8f); color: #8a6400; border: 1px solid rgba(184, 134, 11, .3); }
.product-card.silver .product-code { background: linear-gradient(135deg, #f5f7f9, #d8dee6); color: #5b6570; border: 1px solid rgba(120, 130, 145, .3); }
.product-desc { font-size: 15px; color: var(--body); margin: 16px 0 20px; }
.product-sub { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--ink); margin: 0 0 12px; }
.product-sub::before { content: ""; width: 4px; height: 15px; border-radius: 2px; background: var(--gold-2); }
.product-list { margin: 0 0 20px; }
.product-list li { position: relative; padding: 6px 0 6px 27px; font-size: 14.5px; color: var(--body); }
.product-list li::before {
  content: "✓"; position: absolute; left: 0; top: 6px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--gold-soft); color: var(--gold-deep);
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.product-list li b { color: var(--ink); }
.product-spec { margin-top: auto; border-top: 1px dashed var(--line); padding-top: 16px; }
.product-spec dl { display: grid; grid-template-columns: auto 1fr; gap: 9px 16px; margin: 0; font-size: 14px; }
.product-spec dt { color: var(--muted); white-space: nowrap; }
.product-spec dd { margin: 0; color: var(--ink-2); }
.product-note { text-align: center; margin: 26px 0 0; font-size: 13px; color: var(--muted); }

/* ==========================================================================
   知识板块（SEO 知识矩阵 / 栏目导航）
   ========================================================================== */
.kno-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kno-card {
  position: relative; padding: 28px 26px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease;
}
.kno-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold)); transform: scaleX(0);
  transform-origin: left; transition: transform .3s ease;
}
.kno-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.kno-card:hover::before { transform: scaleX(1); }
.kno-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--gold-soft), #fff);
  border: 1px solid rgba(212, 175, 55, .35);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.kno-card h3 { font-size: 19px; }
.kno-card p { font-size: 14.5px; color: var(--muted); min-height: 72px; }
.kno-links { border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 6px; }
.kno-links li { padding: 4px 0; font-size: 14px; }
.kno-links a { color: var(--body); position: relative; padding-left: 16px; }
.kno-links a::before { content: "›"; position: absolute; left: 0; color: var(--gold-2); font-weight: 700; }
.kno-links a:hover { color: var(--gold-2); }
.kno-count { display: inline-block; margin-left: 6px; font-size: 12px; color: var(--muted); }

/* ==========================================================================
   文章模块（最新 6 篇）
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #f2ecd9, #fdf6e3); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-cat {
  position: absolute; left: 12px; top: 12px; z-index: 2; padding: 4px 12px;
  border-radius: 999px; background: rgba(25, 28, 32, .78); color: var(--gold-2);
  font-size: 12px; backdrop-filter: blur(4px);
}
.post-thumb .ph {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: rgba(184, 134, 11, .45); font-weight: 800; letter-spacing: 4px;
}
.post-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.post-body h3 { font-size: 18px; line-height: 1.45; margin-bottom: 10px; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--gold-2); }
.post-excerpt { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 14px; }
.post-meta time::before { content: "🗓 "; }
.post-meta .views::before { content: "👁 "; }
.post-more { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--gold-deep); }
.post-more::after { content: " →"; transition: margin .2s ease; }
.post-card:hover .post-more::after { margin-left: 4px; }
.section-more { text-align: center; margin-top: 42px; }

/* ==========================================================================
   常见问题 FAQ（details/summary 原生语义，利于 SEO/AI 抓取）
   ========================================================================== */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 14px; overflow: hidden; transition: box-shadow .25s ease;
}
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: rgba(212, 175, 55, .5); }
.faq-item summary {
  cursor: pointer; padding: 18px 56px 18px 22px; font-size: 16.5px; font-weight: 600;
  color: var(--ink); position: relative; list-style: none; user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--gold-soft);
  color: var(--gold-deep); font-weight: 700; display: flex; align-items: center; justify-content: center;
  transition: transform .25s ease;
}
.faq-item[open] summary::after { content: "−"; transform: translateY(-50%) rotate(180deg); }
.faq-item .faq-a { padding: 0 22px 20px; font-size: 15px; color: var(--body); border-top: 1px dashed var(--line); padding-top: 16px; margin-top: -6px; }
.faq-item .faq-a p:last-child { margin-bottom: 0; }

/* ==========================================================================
   行动引导 / 联系
   ========================================================================== */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius); color: #fff;
  background: linear-gradient(120deg, #1d2026, #2a2417 55%, #171a1f);
  padding: 52px 56px; display: flex; align-items: center; justify-content: space-between;
  gap: 32px; box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 240px at 85% 20%, rgba(255, 180, 0, .3), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 8px; }
.cta-band p { color: #c9ccd3; margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-shrink: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info h3 { font-size: 20px; margin-bottom: 18px; }
.contact-info li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.contact-info li i { font-style: normal; color: var(--gold-deep); }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, .18);
}

/* ==========================================================================
   列表页布局（栏目页 / 详情页：左侧内容 + 右侧 SEO 串联板块）
   ========================================================================== */
.page-shell {
  display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 36px;
  padding: 46px 0 78px; align-items: start;
}
.content-col { min-width: 0; }

.archive-head { margin-bottom: 30px; }
.archive-head .kicker { font-size: 13px; letter-spacing: 2px; color: var(--gold-deep); font-weight: 600; text-transform: uppercase; }
.archive-head h1 { font-size: clamp(24px, 3vw, 32px); margin: 6px 0 10px; }
.archive-head .archive-desc { color: var(--muted); font-size: 15.5px; max-width: 760px; }

.post-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.post-row {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.post-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* 文章详情 */
.entry {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 44px 44px; box-shadow: var(--shadow-sm);
}
.entry-head { border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 28px; }
.entry-head h1 { font-size: clamp(24px, 3vw, 32px); line-height: 1.4; margin-bottom: 16px; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13.5px; color: var(--muted); }
.entry-meta a { color: var(--muted); }
.entry-meta a:hover { color: var(--gold-2); }
.entry-abstract {
  background: var(--gold-soft); border-left: 3px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px; font-size: 15px; color: var(--ink-2); margin-bottom: 28px;
}
.entry-abstract b { color: var(--gold-deep); }

.entry-content { font-size: 16.5px; color: var(--body); }
.entry-content h2 {
  font-size: 24px; margin: 2em 0 .8em; padding-left: 14px; position: relative;
}
.entry-content h2::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px;
  border-radius: 2px; background: linear-gradient(180deg, var(--gold-2), var(--gold));
}
.entry-content h3 { font-size: 20px; margin: 1.8em 0 .7em; color: var(--ink-2); }
.entry-content p { margin-bottom: 1.2em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em 4px; }
.entry-content ul li { position: relative; padding: 5px 0 5px 22px; list-style: none; }
.entry-content ul li::before {
  content: ""; position: absolute; left: 2px; top: 15px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--gold);
}
.entry-content ol { padding-left: 26px; }
.entry-content ol li { list-style: decimal; padding: 5px 0; margin-left: 4px; }
.entry-content blockquote {
  margin: 1.6em 0; padding: 18px 24px; background: var(--paper-2);
  border-left: 4px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink-2);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 15px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.entry-content th { background: var(--paper-2); color: var(--ink); font-weight: 600; }
.entry-content img { border-radius: var(--radius-sm); margin: 1.2em auto; }
.entry-content a { border-bottom: 1px dashed rgba(184, 134, 11, .5); }
.entry-content strong { color: var(--ink); }
.entry-content figcaption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 6px; }

.entry-tags { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-item, .widget-tags a {
  display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px;
  background: var(--paper-2); border: 1px solid var(--line); font-size: 13.5px; color: var(--body);
  transition: all .2s ease;
}
.tag-item:hover, .widget-tags a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

.entry-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.entry-nav a {
  padding: 14px 18px; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-size: 14.5px; color: var(--body);
}
.entry-nav a:hover { border-color: var(--gold); color: var(--gold-deep); }
.entry-nav .next { text-align: right; }
.entry-nav small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }

/* 作者 / 相关阅读 */
.author-box {
  display: flex; gap: 18px; align-items: flex-start; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-top: 28px;
}
.author-avatar { width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, var(--gold-2), var(--gold-deep)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; }
.author-box h3 { font-size: 17px; margin-bottom: 6px; }
.author-box p { font-size: 14px; color: var(--muted); margin: 0; }

.related { margin-top: 44px; }
.related h2 { font-size: 22px; margin-bottom: 22px; padding-left: 14px; position: relative; }
.related h2::before { content: ""; position: absolute; left: 0; top: 5px; bottom: 5px; width: 4px; border-radius: 2px; background: var(--gold-2); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; background: #fff; transition: all .25s ease; }
.related-card:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.related-card h3 { font-size: 15.5px; line-height: 1.5; margin-bottom: 8px; }
.related-card h3 a { color: var(--ink); }
.related-card time { font-size: 12.5px; color: var(--muted); }

/* ==========================================================================
   右侧 SEO 串联板块（内链矩阵）
   ========================================================================== */
.sidebar { position: sticky; top: 108px; display: flex; flex-direction: column; gap: 22px; }
.widget {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.widget-title {
  font-size: 17px; margin-bottom: 16px; padding-bottom: 12px; position: relative;
  display: flex; align-items: center; gap: 8px;
}
.widget-title::before { content: ""; width: 4px; height: 17px; border-radius: 2px; background: linear-gradient(180deg, var(--gold-2), var(--gold)); }
.widget-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--line); }

.widget-list li { border-bottom: 1px dashed var(--line); }
.widget-list li:last-child { border-bottom: 0; }
.widget-list a {
  display: flex; gap: 12px; align-items: baseline; padding: 11px 0; font-size: 14.5px; color: var(--body); line-height: 1.55;
}
.widget-list a:hover { color: var(--gold-2); }
.widget-list .num {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px; background: var(--paper-2);
  color: var(--muted); font-size: 12.5px; font-weight: 700; text-align: center; line-height: 22px;
}
.widget-list li:nth-child(-n+3) .num { background: var(--gold); color: #fff; }
.widget-list time { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

.widget-cats li a {
  display: flex; justify-content: space-between; align-items: center; padding: 10px 2px;
  font-size: 14.5px; color: var(--body); border-bottom: 1px dashed var(--line);
}
.widget-cats li:last-child a { border-bottom: 0; }
.widget-cats a:hover { color: var(--gold-2); }
.widget-cats .count { font-size: 12px; color: var(--muted); background: var(--paper-2); border-radius: 999px; padding: 1px 10px; }

.widget-tags { display: flex; flex-wrap: wrap; gap: 9px; }
.widget-desc { font-size: 13.5px; color: var(--muted); margin: 10px 0 0; }
.widget-cta {
  background: linear-gradient(135deg, #1d2026, #2a2417); color: #fff;
  border-radius: var(--radius); padding: 24px; text-align: center;
}
.widget-cta h3 { color: var(--gold-2); font-size: 17px; margin-bottom: 8px; }
.widget-cta p { font-size: 13.5px; color: #c9ccd3; margin-bottom: 16px; }

/* 分页 */
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 44px; }
.pagination .page-numbers {
  min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  font-size: 15px; color: var(--body);
}
.pagination .page-numbers:hover { border-color: var(--gold); color: var(--gold-deep); }
.pagination .page-numbers.current { background: var(--gold); border-color: var(--gold); color: #fff; font-weight: 700; }
.pagination .dots { border: 0; background: none; }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer { background: #17191d; color: #a7abb4; margin-top: 0; }
.foot-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1.4fr; gap: 48px; padding: 60px 0 40px;
}
.foot-col h3 { color: #fff; font-size: 16px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.foot-col h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--gold-2); }
.foot-col p { font-size: 14px; line-height: 1.9; }
.foot-col li { padding: 5px 0; font-size: 14px; }
.foot-col a { color: #a7abb4; }
.foot-col a:hover { color: var(--gold-2); }
.foot-brand img { height: 42px; margin-bottom: 16px; background: #fff; border-radius: 6px; padding: 5px; }
.foot-license { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 16px; border: 1px solid rgba(212, 175, 55, .4); border-radius: 999px; color: var(--gold-2); font-size: 13px; }
.foot-legal { border-top: 1px solid rgba(255, 255, 255, .08); padding: 24px 0; font-size: 12.5px; line-height: 1.9; color: #7c8087; }
.foot-legal b { color: #a7abb4; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; font-size: 13px; text-align: center; color: #7c8087; }
.foot-bottom a { color: #a7abb4; margin: 0 10px; }
.foot-bottom a:hover { color: var(--gold-2); }

/* 风险提示条 */
.risk-notice {
  background: #fffaf0; border: 1px solid #f3e3bb; border-radius: var(--radius-sm);
  padding: 16px 20px; font-size: 13px; line-height: 1.9; color: #8a6d1f; margin: 30px 0;
}
.risk-notice b { color: #6b5410; }

/* 返回顶部 */
.back-top {
  position: fixed; right: 26px; bottom: 30px; z-index: 90; width: 46px; height: 46px;
  border-radius: 50%; border: 0; cursor: pointer; font-size: 18px; color: #fff;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .3s ease;
}
.back-top.is-visible { opacity: 1; visibility: visible; transform: none;     z-index: 999;}

/* 404 */
.error-404 { text-align: center; padding: 90px 0; }
.error-404 .code { font-size: 96px; font-weight: 800; background: linear-gradient(135deg, var(--gold-2), var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.error-404 h1 { font-size: 26px; margin: 18px 0 10px; }

/* 评论区 */
.comments-area { margin-top: 40px; }
.comment-list li { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: 14px; background: #fff; }
.comment-list .comment-meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.comment-form textarea { min-height: 120px; resize: vertical; }

/* 搜索框 */
.search-form { display: flex; gap: 10px; }
.search-form input[type="search"] {
  flex: 1; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit;
}
.search-form input[type="search"]:focus { outline: none; border-color: var(--gold); }
.search-form button { padding: 0 20px; border: 0; border-radius: var(--radius-sm); background: var(--gold); color: #fff; cursor: pointer; font-family: inherit; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: 1fr; }
  .page-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 991.98px) {
    .main-nav {
        position: fixed;
        top: 84px;
        left: 0;
        /* ========== 修复：固定占满视口宽度，禁止溢出 ========== */
        width: 100vw;
        max-width: 100%;
        right: 0;
        bottom: 0;
        z-index: 99;
        background: #fff;
        padding: 24px 20px;
        transform: translateX(100%);
        transition: transform .3s ease;
        overflow-y: auto;
        /* 新增：禁止横向溢出 */
        overflow-x: hidden;
        box-sizing: border-box;
    }
    .main-nav.is-open {
        transform: translateX(0);
    }
    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        /* 内层ul同样限制宽度 */
        width: 100%;
        box-sizing: border-box;
    }
    .main-nav a {
        padding: 14px 16px;
        font-size: 17px;
        border-bottom: 1px solid var(--paper-2);
        border-radius: 0;
        width:100%;
        box-sizing: border-box;
    }
    .nav-toggle {
        display: block;
    }
    .adv-grid, .kno-grid, .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .about-media::before {
        display: none;
    }
    .foot-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .entry {
        padding: 28px 24px;
    }
}


@media (max-width: 767.98px) {
  .section { padding: 54px 0; }
  .hero { padding: 56px 0 64px; min-height: 0; background-size: cover, 100% 100%, cover; background-position: left top, left center, right center; }
  .adv-grid, .kno-grid, .post-grid, .post-list, .related-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; text-align: center; padding: 40px 26px; }
  .cta-actions { justify-content: center; flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
  .entry-nav { grid-template-columns: 1fr; }
  .entry-nav .next { text-align: left; }
  .hero-stats { gap: 24px; }
  .foot-grid { grid-template-columns: 1fr; }
  .product-card { padding: 26px 22px 24px; }
  .product-head h3 { font-size: 20px; }
  .entry-head h1 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* 打印 */
@media print {
  .site-header, .site-footer, .sidebar, .back-top, .breadcrumb-bar, .cta-band { display: none !important; }
  .entry { border: 0; box-shadow: none; padding: 0; }
  body { color: #000; }
}

/* ==========================================================================
   WordPress 核心兼容样式（追加在主题样式之后）
   ========================================================================== */

/* 内容对齐（古腾堡） */
.alignleft { float: left; margin: .5em 1.5em .8em 0; }
.alignright { float: right; margin: .5em 0 .8em 1.5em; }
.aligncenter { display: block; margin: .8em auto; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: none; width: 100%; }

/* 图注 / 说明 */
.wp-caption { max-width: 100%; margin: 1.2em auto; }
.wp-caption img { border-radius: var(--radius-sm); }
.wp-caption-text, figcaption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 6px; }

/* 置顶与评论作者 */
.sticky .post-card, .sticky { position: relative; }
.sticky::before { content: "置顶"; }
.bypostauthor > .comment-body .comment-author::after { content: "作者"; font-size: 12px; background: var(--gold); color: #fff; border-radius: 4px; padding: 1px 6px; margin-left: 6px; }

/* 评论头像与表单 */
.comment-list .avatar { border-radius: 50%; margin-right: 10px; vertical-align: middle; }
.comment-form p { margin-bottom: 14px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit;
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, .18); }
.comment-form .submit { background: linear-gradient(135deg, #ffb400, #d4af37 55%, #b8860b); color: #fff; border: 0; padding: 12px 30px; border-radius: 999px; font-size: 16px; font-weight: 600; cursor: pointer; font-family: inherit; }
.comment-form .submit:hover { box-shadow: 0 8px 22px rgba(212, 175, 55, .38); }
.comment-reply-link { font-size: 13px; color: var(--muted); }
.comment-reply-link:hover { color: var(--gold-2); }

/* 分页链接（文章内） */
.page-links { margin: 1.4em 0; display: flex; gap: 8px; align-items: center; }
.page-links a, .page-links > span { display: inline-flex; min-width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.page-links > span { background: var(--gold); border-color: var(--gold); color: #fff; }

/* 相册 */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); margin: 1.4em 0; }
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-item img { border-radius: var(--radius-sm); }

/* 密码保护表单 */
.post-password-form input[type="password"] { padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: inherit; }
.post-password-form input[type="submit"] { margin-left: 10px; padding: 11px 26px; border: 0; border-radius: 999px; background: var(--gold); color: #fff; cursor: pointer; font-family: inherit; }

/* 响应式视频 */
.wp-block-embed iframe, iframe { max-width: 100%; }
.app-guide{
    /* 【改动1】fixed -> sticky：跟随页面移动并吸顶 */
    position:sticky;
    top:0; left:0; right:0;
    z-index:9999;
    /* 【改动2】none -> flex：默认显示 */
    display:flex;
    align-items:center;
    gap:8px;
    width:100%;
    max-width:750px;
    margin:0 auto;
    height:clamp(64px, 19.2vw, 72px);
    background:url('../images/bg.png') center center no-repeat;
    background-size:100% 100%;
    overflow:hidden;
}
.app-guide .logo{
    flex:none;
    width:clamp(38px, 11.5vw, 43px);
    height:auto;
    margin-left:clamp(12px, 5vw, 19px);
    border-radius:7px;
}
.app-guide .text{
    flex:1;
    min-width:0;
    overflow:hidden;
}
.app-guide .text .text1{
    color:#333;
    font-weight:700;
    font-size:clamp(14px, 4.9vw, 18px);
    line-height:1.25;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
/* 【改动3】text2/text3 始终显示，不再在小屏隐藏；超长时用省略号兜底，避免破版 */
.app-guide .text .text2,
.app-guide .text .text3{
    color:#666;
    font-size:clamp(10px, 3.2vw, 12px);
    margin-top:1px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.app-guide .text a{
    color:#703e0e;
    text-decoration:none;
}
.app-guide .version{
    flex:none;
    text-align:center;
    color:#333;
    font-size:12px;
    margin-right:clamp(10px, 7vw, 28px);
}
.app-guide .version .v{
    padding:2px 0;
}
.app-guide .version .link{
    display:inline-block;
    width:clamp(78px, 24vw, 90px);
    height:clamp(26px, 8vw, 30px);
}
.app-guide .close{
    position:absolute;
    top:clamp(8px, 3.5vw, 13px);
    right:clamp(10px, 5.5vw, 21px);
    width:14px;
    height:14px;
    cursor:pointer;
}

/* PC 端隐藏：保留原逻辑 */
@media (min-width:769px){
    .app-guide{ display:none !important; }
}

/* 【改动3续】极小屏：只保留间距微调，不再隐藏 text2/text3 */
@media (max-width:359px){
    .app-guide .version{ margin-right:10px; }
}
/* 底部悬浮栏，移动端隐藏 */
.common_bottomFloat {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 99;
    background: #0000005c;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 5px 0;
}
.common_bottomFloat .companyLink:first-child {
    background: url(../images/Abg.png) center center no-repeat;
    background-size: cover;
}
.common_bottomFloat .companyLink {
    color: #000;
    display: inline-block;
    height: 70px;
    padding: 10px 30px;
    border-radius: 5px;
    margin: 2px 10px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, .5);
}
.common_bottomFloat .bottomFloat_link_acetop .link_right {
    float: right;
    color: #000;
    padding: 10px 20px;
    border-radius: 5px;
    margin: 4px 0;
    background-color: #fff;
    width: 300px;
    font-size: 20px;
    line-height: 1.3;
}
.common_bottomFloat .companyLink:nth-of-type(2) {
    background: url(../images/Abg.png) center center no-repeat;
    background-size: cover;
}
.common_bottomFloat .companyLink:nth-of-type(2) .link_right {
    color: #000;
}

/* 新增：屏幕宽度小于768px时隐藏底部悬浮 */
@media (max-width:767px){
    .common_bottomFloat{
        display: none !important;
    }
}
.app-float-modal {
    width: 174px;
    background: #fff url(https://oauthigstatic.vvvava.cn/img/igoldMC/appDownloadBG.png) no-repeat top center;
    background-size: 100% auto;
    border-radius: 6px;
    padding: 73px 0 21px;
    position: fixed;
    top: 25%;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 10px 0 rgba(119,122,130,.5);
}
.app-float-modal .appDownloadImg {
    display: block;
    margin-bottom: 12px;
}
.app-float-modal .appDownloadImg .appDownloadText {
    display: block;
    background: url(https://oauthigstatic.vvvava.cn/img/igoldMC/btn-nomal.png) no-repeat center center/cover;
    text-align: center;
    font-size: 16px;
    line-height: 34px;
    min-width: 128px;
    height: 34px;
    color: #fff;
    margin-bottom: 5px;
    cursor: default;
}
.app-float-modal-close {
    position: absolute;
    top: -13px;
    right: -11px;
    width: 29px;
    background: #030303;
    opacity: .5;
    border-radius: 50%;
    cursor: pointer;
    display: none;
}
.app-float-modal:hover .app-float-modal-close {
    display: block;
}
.app-float-modal .imgWrap {
    display: block;
    width: 124px;
    height: 124px;
    background: #fff;
    margin: 0 auto 15px;
    border-radius: 8px;
    overflow: hidden;
}
.app-float-modal .imgWrap img {
    width: 100%;
}
@media (max-width: 768px) {
    .app-float-modal {
        display: none;
    }
}