/* roulang page: index */
:root {
  --brand: #EA6B25;
  --brand-dark: #C85116;
  --berry: #D6377E;
  --ink: #1F1A16;
  --ink-2: #57534E;
  --paper: #F7F4EF;
  --cream: #FDE9D9;
  --rough: #17120E;
  --line: rgba(31, 26, 22, .10);
  --card-shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px -8px rgba(0,0,0,.12);
  --card-shadow-lg: 0 2px 4px rgba(0,0,0,.06), 0 18px 38px -12px rgba(0,0,0,.20);
  --radius-lg: 1.2rem;
  --radius-md: .875rem;
  --radius-btn: .625rem;
}
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(234, 107, 37, .35);
  outline-offset: 2px;
}
.container-x {
  max-width: 1270px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(18px, 4vw, 32px);
  padding-right: clamp(18px, 4vw, 32px);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logo-word {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.2;
  color: var(--ink);
}
.logo-badge {
  display: inline-flex;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 10px;
  line-height: 1.5;
}
.brand-logo-light .logo-word { color: #fff; }
.brand-logo-light .logo-badge { background: #fff; color: var(--rough); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-btn);
  padding: 10px 18px;
  min-height: 44px;
  font-weight: 600;
  border: 1.5px solid transparent;
  transition: all .25s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-brand {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn-brand:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px rgba(234, 107, 37, .6);
}
.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: rgba(31,26,22,.22);
}
.btn-outline-dark:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: #fff;
  transform: translateY(-2px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px 4px 9px;
  border-radius: 999px;
  line-height: 1.6;
}
.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.badge-berry { background: rgba(214,55,126,.12); color: var(--berry); }
.badge-berry::before { background: var(--berry); }

/* 头尾 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247,244,239,.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(31,26,22,.07);
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 20px;
}
.topbar-slogan { color: var(--ink-2); font-size: 13px; letter-spacing: .4px; }
.icons-nav { display: flex; align-items: center; gap: 6px; }
.nav-item {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 58px;
  min-width: 104px;
  padding: 8px 12px;
  border-bottom: 3px solid transparent;
  transition: color .2s ease, border-color .2s ease;
  color: var(--ink-2);
}
.nav-item .nav-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
}
.nav-item:hover { color: var(--brand); }
.nav-item.active { color: var(--brand); border-bottom-color: var(--brand); }
.nav-desc { font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.nav-item.active .nav-desc { color: var(--brand-dark); }

/* 分类 KV */
.cat-kv {
  background-color: #fff7f0;
  background-image: linear-gradient(110deg, rgba(247,244,239,.98), rgba(255,240,229,.92)), url('/assets/images/backpic/back-2.jpg');
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
  padding-top: clamp(42px, 6vw, 72px);
  padding-bottom: clamp(34px, 5vw, 56px);
}
.cat-kv h1 {
  font-size: clamp(30px, 3.6vw, 45px);
  line-height: 1.3;
  font-weight: 800;
  max-width: 900px;
  margin-top: 18px;
}
.cat-kv .kv-desc {
  max-width: 800px;
  color: var(--ink-2);
  margin-top: 16px;
  font-size: 16px;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.chip-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid rgba(31,26,22,.1);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
  color: var(--ink-2);
}
.chip-filter:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.chip-filter.active {
  background: var(--rough);
  border-color: var(--rough);
  color: #fff;
}

/* 主体双列 */
.cate-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  padding-top: 40px;
  padding-bottom: 50px;
}
.cate-index {
  position: sticky;
  top: 150px;
  align-self: start;
  border-right: 1px solid var(--line);
  padding-right: 18px;
  display: grid;
  gap: 8px;
}
.cate-index-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-bottom: 10px;
}
.cate-index a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
  padding: 9px 10px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s ease, background .2s ease;
}
.cate-index a:hover,
.cate-index a.cate-active {
  background: var(--cream);
  color: var(--brand-dark);
}
.area-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
}
.area-title h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  line-height: 1.35;
}
.area-title p { color: var(--ink-2); margin-bottom: 22px; max-width: 700px; }

/* 卡片流 */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.entry-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--card-shadow);
  border: 1px solid transparent;
  text-align: left;
  cursor: default;
  transition: transform .28s ease, box-shadow .28s ease;
}
.entry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-lg);
  border-color: rgba(234,107,37,.22);
}
.entry-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.entry-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.entry-card p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.entry-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  margin-top: auto;
}
.entry-arrow svg { transition: transform .25s ease; }
.entry-card:hover .entry-arrow svg { transform: translateX(4px); }

/* 精选推荐 */
.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, .9fr);
  gap: 20px;
  margin-top: 28px;
}
.featured-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 260px;
  background: var(--cream);
}
.featured-media img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}
.featured-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
  background: linear-gradient(0deg, rgba(23,18,14,.84), rgba(23,18,14,.05));
  color: #fff;
}
.featured-overlay h3 { font-size: 21px; font-weight: 700; }
.featured-overlay p { font-size: 14px; color: rgba(255,255,255,.84); margin-top: 6px; }

