/* ==========================================================================
   香蕉漫画 · 全站样式表
   校园刊物风：米白纸张底色、活跃栏目色、公告网格感
   ========================================================================== */

/* --------------------------------------------------------------------------
   Base / 基础样式
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2B2B2B;
  background-color: #FAF7F2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #2B2B2B;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #FF6B5E;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* 数字使用等宽数字 */
.year,
.year-count,
.step-num,
.step-number,
.archive-no,
.year-badge {
  font-variant-numeric: tabular-nums;
}

/* 跳转正文链接 */
.skip-to-content,
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 20px;
  background: #F5C518;
  color: #2B2B2B;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s ease;
}

.skip-to-content:focus,
.skip-link:focus {
  top: 0;
  color: #2B2B2B;
}

/* --------------------------------------------------------------------------
   Layout / 布局骨架
   -------------------------------------------------------------------------- */
.site-header {
  background: #FAF7F2;
  border-bottom: 3px solid #2B2B2B;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.home-main {
  padding-top: 0;
}

.inner-main {
  padding-top: 32px;
  padding-bottom: 64px;
}

.site-footer {
  background: #2B2B2B;
  color: #ECE7DF;
  margin-top: 64px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
}

.footer-bottom {
  border-top: 1px solid rgba(236, 231, 223, 0.2);
}

.footer-bottom .copyright {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  font-size: 14px;
  color: #ECE7DF;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Components / 通用组件
   -------------------------------------------------------------------------- */

/* 品牌 Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #2B2B2B;
  letter-spacing: 0.02em;
  position: relative;
}

.brand-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 6px;
  background: #F5C518;
  z-index: -1;
  border-radius: 2px;
}

.brand-slogan {
  font-size: 13px;
  color: #8A8478;
  border-left: 2px solid #FF6B5E;
  padding-left: 10px;
  line-height: 1.3;
}

/* 主导航 */
.site-nav .nav-list {
  display: flex;
  gap: 4px;
}

.nav-list li a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #2B2B2B;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-list li a:hover {
  background: #F5C518;
  color: #2B2B2B;
}

.nav-list li a.is-current {
  background: #2B2B2B;
  color: #FAF7F2;
}

/* 汉堡按钮（默认隐藏） */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: 6px;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 3px;
  background: #2B2B2B;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #8A8478;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #8A8478;
}

.breadcrumb a:hover {
  color: #FF6B5E;
}

.breadcrumb-sep {
  color: #C9C2B8;
}

.breadcrumb-current {
  color: #2B2B2B;
  font-weight: 500;
}

/* 页面标题区 */
.page-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid #ECE7DF;
  position: relative;
}

.page-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 80px;
  height: 4px;
  background: #F5C518;
  border-radius: 2px;
}

.page-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  color: #2B2B2B;
  margin-bottom: 12px;
}

.page-description {
  font-size: 16px;
  color: #6B665C;
  max-width: 720px;
  line-height: 1.8;
}

/* 区块标题 */
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #2B2B2B;
  line-height: 1.4;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: #F5C518;
  border-radius: 2px;
}

.section-head {
  margin-bottom: 32px;
}

.section-desc {
  margin-top: 12px;
  font-size: 16px;
  color: #6B665C;
  max-width: 640px;
  line-height: 1.7;
}

/* 折叠问答 */
.faq-item {
  border: 1px solid #ECE7DF;
  border-radius: 8px;
  background: #FFFFFF;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #2B2B2B;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F5C518;
  color: #2B2B2B;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-item summary:hover {
  background: #FAF7F2;
}

.faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-size: 20px;
  color: #8A8478;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary {
  border-bottom: 1px solid #ECE7DF;
}

.faq-item p {
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.8;
  color: #4A463E;
}

.faq-item p a {
  color: #3AAFA9;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-item p a:hover {
  color: #FF6B5E;
}

