/* ============================================================
   「中国好故事 · 企业好故事数据库」模板样式
   设计基调：中国红 × 描金 × 宣纸底 —— 庄重、大气、易读
   浅色主题；响应式；无外部依赖
   ============================================================ */

:root {
  --red: #b02a30; /* 主色：中国红 */
  --red-deep: #8e1f26; /* 深红 */
  --gold: #c9a063; /* 描金 */
  --gold-light: #ead9bc;
  --bg: #faf8f4; /* 宣纸底 */
  --card: #ffffff;
  --border: #eae4d9;
  --ink: #2b2622; /* 墨色 */
  --ink-2: #7a7168; /* 次级文字 */
  --shadow: 0 2px 12px rgba(60, 40, 20, 0.06);
  --radius: 10px;
}

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

body {
  font-family:
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
}

a {
  color: var(--red);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.enterprise-logo img {
  width: 108px;
  height: 108px;
  border-radius: 10px;
}

/* ==================== 顶部导航 ==================== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--red-deep);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  writing-mode: vertical-rl;
  line-height: 1.1;
  box-shadow: inset 0 0 0 2px var(--gold);
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-text strong {
  font-size: 18px;
  color: var(--ink);
  letter-spacing: 2px;
}
.brand-text em {
  font-style: normal;
  font-size: 11px;
  color: var(--ink-2);
  letter-spacing: 1px;
}

.header-logo {
  display: flex;
  align-items: center;
}
.header-logo a {
  display: block;
}
.header-logo img {
  height: 42px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.site-nav a {
  color: var(--ink);
  font-size: 15px;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover {
  color: var(--red);
  text-decoration: none;
  border-bottom-color: var(--red);
}

.header-search {
  display: flex;
}
.header-search input {
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 6px 0 0 6px;
  padding: 7px 12px;
  font-size: 13px;
  width: 200px;
  background: var(--bg);
  outline: none;
}
.header-search input:focus {
  border-color: var(--gold);
}
.header-search button {
  border: none;
  background: var(--red);
  color: #fff;
  padding: 0 16px;
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  cursor: pointer;
}

.breadcrumb-bar {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.breadcrumb-bar nav {
  font-size: 13px;
  color: var(--ink-2);
  padding: 8px 0;
}
.breadcrumb-bar a {
  color: var(--ink-2);
}
.breadcrumb-bar a:hover {
  color: var(--red);
}
.breadcrumb-bar span {
  color: var(--ink);
}

/* ==================== 企业身份区 ==================== */
.enterprise-hero {
  background:
    linear-gradient(
      135deg,
      rgba(142, 31, 38, 0.96) 0%,
      rgba(176, 42, 48, 0.92) 60%,
      rgba(176, 42, 48, 0.88) 100%
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0 24px,
      rgba(255, 255, 255, 0.025) 24px 48px
    );
  color: #fff;
  border-bottom: 3px solid var(--gold);
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 40px 20px;
  flex-wrap: wrap;
}

.enterprise-logo svg {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: #fff;
  padding: 6px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.enterprise-identity {
  flex: 1;
  min-width: 280px;
}
.enterprise-identity h1 {
  font-size: 26px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.enterprise-tagline {
  font-size: 15px;
  color: var(--gold-light);
  margin-bottom: 14px;
  letter-spacing: 1px;
}
.enterprise-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.enterprise-tags li {
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.enterprise-tags .story-account-badge {
  background: var(--gold);
  color: var(--red-deep);
  font-weight: 600;
  border-color: var(--gold);
}

.hero-stats {
  display: flex;
  gap: 12px;
}
.stat {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 14px 22px;
  text-align: center;
  min-width: 96px;
}
.stat strong {
  display: block;
  font-size: 24px;
  color: var(--gold-light);
  letter-spacing: 1px;
}
.stat span {
  font-size: 12px;
  opacity: 0.85;
}

/* ==================== 双栏布局 ==================== */
.main-columns {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  padding: 32px 20px 48px;
}
/* 左栏包裹层：主栏多个 section 必须放入 .main-col，避免网格自动摆放把模块挤到右栏 */
.main-col {
  min-width: 0;
}
/* 「更多」链接：链向二级页 */
.more-link {
  flex-shrink: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  letter-spacing: 1px;
  white-space: nowrap;
  border: 1px solid var(--gold-light);
  border-radius: 999px;
  padding: 5px 16px;
  background: #fff;
  transition:
    color 0.15s,
    background 0.15s,
    border-color 0.15s;
}
.more-link:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

/* ==================== 故事列表 ==================== */
.section-head {
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}
.section-head h2 {
  font-size: 22px;
  letter-spacing: 2px;
  display: inline-block;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 10px;
}
.section-head h2 small {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ink-2);
  letter-spacing: 0;
}
.section-head h2::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 22px;
  background: var(--red);
  border-radius: 2px;
  margin-right: 10px;
}

.block-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink-2);
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}
.filter-btn:hover {
  border-color: var(--red);
  color: var(--red);
}
.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.story-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.story-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.story-item:hover {
  box-shadow: 0 6px 22px rgba(60, 40, 20, 0.12);
  transform: translateY(-2px);
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-bottom: 8px;
}
.story-meta time {
  font-size: 12.5px;
  color: var(--ink-2);
}

.block-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 4px;
  color: #fff;
  letter-spacing: 1px;
}
/* 中性标签：Tag_ca 中非主题板块名的一般内容标签（如「文化传承」「一带一路」） */
.tag-plain {
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 4px;
  color: var(--ink-2);
  background: var(--bg);
  border: 1px solid var(--border);
  letter-spacing: 1px;
}
.tag-fendou {
  background: #b0542a;
} /* 奋斗圆梦：赭红 */
.tag-wenhua {
  background: #8a6d3b;
} /* 中华文化（历史保留）：鎏金褐 */
.tag-laozihao {
  background: #8a6d3b;
} /* 老字号：鎏金褐 */
.tag-hezuo {
  background: #2f6e7e;
} /* 合作共赢：青蓝 */
.tag-renwu {
  background: #4a6fa5;
} /* 企业人物：黛蓝 */
.tag-qiyejia {
  background: #8e1f26;
} /* 企业家：正红 */
.tag-chuangxin {
  background: #5b4e9e;
} /* 创新智造：紫 */
.tag-jiangxin {
  background: #6e5a3c;
} /* 匠心品质：古铜 */
.tag-xiangcun {
  background: #b08a2a;
} /* 乡村振兴：金黄褐 */
.tag-lvse {
  background: #3e7d46;
} /* 绿色发展：绿 */
.tag-zeren {
  background: #74504f;
} /* 责任担当：绛紫 */
.tag-shushi {
  background: #35688c;
} /* 数实融合：钢蓝 */
.tag-wenlv {
  background: #a5682f;
} /* 文旅文创：暖橙褐 */
.tag-chuhai {
  background: #23736b;
} /* 文化出海：深海松绿 */
.tag-zhijiao {
  background: #4e6e58;
} /* 智慧教育：苔绿 */
.tag-chengshi {
  background: #8c5a50;
} /* 城市更新：砖红 */
.tag-shuju {
  background: #41628e;
} /* 数据生态：靛蓝 */
.tag-duanju {
  background: #995fa3;
} /* 微短剧创新：紫罗兰 */
.tag-dikong {
  background: #5a6fa0;
} /* 低空经济：天青蓝 */
.tag-zhineng {
  background: #3b6478;
} /* 智能制造：机械青灰 */
.tag-qiche {
  background: #1f7a5c;
} /* 汽车新能源：新能源翠绿 */