/* 相关入口 */
.relative-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background .25s ease, transform .25s ease;
}
.relative-card:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: var(--card-shadow);
}
.relative-card span { font-size: 15px; font-weight: 600; }
.relative-card small { color: var(--ink-2); font-size: 13px; }

/* CTA */
.cta-panel {
  background: var(--rough);
  background-image: linear-gradient(105deg, rgba(23,18,14,.96), rgba(60,35,20,.9)), url('/assets/images/backpic/back-7.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 28px;
  color: #fff;
  padding: clamp(28px, 5vw, 56px);
}
.cta-panel h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; line-height: 1.35; }
.cta-panel p { color: rgba(255,255,255,.78); margin-top: 12px; max-width: 620px; }
.cta-desc { font-size: 14px; color: rgba(255,255,255,.56); }

/* Footer */
.site-footer {
  background: var(--rough);
  color: rgba(255,255,255,.78);
  margin-top: clamp(60px, 8vw, 100px);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr .8fr 1fr .9fr;
  gap: 36px;
  padding-block: 60px 28px;
}
.footer-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.64); font-size: 14px; }
.footer-links a:hover { color: #FFB37D; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.46); margin: 0; }
.back-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  min-height: 40px;
  padding: 6px 16px;
  font-size: 13px;
  cursor: pointer;
  transition: all .25s ease;
}
.back-top:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-2px); }

@media (max-width: 1023px) {
  .cate-layout { grid-template-columns: 1fr; }
  .cate-index { display: flex; position: static; overflow-x: auto; border: 0; padding-bottom: 10px; }
  .cate-index a { white-space: nowrap; }
  .featured-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .topbar-slogan { display: none; }
  .entry-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .chip-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .chip-filter { white-space: nowrap; }
}
@media (max-width: 480px) {
  .nav-item { min-width: 92px; }
  .cat-kv h1 { font-size: 30px; }
  .cta-panel { padding: 24px 18px; }
  .featured-media { min-height: 210px; }
  .featured-overlay { padding: 16px; }
  .footer-top { grid-template-columns: 1fr; }
}

/* roulang page: category1 */
/* roulang page: category1 */
:root {
  --brand: #EA6B25;
  --brand-dark: #C85116;
  --berry: #D6377E;
  --ink: #1F1A16;
  --ink-2: #57534E;
  --paper: #F7F4EF;
  --cream: #FDE9D9;
  --rough: #17120E;
  --line: rgba(31, 26, 22, .10);
  --card-shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px -8px rgba(0,0,0,.12);
  --card-shadow-lg: 0 2px 4px rgba(0,0,0,.06), 0 18px 38px -12px rgba(0,0,0,.20);
  --radius-lg: 1.2rem;
  --radius-md: .875rem;
  --radius-btn: .625rem;
}
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(234,107,37,.35);
  outline-offset: 2px;
}
.container-x {
  max-width: 1270px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(18px, 4vw, 32px);
  padding-right: clamp(18px, 4vw, 32px);
}
.brand-logo { display: inline-flex; align-items: center; gap: 8px; }
.logo-word { font-size: 26px; font-weight: 800; letter-spacing: 1px; line-height: 1.2; color: var(--ink); }
.logo-badge { display: inline-flex; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; line-height: 1.5; }
.brand-logo-light .logo-word { color: #fff; }
.brand-logo-light .logo-badge { background: #fff; color: var(--rough); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--radius-btn); padding: 10px 18px; min-height: 44px;
  font-weight: 600; border: 1.5px solid transparent; transition: all .25s ease;
  cursor: pointer; white-space: nowrap;
}
.btn-brand { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-brand:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(234,107,37,.6); }
.btn-outline-dark { background: transparent; color: var(--ink); border-color: rgba(31,26,22,.22); }
.btn-outline-dark:hover { border-color: var(--brand); color: var(--brand); background: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--rough); border-color: #fff; }
.btn-light:hover { background: #f0dad0; border-color: #f0dad0; transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(0,0,0,.4); }
.badge, .tag-badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--cream);
  color: var(--brand-dark); font-size: 13px; font-weight: 600;
  padding: 4px 12px 4px 9px; border-radius: 999px; line-height: 1.6;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.badge-berry { background: rgba(214,55,126,.12); color: var(--berry); }
.badge-berry::before { background: var(--berry); }

/* 导航 */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247,244,239,.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(31,26,22,.07);
}
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 20px; }
.topbar-slogan { color: var(--ink-2); font-size: 13px; letter-spacing: .4px; }
.icons-nav { display: flex; align-items: center; gap: 6px; }
.nav-item {
  display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center;
  min-height: 58px; min-width: 104px; padding: 8px 12px;
  border-bottom: 3px solid transparent; transition: color .2s ease, border-color .2s ease;
  color: var(--ink-2);
}
.nav-item .nav-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.nav-item:hover { color: var(--brand); }
.nav-item.active { color: var(--brand); border-bottom-color: var(--brand); }
.nav-desc { font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.nav-item.active .nav-desc { color: var(--brand-dark); }

/* 分类页 Hero */
.cate-hero {
  position: relative;
  background-color: var(--rough);
  background-image: url("/assets/images/backpic/back-2.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
  overflow: hidden;
}
.cate-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23,18,14,.94) 0%, rgba(23,18,14,.74) 50%, rgba(23,18,14,.36) 100%);
  z-index: 0;
}
.cate-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 44px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 62px;
}
.hero-kicker { color: #f5b78e; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; display: block; }
.cate-hero h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.28;
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}
.cate-hero .hero-lead { font-size: 16px; line-height: 1.9; color: rgba(255,255,255,.78); max-width: 600px; margin-bottom: 20px; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cate-hero-media { position: relative; }
.hero-visual-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 12px;
  backdrop-filter: blur(10px);
}
.hero-visual-card img { border-radius: calc(var(--radius-lg) - 8px); max-height: 330px; width: 100%; object-fit: cover; }
.hero-float-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--rough);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  padding: 9px 16px;
  margin-top: 14px;
  box-shadow: var(--card-shadow);
}
.hero-float-note span { color: var(--brand); }

