/* ==========================================================================
   GitCode 复刻站 - 单页样式（CMS 关于我们/隐私声明/用户协议）
   设计令牌：品牌蓝 #3b82f6 / 正文 #252b3a / 边框 #e6e6e8 / 背景 #f7f8fa
   ========================================================================== */

/* 单页内容区容器 */
.gc-page-content {
  padding: 24px 28px 40px;
}

/* 面包屑导航 */
.gc-page-content .gc-breadcrumb {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.gc-page-content .gc-breadcrumb a {
  color: var(--text-2);
  text-decoration: none;
}
.gc-page-content .gc-breadcrumb a:hover {
  color: var(--brand);
}
.gc-page-content .gc-breadcrumb .sep {
  color: var(--text-3);
  font-weight: 300;
}
.gc-page-content .gc-breadcrumb [aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

/* 单页主卡片 */
.gc-page-body {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 36px;
  box-shadow: var(--shadow);
}

/* 单页大标题 */
.gc-page-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--brand-light);
  line-height: 1.35;
}

/* 富文本内容区 */
.gc-page-html {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

/* 富文本中的标题层级 */
.gc-page-html h2,
.gc-page-html h3,
.gc-page-html h4 {
  margin-top: 28px;
  margin-bottom: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.gc-page-html h2 {
  font-size: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.gc-page-html h3 { font-size: 17px; }
.gc-page-html h4 { font-size: 15px; color: var(--text-2); }

/* 段落与列表 */
.gc-page-html p {
  margin-bottom: 16px;
  text-align: justify;
}
.gc-page-html ul,
.gc-page-html ol {
  margin-bottom: 16px;
  padding-left: 24px;
}
.gc-page-html ul { list-style: disc; }
.gc-page-html ol { list-style: decimal; }
.gc-page-html li {
  margin-bottom: 8px;
}

/* 引用块 */
.gc-page-html blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 4px solid var(--brand);
  background: var(--brand-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-2);
  font-style: italic;
}

/* 代码块 */
.gc-page-html pre {
  background: #f6f8fa;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  overflow-x: auto;
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.6;
}
.gc-page-html code {
  background: #f6f8fa;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2px 6px;
  font-size: 13px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  color: #c7254e;
}
.gc-page-html pre code {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
}

/* 表格 */
.gc-page-html table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 14px;
}
.gc-page-html th,
.gc-page-html td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
}
.gc-page-html th {
  background: var(--bg);
  font-weight: 600;
  color: var(--text);
}
.gc-page-html tr:nth-child(even) td {
  background: #fafbfc;
}

/* 链接 */
.gc-page-html a {
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.gc-page-html a:hover {
  border-bottom-color: var(--brand);
}

/* 图片 */
.gc-page-html img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 16px 0;
}

/* 水平线 */
.gc-page-html hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

/* 强调文本 */
.gc-page-html strong { font-weight: 600; }
.gc-page-html em { font-style: italic; }

/* 单页 404 */
.gc-page-404 {
  text-align: center;
  padding: 60px 20px;
}
.gc-page-404 h1 {
  font-size: 72px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 16px;
}
.gc-page-404 p {
  color: var(--text-2);
  font-size: 15px;
  margin-bottom: 24px;
}
.gc-page-404 a {
  display: inline-block;
  padding: 10px 24px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s;
}
.gc-page-404 a:hover {
  background: var(--brand-dark);
}

/* ------------------------------ 响应式 ------------------------------ */
@media (max-width: 860px) {
  .gc-page-content {
    padding: 16px 14px 28px;
  }
  .gc-page-body {
    padding: 22px 20px;
  }
  .gc-page-title {
    font-size: 22px;
  }
  .gc-page-html {
    font-size: 14px;
  }
  .gc-page-html h2 {
    font-size: 18px;
  }
}