.story-item h3 {
  font-size: 18.5px;
  line-height: 1.45;
  margin-bottom: 8px;
}
.story-item h3 a {
  color: var(--ink);
}
.story-item h3 a:hover {
  color: var(--red);
}
.story-summary {
  font-size: 14px;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}
.story-source {
  font-size: 12.5px;
  color: var(--ink-2);
}
.read-more {
  font-size: 13.5px;
  font-weight: 600;
}

.story-note {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--ink-2);
  background: var(--gold-light) /* fallback */;
  background: rgba(201, 160, 99, 0.14);
  border-left: 3px solid var(--gold);
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
}

/* ==================== 侧栏 ==================== */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.side-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
.side-card h2 {
  font-size: 16px;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.side-card h2::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 17px;
  background: var(--gold);
  border-radius: 2px;
  margin-right: 4px;
}
.side-card h2 small {
  font-size: 10.5px;
  font-weight: 400;
  color: var(--ink-2);
}
.side-card p {
  font-size: 14px;
  color: var(--ink-2);
}

.profile-facts {
  margin: 12px 0;
}
.profile-facts div {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 13.5px;
}
.profile-facts dt {
  color: var(--ink-2);
}
.profile-facts dd {
  color: var(--ink);
}

.side-link {
  display: block;
  text-align: center;
  margin-top: 14px;
  padding: 9px 0;
  background: var(--red);
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}
.side-link:hover {
  background: var(--red-deep);
  text-decoration: none;
}

/* 企业概况入口按钮组：官网（红底）+ 工商信息（天眼查/企查查，描边）并排 */
.side-link-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.side-link-row .side-link {
  flex: 1;
  margin-top: 0;
}
.side-link-ext {
  flex: 1;
  display: block;
  text-align: center;
  padding: 9px 0;
  background: #fff;
  color: var(--red);
  border: 1px solid var(--red);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.side-link-ext:hover {
  background: var(--red);
  color: #fff;
  text-decoration: none;
}

/* 二维码矩阵 */
.qr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 10px;
}
.qr-item {
  text-align: center;
}
.qr-item img {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 4px;
  background: #fff;
  display: block;
  margin: 0 auto 6px;
  transition: transform 0.15s;
}
.qr-item:hover img {
  transform: scale(1.05);
}
.qr-item figcaption {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.qr-item a {
  font-size: 11.5px;
  color: var(--ink-2);
  word-break: break-all;
}
.qr-item a:hover {
  color: var(--red);
}
.qr-placeholder .qr-add {
  width: 88px;
  height: 88px;
  margin: 0 auto 6px;
  border: 1.5px dashed var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--gold);
}
.qr-placeholder span {
  font-size: 11.5px;
  color: var(--ink-2);
}

.related-list {
  list-style: none;
}
.related-list li {
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.related-list li:last-child {
  border-bottom: none;
}
.related-list a {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.related-list a:hover {
  color: var(--red);
}
.related-list span {
  font-size: 11.5px;
  color: var(--ink-2);
  white-space: nowrap;
}

/* 企业资讯 / 企业产品介绍（企业页侧栏） */
.news-list time {
  font-size: 11.5px;
  color: var(--ink-2);
  white-space: nowrap;
}
.news-list li {
  flex-wrap: wrap;
}
.news-list li a {
  font-size: 13.5px;
  line-height: 1.6;
}

.product-list {
  list-style: none;
}
.product-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}
.product-list li:last-child {
  border-bottom: none;
}
.product-list a {
  display: block;
}
.product-list a b {
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
}
.product-list a:hover b {
  color: var(--red);
}
.product-list span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-2);
  margin-top: 3px;
  line-height: 1.6;
}

/* ==================== 页脚 ==================== */
.site-footer {
  background: #2b2420;
  color: #c8bfb4;
  margin-top: 20px;
}
.footer-inner {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  padding: 36px 20px;
  flex-wrap: wrap;
}
.footer-about {
  max-width: 460px;
}
.footer-about strong {
  color: #fff;
  font-size: 16px;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 10px;
}
.footer-about p {
  font-size: 13px;
  line-height: 1.8;
}
.footer-links nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 14px;
}
.footer-links a {
  color: #c8bfb4;
  font-size: 13.5px;
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-copy {
  font-size: 12px;
  color: #8a8076;
}

/* ==================== 索引页专属 ==================== */
.page-hero {
  text-align: center;
  padding: 56px 20px 40px;
}
.page-hero h1 {
  font-size: 34px;
  letter-spacing: 6px;
  margin-bottom: 12px;
}
.page-hero h1 span {
  color: var(--red);
}
.page-hero .sub {
  font-size: 15px;
  color: var(--ink-2);
  max-width: 640px;
  margin: 0 auto 18px;
}
.page-hero .host {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 2px;
  border-top: 1px solid var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
  display: inline-block;
  padding: 6px 22px;
}

.blocks-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 14px;
  margin: 34px 0;
}
.block-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: center;
  box-shadow: var(--shadow);
}
.block-card strong {
  display: block;
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--red-deep);
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gold-light);
}
.block-card span {
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.65;
  display: block;
  text-align: left;
}

.standard-box,
.join-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 30px;
  margin-bottom: 34px;
  margin-top: 20px;
}
.standard-box h2,
.join-box h2 {
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.standard-box h2::before,
.join-box h2::before {
  content: "";
  width: 6px;
  height: 20px;
  background: var(--red);
  border-radius: 2px;
}
.standard-box ul {
  list-style: none;
}
.standard-box li {
  padding: 7px 0;
  font-size: 14.5px;
  color: var(--ink-2);
  border-bottom: 1px dashed var(--border);
}
.standard-box li:last-child {
  border-bottom: none;
}
.standard-box li::before {
  content: "◆";
  color: var(--gold);
  margin-right: 10px;
  font-size: 11px;
}
.standard-box li b {
  color: var(--ink);
  font-weight: 600;
}

.join-box p {
  font-size: 14.5px;
  color: var(--ink-2);
  margin-top: 14px;
}
.join-cta {
  text-align: right;
}
.join-cta a {
  font-weight: 600;
}

/* ==================== 联系我们 · 提交收录 ==================== */
.hero-cta {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 14px;
}
.cta-btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 32px;
  border-radius: 999px;
  letter-spacing: 2px;
  box-shadow: 0 4px 14px rgba(176, 42, 48, 0.28);
  transition:
    background 0.15s,
    transform 0.15s;
}
.cta-btn:hover {
  background: var(--red-deep);
  text-decoration: none;
  transform: translateY(-1px);
}
.cta-btn.ghost {
  background: transparent;
  color: var(--ink-2);
  box-shadow: none;
  border: 1px solid var(--border);
  letter-spacing: 1px;
}
.cta-btn.ghost:hover {
  color: var(--red);
  border-color: var(--red);
  background: transparent;
}

