/* ==========================================================================
   Base — 全局基础样式
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #1E1E1E;
  background-color: #FAF7F2;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #1E1E1E;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #FF6B00;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Layout — 全站布局骨架
   ========================================================================== */

.site-header {
  background-color: #FAF7F2;
  border-bottom: 3px solid #1E1E1E;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  font-size: 22px;
  font-weight: 700;
  color: #FF6B00;
  letter-spacing: 1px;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-brand:hover {
  color: #FF6B00;
}

.site-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav .nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 400;
  border: 2px solid transparent;
  border-radius: 4px;
}

.site-nav .nav-list a:hover {
  border-color: #1E1E1E;
  background-color: #FFD23F;
}

.site-nav .nav-list a.is-current {
  border-color: #1E1E1E;
  background-color: #1E1E1E;
  color: #FAF7F2;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: #1E1E1E;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ==========================================================================
   Components — 通用组件
   ========================================================================== */

/* 面包屑 */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px 0;
  font-size: 14px;
  color: #666;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: #666;
}

.breadcrumb a:hover {
  color: #FF6B00;
}

.breadcrumb-sep {
  color: #999;
  margin: 0 2px;
}

.breadcrumb-current {
  color: #1E1E1E;
  font-weight: 700;
}

/* 页面标题区 */
.page-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 24px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: #1E1E1E;
  margin-bottom: 12px;
}

.page-description {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  max-width: 860px;
}

/* 区块标题 */
.section-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: #1E1E1E;
  margin-bottom: 12px;
  position: relative;
  padding-left: 14px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background-color: #FF6B00;
  border-radius: 2px;
}

.section-desc,
.section-intro {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 24px;
  max-width: 860px;
}

/* 链接按钮 */
.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background-color: #FF6B00;
  color: #1E1E1E;
  font-size: 16px;
  font-weight: 700;
  border: 3px solid #1E1E1E;
  border-radius: 6px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: #FFD23F;
  color: #1E1E1E;
  transform: translateY(-2px);
}

.link-more {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: #FF6B00;
  border-bottom: 2px solid #FF6B00;
  padding-bottom: 2px;
  margin-top: 20px;
}

.link-more:hover {
  color: #1E1E1E;
  border-bottom-color: #1E1E1E;
}

.text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #FF6B00;
  border-bottom: 2px solid #FF6B00;
  padding-bottom: 1px;
}

.text-link:hover {
  color: #1E1E1E;
  border-bottom-color: #1E1E1E;
}

/* ==========================================================================
   Components — 首页
   ========================================================================== */

/* 首屏 Hero */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 32px 0 48px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.hero-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  color: #1E1E1E;
}

.hero-slogan {
  font-size: 20px;
  font-weight: 700;
  color: #FF6B00;
}

.hero-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  max-width: 480px;
}

.hero-figure {
  border: 3px solid #1E1E1E;
  border-radius: 8px;
  overflow: hidden;
  background-color: #1E1E1E;
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 分类标签条 */
.category-tags {
  border-top: 3px solid #1E1E1E;
  border-bottom: 3px solid #1E1E1E;
  padding: 28px 20px;
  margin-bottom: 48px;
  background-color: #fff;
}

.category-tags .section-title {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.tag-list {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-item {
  display: inline-block;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 700;
  border: 3px solid #1E1E1E;
  border-radius: 4px;
  background-color: #FAF7F2;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tag-item:hover {
  background-color: #FFD23F;
  color: #1E1E1E;
}

/* 主体双轨布局 */
.main-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.site-main.home-main {
  padding: 0;
  min-width: 0;
}

/* 首页右侧 aside */
.site-intro {
  border: 3px solid #1E1E1E;
  border-radius: 8px;
  padding: 28px;
  background-color: #fff;
  position: sticky;
  top: 84px;
}

.aside-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1E1E1E;
}

.site-intro > p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 20px;
}

.aside-subtitle {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1E1E1E;
  padding-top: 16px;
  border-top: 2px solid #FAF7F2;
}

.scope-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.scope-list li {
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  padding-left: 16px;
  position: relative;
}

.scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background-color: #FF6B00;
  border-radius: 2px;
}

