/* ==========================================================================
   51吃瓜全网 - 整站样式表
   专题档案风 · 墨蓝/档案纸/印章橙
   ========================================================================== */

/* --------------------------------------------------------------------------
   Base / Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #1c1c1c;
  background-color: #f7f3e8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #1b3a4b;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #d98236;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.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;
}

/* --------------------------------------------------------------------------
   Layout / 全站骨架
   -------------------------------------------------------------------------- */
.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #1b3a4b;
  height: 64px;
  box-shadow: 0 2px 8px rgba(27, 58, 75, 0.18);
}

.header-inner {
  max-width: 1180px;
  height: 64px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #f7f3e8;
  letter-spacing: 1px;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 12px;
  color: #6c8595;
  line-height: 1.2;
  display: none;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  color: #dce4e8;
  border-radius: 4px;
  line-height: 1.4;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  color: #f7f3e8;
  background-color: rgba(255, 255, 255, 0.08);
}

.nav-link.is-current {
  color: #f7f3e8;
  background-color: rgba(217, 130, 54, 0.25);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 4px;
}

.menu-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #f7f3e8;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-main {
  flex: 1 0 auto;
}

.site-footer {
  background-color: #1b3a4b;
  color: #c8d3d9;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 48px 0 32px;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #f7f3e8;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #9db1bb;
  max-width: 320px;
}

.footer-title {
  font-size: 15px;
  font-weight: 600;
  color: #f7f3e8;
  margin-bottom: 14px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  font-size: 14px;
  color: #9db1bb;
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: #f7f3e8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
}

.copyright {
  font-size: 13px;
  color: #6c8595;
}

/* --------------------------------------------------------------------------
   Components / 通用组件
   -------------------------------------------------------------------------- */

/* 面包屑 */
.breadcrumb {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px 0;
  font-size: 14px;
  color: #6c8595;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: #6c8595;
}

.breadcrumb a:hover {
  color: #d98236;
}

.breadcrumb-sep {
  color: #9db1bb;
  user-select: none;
}

.breadcrumb-current {
  color: #1b3a4b;
  font-weight: 500;
}

/* 页面标题区 */
.page-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 24px 8px;
}

.page-title {
  font-size: 36px;
  font-weight: 700;
  color: #1b3a4b;
  line-height: 1.3;
  font-family: "Source Han Sans SC", "Noto Sans SC", "PingFang SC",
    "Microsoft YaHei", sans-serif;
}

.page-title-area {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 24px;
}

.page-lead,
.page-intro {
  font-size: 16px;
  line-height: 1.8;
  color: #4a5a63;
  max-width: 720px;
}

/* 区块标题 */
.section-heading {
  margin-bottom: 32px;
}

.section-heading h2,
.section-title {
  font-size: 26px;
  font-weight: 700;
  color: #1b3a4b;
  line-height: 1.4;
  margin-bottom: 8px;
  font-family: "Source Han Sans SC", "Noto Sans SC", "PingFang SC",
    "Microsoft YaHei", sans-serif;
}

.section-heading p,
.section-desc {
  font-size: 15px;
  color: #6c8595;
  line-height: 1.7;
  max-width: 640px;
}

/* 区块间距 */
.site-main section {
  padding: 56px 0;
}

.site-main section + section {
  border-top: 1px solid rgba(27, 58, 75, 0.08);
}

/* 文本链接 */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #d98236;
  transition: gap 0.2s ease;
}

.text-link:hover {
  gap: 10px;
  color: #b96a24;
}

.text-link::after {
  content: "→";
  font-size: 16px;
  line-height: 1;
}

/* 按钮 */
.btn-primary,
.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background-color: #d98236;
  color: #fff;
}

.btn-primary:hover {
  background-color: #c9742b;
  color: #fff;
  transform: translateY(-2px);
}

.btn-light {
  background-color: transparent;
  color: #f7f3e8;
  border: 1px solid rgba(247, 243, 232, 0.5);
}

.btn-light:hover {
  background-color: rgba(247, 243, 232, 0.1);
  color: #f7f3e8;
}

