/* roulang page: index */
:root {
  --paper: #F5F0E6;
  --paper-dark: #EAE2D2;
  --ink: #22201C;
  --ink-soft: #4A453E;
  --muted: #7A7262;
  --title-brown: #4A3420;
  --brand-yellow: #D9A400;
  --brand-deep: #B8860B;
  --line: #D8CFBC;
  --dark-bar: #1F1C17;
  --dark-text: #EFE9DC;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-hover: 0 6px 18px rgba(0,0,0,0.08);
  --font-sans: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --font-serif: "Songti SC", "Noto Serif CJK SC", serif;
  --container: 1200px;
  --header-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  padding-top: var(--header-h);
  padding-bottom: 60px;
}
img { max-width: 100%; display: block; }
a { color: var(--title-brown); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-deep); }
button { font-family: inherit; border: none; cursor: pointer; }
input, select { font-family: inherit; font-size: 14px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Header / Nav */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h); background: var(--dark-bar);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: baseline; gap: 6px; font-size: 22px; font-weight: 800; color: var(--dark-text); letter-spacing: 0.02em; }
.logo .yellow { color: var(--brand-yellow); }
.logo-tag { font-size: 11px; color: #9B9384; font-weight: 400; margin-left: 2px; letter-spacing: 0; }
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a { color: #CFC6B4; font-size: 15px; font-weight: 500; padding: 8px 4px; position: relative; transition: color .2s ease; }
.main-nav a:hover { color: #fff; }
.main-nav a.active { color: #fff; font-weight: 700; }
.main-nav a.active::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--brand-yellow); }
.btn { display: inline-block; padding: 12px 28px; border-radius: var(--radius-sm); font-weight: 700; font-size: 15px; text-align: center; transition: all .2s ease; }
.btn-primary { background: var(--brand-yellow); color: #3A2A10; }
.btn-primary:hover { background: var(--brand-deep); color: #fff; box-shadow: 0 4px 12px rgba(184,134,11,0.3); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(1px); }
.btn-outline { background: transparent; color: var(--title-brown); border: 2px solid var(--title-brown); }
.btn-outline:hover { background: rgba(217,164,0,0.1); border-color: var(--brand-deep); color: var(--brand-deep); }
.btn-big { padding: 15px 40px; font-size: 17px; }
.nav-cta { height: 36px; padding: 0 22px; line-height: 36px; font-size: 14px; }
.nav-toggle { display: none; background: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--dark-text); margin: 4px 0; transition: all .3s ease; }
@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: var(--dark-bar); padding: 12px 24px 20px; gap: 4px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
}

/* Hero */
.hero {
  position: relative;
  background: var(--dark-bar) url('/assets/images/backpic/back-1.jpg') center/cover no-repeat;
  background-blend-mode: multiply;
  min-height: 82vh;
  display: flex; align-items: center;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(31,28,23,0.82); }
.hero-content { position: relative; z-index: 2; width: 100%; padding: 80px 0; }
.hero-grid { display: flex; align-items: center; gap: 60px; }
.hero-text { flex: 0 0 62%; max-width: 62%; }
.badge { display: inline-block; background: var(--brand-yellow); color: #3A2A10; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px; letter-spacing: 0.04em; }
.hero h1 { font-size: clamp(28px, 4.2vw, 46px); font-weight: 800; line-height: 1.3; color: var(--dark-text); margin: 22px 0 16px; letter-spacing: 0.02em; }
.hero h1 .hl { color: var(--brand-yellow); }
.hero-sub { font-size: 16px; line-height: 1.85; color: #B8B0A0; max-width: 56ch; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust { display: flex; gap: 18px; font-size: 13px; color: #B8B0A0; flex-wrap: wrap; }
.hero-trust span::before { content: '·'; margin-right: 8px; color: var(--brand-yellow); font-weight: 700; }
.hero-trust span:first-child::before { content: ''; display: none; }
.hero-visual { flex: 0 0 38%; max-width: 38%; position: relative; }
.hero-visual img { width: 100%; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.15); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.hero-flag { position: absolute; top: -14px; right: -8px; background: var(--brand-yellow); color: #3A2A10; font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.hero-flag::after { content: ''; position: absolute; bottom: -6px; left: 10px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 6px solid var(--brand-yellow); }
@media (max-width: 900px) {
  .hero { min-height: auto; padding: 40px 0; }
  .hero-grid { flex-direction: column; gap: 30px; }
  .hero-text { flex: 1; max-width: 100%; }
  .hero-visual { flex: 1; max-width: 100%; }
}

/* Section general */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-head { margin-bottom: 48px; }
.section-head .tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--brand-deep); letter-spacing: 0.04em; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(22px, 2.8vw, 32px); font-weight: 700; color: var(--title-brown); position: relative; padding-left: 18px; line-height: 1.4; letter-spacing: 0.02em; }
.section-head h2::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 5px; border-radius: 3px; background: var(--brand-yellow); }
.section-head p { color: var(--muted); font-size: 15px; margin-top: 12px; max-width: 720px; line-height: 1.8; }

/* Features */
.features { background: var(--paper); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 30px; box-shadow: var(--shadow); transition: all .3s ease; position: relative; }
.feature-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: var(--brand-yellow); }
.feature-icon { width: 48px; height: 48px; border-radius: 10px; background: rgba(217,164,0,0.12); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; }
.feature-card h3 { font-size: 18px; font-weight: 700; color: var(--title-brown); margin-bottom: 10px; letter-spacing: 0.02em; }
.feature-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.75; }
.feature-link { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--brand-deep); }
.feature-link:hover { text-decoration: underline; }
@media (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .features-grid { grid-template-columns: 1fr; } }