.contact-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 30px;
  margin: 34px 0 20px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 26px;
}

.submit-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.submit-form .form-field {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}
.submit-form label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.submit-form label em {
  color: var(--red);
  font-style: normal;
  margin-left: 2px;
}
.submit-form input,
.submit-form select,
.submit-form textarea {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 14px;
  font-family: inherit;
  background: var(--bg);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}
.submit-form input:focus,
.submit-form select:focus,
.submit-form textarea:focus {
  border-color: var(--gold);
  background: #fff;
}
.submit-form textarea {
  resize: vertical;
}
.submit-form ::placeholder {
  color: #b4aba0;
}
.submit-form input[type="file"] {
  padding: 7px 10px;
  font-size: 13px;
  cursor: pointer;
}
.submit-form input[type="file"]::file-selector-button {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--red-deep);
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 5px;
  margin-right: 10px;
  cursor: pointer;
  font-weight: 600;
}
.submit-form input[type="file"]::file-selector-button:hover {
  border-color: var(--red);
}
.field-hint {
  display: block;
  font-size: 11.5px;
  color: var(--ink-2);
  margin-top: 5px;
  line-height: 1.5;
}

/* 素材提交区（模板下载 + 上传） */
.upload-block {
  border: 1px dashed var(--gold);
  background: #fffdf8;
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 16px;
}

/* 意向服务模块多选区 */
.module-select {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px 12px;
  margin: 0 0 16px;
  background: var(--card);
}
.module-select legend {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 0 8px;
  background: var(--card);
  border-radius: 4px;
}
.module-select legend em {
  color: var(--red);
  font-style: normal;
}
.module-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.module-option {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--bg);
  transition:
    border-color 0.15s,
    background 0.15s,
    box-shadow 0.15s;
}
.module-option:hover {
  border-color: var(--gold);
}
.module-option input {
  margin-top: 3px;
  accent-color: var(--red);
  width: 15px;
  height: 15px;
  flex: none;
}
.module-option b {
  display: block;
  font-size: 14px;
  color: var(--ink);
}
.module-option small {
  display: block;
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 2px;
  line-height: 1.5;
}
.module-option:has(input:checked) {
  border-color: var(--red);
  background: #fdf6f4;
  box-shadow: inset 0 0 0 1px var(--red);
}
.upload-head strong {
  font-size: 14.5px;
  color: var(--red-deep);
  letter-spacing: 1px;
}
.upload-head p {
  font-size: 12.5px;
  color: var(--ink-2);
  margin-top: 2px;
  margin-bottom: 12px;
}
.template-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 14px;
}
.td-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 240px;
}
.td-icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.td-info strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}
.td-info small {
  font-size: 12px;
  color: var(--ink-2);
}
.download-btn {
  flex: none;
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 999px;
  letter-spacing: 1px;
  transition:
    background 0.15s,
    transform 0.15s;
}
.download-btn:hover {
  background: var(--red-deep);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.submit-btn {
  border: none;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 3px;
  padding: 11px 40px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(176, 42, 48, 0.28);
  transition:
    background 0.15s,
    transform 0.15s;
}
.submit-btn:hover {
  background: var(--red-deep);
  transform: translateY(-1px);
}
.form-tip {
  font-size: 12.5px;
  color: var(--ink-2);
  flex: 1;
  min-width: 240px;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 18px;
}
.contact-card h3 {
  font-size: 15px;
  letter-spacing: 1.5px;
  color: var(--red-deep);
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.contact-card h3::before {
  content: "";
  width: 5px;
  height: 15px;
  background: var(--gold);
  border-radius: 2px;
}
.contact-item {
  padding: 7px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 13.5px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-item:last-child {
  border-bottom: none;
}
.ci-label {
  color: var(--ink-2);
  font-size: 12px;
  letter-spacing: 1px;
}
.contact-item a {
  font-weight: 600;
  font-size: 14.5px;
}
.contact-item small {
  color: var(--ink-2);
  font-size: 11.5px;
}
.contact-item span:not(.ci-label) {
  font-size: 13.5px;
}

.self-check {
  list-style: none;
}
.self-check li {
  font-size: 13px;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
  line-height: 1.6;
}
.self-check li:last-child {
  border-bottom: none;
}
.self-check li::before {
  content: "◆";
  color: var(--gold);
  margin-right: 8px;
  font-size: 10px;
}
.self-check b {
  color: var(--ink);
}

.review-flow {
  list-style: none;
  counter-reset: flow;
}
.review-flow li {
  counter-increment: flow;
  font-size: 13px;
  color: var(--ink-2);
  padding: 6px 0 6px 30px;
  position: relative;
  border-bottom: 1px dashed var(--border);
}
.review-flow li:last-child {
  border-bottom: none;
}
.review-flow li::before {
  content: counter(flow);
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.join-steps {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.join-step {
  flex: 1;
  min-width: 180px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 13.5px;
}
.join-step b {
  display: block;
  color: var(--red);
  font-size: 15px;
  margin-bottom: 4px;
}

/* 双通道收录流程卡片 */
.flow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 22px;
}
.flow-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px 10px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.flow-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.flow-head h3 {
  font-size: 16.5px;
  letter-spacing: 1px;
  color: var(--ink);
}
.flow-badge {
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: 20px;
  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;
  flex: none;
}
.badge-story {
  background: var(--red-deep);
} /* 故事性优先：正红 */
.badge-data {
  background: #3c6e5a;
} /* 数据量大而全：青绿 */
.flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.flow-steps li {
  position: relative;
  padding: 0 0 16px 34px;
  border-left: 2px solid var(--border);
  margin-left: 10px;
}
.flow-steps li:last-child {
  border-left-color: transparent;
  padding-bottom: 6px;
}
.flow-steps li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--card);
  box-shadow: 0 0 0 2px var(--gold);
}
.flow-steps b {
  display: block;
  color: var(--red);
  font-size: 14.5px;
  margin-bottom: 4px;
}
.flow-steps p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.75;
  margin: 0;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.enterprise-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.enterprise-card:hover {
  box-shadow: 0 6px 22px rgba(60, 40, 20, 0.12);
  transform: translateY(-2px);
}
.enterprise-card .ec-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.ec-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--red-deep), var(--red));
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}
.enterprise-card h3 {
  font-size: 17px;
}
.enterprise-card h3 a {
  color: var(--ink);
}
.enterprise-card h3 a:hover {
  color: var(--red);
}
.ec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.ec-tags span {
  font-size: 11.5px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--ink-2);
}
.enterprise-card p {
  font-size: 13.5px;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}