/* 索引标签 */
.index-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-item {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #1b3a4b;
  background-color: #fff;
  border: 1px solid #d8ceb8;
  border-radius: 6px;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    color 0.2s ease;
}

.tag-item:hover {
  background-color: #1b3a4b;
  border-color: #1b3a4b;
  color: #f7f3e8;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: #fff;
  border: 1px solid #e2dac8;
  border-radius: 8px;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #1b3a4b;
  cursor: pointer;
  list-style: none;
  min-height: 48px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: #d98236;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.8;
  color: #4a5a63;
}

/* 相关卡片 */
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.related-card {
  display: block;
  padding: 24px;
  background-color: #fff;
  border: 1px solid #e2dac8;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: #d98236;
  box-shadow: 0 8px 24px rgba(27, 58, 75, 0.08);
}

.related-card h3,
.related-name {
  font-size: 17px;
  font-weight: 600;
  color: #1b3a4b;
  margin-bottom: 8px;
}

.related-card p,
.related-desc {
  font-size: 14px;
  color: #6c8595;
  line-height: 1.7;
}

/* 步骤条 */
.steps-list,
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step-item,
.process-step {
  position: relative;
  padding: 24px;
  background-color: #fff;
  border: 1px solid #e2dac8;
  border-radius: 8px;
  min-height: 160px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-item:hover,
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(27, 58, 75, 0.08);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #1b3a4b;
  color: #f7f3e8;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  border-radius: 50%;
  margin-bottom: 14px;
}

.step-content h3,
.step-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1b3a4b;
  margin-bottom: 8px;
}

.step-content p,
.step-body p {
  font-size: 14px;
  color: #4a5a63;
  line-height: 1.7;
}

/* 时间轴 */
.timeline-list {
  position: relative;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  position: relative;
  padding: 0 0 32px 56px;
  border-left: 2px solid #d8ceb8;
}

.timeline-item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.timeline-item .step-num {
  position: absolute;
  left: -18px;
  top: 0;
  margin: 0;
}

.timeline-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1b3a4b;
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 14px;
  color: #4a5a63;
  line-height: 1.7;
}

/* 档案卡片（首页/专题页共用） */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.archive-card {
  background-color: #fff;
  border: 1px solid #e2dac8;
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.archive-card:hover {
  transform: translateY(-4px);
  border-color: #d98236;
  box-shadow: 0 8px 24px rgba(27, 58, 75, 0.08);
}

.archive-code {
  font-family: "SF Mono", "Consolas", "Courier New", monospace;
  font-size: 14px;
  color: #d98236;
  font-weight: 700;
  margin-bottom: 12px;
}

.archive-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.archive-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  color: #1b3a4b;
  background-color: #f7f3e8;
  border: 1px solid #d8ceb8;
  border-radius: 4px;
}

.archive-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1b3a4b;
  margin-bottom: 10px;
  line-height: 1.5;
}

.archive-card p {
  font-size: 14px;
  color: #4a5a63;
  line-height: 1.7;
  flex: 1;
}

.archive-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eee5d4;
}

.reading-time {
  font-size: 13px;
  color: #9db1bb;
}

/* 内容图片 */
.content-media {
  margin: 0;
}

.content-media img,
.media-figure img,
.content-figure img,
.scenario-figure img,
.archive-card-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.content-media figcaption,
.media-figure figcaption,
.content-figure figcaption {
  font-size: 13px;
  color: #9db1bb;
  margin-top: 10px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Pages / 首页 index.html
   -------------------------------------------------------------------------- */

/* 首屏对比区 */
.hero-compare {
  background-color: #1b3a4b;
  padding: 72px 0 56px !important;
  border-bottom: 4px solid #d98236;
}

.hero-heading {
  text-align: left;
  margin-bottom: 40px;
}

.hero-heading h1 {
  font-size: 36px;
  font-weight: 700;
  color: #f7f3e8;
  line-height: 1.35;
  margin-bottom: 16px;
  max-width: 640px;
  font-family: "Source Han Sans SC", "Noto Sans SC", "PingFang SC",
    "Microsoft YaHei", sans-serif;
}

.hero-lead {
  font-size: 17px;
  color: #9db1bb;
  line-height: 1.8;
  max-width: 640px;
}

.compare-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.compare-card {
  background-color: #f7f3e8;
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  border-top: 4px solid #d98236;
}

.compare-card h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1b3a4b;
  margin-bottom: 12px;
}