/* 最近更新 */
.recent-updates {
  margin-bottom: 48px;
}

.update-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.cover-card {
  border: 2px solid #1E1E1E;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cover-card:hover {
  transform: translateY(-4px);
  box-shadow: 4px 4px 0 rgba(30, 30, 30, 0.15);
}

.cover-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 2px solid #1E1E1E;
}

.cover-card .card-title {
  font-size: 16px;
  font-weight: 700;
  padding: 14px 16px 4px;
  color: #1E1E1E;
}

.cover-card .card-tag {
  display: inline-block;
  font-size: 13px;
  color: #FF6B00;
  font-weight: 700;
  padding: 0 16px 14px;
}

/* 精选专题 */
.featured-topics {
  margin-bottom: 48px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.topic-card {
  border: 2px solid #1E1E1E;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 4px 4px 0 rgba(30, 30, 30, 0.15);
}

.topic-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 2px solid #1E1E1E;
}

.topic-card .topic-title {
  font-size: 16px;
  font-weight: 700;
  padding: 14px 16px 4px;
  color: #1E1E1E;
}

.topic-card .topic-summary {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  padding: 0 16px 16px;
}

/* 热门榜单 */
.hot-ranking {
  margin-bottom: 16px;
}

.ranking-list {
  border-top: 2px solid #1E1E1E;
}

.ranking-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 8px;
  border-bottom: 2px solid #1E1E1E;
  transition: background-color 0.2s ease;
}

.ranking-item:hover {
  background-color: #fff;
}

.ranking-num {
  font-size: 24px;
  font-weight: 700;
  color: #FF6B00;
  line-height: 1.2;
  min-width: 40px;
  text-align: center;
}

.ranking-body {
  flex: 1;
  min-width: 0;
}

.ranking-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #1E1E1E;
}

.ranking-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

/* 相关内容入口 */
.related-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 0;
  margin-top: 16px;
}

.related-links-label {
  font-size: 14px;
  font-weight: 700;
  color: #1E1E1E;
}

.related-links-item {
  font-size: 14px;
  color: #FF6B00;
  font-weight: 700;
  border: 2px solid #FF6B00;
  border-radius: 4px;
  padding: 6px 16px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.related-links-item:hover {
  background-color: #FF6B00;
  color: #1E1E1E;
}

/* 内容说明摘要 */
.content-note {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px;
  border-top: 3px solid #1E1E1E;
}

.content-note .section-title {
  margin-bottom: 16px;
}

.content-note p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 12px;
  max-width: 860px;
}

.content-note a {
  color: #FF6B00;
  font-weight: 700;
  border-bottom: 2px solid #FF6B00;
}

.content-note a:hover {
  color: #1E1E1E;
  border-bottom-color: #1E1E1E;
}

/* ==========================================================================
   Pages — 题材分类页
   ========================================================================== */

.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.category-grid {
  margin-bottom: 48px;
}

.category-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  border: 2px solid #1E1E1E;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  margin-bottom: 24px;
  transition: transform 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
}

.category-media {
  overflow: hidden;
  background-color: #1E1E1E;
}

.category-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.category-info {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1E1E1E;
}

.category-info > p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

.category-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

.category-meta dt {
  font-weight: 700;
  color: #1E1E1E;
  display: inline;
}

.category-meta dd {
  display: inline;
  color: #555;
  margin-left: 4px;
}

.category-info .text-link {
  align-self: flex-start;
  margin-top: 4px;
}

/* 相关专题入口 */
.related-topics {
  border-top: 3px solid #1E1E1E;
  padding-top: 32px;
}