.ec-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--ink-2);
}
.ec-foot .ec-link {
  font-weight: 600;
}
.header-logo {
  float: left;
  width: 135px;
  height: 27px;
}
.header-logo img {
  width: 100%;
  height: 100%;
}
/* ==================== 翻页（分页） ==================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 28px 0 6px;
  flex-wrap: wrap;
}
.page-btn {
  margin: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  box-shadow: var(--shadow);
  cursor: pointer;
}
a.page-btn:hover {
  border-color: var(--red);
  color: var(--red);
  text-decoration: none;
}
.page-btn.current {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  font-weight: 600;
}
.page-btn.disabled {
  color: #b8afa4;
  background: var(--bg);
  cursor: not-allowed;
  box-shadow: none;
}
.page-info {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-2);
  margin-bottom: 8px;
}

/* ==================== 免责声明（页脚小字） ==================== */
.disclaimer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 20px 18px;
}
.disclaimer-bar p {
  font-size: 11.5px;
  color: #8a8076;
  line-height: 1.85;
  text-align: center;
}

/* ==================== 来源（官网）标签 ==================== */
.src-badge {
  display: inline-block;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: #3c6e5a;
  background: rgba(60, 110, 90, 0.1);
  border: 1px solid rgba(60, 110, 90, 0.35);
  border-radius: 4px;
  padding: 0 7px;
  margin-left: 6px;
  line-height: 1.7;
  letter-spacing: 1px;
  vertical-align: 1px;
  white-space: nowrap;
  margin: 5px;
}
.src-badge.src-official {
  color: var(--red-deep);
  background: rgba(142, 31, 38, 0.08);
  border-color: rgba(142, 31, 38, 0.3);
}
.src-badge.src-chinaso {
  color: #8e1f26;
  background: rgba(176, 42, 48, 0.08);
  border-color: rgba(176, 42, 48, 0.32);
} /* 中国好故事企业AI数据库转载 */
.src-badge.src-ext {
  color: #6b6156;
  background: rgba(0, 0, 0, 0.035);
  border-color: rgba(0, 0, 0, 0.14);
} /* 外部链接 */

/* ==================== 企业数字资产 ==================== */
.asset-group {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: 1px;
  margin: 16px 0 4px;
  padding-left: 10px;
  border-left: 3px solid var(--gold);
}
.asset-list {
  list-style: none;
}
.asset-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}
.asset-list li:last-child {
  border-bottom: none;
}
.asset-list a {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.6;
}
.asset-list a:hover {
  color: var(--red);
}
.asset-list .asset-host {
  display: block;
  font-size: 11.5px;
  color: #9c9083;
  margin-top: 3px;
  word-break: break-all;
  letter-spacing: 0.3px;
}
.asset-disclaimer {
  margin-top: 16px;
  font-size: 11.5px;
  color: #9c9083;
  line-height: 1.85;
  background: rgba(201, 160, 99, 0.12);
  border: 1px dashed rgba(201, 160, 99, 0.5);
  border-radius: 6px;
  padding: 10px 12px;
}
.asset-disclaimer b {
  color: var(--ink-2);
  font-weight: 700;
}

/* ==================== 企业数字图片资产 / 企业数字视频资产 ==================== */

.media-section .section-head h2 small {
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 400;
  margin-left: 8px;
}
.media-note {
  margin: 12px 0 6px;
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.8;
  background: rgba(201, 160, 99, 0.14);
  border-left: 3px solid var(--gold);
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
}
.g-grid,
.v-grid {
  display: grid;
  gap: 14px;
  margin: 10px 0 6px;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
.v-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.g-card,
.v-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.g-card:hover,
.v-card:hover {
  border-color: var(--red);
  text-decoration: none;
  transform: translateY(-2px);
}
.g-thumb,
.v-cover {
  position: relative;
  display: block;
  background: #f1ece2;
}
.g-thumb img,
.v-cover img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
.v-cover img {
  aspect-ratio: 16 / 9;
}
.v-cover.portrait img {
  aspect-ratio: 14 / 16;
}
.v-cover .v-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(142, 31, 38, 0.82);
  color: #fff;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.55);
  pointer-events: none;
}
.g-badge,
.v-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  background: rgba(142, 31, 38, 0.85);
  border-radius: 4px;
  padding: 4px 7px;
  letter-spacing: 1px;
}
.v-badge.v-bili {
  background: rgba(35, 155, 215, 0.88);
}
.v-badge.v-douyin {
  background: rgba(40, 40, 50, 0.82);
}
.g-cap,
.v-cap {
  display: block;
  padding: 9px 11px 8px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink);
  background: #fff;
  border-top: 1px solid var(--border);
}
.v-cap b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.v-cap .v-meta {
  display: block;
  font-size: 11.5px;
  color: var(--ink-2);
  margin-top: 4px;
  font-weight: 400;
}
.g-cap:hover,
.v-cap:hover {
  color: var(--ink);
}
.g-card:hover .g-cap,
.v-card:hover .v-cap b {
  color: var(--red);
}
.img-fallback {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b8afa4;
  font-size: 12px;
  letter-spacing: 1px;
}
/* 搜索入口卡（更多图片 / 更多视频入口，无封面图、以字符符号呈现） */
.g-entry .g-thumb,
.v-entry .v-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.g-entry .g-thumb {
  aspect-ratio: 4 / 3;
}
.v-entry .v-cover {
  aspect-ratio: 16 / 9;
}
.v-entry .v-cover.portrait {
  aspect-ratio: 9 / 16;
}
.entry-glyph {
  font-size: 38px;
  font-weight: 700;
  color: var(--red);
  opacity: 0.5;
  line-height: 1;
}
.entry-sub {
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 8px;
  letter-spacing: 2px;
}

