body.wiki-page { margin: 0; background: #f4f7fc; color: #1c2433; font-family: "Montserrat", "Microsoft YaHei", "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif; }
.wiki-page * { box-sizing: border-box; }
.wiki-page a { color: inherit; text-decoration: none; }
.wiki-head { height: 88px; background: #0c2a20; }
.wiki-head-inner { display: flex; align-items: center; max-width: 1636px; height: 100%; margin: 0 auto; padding: 0 62px; }
.wiki-brand { display: flex; align-items: center; flex: none; }
.wiki-brand img { display: block; width: auto; max-width: 170px; max-height: 68px; }
.wiki-main-nav { display: flex; align-items: center; gap: 40px; margin-left: auto; }
.wiki-main-nav a { color: #dfe9e3; font-size: 18px; white-space: nowrap; }
.wiki-main-nav a:hover { color: #fff; }
.wiki-main-nav .wiki-nav-search { display: flex; align-items: center; }
.wiki-main-nav .wiki-icon { width: 20px; height: 20px; stroke: #fff; }
.wiki-banner { position: relative; overflow: hidden; }
.wiki-banner img { display: block; width: 100%; height: auto; }
.wiki-banner::before { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 23, 30, .1), rgba(6, 23, 30, .38) 50%, rgba(6, 23, 30, .1)); content: ""; }
.wiki-banner-copy { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; color: #fff; text-align: center; text-shadow: 0 2px 9px rgba(0, 0, 0, .65); }
.wiki-banner-copy h1 { margin: 0; font-size: 52px; line-height: 1.2; letter-spacing: .12em; }
.wiki-banner-copy p { max-width: 900px; margin: 16px 0 0; font-size: 20px; line-height: 1.6; }
.wiki-icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.wiki { padding: 87px 0 60px; }
.wiki-inner { display: grid; grid-template-columns: minmax(0, 1fr) 332px; gap: 72px; max-width: 1664px; margin: 0 auto; padding: 0 20px; }
.wiki-list { min-width: 0; }
.wiki-card { display: grid; grid-template-columns: 312px minmax(0, 1fr); align-items: center; min-height: 347px; margin-bottom: 30px; padding: 38px 40px 38px 0; overflow: hidden; border-radius: 13px; background: #fff; }
.wiki-image { display: flex; align-items: center; width: 312px; padding-left: 24px; overflow: hidden; }
.wiki-image img { display: block; width: 100%; height: auto; }
.wiki-copy { min-width: 0; padding-left: 40px; }
.wiki-meta { display: flex; align-items: center; gap: 20px; margin-bottom: 17px; color: #4d5a70; font-size: 17px; line-height: 1; }
.wiki-meta span { padding: 7px 11px; border: 1px solid #dbe2ee; border-radius: 6px; color: #52607a; font-size: 13px; }
.wiki-meta time { display: inline-flex; align-items: center; gap: 6px; color: #46536a; }
.wiki-calendar { width: 18px; height: 16px; flex: none; object-fit: contain; }
.wiki-card h1 { margin: 0; color: #1d2432; font-size: 28px; line-height: 1.35; font-weight: 700; }
.wiki-card h1 a:hover { color: #245f48; }
.wiki-card p { display: -webkit-box; margin: 12px 0 26px; overflow: hidden; color: #536178; font-size: 18px; line-height: 1.55; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.wiki-more { display: inline-flex; align-items: center; gap: 4px; padding: 5px 27px; border-radius: 6px; background: #24292d; color: #fff !important; font-size: 16px; line-height: 1; }
.wiki-more:hover { background: #1b5b41; }
.wiki-more .wiki-icon { width: 17px; height: 17px; stroke-width: 2.5; }
.wiki-side h2 { margin: 0 0 30px; color: #101722; font-size: 19px; line-height: 1.2; font-weight: 700; }
.wiki-search { margin-bottom: 70px; }
.wiki-search form { position: relative; }
.wiki-search input { width: 100%; height: 60px; padding: 0 54px 0 25px; border: 1px solid #dde4ef; border-radius: 13px; outline: 0; background: #fff; box-shadow: 0 3px 8px rgba(29, 48, 78, .05); color: #4d5a70; font: inherit; font-size: 15px; }
.wiki-search input:focus { border-color: #1b5b41; }
.wiki-search button { position: absolute; top: 0; right: 0; width: 58px; height: 60px; border: 0; background: transparent; color: #7d88a1; cursor: pointer; font-size: 28px; line-height: 1; }
.wiki-nav { margin-bottom: 70px; }
.wiki-nav a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid #cad8ed; color: #34516f; font-size: 18px; line-height: 1.35; }
.wiki-nav a:first-of-type { padding-top: 0; }
.wiki-nav a.on, .wiki-nav a:hover { color: #1b5b41; font-weight: 700; }
.wiki-nav b { font-weight: 400; }
.wiki-latest { margin-bottom: 70px; }
.wiki-latest-card { display: block; min-height: 142px; margin-bottom: 20px; padding: 29px 30px 23px; border-radius: 13px; background: #fff; box-shadow: 0 4px 11px rgba(28, 44, 71, .06); }
.wiki-latest-card:hover { box-shadow: 0 6px 16px rgba(28, 44, 71, .13); }
.wiki-latest-card strong { display: -webkit-box; overflow: hidden; color: #121a27; font-size: 17px; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.wiki-latest-card span { display: flex; align-items: center; gap: 6px; margin-top: 17px; color: #1d3154; font-size: 14px; }
.wiki-latest-card .wiki-folder { margin-left: 10px; }
.wiki-tags div { display: flex; flex-wrap: wrap; gap: 10px; }
.wiki-tags a { padding: 9px 17px; border-radius: 6px; background: #fff; box-shadow: 0 3px 8px rgba(28, 44, 71, .05); color: #34516f; font-size: 14px; }
.wiki-tags a:hover { background: #1b5b41; color: #fff; }
.wiki .pageContent { display: flex; justify-content: center; margin-top: 40px; }
.wiki .PcToIndex { display: none; }
.wiki .pages { display: flex; gap: 14px; }
.wiki .pages a { display: flex; align-items: center; justify-content: center; width: 52px; height: 50px; border-radius: 6px; background: #fff; color: #101722; font-size: 17px; font-weight: 700; }
.wiki .pages a.active, .wiki .pages a:hover { background: #1b2433; color: #fff; }
.wiki .pages .prevs, .wiki .pages .nexts { display: none; }
.wiki-detail-card { min-width: 0; padding: 58px 64px 70px; border-radius: 13px; background: #fff; }
.wiki-detail-card header { padding-bottom: 30px; border-bottom: 1px solid #e5eaf1; }
.wiki-detail-card h1 { margin: 0; color: #1d2432; font-size: 34px; line-height: 1.4; font-weight: 700; }
.wiki-detail-content { padding-top: 38px; color: #4d5a70; font-size: 18px; line-height: 1.9; overflow-wrap: break-word; }
.wiki-detail-content > *:first-child { margin-top: 0; }
.wiki-detail-content p { margin: 0 0 24px; }
.wiki-detail-content h2, .wiki-detail-content h3, .wiki-detail-content h4 { margin: 34px 0 16px; color: #1d2432; line-height: 1.45; }
.wiki-detail-content h2 { font-size: 26px; }
.wiki-detail-content h3 { font-size: 22px; }
.wiki-detail-content img { max-width: 100%; height: auto; }
.wiki-detail-content table { max-width: 100%; border-collapse: collapse; }
.wiki-detail-content td, .wiki-detail-content th { padding: 8px; border: 1px solid #dbe2ee; }

/* 站点底部：与首页 .footer 保持一致（白底、正文色、字体与默认盒模型） */
.wiki-page .MainFive { background-color: #fff; }
.wiki-page .footer { background: #fff; color: #666; font-family: "Montserrat", "Microsoft Yahei", "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif; }
/* :where 保持低优先级，仅覆盖 .wiki-page * 的 border-box；main.css 响应式里显式声明的 border-box 仍生效 */
.wiki-page :where(.footer, .footer *) { box-sizing: content-box; }

@media (max-width: 1100px) {
  .wiki-head-inner { padding: 0 32px; }
  .wiki-main-nav { display: none; }
  .wiki-banner-copy h1 { font-size: 40px; }
  .wiki-banner-copy p { font-size: 17px; }
  .wiki { padding-top: 42px; }
  .wiki-inner { grid-template-columns: 1fr; gap: 42px; padding: 0 28px; }
  .wiki-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .wiki-search, .wiki-nav, .wiki-latest { margin-bottom: 0; }
}
@media (max-width: 640px) {
  .wiki-head { height: 62px; }
  .wiki-head-inner { padding: 0 16px; }
  .wiki-brand img { max-height: 46px; }
  .wiki-banner-copy { padding: 4px 12px; }
  .wiki-banner-copy h1 { font-size: 23px; }
  .wiki-banner-copy p { max-width: 480px; margin-top: 4px; font-size: 13px; line-height: 1.25; }
  .wiki { padding: 24px 0 30px; }
  .wiki-inner { padding: 0 16px; }
  .wiki-card { grid-template-columns: 1fr; min-height: 0; padding: 0 0 25px; }
  .wiki-image { width: 100%; padding-left: 16px; }
  .wiki-copy { padding: 24px 22px 0; }
  .wiki-meta { gap: 12px; font-size: 14px; }
  .wiki-card h1 { font-size: 21px; }
  .wiki-card p { font-size: 15px; }
  .wiki-detail-card { padding: 34px 24px 42px; }
  .wiki-detail-card h1 { font-size: 25px; }
  .wiki-detail-content { padding-top: 28px; font-size: 16px; }
  .wiki-side { grid-template-columns: 1fr; }
  .wiki .pages { gap: 8px; }
  .wiki .pages a { width: 40px; height: 40px; }
}