/* 相关推荐横条 */
.related-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0;
  margin-top: 24px;
  border-top: 1px solid #ECE7DF;
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: #8A8478;
}

.related-links-item {
  font-size: 14px;
  color: #2B2B2B;
  background: #FFFFFF;
  border: 1px solid #ECE7DF;
  border-radius: 999px;
  padding: 6px 16px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.related-links-item:hover {
  background: #F5C518;
  border-color: #F5C518;
  color: #2B2B2B;
}

/* 侧栏布局（侧栏在左） */
.sidebar-left {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

/* ==========================================================================
   Components / 首页模块
   ========================================================================== */

/* 首屏封面墙 */
.hero-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  padding: 32px 0 48px;
  border-bottom: 1px solid #ECE7DF;
}

.hero-feature {
  position: relative;
}

.hero-figure {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #ECE7DF;
  box-shadow: 0 4px 16px rgba(43, 43, 43, 0.1);
}

.hero-figure img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px 24px 24px;
  background: linear-gradient(to top, rgba(43, 43, 43, 0.85), rgba(43, 43, 43, 0));
  color: #FAF7F2;
}

.hero-tag {
  display: inline-block;
  background: #FF6B5E;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.hero-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(250, 247, 242, 0.9);
  margin-bottom: 16px;
}

.hero-link {
  display: inline-block;
  background: #F5C518;
  color: #2B2B2B;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 6px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-link:hover {
  background: #FFD94A;
  color: #2B2B2B;
  transform: translateY(-2px);
}

/* 最近更新 */
.hero-updates {
  display: flex;
  flex-direction: column;
}

.hero-updates .section-title {
  font-size: 22px;
  margin-bottom: 20px;
}

.update-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.update-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid #ECE7DF;
  border-radius: 8px;
  padding: 12px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.update-card:hover {
  box-shadow: 0 4px 12px rgba(43, 43, 43, 0.08);
  transform: translateY(-2px);
}

.update-card img {
  width: 72px;
  height: 96px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.update-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.update-name {
  font-size: 15px;
  font-weight: 600;
  color: #2B2B2B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.update-meta {
  font-size: 13px;
  color: #8A8478;
}

/* 分类入口 */
.category-entry {
  padding: 48px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  display: block;
  background: #FFFFFF;
  border: 1px solid #ECE7DF;
  border-radius: 8px;
  padding: 28px 24px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
  box-shadow: 0 6px 16px rgba(43, 43, 43, 0.08);
  transform: translateY(-4px);
  border-color: #F5C518;
}

.category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  font-size: 24px;
  margin-bottom: 16px;
}

.category-card:nth-child(1) .category-icon {
  background: #FFF3C4;
}

.category-card:nth-child(2) .category-icon {
  background: #D4F0EE;
}

.category-card:nth-child(3) .category-icon {
  background: #FFE0DC;
}

.category-card:nth-child(4) .category-icon {
  background: #E8F0D8;
}

.category-name {
  font-size: 20px;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 8px;
}

.category-desc {
  font-size: 14px;
  color: #6B665C;
  line-height: 1.6;
}