/* 更多故事入口（故事列表底部的搜索直达入口，横向卡片形式） */
.s-entry-grid {
  display: grid;
  gap: 12px;
  margin: 10px 0 6px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.s-entry-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.s-entry-card:hover {
  border-color: var(--red);
  text-decoration: none;
  transform: translateY(-2px);
}
.s-entry-glyph {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(142, 31, 38, 0.07);
  border: 1px solid rgba(142, 31, 38, 0.22);
  color: var(--red);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.s-entry-card b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}
.s-entry-card:hover b {
  color: var(--red);
}
.s-entry-card .s-entry-sub {
  display: block;
  font-size: 11.5px;
  color: var(--ink-2);
  margin-top: 3px;
  letter-spacing: 0.3px;
}

/* ==================== 二级页（企业资讯 / 企业产品） ==================== */
.subpage-hero {
  background: linear-gradient(
    135deg,
    rgba(142, 31, 38, 0.96) 0%,
    rgba(176, 42, 48, 0.92) 60%,
    rgba(176, 42, 48, 0.88) 100%
  );
  color: #fff;
  border-bottom: 3px solid var(--gold);
}
.subpage-hero .container {
  padding: 28px 20px;
}
.subpage-hero h1 {
  font-size: 24px;
  letter-spacing: 3px;
}
.subpage-hero p {
  font-size: 13.5px;
  color: var(--gold-light);
  margin-top: 6px;
  letter-spacing: 1px;
}
.subpage-main {
  max-width: 880px;
  margin: 0 auto;
  padding: 30px 20px 50px;
}
.subpage-note {
  display: none;
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--ink-2);
  background: rgba(201, 160, 99, 0.14);
  border-left: 3px solid var(--gold);
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  line-height: 1.8;
}

/* 产品卡片（二级页） */
.product-cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  margin: 24px 0 8px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.product-card:hover {
  box-shadow: 0 6px 22px rgba(60, 40, 20, 0.12);
  transform: translateY(-2px);
}
.product-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.product-card h3 a {
  color: var(--ink);
}
.product-card h3 a:hover {
  color: var(--red);
}
.product-card p {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.7;
  flex: 1;
}
.product-card .pc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}
.product-card .pc-foot .story-source {
  font-size: 12px;
}

/* 媒体矩阵两列布局（仅保留真实平台时） */
.qr-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* ==================== 中国好故事企业AI数据库跳转页 ==================== */
.jump-wrap {
  max-width: 620px;
  margin: 9vh auto 40px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(60, 40, 20, 0.12);
  padding: 46px 42px 38px;
  text-align: center;
}
.jump-wrap .jump-mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--red-deep);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: inset 0 0 0 2px var(--gold);
}
.jump-wrap h1 {
  font-size: 22px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.jump-wrap .jump-target {
  font-size: 14px;
  color: var(--ink-2);
  word-break: break-all;
}
.jump-wrap .jump-target b {
  color: var(--red);
}
.jump-count {
  font-size: 42px;
  font-weight: 700;
  color: var(--red);
  margin: 22px 0 4px;
  letter-spacing: 2px;
}
.jump-count-unit {
  font-size: 13px;
  color: var(--ink-2);
}
.jump-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.jump-btn {
  display: inline-block;
  padding: 10px 34px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 2px;
  cursor: pointer;
  background: var(--red);
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(176, 42, 48, 0.28);
  transition: background 0.15s;
}
.jump-btn:hover {
  background: var(--red-deep);
  color: #fff;
  text-decoration: none;
}
.jump-btn.ghost {
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--border);
  box-shadow: none;
}
.jump-btn.ghost:hover {
  color: var(--red);
  border-color: var(--red);
  background: transparent;
}
.jump-note {
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 24px;
  line-height: 1.8;
}

