/* roulang page: index */
/* ============ 设计变量与基础 ============ */
:root {
  --sys-primary: #AE2A55;
  --sys-primary-hover: #8E1E45;
  --sys-primary-active: #761836;
  --sys-primary-mist: #F9ECF1;
  --sys-accent: #D98E4A;
  --sys-accent-hover: #C67B36;
  --sys-bg: #FAF6F1;
  --sys-surface: #FFFFFF;
  --sys-ink: #2B2326;
  --sys-ink-sub: #6E6368;
  --sys-line: #E8DFDA;
  --sys-success: #2F9E6F;
  --sys-warning: #D97706;
  --sys-danger: #C0272D;
  --sys-star: #F2A93B;
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;
  --shadow-card: 0 2px 8px rgba(43,35,38,.05), 0 8px 24px rgba(43,35,38,.06);
  --shadow-hover: 0 4px 16px rgba(43,35,38,.09), 0 14px 36px rgba(43,35,38,.10);
  --shadow-nav: 0 2px 12px rgba(43,35,38,.08);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonicOS Sans SC", "Microsoft YaHei", "system-ui", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background-color: var(--sys-bg);
  color: var(--sys-ink);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
button, input, select, textarea { font-family: inherit; outline: none; }
.container-lg, .container { max-width: 1200px; }
section { position: relative; }

/* ============ 通用按钮 ============ */
.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--sys-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  border: 2px solid transparent;
  border-radius: var(--r-md);
  padding: 12px 28px;
  white-space: nowrap;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
  box-shadow: none;
}
.btn-main:hover {
  background: var(--sys-primary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(174,42,85,.22);
}
.btn-main:active {
  background: var(--sys-primary-active);
  transform: translateY(0);
  box-shadow: none;
}
.btn-main:focus-visible {
  outline: 3px solid rgba(174,42,85,.35);
  outline-offset: 2px;
}
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: var(--sys-primary);
  font-size: 16px;
  font-weight: 600;
  border: 2px solid var(--sys-primary);
  border-radius: var(--r-md);
  padding: 11px 26px;
  white-space: nowrap;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
}
.btn-line:hover {
  background: var(--sys-primary-mist);
  color: var(--sys-primary);
  transform: translateY(-2px);
  box-shadow: none;
}
.btn-line:active {
  transform: translateY(0);
}
.btn-line:focus-visible {
  outline: 3px solid rgba(174,42,85,.35);
  outline-offset: 2px;
}
.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--sys-accent);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 16px 36px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(217,142,74,.25);
  transition: all .2s ease;
  text-decoration: none;
}
.btn-accent:hover {
  background: var(--sys-accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(217,142,74,.32);
}
.btn-accent:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(217,142,74,.2);
}
.btn-accent:focus-visible {
  outline: 3px solid rgba(217,142,74,.38);
  outline-offset: 2px;
}
.btn-sm-soft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sys-primary-mist);
  color: var(--sys-primary);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  transition: all .2s ease;
  border: 1px solid transparent;
}
.btn-sm-soft:hover { background: rgba(174,42,85,.12); color: var(--sys-primary); }
.btn-sm-soft:active { transform: translateY(1px); }
.btn-sm-soft:focus-visible { outline: 3px solid rgba(174,42,85,.28); }

/* ============ 徽章 ============ */
.badge-soft {
  display: inline-block;
  background: var(--sys-primary-mist);
  color: var(--sys-primary);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: .02em;
}
.badge-soft .dot { display: inline-block; width: 6px;height: 6px;border-radius: 50%;background: var(--sys-primary);margin-right: 8px;vertical-align: 2px; }

/* ============ Header ============ */
.site-header {
  background: rgba(250,246,241,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1080;
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled {
  background: rgba(250,246,241,.94);
  border-color: var(--sys-line);
  box-shadow: var(--shadow-nav);
}
.navbar {
  padding: 0;
  min-height: 72px;
}
.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 22px;
  color: var(--sys-ink);
  letter-spacing: .02em;
  padding: 0;
  margin: 0;
}
.navbar-brand:hover { color: var(--sys-primary); }
.navbar-brand svg { display: block; }
.brand-name { line-height: 1.2; }
.brand-name .sub { display: block; font-size: 10px; font-weight: 500; color: var(--sys-ink-sub); letter-spacing: .14em; }
.navbar-toggler {
  border: none;
  background: var(--sys-primary-mist);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sys-primary);
  font-size: 22px;
  transition: all .2s ease;
  padding: 0;
}
.navbar-toggler:hover { background: rgba(174,42,85,.14); }
.navbar-toggler:focus { box-shadow: none; outline: 3px solid rgba(174,42,85,.3); }
.navbar-actions { display: inline-flex; align-items: center; gap: 10px; }
.header-dl-btn {
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--sys-primary);
  color: #fff;
  border: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  transition: all .2s ease;
}
.header-dl-btn:hover { background: var(--sys-primary-hover); color:#fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(174,42,85,.2);}
.header-dl-btn:active { transform: translateY(0); }
.header-dl-btn:focus-visible { outline: 3px solid rgba(174,42,85,.35); }
.navbar-nav { gap: 4px; }
.navbar-nav .nav-link {
  font-size: 15px;
  color: var(--sys-ink-sub);
  font-weight: 500;
  padding: 8px 16px !important;
  border-radius: 8px;
  white-space: nowrap;
  position: relative;
  transition: color .2s ease, background .2s ease;
}
.navbar-nav .nav-link:hover { color: var(--sys-primary); background: var(--sys-primary-mist); }
.navbar-nav .nav-link:focus-visible { outline: 3px solid rgba(174,42,85,.3); }
.navbar-nav .nav-link.active { color: var(--sys-primary); font-weight: 600; background: var(--sys-primary-mist); }
@media (min-width: 992px) {
  .navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 16px; right: 16px;
    bottom: 2px;
    height: 2px;
    background: var(--sys-primary);
    border-radius: 2px;
  }
}
@media (max-width: 991.98px) {
  .site-header { min-height: 64px; }
  .navbar { min-height: 64px; }
  .navbar-collapse {
    background: var(--sys-surface);
    border-radius: 16px;
    padding: 12px;
    margin-top: 8px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--sys-line);
  }
  .navbar-nav { margin: 8px 0; }
  .navbar-nav .nav-link { padding: 12px 14px !important; }
  .navbar-actions { margin-left: auto; }
  .header-dl-btn .btn-text { display: none; }
}
@media (min-width: 400px) and (max-width: 991.98px) {
  .header-dl-btn .btn-text { display: inline; }
}

