/* ============================================================
   在线漫画 fzczyjpp.cn 全站样式表
   农业产地风：深绿/草绿/黄色点缀，朴实、内容更新感
   结构：base / layout / components / pages / responsive
   ============================================================ */

/* ------------------------------------------------------------
   Base — 全局基础
   ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #f5f0e6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #2d5a27;
  text-decoration: none;
}

a:hover {
  color: #7a9e3f;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  line-height: 1.3;
  font-weight: 600;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.125rem;
}

p {
  margin-bottom: 0.75rem;
}

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  background: none;
}

/* ------------------------------------------------------------
   Layout — 全站骨架
   ------------------------------------------------------------ */
.site-header {
  background-color: #2d5a27;
  border-bottom: 3px solid #f2d648;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.375rem;
  font-weight: 700;
  color: #f2d648;
  letter-spacing: 0.02em;
}

.brand-slogan {
  font-size: 0.8125rem;
  color: #d8e6c9;
}

.site-nav .nav-list {
  display: flex;
  gap: 0.25rem;
}

.site-nav .nav-list a {
  display: block;
  padding: 0.5rem 0.875rem;
  color: #f5f0e6;
  font-size: 0.9375rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.site-nav .nav-list a:hover,
.site-nav .nav-list a.is-current {
  background-color: #7a9e3f;
  color: #ffffff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #f5f0e6;
  content: "";
  position: relative;
  transition: background-color 0.2s ease;
}

.nav-toggle-icon::before {
  position: absolute;
  top: -7px;
}

.nav-toggle-icon::after {
  position: absolute;
  top: 7px;
}

.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.inner-main {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #7a9e3f;
  margin-bottom: 1.25rem;
  padding: 0.5rem 0;
}

.breadcrumb a {
  color: #7a9e3f;
}

.breadcrumb a:hover {
  color: #2d5a27;
}

.breadcrumb-sep {
  color: #b8b09f;
}

.breadcrumb-current {
  color: #333333;
  font-weight: 500;
}

/* 页头标题区 */
.page-header {
  padding: 1.25rem 0 1.5rem;
  border-bottom: 1px solid #d8ceb8;
  margin-bottom: 2rem;
}

.page-title {
  font-size: 1.875rem;
  color: #2d5a27;
  margin-bottom: 0.5rem;
}

.page-description {
  font-size: 1rem;
  color: #666666;
  max-width: 60ch;
}

/* 页脚 */
.site-footer {
  background-color: #2d5a27;
  color: #d8e6c9;
  margin-top: 3rem;
  padding-top: 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}

.footer-brand .footer-site-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f2d648;
  margin-bottom: 0.5rem;
}

.footer-brand .footer-tagline {
  font-size: 0.875rem;
  color: #b8d4a0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.footer-group h3 {
  font-size: 0.9375rem;
  color: #f2d648;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.footer-group ul li {
  margin-bottom: 0.375rem;
}

.footer-group ul a {
  color: #d8e6c9;
  font-size: 0.875rem;
}

.footer-group ul a:hover {
  color: #f2d648;
}

.footer-bottom {
  background-color: #1f421b;
  padding: 0.875rem 1.25rem;
  text-align: center;
  font-size: 0.8125rem;
  color: #a8c48a;
}

.footer-bottom p {
  margin: 0;
}

/* ------------------------------------------------------------
   Components — 通用组件
   ------------------------------------------------------------ */
