/* ===== PC 通用页面样式（视听/纪事/典藏/新闻/详情/关于/搜索 共用）===== */

/* 视听馆 - 视频板块 */
/* 区块上下间距：40 / 20 → 上一区块 20 + 下一区块 40 = 60px（设计稿区块间距），
   首个区块顶距 hero 也是 40px。左右间距由 .container-w 提供，禁用 padding 简写 */
.stg-section { padding-top: 40px; padding-bottom: 20px; }
.stg-title {
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;    /* 宋体 */
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  color: #333;
  margin-bottom: 30px;                /* title 底到内容顶 30px */
}

/* 精选：大视频（1152×648）+ 米黄文字侧栏（478×648）*/
.stg-feature {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}
.stg-feature__video {
  flex: 1152 1 0;
  position: relative;
  aspect-ratio: 1152 / 648;
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
}
/* CMS 灌入的封面图 / 视频：居中填充整个框，框比例随窗口变也只裁切、不拉伸变形 */
.stg-feature__video > img,
.stg-feature__video > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.stg-feature__bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  /* 设计稿线性渐变：透明 0% → 黑 76%（之后保持黑） */
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #000 76%);
  height: 124px;
  display: flex; align-items: flex-end;   /* 设计稿文字靠下，不居中 */
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 25px;                    /* 文字距 bar 底 25px */
}
.stg-feature__bar h3 {
  font-family: var(--font-sans);   /* 设计稿 PingFang SC */
  font-size: 24px;
  font-weight: 600;                /* Sketch fontWeight=6 → Semibold */
  color: #fff;
  line-height: 33px;               /* 设计稿文字盒高 33px，自然行高 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stg-feature__panel {
  flex: 478 1 0;
  background: var(--color-bg-soft);    /* 米黄文字卡 */
  border-radius: 8px;
  padding: 30px 40px;                  /* 左右间距相同，文本在卡片内居中 */
  display: flex;
  flex-direction: column;
}
.stg-feature__panel p {
  font-size: 16px;
  line-height: 32px;
  color: var(--color-text-secondary);
  text-align: justify;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 16;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.stg-feature__more {
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 900;
  color: #674E11;
}

/* 视频卡片网格：3 列，缩略图 520×292 + 下方标题/副标题 */
.stg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 60px 20px;
}
/* 折叠：默认只显示前 6 张（2 行 × 3 列），超出部分由 shitingguan.js 加/去 .is-collapsed 控制 */
.stg-grid.is-collapsed > .stg-card:nth-child(n+7) { display: none; }

/* 展开/收起按钮：JS 动态生成在网格下方 */
.stg-more {
  display: block;
  margin: 32px auto 0;
  padding: 10px 40px;
  background: transparent;
  border: 1px solid var(--color-divider);
  border-radius: 22px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.stg-more:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
}
.stg-card { cursor: pointer; }
.stg-card__thumb {
  position: relative;
  aspect-ratio: 520 / 292;
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
}
/* CMS 灌入的封面图 / 视频：居中填充、只裁切不变形（同 stg-feature__video）*/
.stg-card__thumb > img,
.stg-card__thumb > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.stg-card__title {
  font-family: var(--font-sans);  /* 设计稿是 PingFang SC，不是衬线 */
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-top: 24px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stg-card__sub {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 27px;
  margin-top: 12px;
  max-height: 54px;                /* 最多 2 行 × 27px；行数少则自适应收缩
                                      （卡片等高由 grid 逐行拉伸保证，不再靠固定高）*/
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 无副标题时整块塌陷（连同 margin-top 一起去掉）：
   一整行都没副标题时，该 grid 行自动收掉副标题高度 */
.stg-card__sub:empty { display: none; }

/* 播放按钮：半透明白圆 + 白三角 */
.stg-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90px; height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .3);
}
.stg-play--sm { width: 64px; height: 64px; }
.stg-play::after {
  content: '';
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent #fff;
}
.stg-play--sm::after { border-width: 10px 0 10px 17px; }