/* ==================== 响应式 ==================== */
@media (max-width: 980px) {
  .main-columns {
    grid-template-columns: 1fr;
  }
  .blocks-row {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
  .flow-grid {
    grid-template-columns: 1fr;
  }
  .site-nav {
    display: none;
  }
  .header-search {
    margin-left: auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .submit-form .form-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .header-search input {
    width: 120px;
  }
  .hero-inner {
    gap: 18px;
  }
  .enterprise-identity h1 {
    font-size: 18px;
  }
  .hero-stats {
    width: 100%;
    justify-content: space-between;
  }
  .qr-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .blocks-row {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
  .header-logo img {
    height: 34px;
  }
  .module-options {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   「企业AI好故事数据库」门户首页（index.html）
   全库数据带 / 全库好故事精选卡 / 入驻 CTA 横幅
   ============================================================ */

/* ---- 全库数据带：紧贴主视觉下方 ---- */
.db-band {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin: -6px 0 26px;
  background: var(--card);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.db-stat {
  flex: 1 1 160px;
  text-align: center;
  padding: 20px 12px 18px;
  border-left: 1px solid var(--gold-light);
}
.db-stat:first-child {
  border-left: none;
}
.db-stat strong {
  display: block;
  font-size: 30px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 1px;
  line-height: 1.2;
}
.db-stat strong small {
  font-size: 15px;
}
.db-stat span {
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 1px;
}
.db-stat .db-note {
  font-size: 12px;
  color: var(--gold);
  margin-top: 2px;
}

/* ---- 全库好故事精选卡 ---- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
  margin: 8px 0 10px;
}
.feat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.feat-card:hover {
  box-shadow: 0 6px 22px rgba(60, 40, 20, 0.12);
  transform: translateY(-2px);
}
.feat-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.feat-meta time {
  margin-left: auto;
  font-size: 12px;
  color: var(--ink-2);
}
.feat-company {
  font-size: 12px;
  font-weight: 600;
  color: var(--red-deep);
  letter-spacing: 1px;
  padding: 2px 11px;
  border-radius: 999px;
  background: rgba(201, 160, 99, 0.14);
  border: 1px solid var(--gold-light);
  white-space: nowrap;
}
.feat-company:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  text-decoration: none;
}
.feat-card h3 {
  font-size: 16.5px;
  line-height: 1.5;
  margin-bottom: 8px;
}
.feat-card h3 a {
  color: var(--ink);
}
.feat-card h3 a:hover {
  color: var(--red);
}
.feat-summary {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin-bottom: 12px;
}
.feat-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px dashed var(--border);
  padding-top: 10px;
}
.feat-src {
  font-size: 12px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feat-foot .read-more {
  flex-shrink: 0;
  font-size: 13px;
}

/* ---- 入驻 CTA 横幅 ---- */
.join-cta-band {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin: 42px 0 6px;
  padding: 30px 34px;
  background: linear-gradient(120deg, #fff 0%, #fdf6ec 100%);
  border: 1px solid var(--gold-light);
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.join-cta-band h3 {
  font-size: 21px;
  letter-spacing: 2px;
  color: var(--ink);
  margin-bottom: 8px;
}
.join-cta-band p {
  font-size: 13.5px;
  color: var(--ink-2);
  max-width: 620px;
}
.join-cta-band .cta-btn {
  margin-left: auto;
  flex-shrink: 0;
}

/* ---- 企业索引卡：数据行微调 ---- */
.ec-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.ec-foot > span {
  font-size: 12.5px;
  color: var(--ink-2);
}

/* ---- 首页门户响应式 ---- */
@media (max-width: 720px) {
  .db-stat {
    flex: 1 1 46%;
    border-left: none;
    border-top: 1px solid var(--gold-light);
  }
  .db-stat:nth-child(-n + 2) {
    border-top: none;
  }
  .db-stat strong {
    font-size: 24px;
  }
  .join-cta-band {
    padding: 22px 18px;
  }
  .join-cta-band .cta-btn {
    margin-left: 0;
  }
  .enterprise-logo {
    margin: 0 auto;
  }
}

/* ==================== 中国好故事会客厅 · 访谈详情页 ==================== */
.interview-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 40px 28px;
  margin-top: 26px;
}
.interview-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--red-deep);
  background: rgba(176, 42, 48, 0.08);
  border: 1px solid rgba(176, 42, 48, 0.25);
  border-radius: 999px;
  padding: 3px 14px;
  margin-bottom: 14px;
}
.interview-card h1 {
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 1px;
  color: var(--ink);
  margin-bottom: 12px;
}
.interview-card img {
  max-width: 100%;
}
.interview-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-2);
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.interview-meta time {
  color: var(--ink-2);
}
.interview-body p {
  font-size: 16px;
  line-height: 2.05;
  color: var(--ink);
  margin: 0 0 16px;
  text-indent: 2em;
}
.interview-body .speaker {
  font-weight: 700;
  color: var(--red-deep);
  text-indent: 0;
}
.interview-body .caption {
  text-indent: 0;
  text-align: center;
  font-size: 13px;
  color: var(--ink-2);
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: 6px;
  padding: 8px 12px;
}
.interview-body .lead {
  font-size: 16.5px;
}
.interview-body img {
  max-width: 100%;
  max-height: 100%;
  /* display: block; */
  text-align: center;
  text-indent: 0em;
  margin: 0 auto;
}
.interview-keywords {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
}
.interview-keywords .kw-label {
  font-size: 12.5px;
  color: var(--ink-2);
  letter-spacing: 1px;
}
.interview-keywords .kw-tag {
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--gold-light);
  color: var(--ink);
}

/* ---- 企业产品问答（AI 可读增强内容）：置于正文之后、正文标签之内 ---- */
.qa-section {
  margin-top: 30px;
  padding: 24px 26px 18px;
  background: rgba(201, 160, 99, 0.07);
  border: 1px dashed rgba(201, 160, 99, 0.55);
  border-radius: 10px;
}
.qa-section h2 {
  font-size: 17px;
  letter-spacing: 1.5px;
  color: var(--red-deep);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.qa-section h2::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 17px;
  background: var(--gold);
  border-radius: 2px;
}
.qa-section h2 small {
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-2);
  letter-spacing: 0.5px;
}
.qa-note {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.9;
  margin-bottom: 14px;
  padding: 8px 12px;
  background: rgba(201, 160, 99, 0.12);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
}
.qa-item {
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}
.qa-item:last-child {
  border-bottom: none;
}
.qa-item .qa-q {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}
.qa-item .qa-q::before {
  content: "问";
  flex: none;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  line-height: 20px;
  vertical-align: 2px;
}
.qa-item .qa-a {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.95;
  margin: 0;
  text-align: justify;
}
.qa-item .qa-a::before {
  content: "答";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  border-radius: 4px;
  background: var(--gold);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  line-height: 20px;
  vertical-align: 2px;
}
.qa-item .qa-src {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  color: #9c9083;
  letter-spacing: 0.3px;
}

@media (max-width: 720px) {
  .interview-card {
    padding: 22px 18px;
  }
  .interview-card h1 {
    font-size: 20px;
  }
  .interview-body p {
    font-size: 15px;
  }
}

/* ==================== 三鹤品牌文化资料页 ==================== */
.culture-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 36px;
  margin-top: 26px;
  scroll-margin-top: 20px;
}
.culture-card > h2 {
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--ink);
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.culture-card > h2::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 20px;
  background: var(--red);
  border-radius: 2px;
  align-self: center;
}
.culture-card > h2 small {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-2);
  letter-spacing: 0.5px;
}
.culture-card p {
  font-size: 15px;
  line-height: 2;
  color: var(--ink);
  margin: 0 0 14px;
  text-indent: 2em;
  text-align: justify;
}
.culture-card p.no-indent {
  text-indent: 0;
}
.culture-card ul.plain {
  list-style: none;
  margin: 0 0 14px;
}
.culture-card ul.plain li {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink);
  padding: 6px 0 6px 18px;
  position: relative;
  border-bottom: 1px dashed var(--border);
}
.culture-card ul.plain li:last-child {
  border-bottom: none;
}
.culture-card ul.plain li::before {
  content: "◆";
  color: var(--gold);
  position: absolute;
  left: 0;
  font-size: 10px;
  top: 12px;
}
.culture-card .figure {
  margin: 6px 0 16px;
  text-align: center;
}
.culture-card .figure img {
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.culture-card .figure figcaption {
  font-size: 12.5px;
  color: var(--ink-2);
  margin-top: 8px;
}
.craft-flow {
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 0 0 14px;
}
.craft-flow b {
  display: block;
  font-size: 14px;
  color: var(--red-deep);
  margin-bottom: 6px;
}
.craft-flow p {
  font-size: 14.5px;
  letter-spacing: 1px;
  text-indent: 0;
  margin: 0;
  color: var(--ink);
}
.brew-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 14px;
}
.brew-card h3 {
  font-size: 15.5px;
  color: var(--red-deep);
  margin-bottom: 8px;
}
.brew-card ul {
  list-style: none;
  margin: 0;
}
.brew-card li {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
  padding: 3px 0;
}
.brew-card li b {
  color: var(--ink);
  font-weight: 600;
}
.culture-card .en {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--ink-2);
}

/* ==================== 工艺 / 香型 / 品饮 / 四清 ==================== */
.craft-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0 12px;
}
.craft-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px 18px;
  box-shadow: var(--shadow);
}
.craft-card h3 {
  font-size: 17px;
  color: var(--red-deep);
  margin-bottom: 10px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.craft-card h3::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 17px;
  background: var(--gold);
  border-radius: 2px;
}
.craft-list {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}
.craft-list li {
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink);
  padding: 6px 0 6px 16px;
  position: relative;
  border-bottom: 1px dashed var(--border);
}
.craft-list li:last-child {
  border-bottom: none;
}
.craft-list li::before {
  content: "◆";
  color: var(--gold);
  position: absolute;
  left: 0;
  font-size: 9px;
  top: 12px;
}
.craft-list li b {
  color: var(--red-deep);
  font-weight: 700;
  margin-right: 4px;
}
.craft-source {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.85;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}
@media (max-width: 720px) {
  .craft-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== 百科词条详情页（词条版式） ==================== */
html {
  scroll-behavior: smooth;
}

.baike-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 20px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 268px;
  gap: 30px;
  align-items: start;
}
.baike-left {
  min-width: 0;
}
.baike-word {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 36px 32px;
}