/* Scenario / Guide */
.scenario { background: var(--paper-dark); }
.scenario-wrap { display: flex; gap: 60px; align-items: center; }
.scenario-img { flex: 0 0 48%; max-width: 48%; position: relative; }
.scenario-img img { width: 100%; border-radius: var(--radius); border: 4px solid var(--title-brown); }
.scenario-tag { position: absolute; bottom: -12px; right: 20px; background: var(--brand-yellow); color: #3A2A10; font-size: 13px; font-weight: 700; padding: 6px 16px; border-radius: 6px; }
.scenario-cards { flex: 1; }
.scenario-step { display: flex; gap: 20px; margin-bottom: 36px; position: relative; }
.scenario-step:last-child { margin-bottom: 0; }
.step-num { flex: 0 0 52px; width: 52px; height: 52px; background: var(--title-brown); color: var(--brand-yellow); font-size: 20px; font-weight: 700; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.step-body h3 { font-size: 17px; font-weight: 700; color: var(--title-brown); margin-bottom: 6px; }
.step-body p { font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.scenario-action { margin-top: 30px; }
@media (max-width: 900px) { .scenario-wrap { flex-direction: column; gap: 40px; } .scenario-img { flex: 1; max-width: 100%; } }

/* Social Proof */
.social-proof { background: var(--paper); }
.stats-row { display: flex; justify-content: space-around; gap: 30px; padding: 40px 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 50px; flex-wrap: wrap; }
.stat-item { text-align: center; flex: 1; min-width: 120px; }
.stat-num { font-size: 38px; font-weight: 800; color: var(--brand-deep); line-height: 1.2; letter-spacing: 0.02em; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 6px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand-yellow); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.testimonial-author { font-weight: 700; color: var(--title-brown); font-size: 15px; margin-bottom: 8px; }
.testimonial-role { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.testimonial-stars { color: var(--brand-yellow); font-size: 14px; margin-bottom: 10px; letter-spacing: 2px; }
.testimonial-text { font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 1024px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .testimonial-grid { grid-template-columns: 1fr; } .stats-row { flex-direction: column; gap: 20px; } }

/* Hot / Categories */
.hot-section { background: var(--paper); padding-top: 0; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card { background: var(--paper-dark); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; align-items: flex-start; gap: 18px; transition: all .25s ease; }
.cat-card:hover { border-color: var(--brand-yellow); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-icon { font-size: 30px; flex-shrink: 0; }
.cat-info { flex: 1; }
.cat-info h3 { font-size: 17px; font-weight: 700; color: var(--title-brown); margin-bottom: 4px; }
.cat-info p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.cat-badge { display: inline-block; margin-top: 8px; background: rgba(217,164,0,0.18); color: var(--brand-deep); font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; }
@media (max-width: 1024px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .cat-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-section { background: var(--paper-dark); }
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 14px; overflow: hidden; transition: border-color .2s ease; }
.faq-item.open { border-color: var(--brand-yellow); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: none; font-size: 16px; font-weight: 600; color: var(--ink); text-align: left; }
.faq-q:hover { color: var(--title-brown); }
.faq-icon { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-yellow); color: #3A2A10; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; transition: transform 0.3s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 20px 18px; font-size: 14px; color: var(--ink-soft); line-height: 1.7; }

/* Final CTA */
.final-cta { background: var(--dark-bar); padding: 72px 0; text-align: center; position: relative; }
.final-cta h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 700; margin-bottom: 14px; letter-spacing: 0.02em; }
.final-cta p { color: #B8B0A0; font-size: 15px; max-width: 560px; margin: 0 auto 32px; line-height: 1.8; }
.final-cta .btn { margin: 0 8px; }

/* Footer */
.site-footer { background: var(--dark-bar); padding: 60px 0 0; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand .logo { font-size: 24px; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: #9B9384; line-height: 1.8; max-width: 300px; }
.footer-col h4 { font-size: 15px; font-weight: 700; color: var(--dark-text); margin-bottom: 16px; letter-spacing: 0.03em; }
.footer-col a { display: block; color: #9B9384; font-size: 13px; padding: 5px 0; transition: color .2s ease; }
.footer-col a:hover { color: var(--brand-yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #7A7262; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: #7A7262; }
.footer-bottom a:hover { color: var(--brand-yellow); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }

/* Fixed bar */
.fixed-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; height: 52px; background: var(--dark-bar); border-top: 1px solid rgba(217,164,0,0.3); display: flex; align-items: center; justify-content: space-between; padding: 0 24px; }
.fixed-bar .fb-text { color: #CFC6B4; font-size: 13px; }
.fixed-bar .fb-btn { background: var(--brand-yellow); color: #3A2A10; font-size: 13px; font-weight: 700; padding: 8px 20px; border-radius: 6px; }
.fixed-bar .fb-btn:hover { background: var(--brand-deep); color: #fff; }
@media (max-width: 520px) {
  .fixed-bar { padding: 0 14px; }
  .fixed-bar .fb-text { font-size: 12px; max-width: 55%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* Search form */
.search-form { display: flex; }
.search-form input { flex: 1; border: 1px solid var(--line); border-radius: var(--radius-sm) 0 0 var(--radius-sm); padding: 10px 14px; font-size: 14px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.search-form input:focus { outline: none; border-color: var(--brand-deep); box-shadow: 0 0 0 3px rgba(217,164,0,0.15); }
.search-form button { background: var(--brand-yellow); color: #3A2A10; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 0 20px; font-weight: 700; font-size: 14px; transition: background .2s ease; }
.search-form button:hover { background: var(--brand-deep); color: #fff; }

/* Sidebar widgets */
.sidebar { display: flex; flex-direction: column; gap: 30px; }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.widget h4 { font-size: 15px; font-weight: 700; color: var(--title-brown); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.widget-list { list-style: none; }
.widget-list li { padding: 8px 0; border-bottom: 1px solid rgba(216,207,188,0.4); font-size: 14px; }
.widget-list li:last-child { border-bottom: none; }
.widget-list a { color: var(--ink-soft); }
.widget-list a:hover { color: var(--brand-deep); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: var(--paper-dark); border: 1px solid var(--line); border-radius: 999px; font-size: 12px; padding: 4px 14px; color: var(--ink-soft); transition: all .2s ease; }
.tag:hover { background: rgba(217,164,0,0.15); border-color: var(--brand-yellow); color: var(--brand-deep); }
.widget-note { background: var(--paper-dark); border-radius: 6px; padding: 14px; font-size: 13px; color: var(--ink-soft); line-height: 1.7; }

/* Focus states */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--brand-yellow); outline-offset: 2px;
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  body { padding-top: 56px; }
  .site-header { height: 56px; }
  .section { padding: 48px 0; }
}
@media print {
  .fixed-bar, .site-header { display: none; }
  body { padding: 0; }
}

/* roulang page: category1 */
/* ===== 设计变量 ===== */
:root {
  --paper: #F5F0E6;
  --paper-dark: #EAE2D2;
  --ink: #22201C;
  --ink-soft: #4A453E;
  --muted: #7A7262;
  --title-brown: #4A3420;
  --brand-yellow: #D9A400;
  --brand-deep: #B8860B;
  --line: #D8CFBC;
  --dark-bar: #1F1C17;
  --dark-text: #EFE9DC;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-hover: 0 6px 18px rgba(0,0,0,0.08);
  --font-sans: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --font-serif: "Songti SC", "Noto Serif CJK SC", serif;
  --container: 1200px;
  --header-h: 64px;
}

/* ===== 基础 Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  padding-top: var(--header-h);
  padding-bottom: 60px;
}
img { max-width: 100%; display: block; }
a { color: var(--title-brown); text-decoration: none; transition: color .2s ease, border .2s ease, background .2s ease; }
a:hover { color: var(--brand-deep); }
button { font-family: inherit; border: none; cursor: pointer; background: none; }
input, select { font-family: inherit; font-size: 14px; }
ul, ol { list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== 通用按钮 ===== */
.btn {
  display: inline-block; padding: 12px 28px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 15px; text-align: center;
  transition: all .2s ease; line-height: 1.4;
}
.btn-primary { background: var(--brand-yellow); color: #3A2A10; }
.btn-primary:hover { background: var(--brand-deep); color: #fff; box-shadow: 0 4px 12px rgba(184,134,11,0.3); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(1px); }
.btn-outline { background: transparent; color: var(--title-brown); border: 2px solid var(--title-brown); }
.btn-outline:hover { background: rgba(217,164,0,0.1); border-color: var(--brand-deep); color: var(--brand-deep); }
.btn-sm { padding: 8px 20px; font-size: 13px; }
.btn-big { padding: 15px 40px; font-size: 17px; }

/* ===== 徽章 ===== */
.badge {
  display: inline-block; background: var(--brand-yellow); color: #3A2A10;
  font-size: 12px; font-weight: 700; padding: 3px 12px;
  border-radius: 999px; letter-spacing: .03em; line-height: 1.5;
}

/* ===== 导航 ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h); background: var(--dark-bar);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: baseline; gap: 6px; font-size: 22px; font-weight: 800; color: var(--dark-text); letter-spacing: .02em; }
.logo .yellow { color: var(--brand-yellow); }
.logo-tag { font-size: 11px; color: #9B9384; font-weight: 400; margin-left: 2px; letter-spacing: 0; }
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a { color: #CFC6B4; font-size: 15px; font-weight: 500; padding: 8px 4px; position: relative; transition: color .2s ease; white-space: nowrap; }
.main-nav a:hover { color: #fff; }
.main-nav a.active { color: #fff; font-weight: 700; }
.main-nav a.active::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--brand-yellow); }
.nav-cta { height: 36px; padding: 0 22px; line-height: 36px; font-size: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--dark-text); margin: 3px 0; transition: all .3s ease; border-radius: 2px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== 分类页页头 ===== */
.page-head {
  background: var(--paper-dark) url('/assets/images/backpic/back-1.jpg') center/cover no-repeat;
  background-blend-mode: multiply;
  position: relative;
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
}
.page-head::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(234,226,210,0.88);
}
.page-head .container { position: relative; z-index: 2; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--brand-deep); }
.breadcrumb .sep { color: var(--line); }
.breadcrumb .current { color: var(--title-brown); font-weight: 600; }
.page-head-main { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.page-head-text { flex: 1; min-width: 280px; }
.page-head-text h1 {
  font-size: clamp(24px, 3vw, 34px); font-weight: 800;
  color: var(--title-brown); line-height: 1.35;
  letter-spacing: .02em; margin-bottom: 12px;
}
.page-head-text h1 .hl { color: var(--brand-deep); }
.page-head-text p { font-size: 15px; color: var(--ink-soft); max-width: 640px; line-height: 1.8; }

/* ===== 工具条 ===== */
.filter-bar {
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 16px 0; position: sticky; top: var(--header-h); z-index: 50;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.filter-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.filter-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tag {
  display: inline-block; padding: 6px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
  border: 1px solid var(--line); background: transparent;
  transition: all .2s ease; line-height: 1.6;
}
.filter-tag:hover { border-color: var(--brand-yellow); color: var(--brand-deep); }
.filter-tag.active { background: var(--brand-yellow); color: #3A2A10; border-color: var(--brand-yellow); font-weight: 700; }
.sort-select {
  padding: 7px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  font-size: 13px; outline: none; cursor: pointer;
  transition: border .2s ease;
}
.sort-select:focus { border-color: var(--brand-deep); box-shadow: 0 0 0 3px rgba(217,164,0,0.15); }

/* ===== 内容主区 ===== */
.category-main { padding: 48px 0 72px; }
.cat-layout { display: flex; gap: 40px; align-items: flex-start; }
.cat-list { flex: 0 0 75%; max-width: 75%; }

/* 条目卡片 */
.entry-card {
  display: flex; gap: 20px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; margin-bottom: 16px;
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.entry-card:hover {
  border-color: var(--brand-yellow);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.entry-card.featured {
  border-left: 4px solid var(--brand-yellow);
}
.entry-card.featured .entry-thumb::after {
  content: '推荐'; position: absolute; top: 8px; left: 8px;
  background: var(--brand-yellow); color: #3A2A10;
  font-size: 11px; font-weight: 700; padding: 2px 10px;
  border-radius: 999px; line-height: 1.6;
}
.entry-thumb {
  flex: 0 0 220px; max-width: 220px; height: 140px;
  border-radius: 8px; overflow: hidden; position: relative;
  display: block; background: var(--paper-dark);
}
.entry-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.entry-card:hover .entry-thumb img { transform: scale(1.04); }
.entry-info { flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.entry-info h3 { font-size: 18px; font-weight: 700; color: var(--title-brown); margin-bottom: 8px; line-height: 1.5; letter-spacing: .01em; }
.entry-info h3 a { color: inherit; }
.entry-info h3 a:hover { color: var(--brand-deep); }
.entry-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.entry-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.entry-meta .badge { font-size: 11px; padding: 2px 10px; }
.meta-text { display: inline-flex; align-items: center; gap: 4px; }

/* 分页器 */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; align-items: center; flex-wrap: wrap; }
.pagination a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: #fff; color: var(--ink-soft); font-size: 14px; font-weight: 500;
  transition: all .2s ease;
}
.pagination a:hover { border-color: var(--brand-yellow); color: var(--brand-deep); }
.pagination a.active { background: var(--brand-yellow); color: #3A2A10; border-color: var(--brand-yellow); font-weight: 700; }
.pagination a.disabled { opacity: .45; pointer-events: none; }

/* ===== 侧边栏 ===== */
.cat-sidebar { flex: 0 0 25%; max-width: 25%; position: sticky; top: calc(var(--header-h) + 80px); display: flex; flex-direction: column; gap: 24px; }
.sidebar-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; }
.sidebar-title {
  font-size: 16px; font-weight: 700; color: var(--title-brown);
  margin-bottom: 16px; position: relative; padding-left: 14px; line-height: 1.5;
}
.sidebar-title::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 2px; background: var(--brand-yellow); }

/* 搜索 */
.search-form { display: flex; gap: 8px; }
.search-input {
  flex: 1; min-width: 0; padding: 9px 14px;
  border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--paper); font-size: 14px; outline: none;
  transition: border .2s ease, box-shadow .2s ease;
}
.search-input:focus { border-color: var(--brand-deep); box-shadow: 0 0 0 3px rgba(217,164,0,0.15); background: #fff; }
.search-btn { padding: 0 18px; border-radius: var(--radius-sm); background: var(--brand-yellow); color: #3A2A10; font-weight: 700; font-size: 14px; transition: all .2s ease; }
.search-btn:hover { background: var(--brand-deep); color: #fff; }

/* 最新收录 */
.latest-list li { border-bottom: 1px dashed var(--line); padding: 10px 0; }
.latest-list li:first-child { padding-top: 0; }
.latest-list li:last-child { border-bottom: none; padding-bottom: 0; }
.latest-list a { font-size: 14px; color: var(--ink-soft); line-height: 1.6; display: block; transition: color .2s; }
.latest-list a:hover { color: var(--brand-deep); }
.latest-time { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }

/* 标签云 */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-item {
  display: inline-block; padding: 4px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 500; color: var(--ink-soft);
  border: 1px solid var(--line); background: var(--paper);
  transition: all .2s ease;
}
.tag-item:hover { background: var(--brand-yellow); color: #3A2A10; border-color: var(--brand-yellow); }

/* 关于本分类 */
.about-box { background: var(--paper-dark); border-radius: var(--radius); padding: 20px; }
.about-box h4 { font-size: 15px; font-weight: 700; color: var(--title-brown); margin-bottom: 10px; position: relative; padding-left: 14px; }
.about-box h4::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 2px; background: var(--brand-yellow); }
.about-box p { font-size: 13px; color: var(--ink-soft); line-height: 1.8; }

/* ===== 页脚 ===== */
.site-footer { background: var(--dark-bar); color: var(--dark-text); padding: 64px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { margin-bottom: 16px; font-size: 22px; }
.footer-brand p { font-size: 14px; color: #B8B0A0; line-height: 1.85; max-width: 320px; }
.footer-col h4 { font-size: 16px; font-weight: 700; color: var(--dark-text); margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 32px; height: 2px; background: var(--brand-yellow); }
.footer-col a { display: block; color: #B8B0A0; font-size: 14px; padding: 6px 0; transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: var(--brand-yellow); padding-left: 6px; }
.footer-col p { font-size: 12px; color: #9B9384; line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: #9B9384; flex-wrap: wrap; }

/* ===== 固定转化条 ===== */
.fixed-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: var(--dark-bar); padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
}
.fixed-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fixed-bar p { font-size: 14px; color: var(--dark-text); }
.fixed-bar p .yellow { color: var(--brand-yellow); font-weight: 700; }
.fixed-bar .btn { padding: 8px 24px; font-size: 14px; height: 38px; line-height: 22px; }

/* ===== 焦点可见性 ===== */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgba(217,164,0,0.4); outline-offset: 2px;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .cat-layout { gap: 24px; }
  .entry-thumb { flex-basis: 180px; max-width: 180px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: var(--dark-bar);
    padding: 12px 24px 20px; gap: 4px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .page-head { padding: 40px 0 32px; }
  .page-head-main { flex-direction: column; align-items: flex-start; gap: 20px; }
  .filter-bar { position: relative; top: auto; }
  .filter-wrap { flex-direction: column; align-items: flex-start; gap: 12px; }

  .cat-layout { flex-direction: column; }
  .cat-list { flex: 1; max-width: 100%; }
  .cat-sidebar { flex: 1; max-width: 100%; position: static; order: 2; }
  .entry-card { flex-direction: row; }
  .entry-thumb { flex-basis: 140px; max-width: 140px; height: 100px; }
  .entry-info h3 { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .entry-card { flex-direction: column; }
  .entry-thumb { flex-basis: auto; max-width: 100%; width: 100%; height: 160px; }
  .entry-desc { -webkit-line-clamp: 3; }
  .entry-meta { gap: 8px; }
  .fixed-bar p { font-size: 13px; }
  .fixed-bar .btn { padding: 8px 16px; font-size: 13px; }
  .page-head-text h1 { font-size: 22px; }
}

@media print {
  .site-header, .fixed-bar, .filter-bar { display: none !important; }
  body { padding-top: 0; padding-bottom: 0; }
  .cat-sidebar { display: none; }
  .cat-layout { display: block; }
  .cat-list { max-width: 100%; }
}