.compare-card > p {
  font-size: 15px;
  color: #4a5a63;
  line-height: 1.7;
  margin-bottom: 20px;
}

.card-icon {
  width: 48px;
  height: 48px;
  background-color: #1b3a4b;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-radar,
.icon-doc {
  display: block;
  width: 24px;
  height: 24px;
  position: relative;
}

.icon-radar::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid #d98236;
  border-radius: 50%;
}

.icon-radar::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px solid #f7f3e8;
  border-radius: 50%;
}

.icon-doc::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border: 2px solid #f7f3e8;
  border-radius: 3px;
}

.icon-doc::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 8px;
  height: 8px;
  border: 2px solid #d98236;
  border-radius: 1px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.feature-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: #4a5a63;
  line-height: 1.6;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background-color: #d98236;
  border-radius: 2px;
}

.content-media-primary {
  margin-top: 48px;
}

.content-media-primary img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
}

/* 今日关注入口条 */
.focus-strip {
  background-color: #fff;
}

.strip-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.strip-intro h2 {
  font-size: 26px;
  font-weight: 700;
  color: #1b3a4b;
}

.strip-intro p {
  font-size: 15px;
  color: #6c8595;
  max-width: 480px;
}

/* 服务层级对比 */
.level-selector {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: #fff;
  padding: 20px 24px;
  border-radius: 8px;
  border: 1px solid #e2dac8;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.range-label {
  font-size: 14px;
  color: #4a5a63;
  font-weight: 500;
}

.level-range {
  flex: 1;
  min-width: 200px;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background-color: #d8ceb8;
  border-radius: 3px;
  outline: none;
}

.level-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background-color: #d98236;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(27, 58, 75, 0.3);
}

.level-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background-color: #d98236;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(27, 58, 75, 0.3);
}

.level-value {
  width: 72px;
  height: 40px;
  padding: 6px 10px;
  font-size: 15px;
  font-weight: 600;
  color: #1b3a4b;
  background-color: #f7f3e8;
  border: 1px solid #d8ceb8;
  border-radius: 6px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.level-hint {
  font-size: 14px;
  color: #6c8595;
}

.level-hint strong {
  color: #d98236;
  font-weight: 600;
}

.level-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.level-card {
  background-color: #fff;
  border: 1px solid #e2dac8;
  border-radius: 8px;
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.level-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(27, 58, 75, 0.08);
}

.level-num {
  font-family: "SF Mono", "Consolas", "Courier New", monospace;
  font-size: 14px;
  font-weight: 700;
  color: #d98236;
  margin-bottom: 12px;
}

.level-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1b3a4b;
  margin-bottom: 10px;
}

.level-card > p {
  font-size: 14px;
  color: #4a5a63;
  line-height: 1.7;
  margin-bottom: 20px;
}

.level-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.level-points li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: #4a5a63;
  line-height: 1.6;
}

.level-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background-color: #d98236;
  border-radius: 50%;
}

/* 业务场景 */
.scenario-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.scenario-card {
  background-color: #fff;
  border: 1px solid #e2dac8;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(27, 58, 75, 0.08);
}

.scenario-figure {
  height: 180px;
  overflow: hidden;
}

.scenario-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scenario-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1b3a4b;
  padding: 20px 24px 0;
}

.scenario-object,
.scenario-question,
.scenario-solution {
  font-size: 14px;
  line-height: 1.7;
  padding: 0 24px;
}

.scenario-object {
  color: #6c8595;
  margin-top: 8px;
}

.scenario-question {
  color: #4a5a63;
  margin-top: 4px;
}