.topic-entry-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.topic-entry {
  display: block;
  border: 2px solid #1E1E1E;
  border-radius: 8px;
  padding: 20px;
  background-color: #fff;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.topic-entry:hover {
  background-color: #FFD23F;
  transform: translateY(-2px);
}

.topic-entry-name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #1E1E1E;
  margin-bottom: 6px;
}

.topic-entry-desc {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.related-tip {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.related-tip a {
  color: #FF6B00;
  font-weight: 700;
}

.related-tip a:hover {
  color: #1E1E1E;
}

/* ==========================================================================
   Pages — 精选专题页
   ========================================================================== */

.topic-list {
  margin-bottom: 48px;
}

.topic-list > .section-title {
  margin-bottom: 24px;
}

.topic-list .topic-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  margin-bottom: 28px;
  padding: 0;
  overflow: hidden;
}

.topic-media {
  overflow: hidden;
  background-color: #1E1E1E;
}

.topic-media figure {
  height: 100%;
}

.topic-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.topic-content {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.topic-title {
  font-size: 20px;
  font-weight: 700;
  color: #1E1E1E;
}

.topic-thesis {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  background-color: #FAF7F2;
  border-left: 4px solid #FF6B00;
  padding: 10px 14px;
}

.topic-thesis strong {
  color: #1E1E1E;
}

.topic-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.topic-summary h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1E1E1E;
  margin-top: 4px;
}

.topic-summary p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.topic-link {
  margin-top: 8px;
}

.topic-link a {
  font-size: 14px;
  font-weight: 700;
  color: #FF6B00;
  border-bottom: 2px solid #FF6B00;
}

.topic-link a:hover {
  color: #1E1E1E;
  border-bottom-color: #1E1E1E;
}

/* 专题组织原则引用 */
.topic-quote {
  border: 3px solid #1E1E1E;
  border-radius: 8px;
  padding: 28px 32px;
  background-color: #fff;
  margin-bottom: 32px;
}

.topic-quote blockquote {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  border-left: 4px solid #FF6B00;
  padding-left: 16px;
}

.topic-quote blockquote p {
  margin-bottom: 8px;
}

.topic-quote blockquote p:last-child {
  margin-bottom: 0;
}

.topic-internal-links {
  padding: 8px 0;
}

.topic-internal-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.topic-internal-links a {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #FF6B00;
  border: 2px solid #FF6B00;
  border-radius: 4px;
  padding: 6px 16px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.topic-internal-links a:hover {
  background-color: #FF6B00;
  color: #1E1E1E;
}

/* ==========================================================================
   Pages — 阅读指引页
   ========================================================================== */

.guide-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

.step-list-wrap {
  min-width: 0;
}

.guide-step {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 2px solid #1E1E1E;
}

.guide-step:first-child {
  border-top: 2px solid #1E1E1E;
}

.step-num {
  font-size: 28px;
  font-weight: 700;
  color: #FF6B00;
  line-height: 1.2;
  min-width: 48px;
  text-align: center;
}

.step-content {
  flex: 1;
  min-width: 0;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: #1E1E1E;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 8px;
}

.step-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #FF6B00;
  border-bottom: 2px solid #FF6B00;
  margin-top: 4px;
}

.step-link:hover {
  color: #1E1E1E;
  border-bottom-color: #1E1E1E;
}

.guide-image {
  border: 3px solid #1E1E1E;
  border-radius: 8px;
  overflow: hidden;
  background-color: #1E1E1E;
}

.guide-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.guide-image figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: #FAF7F2;
  background-color: #1E1E1E;
  line-height: 1.5;
}

/* 浏览注意事项 */
.guide-tips {
  border-top: 3px solid #1E1E1E;
  padding-top: 32px;
}