/* ============ 通用 Section 标题 ============ */
.section-title-group { margin-bottom: 52px; max-width: 760px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sys-primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before { content:""; width: 26px; height: 2px; background: var(--sys-accent); border-radius: 2px; }
.section-title {
  font-size: 32px;
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: -.01em;
  color: var(--sys-ink);
}
.section-lead {
  font-size: 16px;
  color: var(--sys-ink-sub);
  line-height: 1.8;
  margin: 0;
}
.section-pad { padding: 96px 0; }
.soft-bg { background: var(--sys-surface); border-top: 1px solid var(--sys-line); border-bottom: 1px solid var(--sys-line);}

@media (max-width: 991.98px) { .section-pad { padding: 64px 0; } .section-title { font-size: 28px; } }
@media (max-width: 575.98px) { .section-pad { padding: 48px 0; } .section-title { font-size: 26px; } }

/* ============ 首页 Hero ============ */
.hero-section {
  padding: 84px 0 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--sys-line);
  background:
    radial-gradient(ellipse at 8% 20%, rgba(249,236,241,.6), transparent 46%),
    radial-gradient(ellipse at 95% 70%, rgba(217,142,74,.09), transparent 44%),
    var(--sys-bg);
}
.hero-copy { padding-right: 16px; }
.hero-badge { margin-bottom: 20px; }
.hero-title {
  font-size: 44px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 22px;
  color: var(--sys-ink);
}
.hero-title .highlight {
  color: var(--sys-primary);
  position: relative;
  white-space: nowrap;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.85;
  color: var(--sys-ink-sub);
  margin-bottom: 34px;
  max-width: 540px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 520px;
  margin-top: 46px;
}
.metric-item { border-left: 2px solid var(--sys-line); padding-left: 14px; }
.metric-item strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--sys-primary);
  letter-spacing: -.01em;
}
.metric-item span { font-size: 13px; color: var(--sys-ink-sub); }
.hero-visual { position: relative; }
.hero-visual .main-shot {
  background-image: linear-gradient(120deg, rgba(250,246,241,.12), rgba(174,42,85,.08)), url('/assets/images/backpic/back-1.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  box-shadow: var(--shadow-hover);
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  border: 1px solid rgba(232,223,218,.8);
  position: relative;
  overflow: hidden;
}
.main-shot::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 52%, rgba(43,35,38,.38)); }
.main-shot .shot-caption { position: relative; z-index: 2; color:#fff; }
.main-shot .shot-caption .cap-badge { background: rgba(255,255,255,.18); backdrop-filter: blur(4px); display:inline-block; padding:5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; margin-bottom: 8px;}
.main-shot .shot-caption p { font-size: 17px; font-weight: 600; line-height: 1.4; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.hero-float-card {
  position: absolute;
  right: -10px;
  top: 36px;
  width: 210px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-hover);
  padding: 18px;
  border: 1px solid var(--sys-line);
  animation: float-trn 5s ease-in-out infinite;
}
.hero-float-card .fc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.fc-icon { width: 34px; height: 34px; background: var(--sys-primary-mist); color: var(--sys-primary); border-radius: 10px; display: grid; place-items: center; font-size: 16px; }
.fc-title { font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--sys-ink); margin-bottom: 2px; }
.fc-sub { font-size: 11px; color: var(--sys-ink-sub); }
.hero-float-card .fc-bar { height: 6px; background: var(--sys-line); border-radius: 99px; margin-bottom: 12px; overflow: hidden; }
.fc-bar span { display: block; width: 72%; height: 100%; background: var(--sys-accent); border-radius: 99px; }
.hero-float-card .fc-note { font-size: 12px; color: var(--sys-ink-sub); display: flex; justify-content: space-between; }
.hero-float-card .fc-note strong { color: var(--sys-primary); }
@keyframes float-trn { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 991.98px) {
  .hero-section { padding: 60px 0 48px; }
  .hero-title { font-size: 34px; }
  .hero-visual { margin-top: 48px; }
  .hero-visual .main-shot { min-height: 320px; }
  .hero-float-card {display: none;}
}
@media (max-width: 575.98px) {
  .hero-title { font-size: 32px; }
  .hero-actions .btn-main, .hero-actions .btn-line { width: 100%; }
  .hero-metrics { grid-template-columns: repeat(3,1fr); gap: 10px; }
  .metric-item strong { font-size: 18px; }
  .hero-visual .main-shot { min-height: 220px;}
}