/* 能力摘要 */
.capability-summary {
  background: #FFFFFF;
  border-top: 1px solid #ECE7DF;
  border-bottom: 1px solid #ECE7DF;
  padding: 48px 0;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.capability-item {
  padding: 24px;
  border-left: 4px solid #F5C518;
  background: #FAF7F2;
  border-radius: 0 8px 8px 0;
}

.capability-item:nth-child(2) {
  border-left-color: #FF6B5E;
}

.capability-item:nth-child(3) {
  border-left-color: #3AAFA9;
}

.capability-name {
  font-size: 18px;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 8px;
}

.capability-desc {
  font-size: 14px;
  color: #6B665C;
  line-height: 1.7;
}

/* 浏览流程 */
.browse-steps {
  padding: 48px 0;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step-counter;
}

.step-item {
  background: #FFFFFF;
  border: 1px solid #ECE7DF;
  border-radius: 8px;
  padding: 24px;
  position: relative;
  transition: box-shadow 0.2s ease;
}

.step-item:hover {
  box-shadow: 0 4px 12px rgba(43, 43, 43, 0.08);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2B2B2B;
  color: #F5C518;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.step-name {
  font-size: 17px;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: #6B665C;
  line-height: 1.7;
}

.steps-more {
  margin-top: 24px;
  text-align: right;
}

.steps-more a {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #3AAFA9;
  padding: 8px 0;
  border-bottom: 2px solid #3AAFA9;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.steps-more a:hover {
  color: #FF6B5E;
  border-color: #FF6B5E;
}

/* 相关作品推荐 */
.related-picks {
  padding: 48px 0;
  background: #FFFFFF;
  border-top: 1px solid #ECE7DF;
  border-bottom: 1px solid #ECE7DF;
}

.picks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pick-card {
  display: block;
  background: #FAF7F2;
  border: 1px solid #ECE7DF;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pick-card:hover {
  box-shadow: 0 6px 16px rgba(43, 43, 43, 0.1);
  transform: translateY(-4px);
}

.pick-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.pick-card {
  padding-bottom: 16px;
}

.pick-name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #2B2B2B;
  padding: 16px 16px 4px;
}

.pick-tag {
  display: inline-block;
  font-size: 13px;
  color: #FF6B5E;
  padding: 0 16px;
  font-weight: 500;
}

/* FAQ 主体 */
.faq-section {
  padding: 48px 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

.faq-topic-list {
  position: sticky;
  top: 96px;
}

.topic-nav {
  background: #FFFFFF;
  border: 1px solid #ECE7DF;
  border-radius: 8px;
  overflow: hidden;
}

.topic-nav li a {
  display: block;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #2B2B2B;
  border-bottom: 1px solid #ECE7DF;
  transition: background 0.2s ease, color 0.2s ease;
}

.topic-nav li:last-child a {
  border-bottom: none;
}

.topic-nav li a:hover {
  background: #F5C518;
  color: #2B2B2B;
}

.faq-group {
  margin-bottom: 32px;
}

.faq-group-title {
  font-size: 20px;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #F5C518;
  display: inline-block;
}

/* ==========================================================================
   Components / 内页模块
   ========================================================================== */

/* --- 作品档案页 --- */
.genre-filter {
  margin-bottom: 32px;
}

.genre-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.genre-tag {
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #2B2B2B;
  background: #FFFFFF;
  border: 1px solid #ECE7DF;
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.genre-tag:hover {
  border-color: #F5C518;
  background: #FFF9E8;
}

.genre-tag.is-active {
  background: #2B2B2B;
  color: #FAF7F2;
  border-color: #2B2B2B;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-card {
  background: #FFFFFF;
  border: 1px solid #ECE7DF;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.work-card:hover {
  box-shadow: 0 6px 16px rgba(43, 43, 43, 0.1);
  transform: translateY(-4px);
}

.work-cover {
  overflow: hidden;
}

.work-cover img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.work-card:hover .work-cover img {
  transform: scale(1.03);
}

.work-info {
  padding: 20px;
}

.work-title {
  font-size: 18px;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 8px;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.tag {
  display: inline-block;
  font-size: 13px;
  color: #FF6B5E;
  background: #FFEEEB;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 500;
}

.work-summary {
  font-size: 14px;
  color: #6B665C;
  line-height: 1.7;
  margin-bottom: 12px;
}

.work-meta {
  font-size: 13px;
  color: #8A8478;
  border-top: 1px solid #ECE7DF;
  padding-top: 10px;
}

.archive-no {
  font-weight: 500;
}

/* 相关入口 */
.related-entry {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #ECE7DF;
}

.entry-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.entry-link {
  display: block;
  flex: 1;
  min-width: 200px;
  background: #FAF7F2;
  border: 1px solid #ECE7DF;
  border-radius: 8px;
  padding: 20px;
  font-size: 15px;
  font-weight: 600;
  color: #2B2B2B;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.entry-link:hover {
  background: #F5C518;
  border-color: #F5C518;
  color: #2B2B2B;
}

/* --- 年份归档页 --- */
.page-layout.sidebar-left {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

.year-sidebar {
  position: sticky;
  top: 96px;
  background: #FFFFFF;
  border: 1px solid #ECE7DF;
  border-radius: 8px;
  padding: 20px;
}

.sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #F5C518;
}

.year-index-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.year-index-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
  color: #2B2B2B;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.year-index-list li a:hover {
  background: #FFF9E8;
}

.year-count {
  font-size: 13px;
  color: #8A8478;
  background: #FAF7F2;
  padding: 2px 10px;
  border-radius: 999px;
}

.sidebar-note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #ECE7DF;
  font-size: 13px;
  color: #8A8478;
  line-height: 1.6;
}

.timeline-content {
  min-width: 0;
}

.year-section {
  margin-bottom: 40px;
}

.year-heading {
  font-size: 24px;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ECE7DF;
  position: relative;
}

.year-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 60px;
  height: 4px;
  background: #FF6B5E;
  border-radius: 2px;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid #ECE7DF;
  border-radius: 8px;
  padding: 16px;
  transition: box-shadow 0.2s ease;
}