.tips-title {
  font-size: 24px;
  font-weight: 700;
  color: #1E1E1E;
  margin-bottom: 20px;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tip-card {
  border: 2px solid #1E1E1E;
  border-radius: 8px;
  padding: 20px;
  background-color: #fff;
}

.tip-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1E1E1E;
  margin-bottom: 8px;
}

.tip-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

/* ==========================================================================
   Pages — 内容说明页
   ========================================================================== */

.standard-list {
  margin-bottom: 48px;
}

.standard-list > .section-title {
  margin-bottom: 16px;
}

.content-media-inline {
  border: 2px solid #1E1E1E;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
  background-color: #1E1E1E;
}

.content-media-inline img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.content-media-inline figcaption {
  padding: 10px 16px;
  font-size: 13px;
  color: #FAF7F2;
  background-color: #1E1E1E;
}

.standard-item {
  border: 2px solid #1E1E1E;
  border-radius: 8px;
  padding: 20px 24px;
  background-color: #fff;
  margin-bottom: 16px;
}

.standard-name {
  font-size: 17px;
  font-weight: 700;
  color: #1E1E1E;
  margin-bottom: 8px;
  position: relative;
  padding-left: 14px;
}

.standard-name::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background-color: #FF6B00;
  border-radius: 2px;
}

.standard-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

.related-links {
  border-top: 3px solid #1E1E1E;
  padding-top: 32px;
}

.related-links p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

.related-links p a {
  color: #FF6B00;
  font-weight: 700;
  margin-right: 16px;
}

.related-links p a:hover {
  color: #1E1E1E;
}

/* ==========================================================================
   Pages — 常见问题页
   ========================================================================== */

.faq-figure {
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 0 20px;
}

.faq-figure img {
  width: 100%;
  aspect-ratio: 16 / 5;
  object-fit: cover;
  border: 3px solid #1E1E1E;
  border-radius: 8px;
}

.faq-accordion {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-group {
  margin-bottom: 32px;
}

.faq-group > h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1E1E1E;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 3px solid #1E1E1E;
}

.faq-item {
  border: 2px solid #1E1E1E;
  border-radius: 6px;
  background-color: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  color: #1E1E1E;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 44px;
  transition: background-color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 700;
  color: #FF6B00;
}

.faq-item[open] summary {
  background-color: #FAF7F2;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  background-color: #FAF7F2;
}

.faq-answer {
  padding: 0 20px 16px;
  border-top: 2px solid #FAF7F2;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  padding-top: 12px;
}

.faq-more {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 0;
  border-top: 3px solid #1E1E1E;
}

.faq-more h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1E1E1E;
  margin-bottom: 12px;
}

.faq-more p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

.faq-more a {
  color: #FF6B00;
  font-weight: 700;
  margin-right: 16px;
}

.faq-more a:hover {
  color: #1E1E1E;
}

/* ==========================================================================
   Pages — 404
   ========================================================================== */

.error-main {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-panel {
  text-align: center;
  border: 3px solid #1E1E1E;
  border-radius: 8px;
  padding: 48px 56px;
  background-color: #fff;
  max-width: 560px;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: #FF6B00;
  line-height: 1;
  margin-bottom: 16px;
}

.error-panel h1 {
  font-size: 24px;
  font-weight: 700;
  color: #1E1E1E;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 24px;
}

.error-btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: #FF6B00;
  color: #1E1E1E;
  font-size: 16px;
  font-weight: 700;
  border: 3px solid #1E1E1E;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.error-btn:hover {
  background-color: #FFD23F;
  color: #1E1E1E;
}

/* ==========================================================================
   Components — 页脚
   ========================================================================== */

