/* QICIFIER - 公司官网样式 (参考喜马拉雅资本风格: 庄重/留白/衾线标题) */
:root {
  --navy: #0f2540;
  --navy-2: #1e3d63;
  --ink: #1a2433;
  --soft: #5b6573;
  --line: #e7e3da;
  --bg: #fbfaf7;
  --card: #ffffff;
  --accent: #b08d57;   /* 金色点缀 */
  --accent-soft: #f3ede2;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", "Times New Roman", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 28px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 18px;
}
.brand-text b { display: block; font-size: 16px; letter-spacing: 1px; color: var(--navy); }
.brand-text span { font-size: 11px; letter-spacing: 2px; color: var(--soft); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a.lnk {
  font-size: 14px; color: var(--ink); letter-spacing: 1px;
  padding: 6px 0; position: relative; transition: color .2s;
}
.nav-links a.lnk.active { color: var(--accent); font-weight: 700; }
.nav-links a.lnk.active::after { width: 100%; }
.nav-links a.lnk:hover { color: var(--accent); }
.nav-links a.lnk::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--accent); transition: width .25s;
}
.nav-links a.lnk:hover::after { width: 100%; }
.btn-admin {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--navy); color: var(--navy);
  padding: 8px 18px; border-radius: 999px; font-size: 13px; letter-spacing: 1px;
  transition: all .2s;
}
.btn-admin:hover { background: var(--navy); color: #fff; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(176, 141, 87, .10), transparent 60%),
    var(--navy);
  color: #fff; text-align: left;
  padding: 120px 28px 130px;
}
.hero-inner { max-width: 1080px; margin: 0 auto; }
.hero-eyebrow {
  font-size: 13px; letter-spacing: 4px; color: var(--accent);
  text-transform: uppercase; margin-bottom: 26px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(30px, 5.2vw, 52px); line-height: 1.35;
  max-width: 22em; margin-bottom: 30px;
}
.hero p.hero-sub {
  font-size: 16px; color: rgba(255, 255, 255, .72);
  max-width: 40em; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 999px; font-size: 14px; letter-spacing: 1px;
  transition: all .2s;
}
.btn-hero.solid { background: #fff; color: var(--navy); }
.btn-hero.solid:hover { background: var(--accent); color: #fff; }
.btn-hero.ghost { border: 1px solid rgba(255, 255, 255, .4); color: #fff; }
.btn-hero.ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- 通用 section ---------- */
section.block { padding: 96px 28px; }
.block-alt { background: #fff; }
.block-inner { max-width: 960px; margin: 0 auto; }
.section-kicker {
  font-size: 12px; letter-spacing: 3px; color: var(--accent); text-transform: uppercase;
}
.section-title {
  font-family: var(--serif); font-weight: 700; font-size: clamp(24px, 3.6vw, 34px);
  color: var(--navy); margin: 10px 0 30px;
}
/* 标题与搜索框同一行 (标题左 / 搜索右) */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 26px;
}
.section-head .section-title { margin: 10px 0 0; }
.section-lede {
  font-family: var(--serif); font-size: 18px; color: #3a4552; line-height: 2;
}
.lead { margin-bottom: 26px; }
.paragraph { color: var(--soft); font-size: 15px; margin-bottom: 18px; }
blockquote.quote {
  font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 2;
  color: #4a5462; padding: 24px 30px; margin: 30px 0;
  border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 12px 12px 0;
}

/* ---------- 投资原则 卡片 ---------- */
.principles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.principle {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 28px 26px; transition: transform .2s, box-shadow .2s;
}
.principle:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(15, 37, 64, .08); }
.principle .p-num { font-family: var(--serif); font-size: 15px; color: var(--accent); letter-spacing: 1px; }
.principle h3 { font-family: var(--serif); font-size: 19px; color: var(--navy); margin: 8px 0 12px; }
.principle p { font-size: 14px; color: var(--soft); }

/* ---------- 公司文化 ---------- */
.culture-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 10px; }
.culture-item {
  display: flex; gap: 20px; padding: 26px 10px;
  border-bottom: 1px solid var(--line);
}
.culture-item .c-num {
  font-family: var(--serif); font-size: 26px; color: var(--accent);
  min-width: 52px; font-weight: 700;
}
.culture-item h4 { font-family: var(--serif); font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.culture-item p { font-size: 14px; color: var(--soft); }

/* 公司文化: 愿景 / 使命 / 价值观 三个子区块 */
.culture-sec { padding: 34px 0; border-bottom: 1px solid var(--line); }
.culture-sec:first-child { padding-top: 8px; }
.culture-sec:last-child { border-bottom: none; }
.culture-kicker {
  font-family: var(--serif); font-size: 14px; letter-spacing: 3px;
  color: var(--accent); text-transform: uppercase; margin-bottom: 14px;
}

/* ---------- 公司研究 ---------- */
.research-list { display: flex; flex-direction: column; margin-top: 16px; }
.research-item {
  padding: 24px 6px; border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.research-item:hover { background: #fbf9f4; }
.research-head { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.research-title { font-family: var(--serif); font-size: 17px; color: var(--ink); }
.research-item:hover .research-title { color: var(--accent); }
.research-summary { font-size: 14px; color: var(--soft); margin-top: 8px; line-height: 1.8; }

/* ---------- 公司新闻 ---------- */
.news-list { display: flex; flex-direction: column; margin-top: 16px; }
.news-item {
  display: flex; align-items: baseline; gap: 24px;
  padding: 22px 6px; border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.news-item:hover { background: #fbf9f4; }
.news-date {
  font-size: 13px; color: var(--soft); white-space: nowrap; min-width: 104px;
  font-variant-numeric: tabular-nums;
}
.news-item a.news-title { font-family: var(--serif); font-size: 17px; color: var(--ink); }
.news-item a.news-title:hover { color: var(--accent); }
.news-tag {
  font-size: 11px; letter-spacing: 1px; color: var(--accent);
  border: 1px solid var(--accent); border-radius: 999px; padding: 1px 10px;
  margin-left: 10px; white-space: nowrap;
}

/* ---------- 文章列表 (行业研究 / 公司新闻列表页) ---------- */
/* ---------- 列表页标签筛选 ---------- */
.tag-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 4px; }
.tag-filter:empty { display: none; }
.tag-chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); background: #fff; color: var(--soft);
  border-radius: 999px; padding: 6px 15px; font-size: 12.5px; letter-spacing: .5px;
  cursor: pointer; transition: all .2s;
}
.tag-chip:hover { border-color: var(--accent); color: var(--accent); }
.tag-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.tag-chip .cnt { opacity: .6; font-variant-numeric: tabular-nums; }
.tag-chip.active .cnt { opacity: .85; }

.article-list { display: flex; flex-direction: column; margin-top: 16px; }
.article-item {
  display: block; padding: 22px 6px; border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.article-item:hover { background: #fbf9f4; }
.article-head { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.article-title { font-family: var(--serif); font-size: 18px; color: var(--ink); }
.article-item:hover .article-title { color: var(--accent); }

/* ---------- 列表页内容搜索 ---------- */
.article-search { display: flex; gap: 10px; margin: 18px 0 4px; }
.article-search-inline { margin: 0; flex: 0 1 440px; width: 100%; }
.article-search input[type="search"] {
  flex: 1; min-width: 0; height: 42px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-family: var(--sans); font-size: 14px; color: var(--ink); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.article-search input[type="search"]:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(176, 141, 87, .12);
}
.article-search button {
  flex: none; height: 42px; padding: 0 26px; border: none; border-radius: 999px;
  background: var(--navy); color: #fff; font-family: var(--sans);
  font-size: 14px; letter-spacing: 1px; cursor: pointer; transition: background .2s;
}
.article-search button:hover { background: var(--accent); }

/* ---------- 搜索结果 ---------- */
.search-summary { margin: 14px 0 0; font-size: 13.5px; color: var(--soft); }
.search-summary b { color: var(--navy); }
.search-snippet { margin-top: 8px; font-size: 14px; line-height: 1.9; color: var(--soft); }
.search-snippet mark, .article-title mark {
  background: rgba(176, 141, 87, .22); color: var(--accent);
  padding: 0 2px; border-radius: 3px;
}

/* ---------- 分页 ---------- */
.pager-box:empty { display: none; }
.pager {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line);
}
.page-btn {
  min-width: 36px; height: 36px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  font-family: var(--sans); font-size: 13.5px; color: var(--soft);
  cursor: pointer; transition: all .18s ease;
}
.page-btn:hover:not(:disabled) {
  border-color: var(--accent); color: var(--accent);
  background: rgba(176, 141, 87, .06); transform: translateY(-1px);
}
.page-btn:active:not(:disabled) { transform: translateY(0); }
.page-btn.active {
  background: var(--accent); border-color: var(--accent); color: #fff;
  font-weight: 600; box-shadow: 0 6px 14px rgba(176, 141, 87, .28);
}
.page-btn:disabled { opacity: .4; cursor: not-allowed; background: #fff; }
.page-prev, .page-next {
  padding: 0 16px; border-radius: 999px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
}
.page-prev::before { content: "‹"; font-size: 18px; line-height: 1; margin-top: -1px; }
.page-next::after { content: "›"; font-size: 18px; line-height: 1; margin-top: -1px; }
.pager-gap { color: var(--soft); padding: 0 2px; }
.pager-info { margin-left: auto; font-size: 12.5px; color: var(--soft); }

/* ---------- 文章正文页 ---------- */
.article-meta { display: flex; align-items: baseline; margin-bottom: 12px; }
.article-h1 {
  font-family: var(--serif); font-size: clamp(24px, 3.6vw, 34px);
  color: var(--navy); line-height: 1.4; margin-bottom: 28px;
}
.article-back { margin-top: 40px; }
.article-back .btn-hero.solid { background: var(--navy); color: #fff; }
.article-back .btn-hero.solid:hover { background: var(--accent); }

/* ---------- Markdown 正文 (行业研究 / 公司新闻页) ---------- */
.md-body { font-size: 15px; line-height: 2; color: var(--ink); }
.md-body h1, .md-body h2, .md-body h3 {
  font-family: var(--serif); color: var(--navy);
  margin: 1.6em 0 .7em; line-height: 1.5;
}
.md-body h1 { font-size: 26px; }
.md-body h2 { font-size: 21px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.md-body h3 { font-size: 18px; }
.md-body p { margin: .8em 0; }
.md-body ul, .md-body ol { margin: .8em 0; padding-left: 1.6em; }
.md-body a { color: var(--accent); border-bottom: 1px solid var(--accent); }
.md-body blockquote {
  font-family: var(--serif); color: #4a5462; font-style: italic;
  border-left: 3px solid var(--accent); background: var(--accent-soft);
  padding: 14px 20px; margin: 1.2em 0; border-radius: 0 10px 10px 0;
}
.md-body table { border-collapse: collapse; margin: 1em 0; width: 100%; }
.md-body th, .md-body td { border: 1px solid var(--line); padding: 8px 14px; text-align: left; }
.md-body th { background: var(--accent-soft); font-weight: 600; }
.md-body code { background: var(--accent-soft); padding: 2px 6px; border-radius: 4px; font-size: 13px; }
.md-body pre {
  background: var(--navy); color: #e8eef5; padding: 16px 20px;
  border-radius: 10px; overflow: auto; margin: 1em 0;
}
.md-body pre code { background: transparent; padding: 0; color: inherit; }
.md-body hr { border: none; border-top: 1px solid var(--line); margin: 2em 0; }
.loading-inline { color: var(--soft); font-size: 14px; padding: 20px 0; }

/* ---------- 导入 HTML 报告页 (站点头尾 + 报告内嵌; 报告样式已加 .html-doc 作用域) ---------- */
/* 报告底部的返回列表 / 日期 / 标签栏 */
.html-bar { background: #fff; border-top: 1px solid var(--line); }
.html-bar-inner {
  max-width: 1140px; margin: 0 auto; padding: 18px 28px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px;
}
.html-back { color: var(--navy); font-weight: 600; }
.html-back:hover { color: var(--accent); }
.html-meta {
  margin-left: auto; display: flex; align-items: baseline; gap: 10px; color: var(--soft);
}
.html-doc-title {
  max-width: 1140px; margin: 40px auto 0; padding: 0 24px;
  font-family: var(--serif); font-size: clamp(22px, 3.2vw, 30px);
  color: var(--navy); line-height: 1.42;
}

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--navy), #1e3d63);
  color: #fff; text-align: center; padding: 90px 28px;
}
.cta h2 { font-family: var(--serif); font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 16px; }
.cta p { color: rgba(255, 255, 255, .72); margin-bottom: 30px; }
.cta .btn-hero.solid { background: var(--accent); color: #fff; }
.cta .btn-hero.solid:hover { background: #fff; color: var(--navy); }

/* ---------- 页脚 ---------- */
.footer {
  background: #0c1d31; color: rgba(255, 255, 255, .6);
  padding: 60px 28px 40px; font-size: 13px;
}
.footer-inner { max-width: 1080px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h5 { color: #fff; font-size: 13px; letter-spacing: 2px; margin-bottom: 14px; text-transform: uppercase; }
.footer p { margin-bottom: 8px; line-height: 1.9; }
.footer a { color: rgba(255, 255, 255, .6); }
.footer a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  color: rgba(255, 255, 255, .42); font-size: 12px;
}
/* 矢量图标 (stroke 风格, 继承 currentColor; 与后台 style.css 的 .icon 一致) */
.icon {
  width: 1em; height: 1em; display: inline-block;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -0.125em; flex: 0 0 auto;
}
.footer-bottom .filing .icon { width: 12px; height: 12px; margin-right: 4px; }
.footer-bottom .filing img { width: 20px; height: 20px; vertical-align: -5px; margin-right: 4px; }

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .nav-links { gap: 18px; }
  .nav-links a.lnk { display: none; }
  .hero { padding: 80px 22px 90px; }
  section.block { padding: 64px 22px; }
  .principles-grid, .culture-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .news-item { flex-direction: column; gap: 6px; }
  .article-search { flex-direction: column; }
  .article-search button { width: 100%; }
  .section-head { align-items: stretch; }
  .article-search-inline { flex: 1 1 100%; }
  .pager-info { margin-left: 0; width: 100%; }
}