/* 按钮 */
.btn {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-primary {
  background-color: #2d5a27;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #1f421b;
  color: #ffffff;
}

.btn-secondary {
  background-color: #f2d648;
  color: #2d5a27;
}

.btn-secondary:hover {
  background-color: #e0c22e;
  color: #1f421b;
}

/* 区块通用标题 */
.section-title {
  font-size: 1.375rem;
  color: #2d5a27;
  margin-bottom: 1.25rem;
  padding-left: 0.75rem;
  border-left: 4px solid #f2d648;
}

/* 图片容器约束 */
figure {
  margin: 0;
}

figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------------------------------------------------------------
   Pages — 首页模块
   ------------------------------------------------------------ */
.site-home {
  background-color: #f5f0e6;
}

/* 首屏 hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0 2.5rem;
}

.hero-copy h1 {
  font-size: 2.125rem;
  color: #2d5a27;
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.0625rem;
  color: #555555;
  max-width: 50ch;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-figure {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background-color: #d8ceb8;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 题材分类导航带 */
.category-nav {
  padding: 1.5rem 0;
  border-top: 1px solid #d8ceb8;
  border-bottom: 1px solid #d8ceb8;
  margin-bottom: 2.5rem;
}

.category-nav h2 {
  font-size: 1.375rem;
  color: #2d5a27;
  margin-bottom: 1rem;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.category-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #e5dcc8;
  color: #2d5a27;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 500;
  border: 1px solid #d0c4a8;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.category-tag:hover {
  background-color: #7a9e3f;
  color: #ffffff;
  border-color: #7a9e3f;
}

/* 最近更新 */
.recent-updates {
  margin-bottom: 2.5rem;
}

.recent-updates h2 {
  font-size: 1.375rem;
  color: #2d5a27;
  margin-bottom: 1.25rem;
  padding-left: 0.75rem;
  border-left: 4px solid #f2d648;
}

.update-group {
  margin-bottom: 1.5rem;
}

.update-group h3 {
  font-size: 1rem;
  color: #7a9e3f;
  margin-bottom: 0.75rem;
  padding-bottom: 0.375rem;
  border-bottom: 1px dashed #d0c4a8;
}

.update-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.update-item {
  display: flex;
  gap: 0.875rem;
  background-color: #ffffff;
  border-radius: 6px;
  padding: 0.75rem;
  border: 1px solid #e5dcc8;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.update-item:hover {
  box-shadow: 0 4px 12px rgba(45, 90, 39, 0.12);
  transform: translateY(-2px);
}

.update-item img {
  width: 72px;
  height: 96px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background-color: #e5dcc8;
}

.update-info {
  flex: 1;
  min-width: 0;
}

.update-info h4 {
  font-size: 0.9375rem;
  color: #2d5a27;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.update-meta {
  font-size: 0.8125rem;
  color: #7a9e3f;
  margin-bottom: 0.25rem;
}

.update-desc {
  font-size: 0.8125rem;
  color: #777777;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* 人气榜单 */
.ranking {
  margin-bottom: 2.5rem;
}

.ranking h2 {
  font-size: 1.375rem;
  color: #2d5a27;
  margin-bottom: 1.25rem;
  padding-left: 0.75rem;
  border-left: 4px solid #f2d648;
}

.ranking-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.875rem;
}

.ranking-item {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 1rem;
  border: 1px solid #e5dcc8;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.ranking-item:hover {
  box-shadow: 0 4px 12px rgba(45, 90, 39, 0.12);
  transform: translateY(-2px);
}

.rank-num {
  display: inline-block;
  width: 28px;
  height: 28px;
  background-color: #f2d648;
  color: #2d5a27;
  font-weight: 700;
  font-size: 0.9375rem;
  text-align: center;
  line-height: 28px;
  border-radius: 4px;
}

.rank-content h3 {
  font-size: 0.9375rem;
  color: #2d5a27;
  margin-bottom: 0.375rem;
}

.rank-content p {
  font-size: 0.8125rem;
  color: #777777;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 阅读指南入口 */
.guide-entry {
  margin-bottom: 2.5rem;
}

.guide-entry h2 {
  font-size: 1.375rem;
  color: #2d5a27;
  margin-bottom: 1.25rem;
  padding-left: 0.75rem;
  border-left: 4px solid #f2d648;
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.guide-card {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 1.5rem;
  border: 1px solid #e5dcc8;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.guide-card:hover {
  box-shadow: 0 4px 12px rgba(45, 90, 39, 0.12);
  transform: translateY(-2px);
}

.guide-card h3 {
  font-size: 1.0625rem;
  color: #2d5a27;
  margin-bottom: 0.5rem;
}

.guide-card p {
  font-size: 0.9375rem;
  color: #666666;
  margin-bottom: 1rem;
}

.guide-card a {
  display: inline-block;
  color: #7a9e3f;
  font-weight: 600;
  font-size: 0.9375rem;
}

.guide-card a:hover {
  color: #2d5a27;
}

/* 长尾推荐预告 */
.longtail-preview {
  margin-bottom: 2rem;
}

.longtail-preview h2 {
  font-size: 1.375rem;
  color: #2d5a27;
  margin-bottom: 1.25rem;
  padding-left: 0.75rem;
  border-left: 4px solid #f2d648;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background-color: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e5dcc8;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.feature-card:hover {
  box-shadow: 0 4px 12px rgba(45, 90, 39, 0.12);
  transform: translateY(-2px);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background-color: #e5dcc8;
}

.feature-card h3 {
  font-size: 1.0625rem;
  color: #2d5a27;
  padding: 1rem 1rem 0.375rem;
}

.feature-card p {
  font-size: 0.9375rem;
  color: #666666;
  padding: 0 1rem 0.75rem;
  margin: 0;
}

.feature-card a {
  display: inline-block;
  margin: 0 1rem 1rem;
  color: #7a9e3f;
  font-weight: 600;
  font-size: 0.9375rem;
}

.feature-card a:hover {
  color: #2d5a27;
}

/* ------------------------------------------------------------
   Pages — 题材分类页
   ------------------------------------------------------------ */
.page-categories {
  background-color: #f5f0e6;
}

.category-grid {
  margin-bottom: 2.5rem;
}

.category-grid-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.category-card {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 1.5rem;
  border: 1px solid #e5dcc8;
  display: flex;
  gap: 1rem;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.category-card:hover {
  box-shadow: 0 4px 12px rgba(45, 90, 39, 0.12);
  transform: translateY(-2px);
}

.category-card-icon {
  width: 48px;
  height: 48px;
  background-color: #e5f0d8;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.category-card-body {
  flex: 1;
  min-width: 0;
}

.category-card-title {
  font-size: 1.0625rem;
  color: #2d5a27;
  margin-bottom: 0.375rem;
}

.category-card-desc {
  font-size: 0.875rem;
  color: #666666;
  margin-bottom: 0.5rem;
}

.category-card-example {
  font-size: 0.8125rem;
  color: #7a9e3f;
  margin-bottom: 0.75rem;
}

.category-card-link {
  display: inline-block;
  font-size: 0.875rem;
  color: #2d5a27;
  font-weight: 600;
}

.category-card-link:hover {
  color: #7a9e3f;
}

/* 分类提示区 */
.category-tip {
  background-color: #e5f0d8;
  border-radius: 6px;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.category-tip-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
}

.category-tip-text p {
  font-size: 0.9375rem;
  color: #444444;
}

.category-tip-figure {
  border-radius: 6px;
  overflow: hidden;
}

.category-tip-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background-color: #d0c4a8;
}

.category-tip-figure figcaption {
  font-size: 0.8125rem;
  color: #666666;
  padding: 0.5rem 0.25rem 0;
  text-align: center;
}

/* 相关推荐 */
.related-links {
  margin-bottom: 2rem;
}

.related-links-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.related-link-card {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 1.25rem;
  border: 1px solid #e5dcc8;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.related-link-card:hover {
  box-shadow: 0 4px 12px rgba(45, 90, 39, 0.12);
  transform: translateY(-2px);
}

.related-link-title {
  font-size: 1rem;
  color: #2d5a27;
  font-weight: 600;
}

.related-link-desc {
  font-size: 0.875rem;
  color: #777777;
}

/* ------------------------------------------------------------
   Pages — 阅读指南页
   ------------------------------------------------------------ */
.page-guide {
  background-color: #f5f0e6;
}

.guide-steps {
  margin-bottom: 2.5rem;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step-card {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 1.25rem;
  border: 1px solid #e5dcc8;
  position: relative;
}

.step-number {
  display: inline-block;
  width: 32px;
  height: 32px;
  background-color: #f2d648;
  color: #2d5a27;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  line-height: 32px;
  border-radius: 50%;
  margin-bottom: 0.75rem;
}

.step-card h3 {
  font-size: 1rem;
  color: #2d5a27;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.875rem;
  color: #666666;
  margin: 0;
}

/* 追更技巧 */
.tips {
  margin-bottom: 2rem;
}

.tips h2 {
  font-size: 1.375rem;
  color: #2d5a27;
  margin-bottom: 1.25rem;
  padding-left: 0.75rem;
  border-left: 4px solid #f2d648;
}

.tips-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.tip-item {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 1.25rem;
  border: 1px solid #e5dcc8;
}

.tip-item h3 {
  font-size: 1rem;
  color: #2d5a27;
  margin-bottom: 0.5rem;
}

.tip-item p {
  font-size: 0.875rem;
  color: #666666;
  margin: 0;
}

/* 指南配图 */
.guide-media {
  margin-bottom: 2.5rem;
  border-radius: 6px;
  overflow: hidden;
}

.guide-media img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  background-color: #d8ceb8;
}

.guide-media figcaption {
  font-size: 0.875rem;
  color: #777777;
  padding: 0.5rem 0.25rem;
  text-align: center;
}

/* 相关推荐列表 */
.related-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
}

.related-list li a {
  display: block;
  background-color: #ffffff;
  border-radius: 6px;
  padding: 0.875rem 1rem;
  border: 1px solid #e5dcc8;
  color: #2d5a27;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: background-color 0.2s ease;
}

.related-list li a:hover {
  background-color: #e5f0d8;
  color: #2d5a27;
}

/* ------------------------------------------------------------
   Pages — 恋爱漫画推荐页
   ------------------------------------------------------------ */
.page-romance {
  background-color: #f5f0e6;
}

.recommendation-list {
  margin-bottom: 2.5rem;
}

.recommendation-list h2 {
  font-size: 1.375rem;
  color: #2d5a27;
  margin-bottom: 0.5rem;
  padding-left: 0.75rem;
  border-left: 4px solid #f2d648;
}

.section-intro {
  font-size: 0.9375rem;
  color: #666666;
  margin-bottom: 1.5rem;
  max-width: 60ch;
}

.recommendation-list .work-card {
  display: flex;
  gap: 1.25rem;
  background-color: #ffffff;
  border-radius: 6px;
  padding: 1.25rem;
  border: 1px solid #e5dcc8;
  margin-bottom: 1rem;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.recommendation-list .work-card:hover {
  box-shadow: 0 4px 12px rgba(45, 90, 39, 0.12);
  transform: translateY(-2px);
}

.work-cover {
  width: 120px;
  flex-shrink: 0;
}

.work-cover img {
  width: 120px;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
  background-color: #e5dcc8;
}

.work-info {
  flex: 1;
  min-width: 0;
}

.work-info h3 {
  font-size: 1.125rem;
  color: #2d5a27;
  margin-bottom: 0.375rem;
}

.work-tags {
  font-size: 0.8125rem;
  color: #7a9e3f;
  margin-bottom: 0.5rem;
}

.work-desc {
  font-size: 0.9375rem;
  color: #555555;
  margin-bottom: 0.5rem;
}

.work-update {
  font-size: 0.8125rem;
  color: #999999;
  margin-bottom: 0.5rem;
}

.work-advice {
  font-size: 0.875rem;
  color: #2d5a27;
  background-color: #f5f0e6;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  display: inline-block;
  margin: 0;
}

/* 追更建议 */
.follow-advice {
  margin-bottom: 2.5rem;
}

.follow-advice h2 {
  font-size: 1.375rem;
  color: #2d5a27;
  margin-bottom: 1.25rem;
  padding-left: 0.75rem;
  border-left: 4px solid #f2d648;
}

.advice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.advice-item {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 1.25rem;
  border: 1px solid #e5dcc8;
}

.advice-item h3 {
  font-size: 1rem;
  color: #2d5a27;
  margin-bottom: 0.5rem;
}

.advice-item p {
  font-size: 0.875rem;
  color: #666666;
  margin: 0;
}

/* ------------------------------------------------------------
   Pages — 热血漫画推荐页
   ------------------------------------------------------------ */
.page-hot-blooded {
  background-color: #f5f0e6;
}

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.recommendation-grid .work-card {
  background-color: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e5dcc8;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.recommendation-grid .work-card:hover {
  box-shadow: 0 4px 12px rgba(45, 90, 39, 0.12);
  transform: translateY(-2px);
}

.recommendation-grid .work-cover {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.recommendation-grid .work-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #e5dcc8;
}

.recommendation-grid .work-info {
  padding: 1rem;
}

.recommendation-grid .work-info h3 {
  font-size: 1.0625rem;
  color: #2d5a27;
  margin-bottom: 0.375rem;
}

.recommendation-grid .work-desc {
  font-size: 0.875rem;
  color: #666666;
  margin-bottom: 0.5rem;
}

.recommendation-grid .update-status {
  font-size: 0.8125rem;
  color: #7a9e3f;
  margin: 0;
}

/* 追更技巧 */
.follow-tips {
  margin-bottom: 2.5rem;
}

.follow-tips h2 {
  font-size: 1.375rem;
  color: #2d5a27;
  margin-bottom: 1.25rem;
  padding-left: 0.75rem;
  border-left: 4px solid #f2d648;
}

.follow-tips .tips-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.follow-tips .tip-item {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 1.25rem;
  border: 1px solid #e5dcc8;
}

.follow-tips .tip-item h3 {
  font-size: 1rem;
  color: #2d5a27;
  margin-bottom: 0.5rem;
}

.follow-tips .tip-item p {
  font-size: 0.875rem;
  color: #666666;
  margin: 0;
}

/* 相关推荐网格 */
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.related-link {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 1rem;
  border: 1px solid #e5dcc8;
  color: #2d5a27;
  font-weight: 500;
  font-size: 0.9375rem;
  text-align: center;
  transition: background-color 0.2s ease;
}

.related-link:hover {
  background-color: #e5f0d8;
  color: #2d5a27;
}

/* ------------------------------------------------------------
   Pages — 404 页面
   ------------------------------------------------------------ */
.site-error {
  background-color: #f5f0e6;
}

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 3rem 1.25rem;
}

.error-content {
  text-align: center;
  max-width: 480px;
}

.error-code {
  font-size: 4rem;
  font-weight: 700;
  color: #2d5a27;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.error-content h1 {
  font-size: 1.5rem;
  color: #333333;
  margin-bottom: 0.75rem;
}

.error-desc {
  font-size: 1rem;
  color: #666666;
  margin-bottom: 1.5rem;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------
   Responsive — 响应式
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-figure {
    max-width: 640px;
  }

  .ranking-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-grid-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .recommendation-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 0.625rem 1rem;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-nav {
    width: 100%;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    gap: 0;
    padding-top: 0.5rem;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    padding: 0.75rem 0.5rem;
    border-radius: 4px;
  }

  .site-main {
    padding: 0 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding: 2rem 0 1.5rem;
  }

  .hero-copy h1 {
    font-size: 1.625rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .update-list {
    grid-template-columns: 1fr;
  }

  .ranking-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-cards,
  .feature-cards {
    grid-template-columns: 1fr;
  }

  .category-grid-list {
    grid-template-columns: 1fr;
  }

  .category-tip-content {
    grid-template-columns: 1fr;
  }

  .related-links-list {
    grid-template-columns: 1fr;
  }

  .steps-list {
    grid-template-columns: 1fr;
  }

  .tips-list {
    grid-template-columns: 1fr;
  }

  .related-list {
    grid-template-columns: 1fr;
  }

  .recommendation-list .work-card {
    flex-direction: column;
  }

  .work-cover,
  .work-cover img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .recommendation-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .advice-grid {
    grid-template-columns: 1fr;
  }

  .page-header {
    padding: 1rem 0;
    margin-bottom: 1.5rem;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .guide-media img {
    aspect-ratio: 16 / 9;
  }

  .error-main {
    min-height: 50vh;
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  .footer-links {
    grid-template-columns: 1fr;
  }

  .ranking-list {
    grid-template-columns: 1fr;
  }

  .category-tags {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }

  .category-tag {
    flex-shrink: 0;
  }

  .hero-copy h1 {
    font-size: 1.375rem;
  }

  .hero-lead {
    font-size: 0.9375rem;
  }

  .update-item {
    padding: 0.625rem;
  }

  .update-item img {
    width: 60px;
    height: 80px;
  }

  .ranking-item {
    padding: 0.75rem;
  }

  .guide-card,
  .feature-card,
  .category-card,
  .step-card,
  .tip-item,
  .advice-item {
    padding: 1rem;
  }

  .error-code {
    font-size: 3rem;
  }
}

/* 打印样式 */
@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .breadcrumb,
  .hero-actions,
  .related-links,
  .related-grid,
  .related-list,
  .category-tip,
  .follow-advice,
  .follow-tips {
    display: none !important;
  }

  body {
    background-color: #ffffff;
    color: #000000;
  }

  .site-main {
    max-width: 100%;
    padding: 0;
  }

  .page-header {
    border-bottom: 2px solid #2d5a27;
  }

  .work-card,
  .category-card,
  .step-card,
  .tip-item,
  .advice-item {
    border: 1px solid #cccccc;
    break-inside: avoid;
  }
}