/* ============ 核心能力 Bento ============ */
.feat-card {
  background: var(--sys-surface);
  border: 1px solid var(--sys-line);
  border-radius: var(--r-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(174,42,85,.45);
}
.feat-card .fc-icon-xl {
  width: 46px; height: 46px;
  background: var(--sys-primary-mist);
  color: var(--sys-primary);
  border-radius: 13px;
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feat-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.feat-card p { color: var(--sys-ink-sub); font-size: 15px; line-height: 1.75; margin-bottom: 0; }
.feat-card .more-link { display: inline-block; margin-top: 16px; font-size: 14px; color: var(--sys-primary); font-weight: 600; transition: all .2s ease; }
.feat-card .more-link i { transition: transform .2s ease; display:inline-block;}
.feat-card .more-link:hover { color: var(--sys-primary-hover); }
.feat-card .more-link:hover i { transform: translateX(4px); }
.feat-card--wide { grid-column: span 2; }
.feat-card--mist { background: linear-gradient(135deg, var(--sys-primary-mist), #fff); }
.feat-card--mist h3, .feat-card--mist .fc-icon-xl { color: var(--sys-primary);}

/* ============ 内容日历 ============ */
.calendar-bg { background: var(--sys-surface); border-top: 1px solid var(--sys-line); border-bottom: 1px solid var(--sys-line);}
.calendar-wrap { background: #fff; border-radius: 20px; border: 1px solid var(--sys-line); box-shadow: var(--shadow-card); padding: 30px; }
.calendar-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}
.calendar-panel-head .week-pill { background: var(--sys-base, #FAF6F1); border: 1px solid var(--sys-line); padding: 7px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--sys-ink); }
.calendar-panel-head .cal-legend { color: var(--sys-ink-sub); font-size: 13px; }
.calendar-gallery { overflow-x: auto; padding-bottom: 4px; }
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(150px, 1fr));
  gap: 12px;
  min-width: 1080px;
}
.cal-day {
  border: 1px solid var(--sys-line);
  border-radius: 14px;
  padding: 14px;
  background: var(--sys-bg);
  position: relative;
  min-height: 150px;
  transition: border-color .2s, box-shadow .2s;
}
.cal-day:hover { border-color: var(--sys-primary); box-shadow: var(--shadow-card); }
.cal-day .d-label { font-size: 13px; font-weight: 600; color: var(--sys-ink-sub); display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-day .d-label .pause { color: var(--sys-ink-sub); font-size: 12px; }
.cal-day .task { font-size: 13px; line-height: 1.5; padding: 7px 10px; border-radius: 10px; background: #fff; color: var(--sys-ink); margin-bottom: 6px; box-shadow: 0 1px 3px rgba(43,35,38,.04); border-left: 3px solid var(--sys-primary); }
.cal-day .task.accent { border-left-color: var(--sys-accent); }
.cal-day .task.ghost { opacity: .65; font-size: 12px; }
@media (max-width: 767.98px) { .calendar-wrap { padding: 20px; } }

/* ============ 热门专题 ============ */
.topic-card {
  background: var(--sys-surface);
  border: 1px solid var(--sys-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s, border-color .2s;
}
.topic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(174,42,85,.4); }
.topic-card .topic-img {
  height: 210px;
  overflow: hidden;
  position: relative;
}
.topic-card .topic-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.topic-card:hover .topic-img img { transform: scale(1.03); }
.topic-card .topic-img .tag { position: absolute; left: 12px; top: 12px; background: rgba(43,35,38,.62); backdrop-filter: blur(4px); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; }
.topic-card .topic-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.topic-card h3 { font-size: 18px; font-weight: 600; line-height: 1.45; margin-bottom: 8px; }
.topic-card p { color: var(--sys-ink-sub); font-size: 14px; line-height: 1.75; margin-bottom: 16px; flex: 1; }
.topic-meta { color: var(--sys-ink-sub); font-size: 13px; }

/* ============ 数据看板 ============ */
.stats-section {
  background: linear-gradient(100deg, #2B2326 0%, #3A1D2C 100%);
  padding: 76px 0;
  color: #fff;
  overflow: hidden;
}
.stats-section .kicker { color: #F2B4C9; font-weight:600; font-size:14px; letter-spacing:.1em; }
.stats-section .stats-title { color:#fff; font-size: 30px; font-weight: 700; margin: 10px 0 0; }
.stats-section .stats-sub { color: rgba(255,255,255,.65); font-size: 15px; margin-top: 12px; max-width: 620px;}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 44px; }
.stat-block {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  padding: 30px 22px;
  text-align: center;
  backdrop-filter: blur(4px);
}
.stat-block .num {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  background: linear-gradient(120deg, #f9ecf1 10%, #e0a3b9 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.stat-block .label { color: rgba(255,255,255,.7); font-size: 14px; margin-top: 6px; }
@media (max-width: 767.98px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
  .stat-block { padding: 22px 12px; }
  .stat-block .num { font-size: 32px; }
  .stats-section .stats-title { font-size: 25px; }
}

/* ============ 资讯与更新 ============ */
.news-row .news-list { background: var(--sys-surface); border: 1px solid var(--sys-line); border-radius: var(--r-lg); box-shadow: var(--shadow-card); overflow: hidden; }
.news-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--sys-line);
  transition: background .2s ease;
}
.news-list-item:last-child { border-bottom: none; }
.news-list-item:hover { background: var(--sys-base, #FAF6F1); }
.news-list-item .n-date { flex-shrink: 0; width: 68px; text-align:center; border-right:1px solid var(--sys-line); margin-right: 4px; padding-right: 8px; }
.news-list-item .n-date strong { display:block; font-size: 20px; line-height:1.1; color:var(--sys-primary); font-weight:800;}
.news-list-item .n-date span { font-size:12px; color:var(--sys-ink-sub); }
.news-list-item .n-title { flex:1; font-size:15px; line-height:1.5; font-weight:500; color:var(--sys-ink); overflow:hidden; }
.news-list-item:hover .n-title { color:var(--sys-primary); }
.news-list-item .n-meta { font-size:12px; color:var(--sys-ink-sub); flex-shrink:0; text-align:right; }
@media (max-width: 575.98px) {
  .news-list-item .n-meta { display:none; }
  .news-list-item .n-date { width: 56px; }
}

.side-card { background: var(--sys-surface); border:1px solid var(--sys-line); box-shadow: var(--shadow-card); border-radius: var(--r-lg); padding: 24px; margin-bottom: 22px; }
.side-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 16px; position: relative; padding-bottom: 12px; }
.side-card h4::after { content:""; position:absolute; left:0; bottom:0; width: 28px; height:2px; background: var(--sys-primary); border-radius:2px; }
.popular-list li { display:flex; align-items:baseline; gap:12px; padding: 11px 0; border-bottom:1px dashed var(--sys-line); }
.popular-list li:last-child { border-bottom:none; }
.popular-list .idx { font-size: 16px; font-weight:800; color:var(--sys-accent); }
.popular-list a { color:var(--sys-ink); font-size:14px; line-height:1.45; transition: color .15s; }
.popular-list a:hover { color: var(--sys-primary); }
.sub-card .mail-form { display:flex; gap:8px; margin-top: 10px; }
.sub-card .mail-form input {
  flex:1; min-width:0; border-radius:10px;
  border:1px solid var(--sys-line);
  background:var(--sys-bg);
  padding:0 14px; font-size:14px;
  transition: .2s;
}
.sub-card .mail-form input:focus { border-color:var(--sys-primary); box-shadow: 0 0 0 3px rgba(174,42,85,.15); }
.side-cta-i { background:var(--sys-primary-mist); border: none; padding: 26px 22px; }
.side-cta-i h4 { color: var(--sys-primary); }
.side-cta-i p { font-size: 13px; color: var(--sys-ink-sub); }
.side-cta-i .btn-main { width: 100%; }

/* ============ 使用指南 ============ */
.guide-steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.guide-step {
  background: var(--sys-surface);
  border: 1px solid var(--sys-line);
  border-radius: var(--r-lg);
  padding: 30px 24px 26px;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s;
  counter-increment: step;
}
.guide-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(217,142,74,.45); }
.guide-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  right: 22px; top: 20px;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: var(--sys-primary-mist);
  z-index: 1;
}
.guide-step .s-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--sys-accent); color:#fff; font-size: 22px; display:flex; align-items:center; justify-content:center; margin-bottom: 20px;}
.guide-step h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; position: relative; z-index: 2;}
.guide-step p { color: var(--sys-ink-sub); font-size: 14px; line-height:1.7; }
@media (max-width: 991.98px) {
  .guide-steps { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 575.98px) {
  .guide-steps { grid-template-columns: 1fr; }
}

/* ============ 客户证言 ============ */
.testimonial-card {
  background: var(--sys-surface);
  border: 1px solid var(--sys-line);
  border-radius: var(--r-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
  height: 100%;
  transition: transform .2s, box-shadow .2s;
  margin-top: 16px;
  margin-bottom: 16px;
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.testimonial-card.mid { margin-top: 0; margin-bottom: 0; }
.testimonial-card .stars { color: var(--sys-star); font-size: 16px; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-card blockquote { font-size: 15px; line-height: 1.85; color: var(--sys-ink-sub); margin: 0 0 20px; border: none; padding: 0; }
.testimonial-card .person { display: flex; align-items: center; gap: 12px; }
.testimonial-card .avatar { width: 44px; height:44px; border-radius: 50%; background: var(--sys-primary-mist); color: var(--sys-primary); display: flex; align-items:center; justify-content:center; font-weight:700; font-size:16px;}
.testimonial-card .person-name { font-size: 15px; font-weight:600; }
.testimonial-card .person-role { font-size: 13px; color: var(--sys-ink-sub); }
@media (max-width: 767.98px) {
  .testimonial-card.mid { margin-top: 16px; margin-bottom: 16px; }
}

/* ============ FAQ ============ */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-wrap .accordion {
  border-radius: var(--r-lg);
  overflow: hidden;
}
.faq-wrap .accordion-item {
  border: none;
  border-bottom: 1px solid var(--sys-line);
  background: transparent;
}
.faq-wrap .accordion-item:last-child { border-bottom: none; }
.faq-wrap .accordion-button {
  background: transparent;
  border: none;
  box-shadow: none;
  color: var(--sys-ink);
  font-size: 17px;
  font-weight: 600;
  padding: 24px 44px 24px 4px;
  line-height: 1.5;
  transition: color .2s;
  position: relative;
}
.faq-wrap .accordion-button::after {
  background-image: none;
  content: "\F64D";
  font-family: 'bootstrap-icons';
  font-size: 22px;
  position: absolute;
  right: 8px;
  top: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sys-primary);
  transform: translateY(-50%) rotate(0);
  transition: transform .25s ease, color .2s;
  line-height: 1;
}
.faq-wrap .accordion-button:not(.collapsed)::after { transform: translateY(-50%) rotate(180deg); }
.faq-wrap .accordion-button:not(.collapsed) { color: var(--sys-primary); background: transparent; box-shadow: none; }
.faq-wrap .accordion-button:hover { color: var(--sys-primary); }
.faq-wrap .accordion-button:focus { box-shadow: none; outline: 3px solid rgba(174,42,85,.25); }
.faq-wrap .accordion-body { padding: 0 36px 24px 4px; color: var(--sys-ink-sub); font-size: 15px; line-height: 1.9; }

/* ============ CTA 终段 ============ */
.cta-final {
  background: linear-gradient(115deg, #2B2326 0%, #451D31 55%, #55304A 100%);
  color: #fff;
  padding: 76px 0;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(217,142,74,.2), transparent 65%);
  top: -160px; right: -80px;
  border-radius: 50%;
}
.cta-final .cta-title { font-size: 32px; font-weight: 700; color:#fff; line-height: 1.35; }
.cta-final .cta-sub { font-size: 16px; color: rgba(255,255,255,.65); margin: 14px auto 32px; max-width: 540px; line-height: 1.8; }
.cta-badges { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-badges span { color: rgba(255,255,255,.65); font-size: 13px; display:inline-flex; align-items:center; gap:6px; }
.cta-badges span i { color: var(--sys-star); }
@media (max-width: 575.98px) { .cta-final .cta-title { font-size: 26px; } }

/* ============ 页脚 ============ */
.site-footer {
  background: #1E1A1C;
  color: #C9BFC4;
  padding: 64px 0 0;
  font-size: 14px;
}
.site-footer h5 { color:#fff; font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.site-footer a { color: rgba(255,255,255,.62); transition: all .2s ease; }
.site-footer a:hover { color:#fff; text-decoration: none; }
.footer-brand .logo-txt { font-size: 24px; font-weight: 700; color:#fff; display: inline-flex; align-items:center; gap:10px; margin-bottom: 12px;}
.footer-brand p { line-height:1.8; font-size: 14px; color: rgba(255,255,255,.55); }
.footer-nav-links li { margin-bottom: 10px; }
.footer-nav-links li a { display: inline-flex; align-items: center; gap: 6px; }
.footer-nav-links li a::before { content: "›"; color: var(--sys-accent); font-weight: 700; }
.footer-contact li { margin-bottom: 12px; display:flex; gap: 10px; color: rgba(255,255,255,.55); }
.footer-contact li i { color: var(--sys-accent); margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 40px;
  padding: 18px 0;
  color: rgba(255,255,255,.38);
  font-size: 13px;
}
.footer-social a {
  display:inline-flex;align-items:center;justify-content:center;
  width:34px;height:34px;margin-right:8px;
  background: rgba(255,255,255,.04);
  color: #fff !important;
  border-radius: 50%;
  font-size: 15px;
  transition: all .2s;
}
.footer-social a:hover { background: var(--sys-primary); transform: translateY(-2px); }

/* roulang page: category1 */
:root {
  --sys-primary: #AE2A55;
  --sys-primary-hover: #8E1E45;
  --sys-primary-active: #761836;
  --sys-primary-mist: #F9ECF1;
  --sys-accent: #D98E4A;
  --sys-accent-hover: #C67B36;
  --sys-bg: #FAF6F1;
  --sys-surface: #FFFFFF;
  --sys-ink: #2B2326;
  --sys-ink-sub: #6E6368;
  --sys-line: #E8DFDA;
  --sys-success: #2F9E6F;
  --sys-warning: #D97706;
  --sys-danger: #C0272D;
  --sys-star: #F2A93B;
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;
  --shadow-card: 0 2px 8px rgba(43,35,38,.05), 0 8px 24px rgba(43,35,38,.06);
  --shadow-hover: 0 4px 16px rgba(43,35,38,.09), 0 14px 36px rgba(43,35,38,.10);
  --shadow-nav: 0 2px 12px rgba(43,35,38,.08);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonicOS Sans SC", "Microsoft YaHei", "system-ui", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background-color: var(--sys-bg);
  color: var(--sys-ink);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
select,
textarea {
  font-family: inherit;
  outline: none;
}

.container-lg,
.container {
  max-width: 1200px;
}

section {
  position: relative;
}

/* ========== 通用按钮 ========== */
.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--sys-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  border: 2px solid transparent;
  border-radius: var(--r-md);
  padding: 12px 28px;
  white-space: nowrap;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
  box-shadow: none;
}

.btn-main:hover {
  background: var(--sys-primary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(174,42,85,.22);
}

.btn-main:active {
  background: var(--sys-primary-active);
  transform: translateY(0);
  box-shadow: none;
}

.btn-main:focus-visible {
  outline: 3px solid rgba(174,42,85,.35);
  outline-offset: 2px;
}

.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: var(--sys-primary);
  font-size: 16px;
  font-weight: 600;
  border: 2px solid var(--sys-primary);
  border-radius: var(--r-md);
  padding: 11px 28px;
  white-space: nowrap;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
}

.btn-line:hover {
  background: var(--sys-primary-mist);
  color: var(--sys-primary);
  transform: translateY(-2px);
}

.btn-line:active {
  background: var(--sys-primary-mist);
  color: var(--sys-primary);
  transform: translateY(0);
}

.btn-line:focus-visible {
  outline: 3px solid rgba(174,42,85,.35);
  outline-offset: 2px;
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--sys-accent);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 16px 36px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(217,142,74,.25);
  transition: all .2s ease;
  text-decoration: none;
}

.btn-accent:hover {
  background: var(--sys-accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(217,142,74,.32);
}

.btn-accent:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(217,142,74,.2);
}

.btn-accent:focus-visible {
  outline: 3px solid rgba(217,142,74,.38);
  outline-offset: 2px;
}

.btn-sm-soft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sys-primary-mist);
  color: var(--sys-primary);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  transition: all .2s ease;
  border: 1px solid transparent;
}

.btn-sm-soft:hover {
  background: rgba(174,42,85,.12);
  color: var(--sys-primary);
}

.btn-sm-soft:active {
  transform: translateY(1px);
}

.btn-sm-soft:focus-visible {
  outline: 3px solid rgba(174,42,85,.28);
}

/* ========== 徽章 ========== */
.badge-soft {
  display: inline-block;
  background: var(--sys-primary-mist);
  color: var(--sys-primary);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: .02em;
}

.badge-soft .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sys-primary);
  margin-right: 8px;
  vertical-align: 2px;
}

/* ========== 顶部导航 ========== */
.site-header {
  background: rgba(250,246,241,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1080;
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.site-header.scrolled {
  background: rgba(250,246,241,.95);
  border-color: var(--sys-line);
  box-shadow: var(--shadow-nav);
}

.navbar {
  padding: 0;
  min-height: 72px;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 22px;
  color: var(--sys-ink);
  letter-spacing: .02em;
  padding: 0;
  margin: 0;
}

.navbar-brand:hover {
  color: var(--sys-primary);
}

.navbar-brand svg {
  display: block;
}

.brand-name {
  line-height: 1.2;
}

.brand-name .sub {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--sys-ink-sub);
  letter-spacing: .14em;
}

.navbar-toggler {
  border: none;
  background: var(--sys-primary-mist);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sys-primary);
  font-size: 22px;
  transition: all .2s ease;
  padding: 0;
}

.navbar-toggler:hover {
  background: rgba(174,42,85,.14);
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: 3px solid rgba(174,42,85,.3);
}

.navbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-dl-btn {
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--sys-primary);
  color: #fff !important;
  border: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  transition: all .2s ease;
}

.header-dl-btn:hover {
  background: var(--sys-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(174,42,85,.2);
}

.header-dl-btn:focus-visible {
  outline: 3px solid rgba(174,42,85,.35);
  outline-offset: 2px;
}

.navbar-nav .nav-link {
  color: var(--sys-ink-sub);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 18px !important;
  border-radius: 10px;
  transition: color .2s ease, background .2s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--sys-primary);
  background: var(--sys-primary-mist);
}

.navbar-nav .nav-link.active {
  color: var(--sys-primary) !important;
  font-weight: 700;
  background: rgba(174,42,85,.08);
}

.navbar-nav .nav-link:focus-visible {
  outline: 3px solid rgba(174,42,85,.30);
  outline-offset: 2px;
}

/* ========== 面包屑 ========== */
.breadcrumb-wrap {
  border-bottom: 1px solid var(--sys-line);
  background: rgba(255,255,255,.55);
}

.breadcrumb-custom {
  padding: 14px 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--sys-ink-sub);
}

.breadcrumb-custom li + li::before {
  content: "/";
  margin-right: 8px;
  color: #B8AEA9;
}

.breadcrumb-custom a {
  color: var(--sys-ink-sub);
  transition: color .2s ease;
}

.breadcrumb-custom a:hover {
  color: var(--sys-primary);
}

.breadcrumb-custom a:focus-visible {
  outline: 3px solid rgba(174,42,85,.3);
  border-radius: 4px;
}

.breadcrumb-custom .current {
  color: var(--sys-ink);
  font-weight: 600;
}

/* ========== 分类标题区 ========== */
.category-hero {
  padding: 80px 0 56px;
  background:
    linear-gradient(120deg, rgba(250,246,241,.96) 0%, rgba(249,236,241,.74) 60%, rgba(250,246,241,.92) 100%),
    url('/assets/images/backpic/back-1.jpg') center/cover no-repeat;
  border-bottom: 1px solid var(--sys-line);
}

.category-hero .cat-sub {
  font-size: 15px;
  color: var(--sys-ink-sub);
  max-width: 760px;
}

.category-hero h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 18px 0 16px;
  max-width: 900px;
}

.category-hero .lead-category {
  font-size: 17px;
  line-height: 1.8;
  color: var(--sys-ink-sub);
  max-width: 830px;
  margin-bottom: 24px;
}

.cat-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.cat-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.cat-stat-row .stat-card {
  background: rgba(255,255,255,.75);
  border: 1px solid var(--sys-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 14px 24px;
  text-align: center;
  min-width: 150px;
}

.cat-stat-row .stat-card strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--sys-primary);
  line-height: 1.1;
}

.cat-stat-row .stat-card span {
  font-size: 13px;
  color: var(--sys-ink-sub);
}

/* ========== 板块标题 ========== */
.section-head {
  margin-bottom: 44px;
}

.section-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--sys-primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--sys-ink-sub);
  margin: 0 auto;
  max-width: 760px;
}

/* ========== 分类资源卡片 ========== */
.resource-section {
  padding: 88px 0 40px;
}

.resource-section + .resource-section {
  padding-top: 48px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.resource-card {
  position: relative;
  background: var(--sys-surface);
  border: 1px solid var(--sys-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(174,42,85,.4);
}

.resource-card:focus-within {
  outline: 3px solid rgba(174,42,85,.3);
  outline-offset: 2px;
  border-radius: var(--r-lg);
}

.resource-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--sys-primary-mist);
}

.resource-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.resource-card:hover .resource-thumb img {
  transform: scale(1.04);
}

.resource-card .tag-group {
  position: absolute;
  left: 14px;
  top: 14px;
}

.resource-tag {
  display: inline-block;
  background: rgba(43,35,38,.72);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.resource-body {
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.resource-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--sys-ink);
}

.resource-body p {
  color: var(--sys-ink-sub);
  font-size: 15px;
  line-height: 1.7;
  padding: 0;
  margin-bottom: 18px;
}

.resource-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--sys-line);
  padding-top: 16px;
  margin-top: auto;
  font-size: 13px;
  color: var(--sys-ink-sub);
}