.scenario-solution {
  color: #d98236;
  margin-top: 8px;
  padding-bottom: 24px;
}

/* 内容流 */
.path-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.path-item {
  display: flex;
  align-items: center;
  gap: 24px;
  background-color: #fff;
  border: 1px solid #e2dac8;
  border-radius: 8px;
  padding: 24px 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.path-item:hover {
  border-color: #d98236;
  transform: translateX(4px);
}

.path-level {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 32px;
  padding: 0 14px;
  background-color: #1b3a4b;
  color: #f7f3e8;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
}

.path-body {
  flex: 1;
}

.path-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1b3a4b;
  margin-bottom: 4px;
}

.path-body p {
  font-size: 14px;
  color: #6c8595;
  line-height: 1.6;
}

/* 合作流程预览 */
.process-preview {
  background-color: #fff;
}

.process-preview .steps-list {
  margin-bottom: 40px;
}

.process-preview .btn-primary {
  display: inline-flex;
}

/* FAQ 精选 */
.faq-section {
  background-color: #f7f3e8;
}

/* CTA 横条 */
.cta-banner {
  background-color: #1b3a4b;
  padding: 64px 0 !important;
}

.cta-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 26px;
  font-weight: 700;
  color: #f7f3e8;
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 16px;
  color: #9db1bb;
  margin-bottom: 28px;
  line-height: 1.7;
}

/* 首页相关链接 */
.related-links {
  background-color: #f7f3e8;
  padding: 24px 0 !important;
}

.relate {
  font-size: 14px;
  color: #6c8595;
}

/* --------------------------------------------------------------------------
   Pages / 内页通用
   -------------------------------------------------------------------------- */
.inner-main {
  flex: 1 0 auto;
}

.inner-main .breadcrumb {
  padding-top: 20px;
}

/* --------------------------------------------------------------------------
   Pages / 今日关注 jrgz.html
   -------------------------------------------------------------------------- */

.signal-category-section .category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background-color: #fff;
  border: 1px solid #e2dac8;
  border-radius: 8px;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(27, 58, 75, 0.08);
}

.category-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1b3a4b;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0e8d8;
}

.category-card p {
  font-size: 14px;
  color: #4a5a63;
  line-height: 1.7;
}

/* 历史焦点索引 */
.focus-index-section {
  background-color: #fff;
  border-radius: 8px;
  padding: 32px;
}

.index-list {
  display: flex;
  flex-direction: column;
}

.index-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #eee5d4;
  transition: background-color 0.2s ease;
}

.index-item:last-child {
  border-bottom: none;
}

.index-item:hover {
  background-color: #faf7ef;
}

.index-item time {
  font-family: "SF Mono", "Consolas", "Courier New", monospace;
  font-size: 14px;
  color: #d98236;
  font-weight: 600;
  flex-shrink: 0;
  min-width: 90px;
}

.index-item span {
  font-size: 15px;
  color: #1b3a4b;
}

/* 媒体区 */
.media-section .content-media img {
  height: 280px;
  object-fit: cover;
}

/* 相关栏目链接 */
.related-links-section {
  background-color: #fff;
}

/* --------------------------------------------------------------------------
   Pages / 服务目录 fwml.html
   -------------------------------------------------------------------------- */

.page-heading {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 40px;
}

.page-heading .page-lead {
  flex: 1;
}

.content-media-inline {
  flex-shrink: 0;
  width: 320px;
}

.content-media-inline img {
  height: 180px;
  object-fit: cover;
}