.site-footer {
  background-color: #1E1E1E;
  color: #FAF7F2;
  margin-top: 48px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-intro .footer-brand {
  font-size: 22px;
  font-weight: 700;
  color: #FF6B00;
  margin-bottom: 12px;
}

.footer-intro p:last-child {
  font-size: 14px;
  line-height: 1.7;
  color: #999;
  max-width: 480px;
}

.footer-links .footer-title {
  font-size: 16px;
  font-weight: 700;
  color: #FAF7F2;
  margin-bottom: 12px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 14px;
  color: #999;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #FF6B00;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 16px 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #777;
}

/* ==========================================================================
   Responsive — 响应式断点
   ========================================================================== */

/* 平板 768-991px */
@media (max-width: 991px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-figure {
    max-width: 640px;
  }

  .main-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-intro {
    position: static;
  }

  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .topic-list .topic-card {
    grid-template-columns: 240px 1fr;
  }

  .guide-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .guide-image {
    max-width: 480px;
  }

  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-card {
    grid-template-columns: 220px 1fr;
  }
}

/* 手机 ≤767px */
@media (max-width: 767px) {
  .header-inner {
    height: 56px;
    padding: 0 16px;
  }

  .site-brand {
    font-size: 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background-color: #FAF7F2;
    border-bottom: 3px solid #1E1E1E;
    z-index: 99;
  }

  .site-nav .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 4px;
  }

  .site-nav .nav-list.is-open {
    display: flex;
  }

  .site-nav .nav-list a {
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid transparent;
  }

  .site-nav .nav-list a.is-current {
    border-color: #1E1E1E;
  }

  .site-main {
    padding: 24px 16px;
  }

  .inner-main {
    padding: 24px 16px;
  }

  .page-header {
    padding: 24px 16px 20px;
  }

  .page-title {
    font-size: 26px;
  }

  .page-description {
    font-size: 15px;
  }

  .breadcrumb {
    padding: 12px 16px 0;
  }

  .section-title {
    font-size: 20px;
  }

  /* 首页 */
  .hero-section {
    padding: 16px 0 32px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-slogan {
    font-size: 18px;
  }

  .category-tags {
    padding: 20px 16px;
    margin-bottom: 32px;
  }

  .tag-list {
    gap: 8px;
  }

  .tag-item {
    padding: 8px 16px;
    font-size: 14px;
  }

  .main-layout {
    padding: 0 16px;
    gap: 24px;
  }

  .update-list {
    grid-template-columns: 1fr;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  .content-note {
    padding: 32px 16px;
  }

  /* 题材分类 */
  .category-card {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .category-media img {
    aspect-ratio: 16 / 9;
  }

  .category-info {
    padding: 16px;
  }

  .topic-entry-list {
    grid-template-columns: 1fr;
  }

  /* 精选专题 */
  .topic-list .topic-card {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .topic-media img {
    aspect-ratio: 16 / 9;
  }

  .topic-content {
    padding: 16px;
  }

  .topic-quote {
    padding: 20px;
  }

  /* 阅读指引 */
  .guide-step {
    flex-direction: column;
    gap: 8px;
  }

  .step-num {
    font-size: 24px;
    text-align: left;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }

  /* 内容说明 */
  .content-media-inline img {
    aspect-ratio: 16 / 8;
  }

  .standard-item {
    padding: 16px;
  }

  /* FAQ */
  .faq-figure {
    padding: 0 16px;
    margin-bottom: 24px;
  }

  .faq-accordion {
    padding: 0 16px;
  }

  .faq-item summary {
    padding: 14px 44px 14px 16px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 16px 14px;
  }

  .faq-more {
    padding: 24px 16px 0;
  }

  /* 404 */
  .error-panel {
    padding: 32px 24px;
  }

  .error-code {
    font-size: 56px;
  }

  /* 页脚 */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 16px 24px;
  }
}

/* 小手机 390px 以下 */
@media (max-width: 390px) {
  .header-inner {
    gap: 12px;
  }

  .site-brand {
    font-size: 18px;
  }

  .btn-primary {
    padding: 10px 20px;
    font-size: 15px;
  }

  .ranking-item {
    gap: 12px;
  }

  .ranking-num {
    min-width: 32px;
    font-size: 20px;
  }
}
