/* ============================================================
   51黑料吃瓜网站 · 全站样式表
   视觉方向：校园刊物风 · 公告板网格 · 活跃栏目色块
   ============================================================ */

/* ============================================================
   Base · 基础变量 / 重置 / 全局字体
   ============================================================ */
:root {
  --ink: #1b1f24;
  --paper: #f7f3ea;
  --paper-deep: #efe9dc;
  --orange: #f2a65a;
  --orange-soft: #fbe3c9;
  --blue: #3b6ea5;
  --blue-soft: #dce7f2;
  --mint: #9bcdb2;
  --mint-soft: #e0efe6;
  --line: #e5e0d4;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(27, 31, 36, 0.06);
  --shadow-md: 0 4px 16px rgba(27, 31, 36, 0.08);
  --radius: 8px;
  --container: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--orange);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  line-height: 1.3;
}

h1 {
  font-size: 34px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
}

p {
  margin-bottom: 12px;
}

/* 跳过导航链接 */
.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 999;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 14px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  color: var(--white);
}

/* ============================================================
   Layout · 全站骨架 / 容器 / 主次网格
   ============================================================ */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--blue);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.brand-tagline {
  font-size: 12px;
  color: #6b7280;
  letter-spacing: 0.02em;
}

.brand:hover .brand-name {
  color: var(--blue);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  border-radius: 4px;
}

.main-nav a:hover {
  color: var(--blue);
  background: var(--blue-soft);
}

.main-nav a.is-current {
  color: var(--blue);
  background: var(--blue-soft);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-main {
  min-height: 60vh;
}

.site-main.inner-main {
  padding-bottom: 64px;
}

.layout-shell {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* 主次网格：主内容列 + 侧栏 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  align-items: start;
}

.main-content,
.main-col {
  min-width: 0;
  min-width: 520px;
}

.sidebar,
.side-col {
  min-width: 0;
}

/* 面包屑 */
.breadcrumb {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px 0;
  font-size: 14px;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb a {
  color: var(--blue);
}

.breadcrumb-sep {
  color: #9ca3af;
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

/* 页面标题区 */
.page-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 24px 8px;
}

.page-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.page-heading {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 24px;
  color: #4b5563;
}

.page-heading p,
.page-heading .page-lead,
.heading-desc {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.8;
}

/* ============================================================
   Components · 通用组件 / 卡片 / 列表 / 图片 / 侧栏
   ============================================================ */

/* 内容图片容器 */
.content-media {
  margin: 24px 0;
}

.content-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.content-media figcaption,
.scenario-figure figcaption,
.guide-figure figcaption,
.media-figure figcaption,
.about-hero-figure figcaption {
  padding: 8px 4px 0;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

/* 通用卡片 */
.focus-card,
.focus-side,
.category-card,
.entry-item,
.help-faq,
.help-process,
.featured-card,
.service-note,
.service-item,
.aside-card,
.process-step,
.prep-card,
.faq-guide-item,
.sidebar-card,
.side-card,
.response-card,
.principle-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.focus-card:hover,
.focus-side:hover,
.category-card:hover,
.entry-item:hover,
.featured-card:hover,
.service-item:hover,
.aside-card:hover,
.process-step:hover,
.prep-card:hover,
.sidebar-card:hover,
.side-card:hover,
.response-card:hover,
.principle-card:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
}

/* 相关链接条 */
.related-links {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px 24px 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.related-links-label {
  color: #6b7280;
  font-weight: 600;
}

.related-links-item {
  display: inline-block;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--blue);
}

.related-links-item:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ============================================================
   Header · 页头导航（含移动端汉堡菜单）
   ============================================================ */
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 移动端导航：只收起 .nav-list / ul */
@media (max-width: 960px) {
  .header-inner {
    flex-wrap: wrap;
    min-height: 64px;
    padding: 10px 16px;
  }

  .nav-toggle {
    display: flex;
    order: 3;
  }

  .main-nav {
    order: 4;
    width: 100%;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 8px 0;
    border-top: 1px solid var(--line);
  }

  .main-nav ul.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 8px;
    border-radius: 4px;
  }

  .nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ============================================================
   Footer · 页脚
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: #d1d5db;
  margin-top: 48px;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p,
.footer-links a,
.footer-help a {
  color: #d1d5db;
}

.footer-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
}

.footer-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-links li,
.footer-help li {
  margin-bottom: 8px;
}

.footer-links a,
.footer-help a {
  font-size: 14px;
}

.footer-links a:hover,
.footer-help a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #9ca3af;
  margin: 0;
}

/* ============================================================
   Pages · 首页
   ============================================================ */