/* 纪事 - 重要活动卡片 + 大事记时间线 */
.events-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 16px 0 48px;
}
.events-row__item {
  position: relative;
  aspect-ratio: 509/360;
  background: #1a1a1a;
  overflow: hidden;
  cursor: pointer;
}
.events-row__item img { width: 100%; height: 100%; object-fit: cover; }
.events-row__item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 60%);
}
.events-row__cap {
  position: absolute;
  left: 24px; right: 24px; bottom: 20px;
  z-index: 2; color: #fff;
}
.events-row__cap h4 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 6px;
}
.events-row__cap p { font-size: 13px; opacity: .9; }

/* 大事记时间线：白卡 + 竖脊线 + 圆点 */
.timeline {
  background: #fff;
  border-radius: 16px;
  padding: 56px 50px;
}
.timeline__track { position: relative; }
.timeline__track::before {
  content: '';
  position: absolute;
  left: 106px;
  top: 18px; bottom: 24px;
  width: 1px;
  /* 设计稿虚线：dashPattern [4,4] 1px #333 — 用 repeating-gradient 精确控制 4/4 */
  background: repeating-linear-gradient(to bottom, #333 0 4px, transparent 4px 8px);
}
.timeline__item {
  display: grid;
  grid-template-columns: 106px 1fr 288px;
  gap: 0 31px;
  align-items: start;
  min-height: 200px;
  position: relative;
}
.timeline__item::before {
  content: '';
  position: absolute;
  left: 101px; top: 14px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-text-secondary);
}
.timeline__date {
  font-family: var(--font-num);
  font-size: 32px;
  font-weight: 900;             /* Sketch fontWeight=9 */
  color: #333;
  line-height: 37px;
}
.timeline__date span {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;             /* Sketch fontWeight=5 */
  margin-left: 2px;
}
.timeline__body h4 {
  font-family: var(--font-sans);   /* 设计稿 PingFang SC，不是 Noto Serif */
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}
.timeline__body p {
  font-size: 16px;
  line-height: 32px;               /* 设计稿 16/32 */
  color: #333;                     /* 设计稿 #333，不是 muted */
  height: 96px;                    /* 3 行 × 32px，固定高保证 item 等高 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.timeline__thumb {
  aspect-ratio: 288 / 162;
  background: #d8d8d8;
  border-radius: 8px;
  overflow: hidden;
}
.timeline__thumb img { width: 100%; height: 100%; object-fit: cover; }
.timeline__year {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-tertiary);
  padding: 4px 0 20px;
}

/* 典藏 - 介绍卡片（白卡：左图 + 右文）*/
.diancang-intro {
  background: #fff;
  border-radius: 16px;
  height: 500px;
  margin: 35px 0 50px;
  display: flex;
  overflow: hidden;
}
.diancang-intro__img {
  flex: 880 1 0;
}
.diancang-intro__img img { width: 100%; height: 100%; object-fit: cover; }
.diancang-intro__meta {
  flex: 478 1 0;
  padding: 62px 76px 0 60px;
}
.diancang-intro__meta h3 {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 900;
  color: #333;
  margin-bottom: 34px;
}
.diancang-intro__meta p {
  font-size: 16px;
  line-height: 32px;
  color: #333;
  text-align: justify;
}

/* 典藏 - tab 切换（金色当前态 + 短下划线）*/
.dc-tabs {
  display: flex;
  gap: 70px;
  margin-bottom: 30px;
}
.dc-tabs a {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 800;
  color: var(--color-text-primary);
  padding-bottom: 16px;
  position: relative;
}
.dc-tabs a.is-active { color: #997A29; }
.dc-tabs a.is-active::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);          /* 下划线相对各 tab 文本居中，不随字数偏移 */
  width: 36px; height: 8px;
  border-radius: 4px;
  background: #997A29;
}

