/* ==========================================================
   base —— 全站基础样式
   ========================================================== */
.site-body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
  background-color: #ffffff;
  -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: #333333;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #c9a96e;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
  color: #333333;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid #c9a96e;
  outline-offset: 2px;
}

/* ==========================================================
   layout —— 全站布局骨架
   ========================================================== */

/* 页头 */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e8e0d0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #333333;
  letter-spacing: 1px;
  line-height: 1.2;
}

.brand-slogan {
  font-size: 12px;
  color: #c9a96e;
  letter-spacing: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list a {
  display: block;
  padding: 10px 16px;
  font-size: 15px;
  color: #333333;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list a:hover {
  color: #c9a96e;
  background-color: #f5f5f5;
}

.nav-list a.is-current {
  color: #c9a96e;
  font-weight: 600;
  background-color: #f5f5f5;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #333333;
  border-radius: 2px;
}

/* 页面主体 */
.site-main {
  min-height: 60vh;
}

.home-main {
  background-color: #f5f5f5;
}

.inner-main {
  background-color: #f5f5f5;
}

/* 面包屑 */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #888888;
}

.breadcrumb a {
  color: #888888;
}

.breadcrumb a:hover {
  color: #c9a96e;
}

.breadcrumb-sep {
  color: #cccccc;
}

.breadcrumb-current {
  color: #333333;
  font-weight: 500;
}

/* 页面标题区 */
.page-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 28px;
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 10px;
}

.page-description {
  font-size: 15px;
  color: #666666;
  max-width: 720px;
}

/* 页脚 */
.site-footer {
  background-color: #e8e0d0;
  margin-top: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 24px;
}

.footer-brand {
  margin-bottom: 32px;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 6px;
}

.footer-desc {
  font-size: 14px;
  color: #666666;
  max-width: 480px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.footer-group-title {
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 14px;
}

.footer-group li {
  margin-bottom: 8px;
}

.footer-group a {
  font-size: 14px;
  color: #666666;
}

.footer-group a:hover {
  color: #c9a96e;
}

.footer-bottom {
  border-top: 1px solid rgba(201, 169, 110, 0.3);
  padding-top: 20px;
  font-size: 13px;
  color: #888888;
}

/* ==========================================================
   components —— 通用组件
   ========================================================== */

/* 区块标题 */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  color: #333333;
  position: relative;
  padding-left: 14px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background-color: #c9a96e;
  border-radius: 2px;
}

.section-more {
  font-size: 14px;
  color: #c9a96e;
  font-weight: 500;
}

.section-more:hover {
  color: #333333;
}

/* 漫画封面卡（通用） */
.work-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.work-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* ==========================================================
   pages —— 首页
   ========================================================== */

/* 首屏横向滚动主推 */
.hero-scroll {
  background-color: #ffffff;
  padding: 24px 0;
}