/* 索引标签 */
.tab-list {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.tab-item {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  color: #1b3a4b;
  background-color: #fff;
  border: 1px solid #d8ceb8;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
  min-height: 44px;
}

.tab-item:hover {
  background-color: #f0e8d8;
}

.tab-item[aria-selected="true"] {
  background-color: #1b3a4b;
  color: #f7f3e8;
  border-color: #1b3a4b;
}

/* 服务档案网格 */
.service-archive-grid {
  margin-bottom: 48px;
}

.service-card {
  background-color: #fff;
  border: 1px solid #e2dac8;
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #d98236;
  box-shadow: 0 8px 24px rgba(27, 58, 75, 0.08);
}

.card-number {
  font-family: "SF Mono", "Consolas", "Courier New", monospace;
  font-size: 14px;
  font-weight: 700;
  color: #d98236;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1b3a4b;
  margin-bottom: 12px;
  line-height: 1.5;
}

.card-scene {
  font-size: 14px;
  color: #6c8595;
  line-height: 1.7;
  margin-bottom: 8px;
  flex: 1;
}

.card-output {
  font-size: 14px;
  color: #4a5a63;
  line-height: 1.7;
  padding-top: 12px;
  border-top: 1px solid #eee5d4;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #d98236;
  margin-top: 16px;
  transition: gap 0.2s ease;
}

.card-link:hover {
  gap: 10px;
}

.card-link::after {
  content: "→";
  font-size: 16px;
  line-height: 1;
}

/* 服务对比 */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.compare-col {
  background-color: #fff;
  border: 1px solid #e2dac8;
  border-radius: 8px;
  padding: 32px;
}

.compare-col h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1b3a4b;
  margin-bottom: 12px;
}

.compare-col > p {
  font-size: 14px;
  color: #4a5a63;
  line-height: 1.7;
  margin-bottom: 20px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: #4a5a63;
  line-height: 1.6;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #d98236;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Pages / 情报日历 qbrl.html
   -------------------------------------------------------------------------- */

.calendar-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}

.calendar-intro-media .media-figure img {
  height: 240px;
  object-fit: cover;
}

.calendar-intro-text h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1b3a4b;
  margin-bottom: 12px;
}

.calendar-intro-text p {
  font-size: 15px;
  color: #4a5a63;
  line-height: 1.8;
  margin-bottom: 12px;
}

/* 日期分组 */
.schedule-group {
  margin-bottom: 32px;
}

.schedule-group-title {
  font-size: 18px;
  font-weight: 600;
  color: #1b3a4b;
  padding-bottom: 12px;
  border-bottom: 2px solid #d98236;
  margin-bottom: 16px;
}

.schedule-list {
  display: flex;
  flex-direction: column;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #eee5d4;
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-time {
  font-family: "SF Mono", "Consolas", "Courier New", monospace;
  font-size: 14px;
  font-weight: 600;
  color: #d98236;
  flex-shrink: 0;
  min-width: 80px;
}

.schedule-action {
  font-size: 15px;
  color: #1b3a4b;
}

/* 交付物节奏 */
.rhythm-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rhythm-card {
  background-color: #fff;
  border: 1px solid #e2dac8;
  border-radius: 8px;
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rhythm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(27, 58, 75, 0.08);
}

.rhythm-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1b3a4b;
  margin-bottom: 8px;
}

.rhythm-frequency {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #d98236;
  background-color: #f7f3e8;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.rhythm-card p {
  font-size: 14px;
  color: #4a5a63;
  line-height: 1.7;
}

/* 使用帮助 */
.usage-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: usage;
}

.usage-list li {
  background-color: #fff;
  border: 1px solid #e2dac8;
  border-radius: 8px;
  padding: 24px;
  counter-increment: usage;
}

.usage-list li h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1b3a4b;
  margin-bottom: 8px;
}

.usage-list li h3::before {
  content: "0" counter(usage);
  font-family: "SF Mono", "Consolas", "Courier New", monospace;
  font-size: 14px;
  color: #d98236;
  margin-right: 8px;
}

.usage-list li p {
  font-size: 14px;
  color: #4a5a63;
  line-height: 1.7;
}

/* 相关链接 */
.related-link-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-link-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #1b3a4b;
  padding: 12px 16px;
  background-color: #fff;
  border: 1px solid #e2dac8;
  border-radius: 6px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related-link-list a:hover {
  border-color: #d98236;
  color: #d98236;
}

/* --------------------------------------------------------------------------
   Pages / 专题研究 ztyj.html
   -------------------------------------------------------------------------- */

.page-kicker {
  font-size: 14px;
  font-weight: 600;
  color: #d98236;
  margin-bottom: 8px;
}