.timeline-item:hover {
  box-shadow: 0 4px 12px rgba(43, 43, 43, 0.08);
}

.year-badge {
  flex-shrink: 0;
  width: 56px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #2B2B2B;
  background: #F5C518;
  border-radius: 6px;
  padding: 8px 4px;
}

.thumb-figure {
  flex-shrink: 0;
  width: 80px;
  height: 104px;
  border-radius: 4px;
  overflow: hidden;
  background: #ECE7DF;
}

.thumb-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-info {
  min-width: 0;
  flex: 1;
}

.item-title {
  font-size: 17px;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 4px;
}

.item-desc {
  font-size: 14px;
  color: #6B665C;
  line-height: 1.6;
  margin-bottom: 6px;
}

.item-link {
  font-size: 13px;
  font-weight: 600;
  color: #3AAFA9;
}

.item-link:hover {
  color: #FF6B5E;
}

.archive-guide {
  background: #FFF9E8;
  border: 1px solid #F5C518;
  border-radius: 8px;
  padding: 24px;
  margin-top: 32px;
}

.archive-guide p {
  font-size: 15px;
  color: #4A463E;
  line-height: 1.7;
}

.archive-guide a {
  font-weight: 600;
  color: #3AAFA9;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.archive-guide a:hover {
  color: #FF6B5E;
}

/* --- 创作手记页 --- */
.notes-list-section {
  margin-bottom: 48px;
}

.note-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  background: #FFFFFF;
  border: 1px solid #ECE7DF;
  border-radius: 8px;
  margin-bottom: 24px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.note-card:hover {
  box-shadow: 0 4px 16px rgba(43, 43, 43, 0.08);
}

.note-card-media {
  overflow: hidden;
}

.note-card-media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.note-card-body {
  padding: 24px 24px 24px 0;
  min-width: 0;
}

.note-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.note-year {
  font-size: 13px;
  font-weight: 600;
  color: #2B2B2B;
  background: #F5C518;
  padding: 3px 10px;
  border-radius: 999px;
}

.note-tag {
  font-size: 13px;
  font-weight: 500;
  color: #FF6B5E;
  background: #FFEEEB;
  padding: 3px 10px;
  border-radius: 999px;
}

.note-title {
  font-size: 22px;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 12px;
}

.note-summary {
  font-size: 15px;
  color: #6B665C;
  line-height: 1.7;
  margin-bottom: 16px;
}

.note-detail {
  border-top: 1px solid #ECE7DF;
}

