/* roulang page: index */
/* ========== 设计变量 ========== */
:root{
  --bg-cream:#F7F2EA;
  --bg-dark:#2B2A26;
  --bg-card:#FFFFFF;
  --bg-card-alt:#F0E7D9;
  --primary:#8B5E3C;
  --primary-dark:#6B4226;
  --secondary:#5A7D5A;
  --secondary-light:#E3EADF;
  --accent:#E8613C;
  --accent-dark:#C74628;
  --text-main:#1F1B16;
  --text-sub:#5C554A;
  --text-muted:#9A9184;
  --border-light:#E5DCCE;
  --radius-sm:10px;
  --radius-card:16px;
  --radius-btn:999px;
  --shadow-card:0 2px 10px rgba(43,42,38,.06);
  --shadow-card-hover:0 8px 24px rgba(43,42,38,.12);
  --shadow-accent:0 6px 18px rgba(232,97,60,.3);
  --font-family:"PingFang SC","Microsoft YaHei","Noto Sans SC",-apple-system,sans-serif;
  --sidebar-w:240px;
  --transition:.2s ease;
}
/* ========== Reset ========== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--font-family);
  background:var(--bg-cream);
  color:var(--text-main);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
button{font-family:inherit;cursor:pointer}
ul,ol{list-style:none}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
/* ========== 容器 ========== */
.container{max-width:1200px;margin:0 auto;padding:0 32px}
/* ========== 按钮 ========== */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:12px 28px;border-radius:var(--radius-btn);
  font-size:.9375rem;font-weight:600;line-height:1;
  transition:var(--transition);border:none;cursor:pointer;
}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:var(--accent-dark);transform:translateY(-2px);box-shadow:var(--shadow-accent)}
.btn-primary:active{transform:translateY(0) scale(.98)}
.btn-outline-light{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.65)}
.btn-outline-light:hover{background:rgba(255,255,255,.12);border-color:#fff;transform:translateY(-2px)}
.btn-outline-dark{background:transparent;color:var(--primary-dark);border:1.5px solid var(--primary-dark)}
.btn-outline-dark:hover{background:rgba(139,94,60,.08);transform:translateY(-2px)}
.btn-lg{padding:16px 44px;font-size:1.0625rem}
.btn-sm{padding:8px 18px;font-size:.8125rem}
/* ========== 左侧导航 ========== */
.sidebar{
  position:fixed;left:0;top:0;width:var(--sidebar-w);height:100vh;
  background:var(--bg-dark);display:flex;flex-direction:column;
  z-index:100;padding:28px 0 20px;
}
.sidebar-brand{
  display:flex;align-items:center;gap:10px;
  padding:0 24px 22px;border-bottom:1px solid rgba(255,255,255,.12);
}
.sidebar-brand svg{flex-shrink:0}
.brand-name{font-size:1.125rem;font-weight:700;color:#fff;letter-spacing:.5px}
.sidebar-nav{flex:1;padding:24px 14px;display:flex;flex-direction:column;gap:4px}
.nav-item{
  display:flex;align-items:center;gap:10px;
  padding:12px 16px;border-radius:10px;
  color:rgba(255,255,255,.75);font-weight:500;font-size:.9375rem;
  transition:var(--transition);position:relative;
}
.nav-item:hover{background:rgba(255,255,255,.08);color:rgba(255,255,255,.95)}
.nav-item.active{
  background:rgba(255,255,255,.12);color:#fff;font-weight:600;
}
.nav-item.active::before{
  content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);
  width:4px;height:20px;border-radius:4px;background:var(--accent);
}
.nav-item svg{flex-shrink:0;opacity:.75;transition:var(--transition)}
.nav-item:hover svg,.nav-item.active svg{opacity:1}
.sidebar-footer{padding:16px 24px 0;border-top:1px solid rgba(255,255,255,.08)}
.sidebar-footer p{font-size:.75rem;color:rgba(255,255,255,.35);line-height:1.6}
/* ========== 移动端顶部 ========== */
.mobile-header{
  display:none;position:sticky;top:0;z-index:200;
  height:60px;background:var(--bg-dark);padding:0 20px;
  align-items:center;justify-content:space-between;
}
.mobile-logo{display:flex;align-items:center;gap:8px;color:#fff;font-weight:700;font-size:1.0625rem}
.hamburger{width:42px;height:42px;background:transparent;border:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border-radius:8px}
.hamburger span{display:block;width:22px;height:2px;background:#fff;border-radius:2px;transition:var(--transition)}
.hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.mobile-menu{
  display:none;position:fixed;top:60px;left:0;right:0;bottom:0;
  background:var(--bg-dark);z-index:190;padding:20px;flex-direction:column;gap:8px;
  overflow-y:auto;
}
.mobile-menu.open{display:flex}
.mobile-menu a{
  padding:14px 16px;border-radius:10px;color:rgba(255,255,255,.75);
  font-weight:500;transition:var(--transition);
}
.mobile-menu a:hover{background:rgba(255,255,255,.08);color:#fff}
.mobile-menu a.active{background:rgba(255,255,255,.12);color:#fff;border-left:4px solid var(--accent)}
.mobile-menu .menu-foot{margin-top:auto;padding:20px 16px 10px;color:rgba(255,255,255,.35);font-size:.75rem}
/* ========== 主内容布局 ========== */
.main-wrapper{margin-left:var(--sidebar-w)}
/* ========== Hero ========== */
.hero{position:relative;min-height:85vh;display:flex;align-items:center;overflow:hidden}
.hero-bg{
  position:absolute;inset:0;background:url('/assets/images/backpic/back-1.jpg') center/cover no-repeat;
  transform:scale(1.02);
}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(43,42,38,.9),rgba(43,42,38,.72))}
.hero .container{position:relative;z-index:2;width:100%;padding:80px 32px}
.hero-bento{display:grid;grid-template-columns:2fr 1fr;gap:24px;align-items:stretch}
.hero-main{
  background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);
  border-radius:24px;padding:48px 44px;backdrop-filter:blur(10px);
  display:flex;flex-direction:column;justify-content:center;
}
.hero-badge{
  display:inline-flex;align-items:center;gap:6px;
  background:rgba(232,97,60,.25);color:#FFD9C9;
  font-size:.8125rem;font-weight:600;padding:6px 16px;border-radius:999px;
  width:fit-content;margin-bottom:20px;border:1px solid rgba(232,97,60,.35);
}
.hero h1{
  font-size:clamp(1.75rem,3.2vw,2.75rem);font-weight:800;color:#fff;line-height:1.3;
  margin-bottom:20px;letter-spacing:.5px;
}
.hero-sub{font-size:1.0625rem;color:rgba(255,255,255,.82);line-height:1.7;max-width:540px;margin-bottom:28px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.hero-side{display:flex;flex-direction:column;gap:24px}
.hero-stat-card{
  flex:1;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.14);
  border-radius:24px;padding:28px 24px;display:flex;align-items:center;gap:16px;
  backdrop-filter:blur(8px);transition:var(--transition);
}
.hero-stat-card:hover{background:rgba(255,255,255,.14);transform:translateY(-2px)}
.stat-icon{
  width:48px;height:48px;border-radius:14px;background:rgba(232,97,60,.3);
  display:flex;align-items:center;justify-content:center;color:#FFD9C9;font-size:1.25rem;flex-shrink:0;
}
.stat-num{font-size:1.75rem;font-weight:800;color:#fff;line-height:1.2}
.stat-label{font-size:.8125rem;color:rgba(255,255,255,.65)}
.hero-tag-card{
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.14);
  border-radius:24px;padding:24px;backdrop-filter:blur(8px);
}
.hero-tag-card .tag-title{font-size:.875rem;font-weight:600;color:rgba(255,255,255,.75);margin-bottom:14px}
.tag-list{display:flex;flex-wrap:wrap;gap:8px}
.tag{
  display:inline-block;padding:5px 14px;border-radius:999px;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);
  color:rgba(255,255,255,.85);font-size:.8125rem;font-weight:500;transition:var(--transition);
}
.tag:hover{background:rgba(232,97,60,.35);border-color:rgba(232,97,60,.5);color:#fff}
.hero-cta-bar{
  grid-column:1/-1;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);
  border-radius:18px;padding:18px 28px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  backdrop-filter:blur(8px);
}
.hero-cta-bar span{color:rgba(255,255,255,.75);font-size:.9375rem}
.hero-cta-bar a{color:#FFD9C9;font-weight:600;font-size:.9375rem;transition:var(--transition)}
.hero-cta-bar a:hover{color:#fff;transform:translateX(4px)}
.scroll-indicator{
  position:absolute;bottom:24px;left:50%;transform:translateX(-50%);
  display:flex;flex-direction:column;align-items:center;gap:6px;color:rgba(255,255,255,.5);
  font-size:.75rem;letter-spacing:2px;z-index:2;
}
.scroll-indicator .line{width:1px;height:36px;background:linear-gradient(to bottom,rgba(255,255,255,.5),transparent)}
/* ========== 通用区块 ========== */
.section{padding:88px 0}
.section-head{margin-bottom:48px;max-width:640px}
.section-head .eyebrow{
  display:inline-block;font-size:.8125rem;font-weight:700;color:var(--accent);
  background:rgba(232,97,60,.08);padding:5px 14px;border-radius:999px;margin-bottom:14px;
}
.section-head h2{font-size:clamp(1.35rem,2.2vw,2rem);font-weight:700;line-height:1.35;margin-bottom:14px}
.section-head p{color:var(--text-sub);font-size:.9375rem;line-height:1.7}
/* ========== 视频网格 ========== */
.video-grid{background:var(--bg-cream)}
.grid-cards{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.video-card{
  background:var(--bg-card);border-radius:var(--radius-card);overflow:hidden;
  box-shadow:var(--shadow-card);transition:var(--transition);display:flex;flex-direction:column;
}
.video-card:hover{box-shadow:var(--shadow-card-hover);transform:translateY(-4px)}
.video-card .cover-wrap{position:relative;overflow:hidden;aspect-ratio:16/9;background:var(--bg-card-alt)}
.video-card .cover-wrap img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.video-card:hover .cover-wrap img{transform:scale(1.03)}
.video-card .duration{
  position:absolute;right:10px;bottom:10px;background:rgba(0,0,0,.72);color:#fff;
  font-size:.75rem;font-weight:600;padding:3px 8px;border-radius:6px;
}
.video-card .play-count{
  position:absolute;left:10px;bottom:10px;background:rgba(0,0,0,.55);color:#fff;
  font-size:.75rem;padding:3px 8px;border-radius:6px;display:flex;align-items:center;gap:4px;
}
.video-card .card-body{padding:20px 24px 24px;flex:1;display:flex;flex-direction:column}
.video-card h3{font-size:1.0625rem;font-weight:700;line-height:1.5;margin-bottom:8px;transition:var(--transition)}
.video-card:hover h3{color:var(--accent)}
.video-card .card-meta{display:flex;align-items:center;gap:8px;margin-top:auto;color:var(--text-muted);font-size:.8125rem}
.video-card .card-meta .dot{width:3px;height:3px;border-radius:50%;background:var(--text-muted)}
.video-card.featured{grid-column:span 2}
.video-card.featured .cover-wrap{aspect-ratio:21/9}
.video-card.featured h3{font-size:1.35rem}
/* ========== 使用规则 ========== */
.howto{background:var(--bg-card);border-top:1px solid var(--border-light);border-bottom:1px solid var(--border-light)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin-top:48px}
.step-card{
  position:relative;background:var(--bg-cream);border-radius:var(--radius-card);
  padding:36px 28px 28px;border:1px solid var(--border-light);transition:var(--transition);
}
.step-card:hover{box-shadow:var(--shadow-card-hover);transform:translateY(-4px)}
.step-num{
  font-size:3.5rem;font-weight:800;color:rgba(139,94,60,.18);
  line-height:1;margin-bottom:16px;font-family:Georgia,serif;
}
.step-card .step-icon{
  width:52px;height:52px;border-radius:14px;background:var(--secondary-light);
  display:flex;align-items:center;justify-content:center;color:var(--secondary);
  margin-bottom:18px;
}
.step-card h3{font-size:1.125rem;font-weight:700;margin-bottom:10px}
.step-card p{font-size:.875rem;color:var(--text-sub);line-height:1.65}
/* ========== 数据区 ========== */
.stats{
  background:var(--bg-dark);position:relative;overflow:hidden;padding:88px 0;
}
.stats::before{
  content:"";position:absolute;inset:0;
  background:url('/assets/images/backpic/back-2.jpg') center/cover no-repeat;
  opacity:.18;
}
.stats::after{
  content:"";position:absolute;width:400px;height:400px;border-radius:50%;
  background:radial-gradient(circle,rgba(232,97,60,.12),transparent 70%);
  top:-100px;right:-80px;
}
.stats .container{position:relative;z-index:2}
.stats-head{text-align:center;margin-bottom:56px}
.stats-head h2{color:#fff;font-size:clamp(1.5rem,2.4vw,2.125rem);font-weight:700}
.stats-head p{color:rgba(255,255,255,.6);font-size:.9375rem;margin-top:12px}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:32px}
.stat-item{text-align:center;padding:24px 8px;position:relative}
.stat-item::after{
  content:"";position:absolute;right:-16px;top:15%;height:70%;width:1px;
  background:rgba(255,255,255,.1);
}
.stat-item:last-child::after{display:none}
.stat-item .num{
  font-size:clamp(2.5rem,3.5vw,3.5rem);font-weight:800;color:var(--accent);
  line-height:1.2;font-variant-numeric:tabular-nums;
}
.stat-item .label{font-size:.875rem;color:rgba(255,255,255,.6);margin-top:8px}
/* ========== 证言区 ========== */
.testimonials{background:var(--bg-cream)}
.testimonials .section-head{text-align:center;margin-left:auto;margin-right:auto}
.testimonial-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:24px;align-items:start;
  margin-top:48px;
}
.testimonial-card{
  background:var(--bg-card);border-radius:var(--radius-card);padding:28px;
  box-shadow:var(--shadow-card);transition:var(--transition);position:relative;
}
.testimonial-card:nth-child(2){margin-top:32px}
.testimonial-card:nth-child(3){margin-top:16px}
.testimonial-card:nth-child(4){margin-top:8px}
.testimonial-card:hover{box-shadow:var(--shadow-card-hover);transform:translateY(-4px)}
.t-quote{
  font-size:2.5rem;line-height:1;color:var(--accent);opacity:.35;margin-bottom:10px;
  font-family:Georgia,serif;
}
.testimonial-card blockquote{font-size:.9375rem;color:var(--text-main);line-height:1.7;margin-bottom:20px}
.t-user{display:flex;align-items:center;gap:12px}
.t-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;background:var(--bg-card-alt)}
.t-info .t-name{font-weight:600;font-size:.875rem}
.t-info .t-role{font-size:.75rem;color:var(--text-muted)}
/* ========== 资讯区 ========== */
.news{background:var(--bg-card);border-top:1px solid var(--border-light)}
.news-layout{display:grid;grid-template-columns:1.4fr 1fr;gap:48px;margin-top:40px}
.news-list .news-item{
  display:flex;align-items:flex-start;gap:16px;padding:18px 0;
  border-bottom:1px solid var(--border-light);transition:var(--transition);
}
.news-list .news-item:last-child{border-bottom:none}
.news-item .date{
  flex-shrink:0;background:var(--bg-card-alt);color:var(--primary-dark);
  font-size:.75rem;font-weight:600;padding:6px 12px;border-radius:8px;
  min-width:72px;text-align:center;
}
.news-item .news-title{font-weight:600;font-size:.9375rem;line-height:1.5;color:var(--text-main);transition:var(--transition)}
.news-item:hover .news-title{color:var(--accent)}
.news-item .news-desc{font-size:.8125rem;color:var(--text-sub);margin-top:4px;line-height:1.5}
.news-side .side-card{
  background:var(--bg-cream);border-radius:var(--radius-card);padding:24px;
  border:1px solid var(--border-light);margin-bottom:16px;
}
.news-side .side-card h4{font-size:.9375rem;font-weight:700;margin-bottom:12px}
.news-side .side-card ul{display:flex;flex-direction:column;gap:8px}
.news-side .side-card li{font-size:.875rem;color:var(--text-sub)}
.news-side .side-card li::before{content:"▸";color:var(--accent);margin-right:6px}
.news-side .side-card .tag{background:var(--secondary-light);color:var(--secondary);border:none;margin:2px 0}
/* ========== FAQ ========== */
.faq{background:#F2EBDF}
.faq .section-head{text-align:center;margin-left:auto;margin-right:auto}
.faq-list{max-width:760px;margin:48px auto 0}
.faq-item{border:1px solid var(--border-light);border-radius:14px;background:var(--bg-card);margin-bottom:12px;overflow:hidden;transition:var(--transition)}
.faq-item:hover{border-color:#D5C5B0}
.faq-q{
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 24px;cursor:pointer;font-weight:600;font-size:.9375rem;
  color:var(--text-main);transition:var(--transition);user-select:none;
}
.faq-q:hover{color:var(--accent)}
.faq-q .icon{position:relative;width:20px;height:20px;flex-shrink:0}
.faq-q .icon::before,.faq-q .icon::after{
  content:"";position:absolute;background:var(--accent);border-radius:2px;transition:var(--transition);
}
.faq-q .icon::before{width:18px;height:2px;left:1px;top:9px}
.faq-q .icon::after{width:2px;height:18px;left:9px;top:1px}
.faq-item.active .faq-q .icon::after{transform:rotate(90deg);opacity:0}
.faq-a{max-height:0;overflow:hidden;transition:max-height .3s ease;padding:0 24px}
.faq-item.active .faq-a{max-height:400px;padding:0 24px 20px}
.faq-a p{font-size:.875rem;color:var(--text-sub);line-height:1.75}
/* ========== 最终CTA ========== */
.final-cta{
  background:var(--bg-card);text-align:center;padding:100px 0 96px;
  position:relative;overflow:hidden;
}
.final-cta::before{
  content:"";position:absolute;width:480px;height:480px;border-radius:50%;
  background:radial-gradient(circle,rgba(232,97,60,.08),transparent 70%);
  bottom:-160px;left:-120px;
}
.final-cta::after{
  content:"";position:absolute;width:360px;height:360px;border-radius:50%;
  background:radial-gradient(circle,rgba(90,125,90,.08),transparent 70%);
  top:-120px;right:-80px;
}
.final-cta .container{position:relative;z-index:2}
.final-cta h2{font-size:clamp(1.5rem,2.6vw,2.25rem);font-weight:800;margin-bottom:16px}
.final-cta p{font-size:1rem;color:var(--text-sub);max-width:520px;margin:0 auto 36px}
.final-cta .btn-lg{margin-bottom:18px}
.cta-sub-link{display:block;font-size:.875rem;color:var(--text-muted);text-decoration:underline;transition:var(--transition)}
.cta-sub-link:hover{color:var(--accent)}
/* ========== 页脚 ========== */
.site-footer{background:var(--bg-dark);padding:64px 0 0;position:relative}
.footer-top{display:grid;grid-template-columns:1.4fr 2fr;gap:48px;padding-bottom:48px;border-bottom:1px solid rgba(255,255,255,.08)}
.footer-brand .footer-logo{display:flex;align-items:center;gap:10px;margin-bottom:16px}
.footer-brand .footer-logo span{color:#fff;font-weight:700;font-size:1.125rem}
.footer-brand p{color:rgba(255,255,255,.55);font-size:.875rem;line-height:1.7;max-width:280px}
.footer-links{display:grid;grid-template-columns:repeat(2,1fr);gap:32px}
.footer-links h4{color:rgba(255,255,255,.85);font-size:.9375rem;font-weight:600;margin-bottom:16px}
.footer-links a{display:block;color:rgba(255,255,255,.5);font-size:.875rem;padding:4px 0;transition:var(--transition)}
.footer-links a:hover{color:var(--accent);transform:translateX(4px)}
.footer-bottom{padding:24px 0;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.footer-bottom p{color:rgba(255,255,255,.35);font-size:.8125rem}
/* ========== 响应式 ========== */
@media(max-width:1024px){
  .sidebar{display:none}
  .mobile-header{display:flex}
  .main-wrapper{margin-left:0}
  .hero{min-height:auto;padding:0}
  .hero .container{padding:32px 20px}
  .hero-bento{grid-template-columns:1fr}
  .hero-cta-bar{grid-column:auto}
  .hero-main{padding:36px 28px}
  .hero-side{flex-direction:row}
  .hero-stat-card,.hero-tag-card{flex:1}
  .stats-grid{grid-template-columns:repeat(2,1fr);gap:16px}
  .stat-item::after{display:none}
  .testimonial-grid{grid-template-columns:repeat(2,1fr)}
  .news-layout{grid-template-columns:1fr;gap:32px}
  .grid-cards{grid-template-columns:1fr 1fr}
  .video-card.featured{grid-column:span 2}
  .steps{grid-template-columns:1fr 1fr;gap:20px}
  .step-card:last-child{grid-column:span 2}
}
@media(max-width:768px){
  .section{padding:60px 0}
  .container{padding:0 20px}
  .hero-main{padding:28px 20px}
  .hero-side{flex-direction:column}
  .hero-cta-bar{flex-direction:column;text-align:center}
  .grid-cards{grid-template-columns:1fr}
  .video-card.featured{grid-column:auto}
  .video-card.featured .cover-wrap{aspect-ratio:16/9}
  .video-card.featured h3{font-size:1.0625rem}
  .steps{grid-template-columns:1fr}
  .step-card:last-child{grid-column:auto}
  .stats-grid{grid-template-columns:1fr 1fr}
  .testimonial-grid{grid-template-columns:1fr}
  .testimonial-card:nth-child(2),.testimonial-card:nth-child(3),.testimonial-card:nth-child(4){margin-top:0}
  .news-layout{grid-template-columns:1fr}
  .news-item{flex-direction:column;gap:8px}
  .news-item .date{min-width:0}
  .footer-top{grid-template-columns:1fr;gap:32px}
  .footer-links{grid-template-columns:1fr 1fr}
  .final-cta{padding:64px 0}
  .btn-lg{padding:14px 32px}
}
@media(max-width:480px){
  .stats-grid{grid-template-columns:1fr}
  .footer-links{grid-template-columns:1fr}
  .hero-actions{flex-direction:column;align-items:center}
  .hero-actions .btn{width:100%;justify-content:center}
}

/* roulang page: category1 */
/* ========== 设计变量 ========== */
:root{
  --bg-cream:#F7F2EA;
  --bg-dark:#2B2A26;
  --bg-card:#FFFFFF;
  --bg-card-alt:#F0E7D9;
  --primary:#8B5E3C;
  --primary-dark:#6B4226;
  --secondary:#5A7D5A;
  --secondary-light:#E3EADF;
  --accent:#E8613C;
  --accent-dark:#C74628;
  --text-main:#1F1B16;
  --text-sub:#5C554A;
  --text-muted:#9A9184;
  --border-light:#E5DCCE;
  --radius-sm:10px;
  --radius-card:16px;
  --radius-btn:999px;
  --shadow-card:0 2px 10px rgba(43,42,38,.06);
  --shadow-card-hover:0 8px 24px rgba(43,42,38,.12);
  --shadow-accent:0 6px 18px rgba(232,97,60,.3);
  --font-family:"PingFang SC","Microsoft YaHei","Noto Sans SC",-apple-system,sans-serif;
  --sidebar-w:240px;
  --transition:.2s ease;
}
/* ========== Reset ========== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--font-family);
  background:var(--bg-cream);
  color:var(--text-main);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
ul,ol{list-style:none}
button{font-family:inherit;cursor:pointer}
h1,h2,h3,h4{line-height:1.3;font-weight:700}
/* ========== 容器 ========== */
.container{max-width:1200px;margin:0 auto;padding:0 32px}
/* ========== 左侧导航 ========== */
.sidebar{
  position:fixed;left:0;top:0;width:var(--sidebar-w);height:100vh;
  background:var(--bg-dark);display:flex;flex-direction:column;
  z-index:300;padding:24px 0 0;
}
.sidebar-brand{
  display:flex;align-items:center;gap:10px;
  padding:0 24px 22px;border-bottom:1px solid rgba(255,255,255,.12);
}
.sidebar-brand svg{flex-shrink:0}
.brand-name{font-size:1.125rem;font-weight:700;color:#fff;letter-spacing:.5px}
.sidebar-nav{flex:1;padding:24px 14px;display:flex;flex-direction:column;gap:4px}
.nav-item{
  display:flex;align-items:center;gap:10px;
  padding:12px 16px;border-radius:10px;
  color:rgba(255,255,255,.75);font-weight:500;font-size:.9375rem;
  transition:var(--transition);position:relative;
}
.nav-item:hover{background:rgba(255,255,255,.08);color:rgba(255,255,255,.95)}
.nav-item.active{
  background:rgba(255,255,255,.12);color:#fff;font-weight:600;
}
.nav-item.active::before{
  content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);
  width:4px;height:20px;border-radius:4px;background:var(--accent);
}
.nav-item svg{flex-shrink:0;opacity:.75;transition:var(--transition)}
.nav-item:hover svg,.nav-item.active svg{opacity:1}
.sidebar-footer{padding:16px 24px 0;border-top:1px solid rgba(255,255,255,.08)}
.sidebar-footer p{font-size:.75rem;color:rgba(255,255,255,.35);line-height:1.6}
/* ========== 移动端顶部 ========== */
.mobile-header{
  display:none;position:sticky;top:0;z-index:200;
  height:60px;background:var(--bg-dark);padding:0 20px;
  align-items:center;justify-content:space-between;
}
.mobile-logo{display:flex;align-items:center;gap:8px;color:#fff;font-weight:700;font-size:1.0625rem}
.hamburger{width:42px;height:42px;background:transparent;border:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border-radius:8px}
.hamburger span{display:block;width:22px;height:2px;background:#fff;border-radius:2px;transition:var(--transition)}
.hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.mobile-menu{
  display:none;position:fixed;top:60px;left:0;right:0;bottom:0;
  background:var(--bg-dark);z-index:190;padding:20px;flex-direction:column;gap:8px;
  overflow-y:auto;
}
.mobile-menu.open{display:flex}
.mobile-menu a{
  padding:14px 16px;border-radius:10px;color:rgba(255,255,255,.75);
  font-weight:500;transition:var(--transition);
}
.mobile-menu a:hover{background:rgba(255,255,255,.08);color:#fff}
.mobile-menu a.active{background:rgba(255,255,255,.12);color:#fff;border-left:4px solid var(--accent)}
.mobile-menu .menu-foot{margin-top:auto;padding:20px 16px 10px;color:rgba(255,255,255,.35);font-size:.75rem}
/* ========== 主内容布局 ========== */
.main-wrapper{margin-left:var(--sidebar-w)}
/* ========== 按钮 ========== */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:12px 28px;border-radius:var(--radius-btn);
  font-size:.9375rem;font-weight:600;line-height:1;
  transition:var(--transition);border:none;cursor:pointer;
}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:var(--accent-dark);transform:translateY(-2px);box-shadow:var(--shadow-accent)}
.btn-primary:active{transform:translateY(0) scale(.98)}
.btn-outline-dark{background:transparent;color:var(--primary-dark);border:1.5px solid var(--primary-dark)}
.btn-outline-dark:hover{background:rgba(139,94,60,.08);transform:translateY(-2px)}
.btn-sm{padding:8px 18px;font-size:.8125rem}
/* ========== 分类页页头 ========== */
.category-hero{
  position:relative;padding:80px 0 72px;overflow:hidden;
  background:url('/assets/images/backpic/back-2.jpg') center/cover no-repeat;
}
.category-hero::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(120deg,rgba(43,42,38,.92) 30%,rgba(43,42,38,.65));
}
.category-hero .container{position:relative;z-index:2}
.crumb{
  font-size:.8125rem;color:rgba(255,255,255,.55);margin-bottom:20px;
  display:flex;align-items:center;gap:6px;flex-wrap:wrap;
}
.crumb a{color:rgba(255,255,255,.75);transition:var(--transition)}
.crumb a:hover{color:var(--accent)}
.crumb .sep{color:rgba(255,255,255,.35)}
.crumb .current{color:rgba(255,255,255,.9)}
.category-hero h1{
  font-size:clamp(1.85rem,3vw,2.75rem);color:#fff;font-weight:800;
  margin-bottom:16px;letter-spacing:.5px;
}
.category-hero .hero-desc{
  font-size:1.0625rem;color:rgba(255,255,255,.82);max-width:620px;line-height:1.7;
}
/* ========== 工具栏 ========== */
.toolbar{
  padding:32px 0 8px;
}
.toolbar-inner{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
}
.filter-group{display:flex;gap:8px;flex-wrap:wrap}
.filter-btn{
  padding:8px 18px;border-radius:999px;font-size:.8125rem;font-weight:500;
  background:transparent;border:1.5px solid var(--border-light);color:var(--text-sub);
  transition:var(--transition);
}
.filter-btn:hover{border-color:var(--primary);color:var(--primary-dark)}
.filter-btn.active{background:var(--accent);border-color:var(--accent);color:#fff}
.result-count{font-size:.8125rem;color:var(--text-muted)}
/* ========== 列表卡片 ========== */
.article-list{
  padding:16px 0 56px;display:flex;flex-direction:column;gap:24px;
}
.article-card{
  background:var(--bg-card);border-radius:var(--radius-card);
  overflow:hidden;border:1px solid var(--border-light);
  box-shadow:var(--shadow-card);transition:var(--transition);
  display:flex;
}
.article-card:hover{box-shadow:var(--shadow-card-hover);transform:translateY(-2px)}
.article-thumb{
  width:320px;flex-shrink:0;overflow:hidden;position:relative;min-height:200px;
}
.article-thumb img{
  width:100%;height:100%;object-fit:cover;transition:transform .3s ease;
}
.article-card:hover .article-thumb img{transform:scale(1.03)}
.article-body{padding:28px;display:flex;flex-direction:column;justify-content:center}
.article-meta{
  display:flex;align-items:center;gap:12px;margin-bottom:12px;flex-wrap:wrap;
}
.article-meta .date,.article-meta .read{font-size:.8125rem;color:var(--text-muted)}
.tag{
  display:inline-flex;align-items:center;padding:3px 10px;border-radius:999px;
  font-size:.75rem;font-weight:500;background:var(--secondary-light);color:var(--secondary);
}
.tag-hot{background:#FDE8E2;color:var(--accent)}
.tag-new{background:var(--accent);color:#fff}
.article-body h2{font-size:1.25rem;margin-bottom:10px;transition:var(--transition)}
.article-body h2 a:hover{color:var(--accent)}
.article-body .excerpt{
  font-size:.875rem;color:var(--text-sub);line-height:1.7;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  margin-bottom:16px;
}
.article-link{
  font-size:.8125rem;font-weight:600;color:var(--accent);
  display:inline-flex;align-items:center;gap:4px;transition:var(--transition);width:fit-content;
}
.article-link:hover{gap:8px}
/* ========== 分页器 ========== */
.pagination{
  padding:8px 0 64px;display:flex;justify-content:center;gap:8px;
}
.page-btn{
  width:42px;height:42px;border-radius:999px;
  display:flex;align-items:center;justify-content:center;
  font-size:.875rem;font-weight:500;border:1.5px solid var(--border-light);
  background:var(--bg-card);color:var(--text-sub);transition:var(--transition);
}
.page-btn:hover{border-color:var(--primary);color:var(--primary-dark)}
.page-btn.active{background:var(--accent);border-color:var(--accent);color:#fff}
.page-arrow{font-size:1.125rem}
/* ========== 底部 CTA ========== */
.category-cta{
  background:var(--bg-card-alt);padding:48px 0;text-align:center;
}
.category-cta h2{font-size:1.375rem;margin-bottom:8px}
.category-cta p{color:var(--text-sub);margin-bottom:20px;font-size:.9375rem}
/* ========== 页脚 ========== */
.site-footer{background:var(--bg-dark);color:rgba(255,255,255,.8);padding:64px 0 0}
.footer-top{
  display:flex;justify-content:space-between;gap:48px;padding-bottom:40px;
  flex-wrap:wrap;
}
.footer-brand{max-width:340px}
.footer-logo{display:flex;align-items:center;gap:10px;margin-bottom:16px}
.footer-logo span{font-size:1.0625rem;font-weight:700;color:#fff}
.footer-brand p{font-size:.875rem;color:rgba(255,255,255,.5);line-height:1.7}
.footer-links{display:flex;gap:64px;flex-wrap:wrap}
.footer-links h4{
  font-size:.8125rem;color:rgba(255,255,255,.35);font-weight:500;
  margin-bottom:12px;letter-spacing:1px;
}
.footer-links a{
  display:block;padding:4px 0;font-size:.875rem;
  color:rgba(255,255,255,.65);transition:var(--transition);
}
.footer-links a:hover{color:#fff;padding-left:4px}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.08);padding:20px 0;
  display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;
  font-size:.8125rem;color:rgba(255,255,255,.35);
}
/* ========== 响应式 ========== */
@media (max-width:1024px){
  .sidebar{display:none}
  .mobile-header{display:flex}
  .main-wrapper{margin-left:0}
  .mobile-menu{display:none}
  .mobile-menu.open{display:flex}
}
@media (max-width:768px){
  .container{padding:0 20px}
  .article-card{flex-direction:column}
  .article-thumb{width:100%;min-height:0;aspect-ratio:16/9}
  .article-body{padding:20px}
  .category-hero{padding:56px 0 48px}
  .toolbar-inner{flex-direction:column;align-items:flex-start}
  .footer-top{flex-direction:column;gap:32px}
  .footer-links{gap:40px}
  .category-cta{padding:40px 0}
}
@media (max-width:520px){
  .container{padding:0 16px}
  .article-body h2{font-size:1.125rem}
  .pagination{gap:6px}
  .page-btn{width:38px;height:38px}
}