/* 分类主体布局 */
.cate-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  padding-top: 54px;
  padding-bottom: 44px;
}
.cate-sidenav {
  position: sticky;
  top: 140px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  padding: 18px 12px;
}
.cate-index-title { font-size: 13px; font-weight: 700; color: var(--ink-2); letter-spacing: 2px; padding: 4px 10px 12px; }
.cate-index { display: flex; flex-direction: column; }
.cate-index a {
  display: flex; align-items: center; gap: 6px; color: var(--ink-2);
  padding: 9px 10px; border-radius: 12px; font-size: 14px; font-weight: 500;
  transition: color .2s ease, background .2s ease;
}
.cate-index a:hover, .cate-index a.cate-active { background: var(--cream); color: var(--brand-dark); }
.cate-index .cate-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }

/* 编辑精选 */
.feat-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.feat-head h2 { font-size: 24px; font-weight: 800; line-height: 1.35; }
.feat-head p { color: var(--ink-2); font-size: 14px; }
.feat-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-bottom: 42px; }
.feat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--rough);
  box-shadow: var(--card-shadow);
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  transition: transform .3s ease, box-shadow .3s ease;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-lg); }
.feat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.feat-card .feat-body {
  position: relative; z-index: 1; padding: 24px; width: 100%;
  background: linear-gradient(0deg, rgba(23,18,14,.92) 0%, rgba(23,18,14,.28) 100%);
  color: #fff;
}
.feat-card h3 { font-size: 21px; font-weight: 700; margin-bottom: 4px; }
.feat-card p { font-size: 14px; color: rgba(255,255,255,.85); margin-bottom: 10px; max-width: 520px; }
.feat-card .feat-link { display: inline-flex; align-items: center; gap: 6px; color: #f5b78e; font-weight: 600; font-size: 14px; }
.feat-card .feat-link svg { transition: transform .25s ease; }
.feat-card:hover .feat-link svg { transform: translateX(4px); }

/* 入口网格 */
.entry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.entry-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg);
  padding: 20px; box-shadow: var(--card-shadow); border: 1px solid transparent;
  text-align: left; cursor: default; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.entry-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-lg); border-color: rgba(234,107,37,.22); }
.entry-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.entry-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: var(--cream);
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.entry-card h3 { font-size: 18px; font-weight: 700; color: var(--ink); }
.entry-card p { color: var(--ink-2); font-size: 14px; line-height: 1.75; margin-bottom: 14px; }
.entry-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag-badge { font-size: 12px; padding: 2px 10px; background: #f4ede5; color: var(--ink-2); gap: 5px; }
.entry-arrow { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--brand); margin-top: auto; }
.entry-arrow svg { transition: transform .25s ease; }
.entry-card:hover .entry-arrow svg { transform: translateX(4px); }
.section-top-space { margin-top: 46px; }