/* 专题档案瀑布 */
.archive-card-tall {
  grid-row: span 2;
}

.archive-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.archive-no {
  font-family: "SF Mono", "Consolas", "Courier New", monospace;
  font-size: 14px;
  font-weight: 700;
  color: #d98236;
}

.archive-card-media {
  margin-bottom: 20px;
}

.archive-card-media img {
  height: 200px;
  object-fit: cover;
}

.archive-card-tall .archive-card-media img {
  height: 280px;
}

.archive-title {
  font-size: 20px;
  font-weight: 700;
  color: #1b3a4b;
  margin-bottom: 12px;
  line-height: 1.4;
}

.archive-summary {
  font-size: 14px;
  color: #4a5a63;
  line-height: 1.7;
  margin-bottom: 12px;
}

.archive-meta {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eee5d4;
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-item dt {
  font-size: 12px;
  color: #9db1bb;
}

.meta-item dd {
  font-size: 14px;
  color: #1b3a4b;
  font-weight: 500;
}

/* 阅读路径 */
.reading-path .path-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.reading-path .path-item {
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 28px;
}

.reading-path .path-item:hover {
  transform: translateY(-4px);
}

.path-level {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.path-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #1b3a4b;
  color: #f7f3e8;
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
}

.path-name {
  font-size: 17px;
  font-weight: 600;
  color: #1b3a4b;
}

.path-text {
  font-size: 14px;
  color: #4a5a63;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   Pages / 合作指南 hzn.html
   -------------------------------------------------------------------------- */

.page-head {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px 0;
}

.page-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.main-content {
  min-width: 0;
}

.main-content .breadcrumb {
  padding: 20px 0 0;
}

.main-content .page-header {
  padding: 24px 0 8px;
}

/* 合作流程 */
.process-steps {
  grid-template-columns: repeat(2, 1fr);
}

/* 准备清单 */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.checklist-item {
  display: flex;
  gap: 16px;
  background-color: #fff;
  border: 1px solid #e2dac8;
  border-radius: 8px;
  padding: 20px;
  transition: border-color 0.2s ease;
}

.checklist-item:hover {
  border-color: #d98236;
}

.check-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #1b3a4b;
  color: #f7f3e8;
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.check-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: #1b3a4b;
  margin-bottom: 4px;
}

.check-body p {
  font-size: 14px;
  color: #4a5a63;
  line-height: 1.6;
}

/* 合作图片 */
.content-figure img {
  height: 240px;
  object-fit: cover;
}

/* 侧栏 */
.sidebar {
  position: sticky;
  top: 84px;
}

.sidebar-inner {
  background-color: #fff;
  border: 1px solid #e2dac8;
  border-radius: 8px;
  padding: 24px;
}

.sidebar-inner h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1b3a4b;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0e8d8;
}

.sidebar .faq-list {
  gap: 8px;
}

.sidebar .faq-item summary {
  padding: 12px 14px;
  font-size: 14px;
}

.sidebar .faq-item p {
  padding: 0 14px 14px;
  font-size: 13px;
}

/* 站内入口 */
.inner-links {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px;
}