/* 典藏 - 书架网格（书卡 = 白卡 + 方形封面 + 标题/出版）*/
.book-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: 8px;
}
.book-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}
.book-card__cover {
  aspect-ratio: 1 / 1;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.book-card__cover img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.book-card__title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin: 22px 18px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 设计稿：出版社 → 作者 两行独立堆叠（不是一行左右分布）。
   HTML 里 author 在前、press 在后 → 用 column-reverse 让出版社显示在上，
   免去动 9 处 li 的顺序 */
.book-card__meta {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #333;                       /* 设计稿两行同色 #333 */
  margin: 16px 18px 22px;
}
.book-card__meta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.book-card__meta span:empty { display: none; }

/* 典藏 - 数字文献馆 网格（5 列纯图卡片，无标题/meta）*/
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: 8px;
}
.archive-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}
.archive-card__cover {
  aspect-ratio: 1694 / 1100;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.archive-card__cover img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.archive-card__title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0 18px 24px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 通用分页：数字 + 上/下一页，当前页金色圆点，prev/next 文字外挂白底箭头圆点 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 40px 0 56px;
}
.pagination > a,
.pagination > span {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-tertiary);
  border-radius: 50%;
}
.pagination .is-active { background: #997A29; color: #fff; }
.pagination > a:hover { color: var(--color-brand-deep); }

.pagination .prev,
.pagination .next {
  width: auto;
  gap: 16px;
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
  border-radius: 0;
  flex-shrink: 0;
}
.pagination .prev:hover::after,
.pagination .next:hover::before { background: #F0E6CD; }
.pagination .prev::after,
.pagination .next::before {
  content: '‹';
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  color: #997A29;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  transition: background .2s;
}
.pagination .next::before { content: '›'; }

/* 新闻 - 主推 banner（图 + 轮播圆点；无图时露出默认「百年巨匠」占位）*/
.news-banner {
  position: relative;
  aspect-ratio: 1600 / 760;
  background: #1a1a1a url(../img/xinwen/new-defult.png) center/cover no-repeat;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
}
.news-banner img { width: 100%; height: 100%; object-fit: cover; }
/* Swiper pagination 容器：用 flex 布局横向排圆点，覆盖 Swiper 默认的 width:100% 定位 */
.news-banner__dots.swiper-pagination {
  position: absolute;
  left: 50%; bottom: 24px;
  width: auto;                              /* 覆盖 Swiper 默认 width:100% */
  transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 2;
}
/* Swiper 生成的圆点 —— 与原设计稿一致（9px 白色半透明；激活态实白 + 略放大）*/
.news-banner__dots .swiper-pagination-bullet {
  width: 9px; height: 9px;
  margin: 0;                                /* 覆盖 Swiper 默认 margin */
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  opacity: 1;                               /* 覆盖 Swiper 默认 opacity:.2 */
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.news-banner__dots .swiper-pagination-bullet:hover { background: rgba(255, 255, 255, .8); }
.news-banner__dots .swiper-pagination-bullet-active {
  background: #fff; transform: scale(1.15);
}

/* 新闻 - 列表（白卡 + 每条一行：左文 + 右缩略图）*/
.news-card {
  background: #fff;
  border-radius: 16px;
  padding: 0 40px;
}
.news-item {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 40px 0;
  border-bottom: 1px dashed var(--color-divider);
}
.news-item:last-child { border-bottom: 0; }
.news-item__body { flex: 1; min-width: 0; }
.news-item__title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-item__title a { color: inherit; }
.news-item__title a:hover { color: var(--color-brand); }
/* 来源 + 日期两栏：用 flex gap 做间距（只出现在两者之间，绝不落在左侧）。
   来源缺失时，:empty 收掉该 span，日期自动左对齐、前面不留 24px 空档 */
.news-item__meta {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin: 14px 0;
  font-size: 14px;
  color: var(--color-text-tertiary);
}
.news-item__meta span:empty,
.news-item__meta time:empty { display: none; }
.news-item__meta time { font-family: var(--font-num); }
.news-item__text {
  font-size: 16px;
  line-height: 28px;
  color: var(--color-text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-item__thumb {
  flex: 0 0 288px;
  aspect-ratio: 288 / 162;
  /* 兜底：CMS 无图时露出默认「百年巨匠」占位；有图时 <img> 覆盖 */
  background: #d8d8d8 url(../img/xinwen/new-defult.png) center/cover no-repeat;
  border-radius: 8px;
  overflow: hidden;
}
.news-item__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* 文章详情页：白底（其余页面为全站米黄 --color-bg）*/
body.article-page { background: #fff; }

/* 文章详情：1200 宽居中（标题 / 信息 / 导语灰框 / 配图 / 正文）*/
.article {
  max-width: 1200px;
  margin: 62px auto 80px;
}
.article__title {
  font-family: var(--font-sans);
  font-size: 34px;
  font-weight: 500;
  color: var(--color-text-secondary);
  line-height: 1.4;
  margin-bottom: 26px;
}
.article__meta {
  font-size: 18px;
  color: #666;
  margin-bottom: 50px;
}
.article__meta span { margin-right: 32px; }
.article__lead {
  background: #f7f7f7;
  border-radius: 8px;
  padding: 19px 26px;
  font-size: 14px;
  line-height: 32px;
  color: #333;
  margin-bottom: 40px;
}
/* 文章配图：设计稿为「原始宽高比 + 居中 + 不裁剪」。竖图 / 方图窄于正文列时两侧留白居中，
   宽图至多占满正文列宽；CMS 未配图时露出默认「百年巨匠」占位框（同样居中）。 */
.article__figure { margin: 0 0 38px; text-align: center; }
.article__img {
  display: inline-flex;              /* 收缩到图片自身尺寸，配合父级 text-align:center 水平居中 */
  align-items: center;
  justify-content: center;
  max-width: 100%;                  /* 宽图不超出正文列宽 */
  min-width: 320px;                 /* 空图占位框最小宽 */
  min-height: 220px;                /* 空图占位框最小高 */
  overflow: hidden;
  vertical-align: top;
  /* 兜底：CMS 未配图时露出默认「百年巨匠」占位；有图时 <img> 覆盖 */
  background: #d8d8d8 url(../img/xinwen/new-defult.png) center/cover no-repeat;
}
.article__img img { display: block; max-width: 100%; height: auto; }   /* 原始宽高比，不裁剪不拉伸 */
.article__figure figcaption {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 12px;
  text-align: center;
}
.article__body {
  font-size: 18px;
  line-height: 40px;
  color: #333;
  text-align: justify;
}
.article__body p { margin: 0 0 20px; }
.article__body p:last-child { margin-bottom: 0; }
/* CMS 富文本正文插图：全局 img{display:block}（common.css）会让编辑器「段落居中」对图片失效
   （text-align 只影响行内内容，块级 img 会贴左），这里对正文内图片统一 auto 居中：
   编辑器点不点居中按钮都居中显示，与设计稿插图处理一致；
   宽图仍被 max-width:100% 限制不变形；编辑器 align=left/right 的浮动图不受影响。 */
.article__body img { margin: 0 auto; height: auto; }

/* 关于我们 - 主创团队 / 荣誉 / 鸣谢 */
.about-section { padding-block: 40px; }   /* 左右间距由 .container-w 提供，勿用 padding 简写 */
.about-section h2 {
  font-size: 34px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}
/* 分组标签：居中金字 + 两侧水墨云纹装饰 */
.about-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 44px 0 28px;
}
.about-label span {
  position: relative;
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 600;
  color: var(--color-brand-deep);
  line-height: 1;
  isolation: isolate;
}
.about-label span::before {
  content: attr(data-text);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% - 8px));
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  opacity: 0.7;
  background: linear-gradient(180deg, rgba(216, 199, 160, 0.8) 0%, #F8F3E7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  pointer-events: none;
  z-index: -1;
}
.about-label__orn {
  width: 43px;
  height: 24px;
  display: block;
  flex: 0 0 auto;
}

/* 主创团队网格：每行最多 5 列，单卡宽度 = (容器 - 4×20gap) / 5；
   用 auto-fit + justify-content:center 让任意条数（含末行不满）整行居中 */
.about-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, calc((100% - 80px) / 5));
  gap: 62px 20px;
  justify-content: center;
}
.about-person { text-align: left; }
.about-person__photo {
  width: 100%;
  aspect-ratio: 304 / 366;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}
.about-person__photo img { width: 100%; height: 100%; object-fit: cover; }
.about-person__name {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  color: #333;
  line-height: 1;
}
.about-person__role {
  font-size: 16px;
  color: #666;
  margin-top: 10px;
  line-height: 26px;
}

/* 代言人：宽图 3 列 16:9，末行不满整行居中（用 flex+wrap 实现真居中——grid+auto-fit 多行时
   首行占满的 column 不会 collapse，末行会卡左侧，所以必须用 flex）*/
.spokes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  justify-content: center;
  list-style: none;
  padding: 0;
}
.spokes-card { display: block; width: calc((100% - 48px) / 3); }
.spokes-card__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1a1a;
  margin-bottom: 16px;        /* 与 about-person__photo 一致，给下方姓名/头衔留呼吸感 */
}
.spokes-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.honor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 20px;
  margin-top: 24px;
}
.honor-card { display: block; }
.honor-card__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 385 / 216;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  padding: 12px;
  box-sizing: border-box;
  margin-bottom: 16px;
}
.honor-card__badge img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.honor-card__name {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 28px;
  color: var(--color-text-secondary);
  text-align: justify;
}
.honor-card__name:hover { color: var(--color-brand-deep); }