/* 相关入口 */
.related-band { background: #fff4e9; border-top: 1px solid rgba(31,26,22,.06); padding: 50px 0; }
.related-head h2 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.related-head p { color: var(--ink-2); margin-bottom: 24px; max-width: 640px; }
.related-list { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.related-item {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid rgba(31,26,22,.06); border-radius: var(--radius-btn);
  padding: 16px 14px; cursor: default; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.related-item:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--card-shadow); }
.related-item svg { color: var(--brand); flex: 0 0 auto; }
.related-item strong { font-size: 14px; font-weight: 700; line-height: 1.5; color: var(--ink); display: block; }
.related-item span { font-size: 12px; color: var(--ink-2); }

/* 路径步骤 */
.path-section { background: var(--rough); color: #fff; padding: 58px 0; }
.path-section h2 { font-size: 26px; font-weight: 800; color: #fff; }
.path-section .path-note { color: rgba(255,255,255,.7); margin-top: 4px; margin-bottom: 30px; }
.path-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.path-step {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  transition: background .25s ease, transform .25s ease;
}
.path-step:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.path-step .step-num {
  font-size: 24px;
  font-weight: 800;
  color: #f5b78e;
  line-height: 1.2;
  display: block;
  margin-bottom: 8px;
}
.path-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: #fff; }
.path-step p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.66); margin: 0; }

/* 常见问题 */
.mini-faq { padding: 60px 0 24px; }
.mini-faq-wrap { max-width: 860px; }
.mini-faq h2 { font-size: 27px; font-weight: 800; margin-bottom: 6px; }
.mini-faq > p { color: var(--ink-2); margin-bottom: 28px; }
.faq-item {
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background .2s ease;
}
.faq-item[open] { background: rgba(253,233,217,.4); border-radius: 14px; }
.faq-item[open] + .faq-item { border-top: 0; }
.faq-summary {
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px 16px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  transition: color .2s ease;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-item[open] .faq-summary { color: var(--brand-dark); }
.faq-icon { position: relative; width: 22px; height: 22px; flex: 0 0 auto; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; background: var(--brand); transform: translate(-50%, -50%); border-radius: 999px; transition: transform .25s ease; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 20px 18px 22px; color: var(--ink-2); font-size: 14px; line-height: 1.9; }

/* CTA */
.cta-band { background: var(--cream); padding: 60px 0; }
.cta-inner {
  background: linear-gradient(135deg, var(--rough) 0%, #3a2a1e 100%);
  border-radius: 24px;
  padding: clamp(24px, 5vw, 54px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-inner::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(234,107,37,.4) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-inner h2 { font-size: clamp(22px, 3vw, 32px); line-height: 1.4; font-weight: 800; position: relative; z-index: 1; }
.cta-inner p { color: rgba(255,255,255,.75); max-width: 640px; position: relative; z-index: 1; }
.cta-btn-row { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }

/* footer */
.site-footer { background: var(--rough); color: rgba(255,255,255,.78); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; padding: 60px 0 30px; gap: 36px; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.72); font-size: 14px; transition: color .2s ease, padding-left .2s ease; }
.footer-links a:hover { color: #f5b78e; padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.58); }
.back-top { border: 1px solid rgba(255,255,255,.2); background: transparent; color: rgba(255,255,255,.7); border-radius: 999px; padding: 7px 16px; cursor: pointer; font-size: 13px; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.back-top:hover { border-color: var(--brand); color: #fff; background: var(--brand); }

/* responsive */
@media (max-width: 1023px) {
  .cate-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 24px; }
  .cate-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .cate-hero-media { max-width: 620px; }
  .related-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .path-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .cate-layout { grid-template-columns: 1fr; padding-top: 34px; }
  .cate-sidenav { position: static; top: auto; padding: 14px 16px; overflow-x: auto; display: flex; align-items: center; box-shadow: none; background: transparent; }
  .cate-index-title { width: 100%; margin-right: 10px; }
  .cate-index { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 6px; width: auto; }
  .cate-index a { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid rgba(31,26,22,.08); }
  .cate-index a:hover, .cate-index a.cate-active { background: var(--cream); color: var(--brand-dark); }
}
@media (max-width: 767px) {
  .topbar-slogan { display: none; }
  .nav-item { min-width: 76px; padding: 6px 8px; min-height: 52px; }
  .icons-nav { overflow-x: auto; scrollbar-width: none; }
  .icons-nav::-webkit-scrollbar { display: none; }
  .nav-desc { display: none; }
  .cate-hero-inner { padding-top: 36px; padding-bottom: 44px; }
  .entry-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .related-list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .related-item { padding: 12px 10px; }
  .path-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; padding: 44px 0 22px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .faq-summary { font-size: 15px; }
}
@media (max-width: 520px) {
  .brand-logo .logo-word { font-size: 22px; }
  .logo-badge { font-size: 11px; padding: 2px 8px; }
  .cate-hero h1 { font-size: 28px; }
  .hero-cta-row .btn { width: 100%; }
  .feat-grid { gap: 12px; }
  .feat-card { min-height: 200px; }
  .btn-brand, .btn-outline-dark { padding: 8px 14px; }
  .related-list { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 0; }
  .footer-bottom { flex-direction: column; justify-content: center; text-align: center; }
}