/* 首屏数据报告摘要区 */
.hero-report {
  background: var(--paper);
  border-bottom: 4px solid var(--orange);
  padding: 48px 0 32px;
}

.report-content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}

.report-content h1 {
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 18px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 8px;
}

.report-content p {
  color: #4b5563;
}

.cta-link {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 28px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius);
  transition: background 0.2s ease, transform 0.2s ease;
}

.cta-link:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-1px);
}

.hero-visual {
  margin: 0;
}

.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.hero-visual figcaption {
  padding: 8px 4px 0;
  font-size: 13px;
  color: #6b7280;
}

.source-note {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px 0;
  font-size: 13px;
  color: #9ca3af;
}

.content-media-primary {
  max-width: var(--container);
  margin: 24px auto 0;
  padding: 0 24px;
}

.content-media-primary img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* 重点服务摘要区 */
.focus-services {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.focus-card {
  background: var(--orange-soft);
  border-color: var(--orange);
}

.focus-card h2 {
  margin-bottom: 12px;
}

.focus-card p {
  color: #4b5563;
}

.focus-card a {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
}

.focus-side {
  background: var(--blue-soft);
  border-color: var(--blue);
}

.focus-side h3 {
  margin-bottom: 12px;
}

.focus-side ul {
  margin-bottom: 16px;
}

.focus-side li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: 15px;
  color: #4b5563;
}

.focus-side li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--orange);
}

.focus-side a {
  display: inline-block;
  font-weight: 700;
}

/* 快速分类服务场景网格 */
.quick-categories {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 48px 0;
}

.quick-categories > h2 {
  max-width: var(--container);
  margin: 0 auto 24px;
  padding: 0 24px;
}

.category-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.category-card {
  border-top-width: 4px;
  border-top-color: var(--mint);
}

.category-card h3 {
  margin-bottom: 8px;
}

.category-card p {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 16px;
}

.category-card a {
  display: inline-block;
  font-weight: 600;
  font-size: 15px;
}

/* 最新信息条目区 */
.latest-entries {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px;
}

.latest-entries > h2 {
  margin-bottom: 24px;
}

.entry-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.entry-item {
  border-left-width: 4px;
  border-left-color: var(--blue);
}

.entry-item h3 {
  margin-bottom: 8px;
}

.entry-item p {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 16px;
}

.entry-item a {
  display: inline-block;
  font-weight: 600;
  font-size: 15px;
}

/* 帮助入口区 */
.help-entry {
  background: var(--paper-deep);
  padding: 48px 0;
}

.help-entry {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}

.help-faq {
  background: var(--mint-soft);
  border-color: var(--mint);
}

.help-faq h2,
.help-process h2 {
  margin-bottom: 12px;
}

.help-faq p,
.help-process p {
  color: #4b5563;
}

.help-faq ul {
  margin: 16px 0;
}

.help-faq li {
  padding: 6px 0;
}

.help-faq li a {
  font-weight: 600;
}

.help-process {
  background: var(--orange-soft);
  border-color: var(--orange);
}

.help-process a {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 24px;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 700;
}

.help-process a:hover {
  background: var(--blue);
  color: var(--white);
}

/* ============================================================
   Pages · 服务矩阵
   ============================================================ */

.page-heading {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 24px;
}

/* 重点服务卡片 */
.featured-service {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.featured-card {
  background: var(--orange-soft);
  border-color: var(--orange);
  border-top-width: 4px;
}

.featured-card h2 {
  margin-bottom: 12px;
}

.featured-card p {
  color: #4b5563;
}

.service-meta {
  margin: 16px 0;
  padding: 0;
}

.service-meta li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: 15px;
  color: #4b5563;
}

.service-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--orange);
}

.card-link {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 24px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 700;
}

.card-link:hover {
  background: var(--orange);
  color: var(--white);
}

.service-note {
  background: var(--blue-soft);
  border-color: var(--blue);
}

.service-note h3 {
  margin-bottom: 12px;
}

.service-note p {
  color: #4b5563;
}

.service-note a {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
}

/* 专项服务网格 */
.service-grid {
  margin-bottom: 40px;
}

.service-grid h2 {
  margin-bottom: 24px;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-item {
  border-top-width: 4px;
  border-top-color: var(--mint);
}

.service-item h3 {
  margin-bottom: 8px;
}

.service-item p {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 16px;
}

.service-item a {
  display: inline-block;
  font-weight: 600;
  font-size: 15px;
}

/* 服务场景说明区 */
.service-scenario {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;
}

.scenario-text h2 {
  margin-bottom: 12px;
}

.scenario-text p,
.scenario-text li {
  color: #4b5563;
}

.scenario-text ul {
  margin: 12px 0;
}

.scenario-text li {
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.scenario-text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--blue);
}