/* ---- 词条头：词条名 / 摘要 / 概述 ---- */
.baike-word-contitle {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.baike-keyword {
  font-size: 27px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--ink);
}
.baike-kind {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--red-deep);
  white-space: nowrap;
  background: rgba(176, 42, 48, 0.08);
  border: 1px solid rgba(176, 42, 48, 0.22);
  border-radius: 999px;
  padding: 3px 13px;
}
.headAbstract {
  margin-top: 12px;
  padding: 8px 14px;
  font-size: 13.5px;
  letter-spacing: 0.5px;
  line-height: 1.8;
  color: var(--red-deep);
  background: rgba(201, 160, 99, 0.13);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
}
.titleLine {
  height: 3px;
  margin-top: 14px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--red) 0%,
    var(--gold) 55%,
    rgba(201, 160, 99, 0.12) 100%
  );
}
.baike-word-main {
  margin-top: 16px;
  font-size: 15.5px;
  line-height: 2.05;
  color: var(--ink);
  text-indent: 2em;
  text-align: justify;
}

/* ---- 通用块标题 ---- */
.baike-content-h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 26px 0 12px;
  font-size: 17px;
  letter-spacing: 2px;
  color: var(--ink);
}
.baike-content-h2::before {
  content: "";
  width: 5px;
  height: 17px;
  border-radius: 2px;
  background: var(--red);
}
.baike-content-h2 .baike-tit01 {
  font-weight: 700;
}
.clearb::after {
  content: "";
  display: block;
  clear: both;
}

/* ---- 基本信息 ---- */
.baike-word-list ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
  border-top: 1px dashed var(--border);
}
.baike-word-list li {
  padding: 7px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
  line-height: 1.8;
}
.baike-introduction-label {
  color: var(--ink-2);
}
.baike-introduction-value {
  color: var(--ink);
  word-break: break-word;
}
.baike-introduction-value a {
  color: var(--red);
}

/* ---- 目录 ---- */
.baike-catalog-con ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 26px;
  background: rgba(201, 160, 99, 0.1);
  border: 1px solid var(--gold-light);
  border-radius: 8px;
  padding: 12px 18px;
}
.baike-paddingleft-li {
  padding: 3px 0;
  font-size: 14px;
}
.baike-paddingleft-a {
  color: var(--ink);
}
.baike-paddingleft-a:hover {
  color: var(--red);
  text-decoration: none;
}
.baike-paddingleft-a b {
  margin-right: 7px;
  color: var(--red);
  font-weight: 600;
}

/* ---- 分节正文 ---- */
.baike-article {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.baike-article > h2 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.baike-article > h2 > a[id] {
  position: absolute;
  top: -16px;
  left: 0;
  width: 0;
  height: 0;
}
.baike-article-num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}
.baike-chapter-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ink);
}
.baike-article h3.sub-h {
  margin: 18px 0 8px;
  font-size: 15.5px;
  letter-spacing: 1px;
  color: var(--red-deep);
  display: flex;
  align-items: center;
  gap: 7px;
}
.baike-article h3.sub-h::before {
  content: "";
  width: 4px;
  height: 14px;
  border-radius: 2px;
  background: var(--gold);
}
.baike-paragraph-content {
  margin: 0 0 12px;
  font-size: 15.5px;
  line-height: 2.05;
  color: var(--ink);
  text-indent: 2em;
  text-align: justify;
}
.baike-paragraph-content.no-indent {
  text-indent: 0;
}
.baike-paragraph-content strong {
  color: var(--red-deep);
  font-weight: 700;
}
.baike-paragraph-content.en {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--ink-2);
  text-indent: 0;
}

/* 分节内的图 / 列表 / 流程块（沿用全站红金元素） */
.baike-article .figure {
  margin: 6px 0 16px;
  text-align: center;
}
.baike-article .figure img {
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.baike-article .figure figcaption {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--ink-2);
  text-align: center;
}
.baike-article ul.plain {
  list-style: none;
  margin: 0 0 14px;
}
.baike-article ul.plain li {
  position: relative;
  padding: 6px 0 6px 18px;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--ink);
  border-bottom: 1px dashed var(--border);
}
.baike-article ul.plain li:last-child {
  border-bottom: none;
}
.baike-article ul.plain li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 12px;
  font-size: 10px;
  color: var(--gold);
}
.baike-article ul.plain li b {
  color: var(--red-deep);
}

/* ---- 百科词条表格（获奖记录 / 品牌价值评估等） ---- */
.baike-article table.baike-table {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0 18px;
  font-size: 13.5px;
  background: var(--card);
  border-radius: 6px;
  overflow: hidden;
}
.baike-table caption {
  caption-side: top;
  padding: 0 0 8px;
  font-size: 12.5px;
  letter-spacing: 1px;
  color: var(--ink-2);
  text-align: center;
}
.baike-table th,
.baike-table td {
  padding: 8px 12px;
  border: 1px solid var(--border);
  text-align: left;
  line-height: 1.75;
  vertical-align: top;
}
.baike-table thead th {
  background: rgba(178, 44, 44, 0.08);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}
.baike-table tbody td {
  color: var(--ink-2);
}
.baike-table tbody tr:nth-child(even) td {
  background: rgba(178, 44, 44, 0.03);
}
.baike-table tbody td:first-child {
  color: var(--red-deep);
  font-weight: 600;
  white-space: nowrap;
}
.baike-table tbody td:last-child {
  color: var(--ink);
}
@media (max-width: 960px) {
  .baike-article table.baike-table {
    display: block;
    overflow-x: auto;
  }
}

/* ---- 词条标签 / 参考资料 / 相关词条 ---- */
.baike-material {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.baike-material > h3 {
  margin-bottom: 10px;
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 7px;
}
.baike-material > h3::before {
  content: "";
  width: 4px;
  height: 15px;
  border-radius: 2px;
  background: var(--red);
}
.baike-material .fl {
  float: none;
}
.baike-tag-box {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.entryTagStyle {
  display: inline-block;
  padding: 4px 13px;
  font-size: 12.5px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--gold-light);
  color: var(--ink);
}
.entryTagStyle:hover {
  border-color: var(--gold);
  color: var(--red-deep);
}
.reference {
  list-style: none;
}
.reference li {
  padding: 5px 0;
  font-size: 13px;
  line-height: 1.95;
  color: var(--ink-2);
  border-bottom: 1px dashed var(--border);
}
.reference li:last-child {
  border-bottom: none;
}
.materialTitle {
  color: var(--ink);
}
a.materialTitle {
  color: var(--red);
}
.materialSource {
  font-size: 12.5px;
  color: var(--ink-2);
}
.rel-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}
.rel-list li {
  padding: 5px 0;
  font-size: 13.5px;
  border-bottom: 1px dashed var(--border);
}
.rel-list a {
  color: var(--ink);
}
.rel-list a:hover {
  color: var(--red);
}
.disclaimerBox {
  margin-top: 26px;
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--ink-2);
  background: rgba(201, 160, 99, 0.12);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
}
.disclaimerTitleStyle {
  color: var(--red-deep);
  font-weight: 700;
}