.hero-scroll-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.hero-card {
  background-color: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.hero-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.hero-figure {
  margin: 0;
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-info {
  padding: 14px;
}

.hero-title {
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 6px;
  line-height: 1.4;
}

.hero-desc {
  font-size: 13px;
  color: #888888;
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.update-badge {
  display: inline-block;
  font-size: 12px;
  color: #c9a96e;
  background-color: #f5f5f5;
  border: 1px solid #e8e0d0;
  border-radius: 4px;
  padding: 2px 8px;
}

/* 题材分类导航 */
.category-tags {
  background-color: #f5f5f5;
  padding: 32px 0;
}

.category-tags .section-head {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 0 20px;
}

.tag-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.tag-item {
  display: block;
  text-align: center;
  padding: 12px 8px;
  background-color: #ffffff;
  border: 1px solid #e8e0d0;
  border-radius: 8px;
  font-size: 14px;
  color: #333333;
  transition: all 0.2s ease;
}

.tag-item:hover {
  border-color: #c9a96e;
  color: #c9a96e;
  box-shadow: 0 2px 8px rgba(201, 169, 110, 0.15);
}

/* 最近更新 */
.recent-updates {
  background-color: #ffffff;
  padding: 40px 0;
}

.recent-updates .section-head {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 0 20px;
}

.update-date {
  font-size: 14px;
  color: #888888;
}

.update-group {
  max-width: 1200px;
  margin: 0 auto 28px;
  padding: 0 20px;
}

.group-date {
  font-size: 16px;
  font-weight: 600;
  color: #c9a96e;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0ebe0;
}

.update-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.update-item {
  background-color: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.update-item:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.item-figure {
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.item-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-info {
  padding: 12px;
}

.item-title {
  font-size: 14px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 8px;
  line-height: 1.4;
}

.item-tag {
  display: inline-block;
  font-size: 12px;
  color: #888888;
  background-color: #ffffff;
  border: 1px solid #e8e0d0;
  border-radius: 4px;
  padding: 1px 6px;
  margin-right: 6px;
}

.item-status {
  display: inline-block;
  font-size: 12px;
  color: #c9a96e;
}

/* 人气榜单 */
.popular-list {
  background-color: #f5f5f5;
  padding: 40px 0;
}

.popular-list .section-head {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 0 20px;
}

.list-desc {
  font-size: 14px;
  color: #888888;
}

.popular-items {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.popular-item {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.popular-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.popular-figure {
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.popular-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-info {
  padding: 12px;
}

.popular-title {
  font-size: 14px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 6px;
}

.popular-reason {
  font-size: 13px;
  color: #888888;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 阅读指南入口 */
.guide-cards {
  background-color: #ffffff;
  padding: 40px 0;
}

.guide-cards .section-head {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 0 20px;
}

.guide-card-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.guide-card {
  background-color: #f5f5f5;
  border: 1px solid #e8e0d0;
  border-radius: 8px;
  padding: 28px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.guide-card:hover {
  border-color: #c9a96e;
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.12);
}

.guide-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 10px;
}

.guide-card-desc {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 16px;
}

.guide-link {
  font-size: 14px;
  color: #c9a96e;
  font-weight: 500;
}

.guide-link:hover {
  color: #333333;
}

/* 专题推荐 */
.longtail-cards {
  background-color: #f5f5f5;
  padding: 40px 0;
}

.longtail-cards .section-head {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 0 20px;
}

.longtail-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.longtail-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.longtail-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.longtail-figure {
  margin: 0;
  width: 160px;
  flex-shrink: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.longtail-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.longtail-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.longtail-title {
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 8px;
}

.longtail-desc {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 12px;
}

.longtail-link {
  font-size: 14px;
  color: #c9a96e;
  font-weight: 500;
}

.longtail-link:hover {
  color: #333333;
}

/* ==========================================================
   pages —— 题材分类页
   ========================================================== */

.page-categories .page-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 48px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

/* 侧栏 */
.category-index {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
}

.aside-title {
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8e0d0;
}

.category-index-list li {
  margin-bottom: 4px;
}

.category-index-list a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  color: #333333;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.category-index-list a:hover {
  background-color: #f5f5f5;
  color: #c9a96e;
}

.aside-tip {
  font-size: 13px;
  color: #888888;
  line-height: 1.6;
  margin-top: 20px;
  padding: 12px;
  background-color: #f5f5f5;
  border-radius: 6px;
}

.aside-guide-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  color: #c9a96e;
  font-weight: 500;
}

.aside-guide-link:hover {
  color: #333333;
}

/* 主内容区 */
.category-main {
  min-width: 0;
}

.category-list .section-title,
.popular-works .section-title {
  margin-bottom: 24px;
}

.category-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 20px;
}

.category-text {
  margin-bottom: 16px;
}

.category-name {
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 6px;
}

.category-desc {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
}

.category-works {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.category-works .work-card {
  display: flex;
  flex-direction: column;
}

.work-tag {
  display: inline-block;
  font-size: 12px;
  color: #c9a96e;
  background-color: #f5f5f5;
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 8px;
  align-self: flex-start;
}

.work-title {
  font-size: 14px;
  font-weight: 600;
  color: #333333;
  line-height: 1.4;
}

/* 热门作品 */
.popular-works {
  margin-top: 32px;
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.popular-grid .popular-item {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.popular-grid .popular-item:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.popular-grid .popular-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.popular-grid .popular-item h3 {
  padding: 12px 12px 4px;
  font-size: 14px;
  font-weight: 600;
}

.popular-grid .popular-item p {
  padding: 0 12px 12px;
  font-size: 13px;
  color: #888888;
  line-height: 1.5;
}

.popular-note {
  margin-top: 20px;
  font-size: 14px;
  color: #666666;
  line-height: 1.8;
}

.popular-note a {
  color: #c9a96e;
  font-weight: 500;
}

.popular-note a:hover {
  color: #333333;
}

/* ==========================================================
   pages —— 阅读指南页
   ========================================================== */

.page-guide .layout-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 48px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.guide-content {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 32px;
}

.guide-section {
  margin-bottom: 40px;
}

.guide-section h2 {
  font-size: 20px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8e0d0;
}

.guide-section p {
  font-size: 15px;
  color: #555555;
  line-height: 1.8;
  margin-bottom: 14px;
}

/* FAQ */
.faq-section .faq-item {
  border: 1px solid #e8e0d0;
  border-radius: 8px;
  margin-bottom: 12px;
  background-color: #f5f5f5;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #333333;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #c9a96e;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
  padding: 0 20px 16px;
  font-size: 14px;
  color: #555555;
  line-height: 1.7;
  margin: 0;
}

/* 侧栏 */
.guide-aside {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
}

.aside-figure {
  margin: 0 0 20px;
}

.aside-figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
}

.aside-figure figcaption {
  font-size: 13px;
  color: #888888;
  text-align: center;
  margin-top: 8px;
}

.aside-tips h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 14px;
}

.tips-list {
  padding-left: 0;
}

.tips-list li {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
  padding: 8px 0;
  border-bottom: 1px solid #f0ebe0;
  position: relative;
  padding-left: 20px;
}

.tips-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  background-color: #c9a96e;
  border-radius: 50%;
}

.aside-note {
  margin-top: 20px;
  font-size: 13px;
  color: #888888;
  line-height: 1.7;
}

.aside-note a {
  color: #c9a96e;
  font-weight: 500;
}

.aside-note a:hover {
  color: #333333;
}

/* ==========================================================
   pages —— 恋爱漫画推荐页
   ========================================================== */

.page-romance .page-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 48px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.main-content {
  min-width: 0;
}

.recommend-section .section-title {
  margin-bottom: 12px;
}

.section-intro {
  font-size: 15px;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* 作品卡片列表 */
.recommend-section .work-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #e8e0d0;
}

.work-cover {
  width: 140px;
  flex-shrink: 0;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
}

.work-info {
  flex: 1;
  min-width: 0;
}

.work-title {
  font-size: 17px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 6px;
}

.work-meta {
  font-size: 13px;
  color: #c9a96e;
  margin-bottom: 10px;
}

.work-desc {
  font-size: 14px;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 10px;
}

.work-reason {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  background-color: #f5f5f5;
  border-left: 3px solid #c9a96e;
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
}

/* 侧栏 */
.sidebar-area {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
}

.genre-analysis h2 {
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8e0d0;
}

.genre-analysis p {
  font-size: 14px;
  color: #555555;
  line-height: 1.8;
  margin-bottom: 14px;
}

/* ==========================================================
   pages —— 职场漫画推荐页
   ========================================================== */

.page-workplace .page-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 48px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

/* 左侧侧栏 */
.aside-content {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
}

.aside-content .aside-title {
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8e0d0;
}

.aside-content .genre-analysis p {
  font-size: 14px;
  color: #555555;
  line-height: 1.8;
  margin-bottom: 14px;
}

/* 职场推荐作品卡片 */
.work-figure {
  margin: 0;
  width: 140px;
  flex-shrink: 0;
}

.work-figure .work-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-tags {
  font-size: 13px;
  color: #c9a96e;
  margin-bottom: 10px;
}

.work-tags .tag {
  display: inline-block;
  background-color: #f5f5f5;
  border: 1px solid #e8e0d0;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 12px;
  color: #666666;
  margin-right: 6px;
}

/* 相关阅读 */
.related-links {
  background-color: #ffffff;
  border-top: 1px solid #e8e0d0;
  padding: 40px 0;
}

.related-title {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 0 20px;
  font-size: 20px;
  font-weight: 600;
  color: #333333;
}

.related-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-list li {
  background-color: #f5f5f5;
  border-radius: 8px;
  padding: 16px 20px;
  transition: background-color 0.2s ease;
}

.related-list li:hover {
  background-color: #e8e0d0;
}

.related-list a {
  font-size: 15px;
  color: #333333;
  font-weight: 500;
}

.related-list a:hover {
  color: #c9a96e;
}

/* ==========================================================
   pages —— 404
   ========================================================== */

.site-error .error-main {
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}

.error-content {
  text-align: center;
  max-width: 480px;
}

.error-code {
  font-size: 96px;
  font-weight: 700;
  color: #c9a96e;
  line-height: 1;
  margin-bottom: 16px;
}

.error-title {
  font-size: 24px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 28px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.error-link {
  display: inline-block;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  background-color: #c9a96e;
  color: #ffffff;
  transition: background-color 0.2s ease;
}

.error-link:hover {
  background-color: #b08d4f;
  color: #ffffff;
}

.error-link:last-child {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e8e0d0;
}

.error-link:last-child:hover {
  border-color: #c9a96e;
  color: #c9a96e;
  background-color: #ffffff;
}

/* ==========================================================
   responsive —— 响应式适配
   ========================================================== */

/* 平板 */
@media (max-width: 1024px) {
  .hero-scroll-inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .popular-items {
    grid-template-columns: repeat(3, 1fr);
  }

  .update-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .tag-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-categories .page-layout,
  .page-workplace .page-layout {
    grid-template-columns: 240px 1fr;
    gap: 24px;
  }

  .page-romance .page-layout,
  .page-guide .layout-shell {
    grid-template-columns: 1fr 280px;
    gap: 24px;
  }
}

/* 手机 */
@media (max-width: 768px) {
  .header-inner {
    height: 64px;
    padding: 0 16px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-slogan {
    font-size: 11px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e8e0d0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px;
    gap: 4px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    padding: 14px 16px;
    font-size: 16px;
  }

  /* 首页移动端 */
  .hero-scroll-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px;
  }

  .hero-card:last-child {
    grid-column: 1 / -1;
    display: flex;
  }

  .hero-card:last-child .hero-figure {
    width: 40%;
    aspect-ratio: 3 / 4;
  }

  .hero-card:last-child .hero-info {
    flex: 1;
  }

  .tag-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 16px;
  }

  .section-head {
    padding: 0 16px;
  }

  .update-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px;
  }

  .update-group {
    padding: 0 16px;
  }

  .popular-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px;
  }

  .guide-card-list {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  .longtail-list {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  .longtail-card {
    flex-direction: column;
  }

  .longtail-figure {
    width: 100%;
    aspect-ratio: 3 / 2;
  }

  /* 内页移动端 */
  .breadcrumb {
    padding: 16px 16px 0;
  }

  .page-header {
    padding: 20px 16px 24px;
  }

  .page-title {
    font-size: 22px;
  }

  .page-description {
    font-size: 14px;
  }

  /* 分类页 */
  .page-categories .page-layout {
    grid-template-columns: 1fr;
    padding: 0 16px 40px;
  }

  .category-index {
    order: 2;
  }

  .category-main {
    order: 1;
  }

  .category-item {
    padding: 16px;
  }

  .category-works {
    grid-template-columns: 1fr;
  }

  .popular-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* 指南页 */
  .page-guide .layout-shell {
    grid-template-columns: 1fr;
    padding: 0 16px 40px;
  }

  .guide-content {
    padding: 20px;
  }

  .guide-aside {
    order: 2;
  }

  /* 恋爱页 */
  .page-romance .page-layout {
    grid-template-columns: 1fr;
    padding: 0 16px 40px;
  }

  .recommend-section .work-card {
    flex-direction: column;
  }

  .work-cover {
    width: 100%;
    aspect-ratio: 3 / 2;
  }

  .sidebar-area {
    order: 2;
  }

  /* 职场页 */
  .page-workplace .page-layout {
    grid-template-columns: 1fr;
    padding: 0 16px 40px;
  }

  .aside-content {
    order: 2;
  }

  .work-figure {
    width: 100%;
  }

  .work-figure .work-cover {
    aspect-ratio: 3 / 2;
  }

  .related-list {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  /* 页脚 */
  .footer-inner {
    padding: 32px 16px 20px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-bottom {
    font-size: 12px;
  }

  /* 404 */
  .error-code {
    font-size: 72px;
  }

  .error-actions {
    flex-direction: column;
    align-items: center;
  }

  .error-link {
    width: 100%;
    text-align: center;
  }
}

/* 小屏手机 */
@media (max-width: 480px) {
  .hero-scroll-inner {
    grid-template-columns: 1fr;
  }

  .hero-card:last-child {
    grid-column: auto;
    display: block;
  }

  .hero-card:last-child .hero-figure {
    width: auto;
  }

  .hero-card:last-child .hero-info {
    flex: none;
  }

  .tag-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .update-list {
    grid-template-columns: 1fr;
  }

  .popular-items {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}