.scenario-figure {
  margin: 0;
}

.scenario-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* 辅助栏 */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.aside-card h3 {
  margin-bottom: 8px;
}

.aside-card p {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 16px;
}

.aside-link {
  display: inline-block;
  font-weight: 700;
}

.aside-process {
  background: var(--orange-soft);
  border-color: var(--orange);
}

.aside-faq {
  background: var(--mint-soft);
  border-color: var(--mint);
}

/* ============================================================
   Pages · 合作流程
   ============================================================ */

.main-content {
  min-width: 0;
}

/* 流程步骤 */
.process-section {
  margin-bottom: 48px;
}

.process-section h2,
.prep-section h2,
.faq-guide-section h2 {
  margin-bottom: 8px;
}

.section-intro {
  color: #4b5563;
  margin-bottom: 24px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.process-step {
  border-left-width: 4px;
  border-left-color: var(--blue);
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  border-radius: 50%;
}

.step-body h3 {
  margin-bottom: 8px;
}

.step-detail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.step-input,
.step-process,
.step-result {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
}

.step-detail h4 {
  font-size: 14px;
  margin-bottom: 4px;
}

.step-detail p {
  font-size: 14px;
  color: #4b5563;
  margin: 0;
}

/* 合作准备清单 */
.prep-section {
  margin-bottom: 48px;
}

.prep-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 16px;
}

.prep-card {
  background: var(--white);
}

.prep-card h3 {
  margin-bottom: 8px;
}

.prep-card ul {
  margin: 8px 0;
}

.prep-card li {
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
  font-size: 15px;
  color: #4b5563;
}

.prep-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--mint);
}

.prep-note {
  color: #4b5563;
}

.prep-note a {
  font-weight: 600;
}

/* FAQ 引导区 */
.faq-guide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.faq-guide-item {
  background: var(--white);
}

.faq-guide-item h3 {
  margin-bottom: 8px;
}

.faq-guide-item p {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 12px;
}

.faq-guide-item a {
  display: inline-block;
  font-weight: 600;
  font-size: 15px;
}

/* 内容图片 */
.content-media-inline {
  margin: 32px 0;
}

.content-media-inline img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* 侧栏 */
.sidebar-card {
  margin-bottom: 24px;
}

.sidebar-card h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.sidebar-card p {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 12px;
}

.sidebar-card a {
  display: inline-block;
  font-weight: 700;
}

.sidebar-card-primary {
  background: var(--orange-soft);
  border-color: var(--orange);
}

.sidebar-card-secondary {
  background: var(--blue-soft);
  border-color: var(--blue);
}

.sidebar-card-tertiary {
  background: var(--mint-soft);
  border-color: var(--mint);
}

/* ============================================================
   Pages · 信息指南
   ============================================================ */

.page-lead {
  color: #4b5563;
}

.concept-block,
.chain-block,
.response-block {
  margin-bottom: 48px;
}

.concept-block h2,
.chain-block h2,
.response-block h2 {
  margin-bottom: 12px;
}

.concept-block p,
.chain-block p,
.response-block p {
  color: #4b5563;
}

.guide-figure {
  margin: 24px 0;
}

.guide-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* 传播链条 */
.section-desc {
  color: #4b5563;
  margin-bottom: 20px;
}

.chain-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}

.chain-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.chain-num {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mint);
  color: var(--ink);
  font-weight: 800;
  border-radius: 50%;
}

.chain-content h3 {
  margin-bottom: 4px;
}

.chain-content p {
  font-size: 15px;
  margin: 0;
}

/* 企业应对 */
.response-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.response-card {
  border-top-width: 4px;
  border-top-color: var(--orange);
}

.response-card h3 {
  margin-bottom: 8px;
}

.response-card p {
  font-size: 15px;
  margin-bottom: 12px;
}

.response-card a {
  display: inline-block;
  font-weight: 600;
  font-size: 15px;
}

/* 侧栏相关阅读 */
.side-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.side-card h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.side-card p {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 12px;
}

.side-link {
  display: inline-block;
  font-weight: 700;
}

/* ============================================================
   Pages · 常见问题
   ============================================================ */

/* 分类锚点导航 */
.faq-category-nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 32px;
}

.faq-category-nav .category-grid {
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.faq-category-nav .category-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-top-width: 4px;
  border-top-color: var(--blue);
}

.category-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.category-name {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.category-desc {
  font-size: 14px;
  color: #6b7280;
}

/* FAQ 手风琴 */
.faq-layout {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.faq-group h2 {
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--orange);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 44px;
  transition: background 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--blue);
  transition: transform 0.2s ease;
}