.thanks-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
/* 鸣谢单位卡片：白底 + logo 居中（padding/背景/居中继承通用规则，仅去底部间距）*/
.thanks-grid .honor-card__badge {
  margin-bottom: 0;
}

/* 搜索页 */
.search-page {
  padding: 64px 0 48px;
}
.search-page__crumb {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}
.search-page__crumb a:hover { color: var(--color-brand); }
.search-bar {
  width: 100%;
  height: 64px;
  background: #fff;
  border: 1px solid var(--color-divider);
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 16px 0 24px;
  margin-bottom: 48px;
}
.search-bar input {
  flex: 1;
  font-size: 16px;
  background: transparent;
  border: 0;
  color: var(--color-text-primary);
}
/* 右侧圆形 ✕ 清除按钮（无独立"搜索"按钮，回车提交）*/
.search-bar__clear {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--color-bg-soft);
  color: var(--color-brand);
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-result__person {
  display: grid;
  grid-template-columns: 212px 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--color-divider);
}
.search-result__person img {
  width: 212px; height: 285px;
  border-radius: 8px;                 /* 方图：与首页 .persons__photo 一致 */
  object-fit: cover;
  object-position: center top;
}
.search-result__person h2 {
  font-size: 28px;
  font-weight: 900;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}
.search-result__person .role,
.search-result__person .date {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}
.search-result__person .bio {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text-secondary);
  margin-top: 12px;
}

.search-result__list li {
  padding: 24px 0;
  border-bottom: 1px solid var(--color-divider);
}
.search-result__list li:last-child { border-bottom: 0; }
.search-result__list a {
  font-size: 16px;
  color: var(--color-text-primary);
  line-height: 1.6;
  display: block;
}
.search-result__list a:hover { color: var(--color-brand); }
.search-result__list em {
  color: var(--color-brand);
  font-style: normal;
}

.search-empty {
  padding: 96px 0;
  text-align: center;
  font-size: 18px;
  color: var(--color-text-muted);
}