.resource-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--sys-primary);
  font-size: 14px;
  font-weight: 600;
  transition: gap .2s ease, color .2s ease;
}

.resource-more:hover {
  color: var(--sys-primary-hover);
  gap: 8px;
}

.resource-more:focus-visible {
  outline: 3px solid rgba(174,42,85,.3);
  border-radius: 4px;
}

/* ========== 热门专题区 ========== */
.topic-split-section {
  background: var(--sys-surface);
  border-top: 1px solid var(--sys-line);
  border-bottom: 1px solid var(--sys-line);
  padding: 88px 0;
}

.topic-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 100%;
  min-height: 320px;
}

.topic-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.topic-media:hover img {
  transform: scale(1.02);
}

.topic-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.topic-list li {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--sys-line);
}

.topic-list li:last-child {
  border-bottom: 0;
}

.topic-list .num {
  font-size: 26px;
  font-weight: 800;
  color: rgba(174,42,85,.35);
  line-height: 1;
  letter-spacing: -.02em;
  width: 40px;
  flex-shrink: 0;
}

.topic-list h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--sys-ink);
}

.topic-list p {
  font-size: 15px;
  color: var(--sys-ink-sub);
  margin-bottom: 8px;
}

.topic-list .topic-label {
  display: inline-block;
  background: var(--sys-primary-mist);
  color: var(--sys-primary);
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  padding: 2px 10px;
}