/* ---- 右栏：词条图 + 目录导航 ---- */
.baike-right {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 16px;
  align-content: start;
  max-height: calc(100vh - 34px);
  overflow-y: auto;
  overflow-x: hidden;
}
.baike-pic-new {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
}
.baike-picture-link-a {
  display: block;
}
.baike-picture-img {
  display: block;
  width: 100%;
  border-radius: 6px;
}
.baike-pic-cap {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-2);
  text-align: center;
}
.sideCard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 10px 14px;
}
#sideCatalog ul {
  list-style: none;
}
#sideCatalog a {
  display: block;
  padding: 6px 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
  border-left: 2px solid transparent;
  border-radius: 0 6px 6px 0;
}
#sideCatalog a:hover {
  color: var(--red);
  background: var(--bg);
  text-decoration: none;
}
#sideCatalog a.active {
  color: var(--red-deep);
  font-weight: 600;
  border-left-color: var(--red);
  background: rgba(176, 42, 48, 0.06);
}
.navBtn {
  display: none;
}

/* ---- 页尾说明 ---- */
.baike-foot {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 50px;
}

@media (max-width: 960px) {
  .baike-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-top: 20px;
  }
  .baike-right {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .baike-word {
    padding: 22px 18px 26px;
  }
  .baike-keyword {
    font-size: 22px;
    letter-spacing: 2px;
  }
  .baike-word-list ul,
  .baike-catalog-con ul,
  .rel-list {
    grid-template-columns: 1fr;
  }
  .baike-paragraph-content,
  .baike-word-main {
    font-size: 15px;
  }
  .navBtn {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    letter-spacing: 3px;
    color: #fff;
    background: var(--red);
    border-radius: 8px;
    cursor: pointer;
  }
  #sideToolbar {
    display: none;
  }
  .baike-right.open #sideToolbar {
    display: block;
  }
}

/* ==================== 站内搜索页（search.html） ==================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.search-hero {
  background: linear-gradient(
    135deg,
    rgba(142, 31, 38, 0.97) 0%,
    rgba(176, 42, 48, 0.94) 58%,
    rgba(196, 74, 52, 0.9) 100%
  );
  color: #fff;
}
.search-hero .container {
  padding: 30px 20px 26px;
}
.search-hero h1 {
  font-size: 25px;
  letter-spacing: 4px;
}
.search-hero > .container > p {
  font-size: 13.5px;
  color: var(--gold-light);
  margin-top: 8px;
  letter-spacing: 1px;
}

.search-form-lg {
  display: flex;
  gap: 10px;
  margin: 18px 0 12px;
  max-width: 760px;
}
.search-form-lg input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.search-form-lg input[type="search"]:focus {
  outline: 2px solid var(--gold-light);
  outline-offset: 1px;
}
.search-form-lg button {
  flex: 0 0 auto;
  padding: 12px 30px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--red);
  background: var(--gold-light);
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.search-form-lg button:hover {
  background: #fff;
}

.search-body {
  padding: 22px 20px 46px;
}
.search-count {
  margin: 16px 0 10px;
  font-size: 13.5px;
  color: var(--ink-2);
  letter-spacing: 0.4px;
}
.search-count strong {
  color: var(--red-deep);
}

.search-results {
  list-style: none;
  display: grid;
  gap: 12px;
}
.s-result {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid rgba(142, 31, 38, 0.28);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.s-result:hover {
  border-left-color: var(--red);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.s-result-head {
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.s-result-idx {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 4px;
  background: rgba(142, 31, 38, 0.08);
  color: var(--red);
  font-size: 11.5px;
  font-weight: 700;
}
.s-title {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
  letter-spacing: 0.3px;
}
.s-title:hover {
  color: var(--red);
}
.s-snippet {
  margin: 7px 0 8px 29px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-2);
}
.s-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-left: 29px;
}
.s-meta-text {
  font-size: 11.5px;
  color: var(--ink-2);
  letter-spacing: 0.3px;
}
mark {
  background: rgba(245, 166, 35, 0.34);
  color: inherit;
  padding: 0 1px;
  border-radius: 2px;
}

.search-empty {
  padding: 22px 18px;
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: 8px;
  text-align: center;
}
.search-empty-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 1px;
}
.search-empty-tip {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.9;
}
.search-empty-ext {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-2);
}
.search-empty-ext a {
  color: var(--red);
}

.s-loadmore {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 18px auto 0;
  padding: 11px 18px;
  font-size: 13.5px;
  letter-spacing: 1px;
  color: var(--red);
  background: #fff;
  border: 1px solid rgba(142, 31, 38, 0.35);
  border-radius: 8px;
  cursor: pointer;
}
.s-loadmore:hover {
  background: rgba(142, 31, 38, 0.05);
}
/* 结果列表与「显示更多」按钮显式声明 display，需单独覆盖 [hidden] 才能生效 */
.search-results[hidden],
.s-loadmore[hidden] {
  display: none;
}

.search-help {
  margin-top: 30px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.search-help h2 {
  font-size: 17px;
  letter-spacing: 2px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.search-help h2::before {
  content: "";
  width: 5px;
  height: 17px;
  border-radius: 2px;
  background: var(--red);
}
.search-help ul.plain {
  list-style: none;
  margin: 0 0 16px;
}
.search-help ul.plain li {
  position: relative;
  padding: 6px 0 6px 18px;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--ink);
  border-bottom: 1px dashed var(--border);
}
.search-help ul.plain li:last-child {
  border-bottom: none;
}
.search-help ul.plain li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 12px;
  font-size: 10px;
  color: var(--gold);
}
.search-help ul.plain li b {
  color: var(--red-deep);
}
.s-entry-badge {
  flex: 0 0 auto;
  min-width: 58px;
  padding: 6px 8px;
  text-align: center;
  border-radius: 8px;
  background: rgba(142, 31, 38, 0.07);
  border: 1px solid rgba(142, 31, 38, 0.22);
  color: var(--red);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.5px;
}

@media (max-width: 960px) {
  .search-body {
    padding: 18px 20px 40px;
  }
}
@media (max-width: 640px) {
  .search-form-lg {
    flex-wrap: wrap;
  }
  .search-form-lg button {
    width: 100%;
  }
  .search-hero h1 {
    font-size: 22px;
    letter-spacing: 3px;
  }
  .s-snippet,
  .s-meta {
    margin-left: 0;
  }
}