.faq-item[open] summary {
  background: var(--paper);
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item summary:hover {
  background: var(--paper);
}

.faq-answer {
  padding: 0 20px 16px;
}

.faq-answer p {
  font-size: 15px;
  color: #4b5563;
  margin: 0;
}

/* 媒体图片 */
.media-block {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px 24px 32px;
}

.media-figure {
  margin: 0;
}

.media-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* 服务对照表 */
.service-compare {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 40px;
}

.service-compare h2 {
  margin-bottom: 16px;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.compare-table th {
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table tbody tr:hover {
  background: var(--paper);
}

/* 合作入口引导 */
.cooperation-entry {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 48px;
}

.entry-card {
  background: var(--orange-soft);
  border: 1px solid var(--orange);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.entry-card h2 {
  margin-bottom: 8px;
}

.entry-card p {
  color: #4b5563;
  margin-bottom: 16px;
}

.entry-link {
  display: inline-block;
  padding: 12px 32px;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 700;
}

.entry-link:hover {
  background: var(--blue);
  color: var(--white);
}

/* ============================================================
   Pages · 关于我们
   ============================================================ */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.page-title-area {
  padding: 0 0 24px;
}

.page-lead {
  color: #4b5563;
}

.about-hero-figure {
  margin: 0 0 40px;
}

.about-hero-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.about-idea-section {
  margin-bottom: 48px;
  padding: 32px;
  background: var(--blue-soft);
  border-left: 6px solid var(--blue);
  border-radius: var(--radius);
}

.about-idea-section h2 {
  margin-bottom: 12px;
}

.about-idea-section p {
  color: #4b5563;
}

/* 原则卡片 */
.principle-cards-section {
  margin-bottom: 48px;
}

.principle-cards-section h2 {
  margin-bottom: 24px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.principle-card {
  border-top-width: 4px;
  border-top-color: var(--mint);
}

.principle-card h3 {
  margin-bottom: 8px;
}

.principle-card p {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 12px;
}

.principle-card a {
  display: inline-block;
  font-weight: 600;
  font-size: 15px;
}

/* 合规说明 */
.compliance-section {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 48px;
}

.compliance-section h2 {
  margin-bottom: 12px;
}

.compliance-section p {
  color: #4b5563;
  font-size: 15px;
}

/* ============================================================
   Pages · 404
   ============================================================ */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.error-panel {
  max-width: 520px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 40px;
}

.error-code {
  font-size: 72px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 16px;
}

.error-panel h1 {
  margin-bottom: 12px;
}

.error-desc {
  color: #4b5563;
  margin-bottom: 24px;
}

.btn-home {
  display: inline-block;
  padding: 12px 32px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 700;
  margin-bottom: 16px;
}

.btn-home:hover {
  background: var(--orange);
  color: var(--white);
}

.error-help {
  font-size: 14px;
  color: #6b7280;
}

.error-help a {
  font-weight: 600;
}

/* ============================================================
   Responsive · 响应式断点
   ============================================================ */
@media (max-width: 960px) {
  /* 主次网格改单列，主内容在前 */
  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .main-content,
  .main-col {
    min-width: 0;
  }

  .sidebar,
  .side-col {
    margin-top: 40px;
  }

  /* 首页网格改单列 */
  .report-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .focus-services {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .help-entry {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .featured-service {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .service-scenario {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .entry-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-detail {
    grid-template-columns: minmax(0, 1fr);
  }

  .prep-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-guide-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .response-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .principle-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

@media (max-width: 720px) {
  .category-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .entry-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .response-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .principle-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-category-nav .category-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-step {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .page-header {
    padding: 16px 16px 8px;
  }

  .page-heading {
    padding: 0 16px 16px;
  }

  .layout-shell {
    padding: 0 16px;
  }

  .breadcrumb {
    padding: 16px 16px 0;
  }

  .report-content,
  .focus-services,
  .help-entry {
    padding-left: 16px;
    padding-right: 16px;
  }

  .category-grid,
  .entry-list,
  .quick-categories > h2,
  .latest-entries > h2 {
    padding-left: 16px;
    padding-right: 16px;
  }

  .quick-categories .category-grid {
    padding-left: 16px;
    padding-right: 16px;
  }

  .faq-category-nav,
  .faq-layout,
  .media-block,
  .service-compare,
  .cooperation-entry,
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .error-panel {
    padding: 32px 24px;
  }

  .error-code {
    font-size: 56px;
  }
}

/* 程序验收反馈：移动端正文优先 */
@media (max-width: 768px) {
  .site-main :is(.page-content, .main-content, .content-main) {
    order: 1;
  }

  .site-main :is(aside, .sidebar) {
    order: 2;
  }
}