.link-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.link-card {
  display: block;
  background-color: #fff;
  border: 1px solid #e2dac8;
  border-radius: 8px;
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.link-card:hover {
  transform: translateY(-4px);
  border-color: #d98236;
}

.link-card-title {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: #1b3a4b;
  margin-bottom: 8px;
}

.link-card-desc {
  font-size: 14px;
  color: #6c8595;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Pages / 404
   -------------------------------------------------------------------------- */

.error-main {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.error-panel {
  text-align: center;
  max-width: 480px;
}

.error-code {
  font-family: "SF Mono", "Consolas", "Courier New", monospace;
  font-size: 72px;
  font-weight: 700;
  color: #1b3a4b;
  line-height: 1;
  margin-bottom: 16px;
}

.error-title {
  font-size: 24px;
  font-weight: 700;
  color: #1b3a4b;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 16px;
  color: #6c8595;
  margin-bottom: 32px;
  line-height: 1.7;
}

.error-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 32px;
  background-color: #d98236;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.error-link:hover {
  background-color: #c9742b;
  color: #fff;
}

/* --------------------------------------------------------------------------
   Responsive / 响应式
   -------------------------------------------------------------------------- */

/* 平板 */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .rhythm-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .usage-list {
    grid-template-columns: 1fr;
  }

  .level-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .level-card:last-child {
    grid-column: 1 / -1;
  }

  .page-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .sidebar-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .sidebar-inner h2 {
    grid-column: 1 / -1;
  }

  .link-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 手机 */
@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* 移动导航 */
  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: static;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background-color: #1b3a4b;
    padding: 8px 16px 16px;
    gap: 2px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 6px;
  }

  /* 页头 */
  .brand-tagline {
    display: none;
  }

  /* 页脚 */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 32px 0 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-desc {
    max-width: 100%;
  }

  /* 首页 */
  .hero-compare {
    padding: 40px 0 32px !important;
  }

  .hero-heading h1 {
    font-size: 28px;
  }

  .compare-panel {
    grid-template-columns: 1fr;
  }

  .content-media-primary img {
    height: 200px;
  }

  .strip-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .level-selector {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .level-range {
    width: 100%;
  }

  .level-value {
    width: 100%;
  }

  .level-grid {
    grid-template-columns: 1fr;
  }

  .level-card:last-child {
    grid-column: auto;
  }

  .scenario-cards {
    grid-template-columns: 1fr;
  }

  .path-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .steps-list {
    grid-template-columns: 1fr;
  }

  .archive-grid {
    grid-template-columns: 1fr;
  }

  .archive-card-tall {
    grid-row: auto;
  }

  .archive-card-tall .archive-card-media img {
    height: 200px;
  }

  .cta-banner {
    padding: 48px 0 !important;
  }

  /* 内页通用 */
  .page-title {
    font-size: 28px;
  }

  .page-header {
    padding: 24px 16px 8px;
  }

  .breadcrumb {
    padding: 16px 16px 0;
  }

  .page-title-area {
    padding: 0 16px 16px;
  }

  .site-main section {
    padding: 40px 0;
  }

  /* 今日关注 */
  .category-grid {
    grid-template-columns: 1fr !important;
  }

  .timeline-item {
    padding-left: 48px;
  }

  .index-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .index-item time {
    min-width: 0;
  }

  /* 服务目录 */
  .page-heading {
    flex-direction: column;
    gap: 20px;
  }

  .content-media-inline {
    width: 100%;
  }

  .tab-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  .tab-item {
    flex-shrink: 0;
  }

  .service-archive-grid .archive-grid {
    grid-template-columns: 1fr;
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }

  /* 情报日历 */
  .calendar-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .schedule-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .rhythm-card-grid {
    grid-template-columns: 1fr;
  }

  .usage-list {
    grid-template-columns: 1fr;
  }

  /* 专题研究 */
  .reading-path .path-list {
    grid-template-columns: 1fr;
  }

  .archive-meta {
    flex-direction: column;
    gap: 12px;
  }

  /* 合作指南 */
  .page-layout {
    padding: 0 16px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-inner {
    display: block;
  }

  .sidebar .faq-item summary {
    padding: 14px 16px;
  }

  .link-cards {
    grid-template-columns: 1fr;
  }

  /* 404 */
  .error-code {
    font-size: 56px;
  }
}

/* 小屏手机 */
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .level-grid {
    grid-template-columns: 1fr;
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }

  .rhythm-card-grid {
    grid-template-columns: 1fr;
  }

  .link-cards {
    grid-template-columns: 1fr;
  }
}

/* 打印 */
@media print {
  .site-header,
  .site-footer,
  .menu-toggle,
  .related-links,
  .cta-banner {
    display: none !important;
  }

  body {
    background-color: #fff;
  }

  .container {
    max-width: 100%;
  }
}

/* 程序验收反馈：修复网格孤项 */
@media (min-width: 769px) {
  .service-archive-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