.note-detail summary {
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  color: #3AAFA9;
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.note-detail summary::-webkit-details-marker {
  display: none;
}

.note-detail summary::after {
  content: "展开阅读";
  font-size: 14px;
  color: #3AAFA9;
}

.note-detail[open] summary::after {
  content: "收起内容";
}

.note-fulltext {
  padding: 16px 0 8px;
}

.note-fulltext p {
  font-size: 15px;
  color: #4A463E;
  line-height: 1.8;
  margin-bottom: 12px;
}

/* 手记相关推荐 */
.notes-related-section {
  margin-top: 48px;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: none;
  padding: 0;
  margin-top: 0;
}

.related-item {
  background: #FAF7F2;
  border: 1px solid #ECE7DF;
  border-radius: 8px;
  padding: 20px;
}

.related-title {
  font-size: 16px;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 8px;
}

.related-text {
  font-size: 14px;
  color: #6B665C;
  line-height: 1.6;
  margin-bottom: 12px;
}

.related-item a {
  font-size: 14px;
  font-weight: 600;
  color: #3AAFA9;
}

.related-item a:hover {
  color: #FF6B5E;
}

/* --- 合作方式页 --- */
.cooperation-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.cooperation-card {
  background: #FFFFFF;
  border: 1px solid #ECE7DF;
  border-radius: 8px;
  padding: 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cooperation-card:hover {
  box-shadow: 0 6px 16px rgba(43, 43, 43, 0.08);
  transform: translateY(-4px);
}

.cooperation-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.cooperation-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  font-size: 24px;
  background: #FFF3C4;
}

.cooperation-card:nth-child(2) .cooperation-icon {
  background: #D4F0EE;
}

.cooperation-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #2B2B2B;
}

.cooperation-card-desc {
  font-size: 15px;
  color: #4A463E;
  line-height: 1.7;
  margin-bottom: 12px;
}

.cooperation-card-note {
  font-size: 14px;
  color: #8A8478;
  line-height: 1.6;
  background: #FAF7F2;
  border-radius: 6px;
  padding: 12px 16px;
}

/* 合作流程 */
.cooperation-process {
  margin-bottom: 48px;
}

.section-lead {
  font-size: 15px;
  color: #6B665C;
  line-height: 1.7;
  margin-bottom: 24px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-step {
  background: #FFFFFF;
  border: 1px solid #ECE7DF;
  border-radius: 8px;
  padding: 24px;
  position: relative;
  transition: box-shadow 0.2s ease;
}

.process-step:hover {
  box-shadow: 0 4px 12px rgba(43, 43, 43, 0.08);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FF6B5E;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: #6B665C;
  line-height: 1.7;
}

/* 合作说明区 */
.cooperation-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #ECE7DF;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 48px;
}

.cooperation-notes-content p {
  font-size: 15px;
  color: #4A463E;
  line-height: 1.8;
  margin-bottom: 12px;
}

.cooperation-notes-content p:last-child {
  margin-bottom: 0;
}

.cooperation-figure {
  border-radius: 8px;
  overflow: hidden;
}

.cooperation-figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.cooperation-figure figcaption {
  font-size: 13px;
  color: #8A8478;
  padding: 8px 0;
  text-align: center;
}

/* 合作主题区 */
.cooperation-topic {
  background: #FFF9E8;
  border: 1px solid #F5C518;
  border-radius: 8px;
  padding: 32px;
}

.topic-content p {
  font-size: 15px;
  color: #4A463E;
  line-height: 1.8;
  margin-bottom: 12px;
}

.topic-content p:last-child {
  margin-bottom: 0;
}

/* --- 常见问答页 --- */
.layout-shell.sidebar-left {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

.faq-topic-sidebar {
  position: sticky;
  top: 96px;
}

.topic-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #FFFFFF;
  border: 1px solid #ECE7DF;
  border-radius: 8px;
  padding: 12px;
}

.topic-link {
  display: block;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #2B2B2B;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.topic-link:hover {
  background: #FFF9E8;
}