/* ========== 资源更新快报 ========== */
.update-strip-section {
  padding: 88px 0 60px;
}

.update-row {
  display: flex;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--sys-line);
  align-items: flex-start;
}

.update-row:last-child {
  border-bottom: 0;
}

.update-date {
  font-size: 14px;
  font-weight: 500;
  color: var(--sys-ink-sub);
  width: 106px;
  flex-shrink: 0;
  line-height: 1.6;
}

.update-date span {
  display: block;
  font-size: 12px;
  color: var(--sys-accent);
  font-weight: 600;
  margin-top: 2px;
}

.update-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.update-body p {
  color: var(--sys-ink-sub);
  font-size: 15px;
  margin-bottom: 10px;
  margin-top: 4px;
}

.update-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.update-labels span {
  background: rgba(217,142,74,.14);
  color: var(--sys-accent-hover);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 999px;
}

/* ========== FAQ ========== */
.faq-section {
  padding: 88px 0 60px;
  background: var(--sys-surface);
  border-top: 1px solid var(--sys-line);
}

.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--sys-line);
}

.faq-item:first-of-type {
  border-top: 1px solid var(--sys-line);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 20px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  color: var(--sys-ink);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s ease;
}

.faq-question:hover {
  color: var(--sys-primary);
}

.faq-question:focus-visible {
  outline: 3px solid rgba(174,42,85,.32);
  border-radius: 8px;
}