.faq-content {
  min-width: 0;
}

.faq-group {
  margin-bottom: 40px;
}

.faq-group-title {
  font-size: 22px;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #F5C518;
  display: inline-block;
}

/* FAQ 视觉插图区 */
.faq-visual-note {
  margin-top: 48px;
  text-align: center;
}

.faq-figure {
  max-width: 480px;
  margin: 0 auto 16px;
  border-radius: 8px;
  overflow: hidden;
}

.faq-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.faq-figure figcaption {
  font-size: 14px;
  color: #8A8478;
  padding: 8px 0;
}

.visual-caption {
  font-size: 14px;
  color: #6B665C;
}

.visual-caption a {
  color: #3AAFA9;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.visual-caption a:hover {
  color: #FF6B5E;
}

/* --- 404 页 --- */
.error-main {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.error-panel {
  text-align: center;
  max-width: 560px;
  background: #FFFFFF;
  border: 1px solid #ECE7DF;
  border-radius: 8px;
  padding: 48px 40px;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: #F5C518;
  line-height: 1;
  margin-bottom: 16px;
}

.error-title {
  font-size: 28px;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 16px;
}

.error-desc {
  font-size: 16px;
  color: #6B665C;
  line-height: 1.7;
  margin-bottom: 32px;
}

.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  background: #2B2B2B;
  border-radius: 6px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.error-btn:hover {
  background: #FF6B5E;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.error-btn-secondary {
  background: #FFFFFF;
  color: #2B2B2B;
  border: 1px solid #ECE7DF;
}

.error-btn-secondary:hover {
  background: #F5C518;
  border-color: #F5C518;
  color: #2B2B2B;
}

/* ==========================================================================
   Pages / 页面级样式
   ========================================================================== */

/* 首页 */
.site-body {
  background-color: #FAF7F2;
}

.site-body.site-home {
  background-color: #FAF7F2;
}

/* ==========================================================================
   Footer / 页脚
   ========================================================================== */

.footer-brand {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #F5C518;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #C9C2B8;
  max-width: 320px;
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: #FAF7F2;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #F5C518;
  display: inline-block;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav li a {
  font-size: 14px;
  color: #C9C2B8;
  transition: color 0.2s ease;
}

.footer-nav li a:hover {
  color: #F5C518;
}

.footer-note {
  font-size: 14px;
  color: #C9C2B8;
  line-height: 1.7;
  margin-bottom: 10px;
}

.footer-note:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Responsive / 响应式
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-gallery {
    grid-template-columns: 1fr;
  }

  .hero-figure img {
    height: 360px;
  }

  .hero-updates .update-list {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .update-card {
    flex-shrink: 0;
    width: 240px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .note-card {
    grid-template-columns: 220px 1fr;
  }
}

@media (max-width: 768px) {
  /* 页头 */
  .header-inner {
    min-height: 60px;
    padding: 0 16px;
  }

  .brand-name {
    font-size: 20px;
  }

  .brand-slogan {
    display: none;
  }

  /* 汉堡菜单 */
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #FAF7F2;
    border-bottom: 1px solid #ECE7DF;
    box-shadow: 0 4px 12px rgba(43, 43, 43, 0.08);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    padding: 8px 16px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 6px;
  }

  .nav-list li a.is-current {
    background: #F5C518;
    color: #2B2B2B;
  }

  /* 主容器 */
  .site-main,
  .inner-main {
    padding: 0 16px;
  }

  .inner-main {
    padding-top: 24px;
    padding-bottom: 48px;
  }

  /* 页面标题 */
  .page-header {
    margin-bottom: 24px;
  }

  .page-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 24px;
  }

  /* 首页 hero */
  .hero-gallery {
    padding: 24px 0 32px;
    gap: 24px;
  }

  .hero-figure img {
    height: 280px;
  }

  .hero-caption {
    padding: 20px 16px 16px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-desc {
    font-size: 14px;
  }

  .update-card {
    width: 220px;
  }

  /* 分类入口 */
  .category-entry {
    padding: 32px 0;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-card {
    padding: 20px 16px;
  }

  .category-name {
    font-size: 18px;
  }

  /* 能力摘要 */
  .capability-summary {
    padding: 32px 0;
  }

  .capability-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 浏览流程 */
  .browse-steps {
    padding: 32px 0;
  }

  .steps-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 0 16px;
    padding: 20px;
  }

  .step-num {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .step-name {
    margin-bottom: 4px;
  }

  /* 相关推荐 */
  .related-picks {
    padding: 32px 0;
  }

  .picks-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pick-card img {
    height: 180px;
  }

  /* FAQ 首页 */
  .faq-section {
    padding: 32px 0;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .faq-topic-list {
    position: static;
  }

  .topic-nav {
    display: flex;
    overflow-x: auto;
    border-radius: 8px;
  }

  .topic-nav li {
    flex-shrink: 0;
  }

  .topic-nav li a {
    border-bottom: none;
    border-right: 1px solid #ECE7DF;
    white-space: nowrap;
  }

  .topic-nav li:last-child a {
    border-right: none;
  }

  /* 侧栏布局 */
  .sidebar-left,
  .page-layout.sidebar-left,
  .layout-shell.sidebar-left {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .year-sidebar,
  .faq-topic-sidebar {
    position: static;
  }

  .year-index-list {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
  }

  .year-index-list li a {
    white-space: nowrap;
    gap: 8px;
  }

  .topic-list {
    flex-direction: row;
    overflow-x: auto;
    padding: 8px;
  }

  .topic-link {
    white-space: nowrap;
  }

  /* 作品档案 */
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .work-cover img {
    height: 180px;
  }

  .work-info {
    padding: 16px;
  }

  .work-title {
    font-size: 16px;
  }

  .entry-links {
    flex-direction: column;
  }

  /* 年份归档 */
  .timeline-item {
    flex-wrap: wrap;
    padding: 12px;
  }

  .thumb-figure {
    width: 64px;
    height: 84px;
  }

  .item-title {
    font-size: 16px;
  }

  /* 创作手记 */
  .note-card {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .note-card-media img {
    height: 200px;
    min-height: 0;
  }

  .note-card-body {
    padding: 20px;
  }

  .note-title {
    font-size: 20px;
  }

  .related-links {
    grid-template-columns: 1fr;
  }

  /* 合作方式 */
  .cooperation-types-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .process-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 0 16px;
    padding: 20px;
  }

  .step-number {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .step-title {
    margin-bottom: 4px;
  }

  .cooperation-notes {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  .cooperation-figure img {
    height: 200px;
  }

  /* FAQ 页 */
  .faq-group-title {
    font-size: 20px;
  }

  /* 404 */
  .error-panel {
    padding: 32px 24px;
  }

  .error-code {
    font-size: 56px;
  }

  .error-title {
    font-size: 24px;
  }

  /* 页脚 */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 16px 24px;
  }
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .works-grid .work-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0;
  }

  .work-cover img {
    height: 160px;
  }

  .work-info {
    padding: 16px;
  }

  .hero-figure img {
    height: 240px;
  }

  .hero-title {
    font-size: 22px;
  }

  .hero-tag {
    font-size: 12px;
  }

  .hero-link {
    font-size: 13px;
    padding: 6px 16px;
  }

  .update-card {
    width: 200px;
  }

  .update-card img {
    width: 60px;
    height: 80px;
  }

  .timeline-item {
    display: grid;
    grid-template-columns: 56px 64px 1fr;
    align-items: start;
  }

  .year-badge {
    width: auto;
  }

  .item-info {
    grid-column: 3;
  }

  .error-actions {
    flex-direction: column;
    align-items: center;
  }

  .error-btn {
    width: 100%;
    text-align: center;
  }
}