.faq-question .bi-chevron-down {
  color: var(--sys-ink-sub);
  font-size: 18px;
  transition: transform .3s ease, color .2s ease;
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .bi-chevron-down {
  transform: rotate(180deg);
  color: var(--sys-primary);
}

.faq-question[aria-expanded="true"] {
  color: var(--sys-primary);
}

.faq-answer {
  padding: 0 4px 22px;
  color: var(--sys-ink-sub);
  font-size: 15px;
  line-height: 1.8;
  max-width: 780px;
}

.faq-answer p {
  margin-bottom: 10px;
}

/* ========== CTA 横幅 ========== */
.cta-section {
  background: linear-gradient(135deg, #2B2326 0%, #4A2A36 100%);
  padding: 80px 0;
  color: #fff;
  text-align: center;
}

.cta-section h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,.78);
  max-width: 650px;
  margin: 0 auto 32px;
  font-size: 16px;
}

.cta-section .cta-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.cta-section .cta-badges span {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.92);
  font-size: 13px;
  font-weight: 500;
  border-radius: 999px;
  padding: 6px 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ========== 页脚 ========== */
.site-footer {
  background: #2B2326;
  color: rgba(255,255,255,.78);
  padding-top: 72px;
  font-size: 15px;
}

.site-footer h5 {
  color: #F8F2F4;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.8);
  font-size: 18px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.footer-social a:hover {
  background: var(--sys-primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-social a:focus-visible {
  outline: 3px solid rgba(255,255,255,.3);
  outline-offset: 2px;
}

.footer-nav-links {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}

.footer-nav-links li {
  margin-bottom: 8px;
}

.footer-nav-links a,
.site-footer .footer-bottom a {
  color: rgba(255,255,255,.7);
  transition: color .2s ease, padding-left .2s ease;
}

.footer-nav-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  color: rgba(255,255,255,.72);
}

.footer-contact i {
  color: var(--sys-primary);
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 48px;
  padding: 20px 0 26px;
  font-size: 14px;
  color: rgba(255,255,255,.56);
}

.site-footer .footer-bottom a:hover {
  color: #fff;
}

/* ========== 响应式 ========== */
@media (max-width: 1199.98px) {
  .resource-grid {
    gap: 22px;
  }
}

@media (max-width: 991.98px) {
  .category-hero {
    padding: 64px 0 44px;
  }

  .category-hero h1 {
    font-size: 36px;
  }

  .navbar-collapse {
    background: #fff;
    border: 1px solid var(--sys-line);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    padding: 14px;
    margin-top: 12px;
  }

  .navbar-nav .nav-link {
    text-align: center;
  }

  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    padding-top: 56px;
  }
}

@media (max-width: 767.98px) {
  .category-hero {
    padding: 48px 0 36px;
  }

  .category-hero h1 {
    font-size: 32px;
  }

  .category-hero .lead-category {
    font-size: 16px;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .resource-section {
    padding: 60px 0 24px;
  }

  .topic-split-section,
  .update-strip-section,
  .faq-section {
    padding: 60px 0 36px;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .resource-thumb {
    aspect-ratio: 16/9;
  }

  .update-row {
    flex-direction: column;
    gap: 10px;
    padding: 22px 0;
  }

  .update-date {
    width: auto;
    font-size: 13px;
  }

  .cta-section h2 {
    font-size: 28px;
  }

  .update-date span {
    display: inline-block;
    margin-left: 8px;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 20px;
  }

  .header-dl-btn .btn-text {
    display: none;
  }

  .header-dl-btn {
    width: 44px;
    padding: 0;
    justify-content: center;
  }

  .cat-stat-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cat-stat-row .stat-card {
    min-width: 0;
  }

  .cat-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cat-hero-actions .btn-main,
  .cat-hero-actions .btn-line {
    width: 100%;
  }

  .breadcrumb-custom {
    font-size: 13px;
  }

  body {
    font-size: 15px;
  }
}

/* roulang: framework shim */
/* 覆盖 Bootstrap 等对 a/btn 的全局默认，避免导航出现下划线/蓝链 */
.site-header a,.site-header a:hover,.navbar a,.navbar a:hover,.nav-links a,.nav-links a:hover,header nav a,header nav a:hover{text-decoration:none}
.site-header .btn,.navbar .btn,.nav-cta{text-decoration:none}
