/* ========================================
   电务信号小栈 · 全局样式
   Color: 铁路蓝 #1A3A5C | 暖橙 #E67E22 | 灰 #6B7280
   Font: 思源黑体 / Source Han Sans SC
   ======================================== */

:root {
  --primary: #1A3A5C;
  --primary-light: #2D5F8A;
  --primary-bg: #E8F0F8;
  --primary-border: #C5D5E8;
  --accent: #E67E22;
  --accent-green: #27AE60;
  --accent-red: #C0392B;
  --accent-yellow: #F39C12;
  --warm-bg: #FDF8F0;
  --gray-900: #1F2937;
  --gray-700: #3A3F47;
  --gray-500: #6B7280;
  --text-muted: #6B7280;
  --gray-300: #D1D5DB;
  --gray-100: #F3F4F6;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --transition: 0.2s ease;
  --nav-height: 64px;
  --footer-height: 60px;
}

* { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "思源黑体", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--gray-700);
  background: #F5F3EF;
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }

img { max-width: 100%; height: auto; }

ul, ol { list-style: none; }

/* ====== 顶部导航 ====== */
.top-nav {
  background: var(--primary);
  color: var(--white);
  height: var(--nav-height);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.15rem; font-weight: 700;
  color: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-brand:hover,
.nav-brand.active {
  color: var(--white);
  background: rgba(255,255,255,0.15);
}
.nav-brand .brand-icon { font-size: 1.4rem; }
.nav-brand .brand-logo { width: 42px; height: 42px; border-radius: 0; object-fit: cover; }

/* Hero 大 logo */
.hero-logo { display: block; width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 16px; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  color: rgba(255,255,255,0.82);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.15);
}

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  background: none; border: none;
  color: var(--white); font-size: 1.5rem;
  cursor: pointer;
  padding: 6px;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 10px 24px 20px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ====== 页面容器 ====== */
.page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
  flex: 1;
}

/* ====== 通用区块 ====== */
.section { margin-bottom: 40px; }
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  border-left: 4px solid var(--accent);
  padding-left: 14px;
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.section-title .num {
  display: inline-flex;
  width: 32px; height: 32px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  align-items: center; justify-content: center;
  font-size: 0.95rem; font-weight: 700;
  flex-shrink: 0;
}

/* ====== 卡片网格 ====== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ====== 卡片 ====== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.card-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.card-icon { font-size: 1.4rem; flex-shrink: 0; }
.card-title {
  font-size: 1.05rem; font-weight: 700;
  color: var(--primary);
}
.card-body { font-size: 0.92rem; color: var(--gray-500); line-height: 1.65; }
.card-footer {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--gray-100);
  font-size: 0.85rem; color: var(--gray-500);
}
.card-link {
  color: var(--primary-light); font-weight: 600;
}
.card-link:hover { text-decoration: underline; }
/* 小程序序号徽章 */
.app-num {
  position: absolute; top: 10px; right: 10px;
  min-width: 26px; height: 26px; padding: 0 6px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white); font-size: .78rem; font-weight: 700;
  border-radius: 999px; box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}

/* ====== 功能模块卡片 ====== */
.mod-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  border-top: 3px solid var(--accent);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}
.mod-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.mod-card .mod-num {
  font-size: 0.75rem; color: var(--accent); font-weight: 700;
  letter-spacing: 1px; margin-bottom: 4px;
}
.mod-card .mod-name {
  font-size: 1rem; font-weight: 700; color: var(--primary);
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.mod-card .mod-subs {
  font-size: 0.84rem; color: var(--gray-500); margin-bottom: 8px;
}
.mod-card .mod-features {
  font-size: 0.8rem; color: var(--gray-500);
  border-top: 1px dashed var(--gray-300);
  padding-top: 8px;
}

/* ====== Hero 区域 ====== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1A5276 40%, #1A3A5C 100%);
  color: var(--white);
  padding: 32px 24px 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    90deg, transparent, transparent 40px,
    rgba(255,255,255,0.03) 40px, rgba(255,255,255,0.03) 80px
  );
}
.hero h1 { font-size: 2.4rem; font-weight: 700; margin-bottom: 12px; position: relative; letter-spacing: 2px; }
.hero p { font-size: 1.15rem; opacity: 0.90; max-width: 680px; margin: 0 auto; position: relative; }
.hero .hero-tags {
  margin-top: 20px; display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap; position: relative;
}
.hero .hero-tags a {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 18px; border-radius: 20px; font-size: 0.88rem;
  color: #fff; text-decoration: none; cursor: pointer;
  min-width: 132px; text-align: center; box-sizing: border-box;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.hero .hero-tags a:hover {
  background: rgba(255,255,255,0.28);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-1px);
}
.hero .hero-tags a:active { transform: translateY(0); }

/* ====== 面包屑 ====== */
.breadcrumb {
  font-size: 0.85rem; color: var(--gray-500);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 8px; }

/* ====== 搜索框 ====== */
.search-box {
  display: flex; gap: 10px; margin-bottom: 28px;
}
.search-box input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.95rem; font-family: inherit;
  outline: none; transition: border-color var(--transition);
}
.search-box input:focus { border-color: var(--accent); }
.search-box button {
  background: var(--primary);
  color: var(--white); border: none;
  padding: 12px 24px; border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 600; cursor: pointer;
  transition: background var(--transition);
}
.search-box button:hover { background: var(--primary-light); }

/* ====== 内容列表 ====== */
.content-list { display: flex; flex-direction: column; gap: 14px; }
.content-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px 24px;
  display: flex; align-items: flex-start; gap: 16px;
  transition: transform var(--transition);
  cursor: pointer;
}
.content-item:hover { transform: translateX(4px); }
.content-item .item-icon {
  font-size: 1.6rem; flex-shrink: 0; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--warm-bg); border-radius: var(--radius-sm);
}
.content-item .item-body { flex: 1; }
.content-item .item-title { font-weight: 700; font-size: 1rem; color: var(--primary); margin-bottom: 4px; }
.content-item .item-desc { font-size: 0.88rem; color: var(--gray-500); }
.content-item .item-meta {
  display: flex; gap: 14px; margin-top: 6px;
  font-size: 0.78rem; color: var(--gray-500);
}

/* ====== 标签 ====== */
.tag {
  display: inline-block;
  background: var(--warm-bg);
  color: var(--primary-light);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.78rem; font-weight: 600;
}
.tag-group { display: flex; flex-wrap: wrap; gap: 8px; }

/* ====== 语音播放按钮 ====== */
.voice-btn {
  background: none; border: 1.5px solid var(--primary-light);
  color: var(--primary-light); padding: 6px 14px;
  border-radius: 20px; font-size: 0.82rem; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all var(--transition);
}
.voice-btn:hover { background: var(--primary-bg); }
.voice-btn.playing {
  background: var(--accent); color: var(--white); border-color: var(--accent);
}

/* ====== 案例详情 ====== */
.case-detail { max-width: 800px; margin: 0 auto; }
.case-detail .case-header {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px; margin-bottom: 24px;
}
.case-detail .case-title { font-size: 1.4rem; font-weight: 700; color: var(--primary); }
.case-steps { margin-bottom: 24px; }
.case-steps .step {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 24px; margin-bottom: 14px;
  border-left: 4px solid var(--accent);
}
.case-steps .step-title {
  font-weight: 700; font-size: 1rem; color: var(--primary);
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 10px;
}
.case-steps .step-content { font-size: 0.9rem; color: var(--gray-500); line-height: 1.7; }

/* ====== 表格 ====== */
.data-table {
  width: 100%; border-collapse: collapse;
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.data-table th {
  background: var(--primary); color: var(--white);
  padding: 14px 16px; text-align: left; font-weight: 600; font-size: 0.9rem;
}
.data-table td {
  padding: 12px 16px; border-bottom: 1px solid var(--gray-100);
  font-size: 0.9rem;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--warm-bg); }

/* ====== 表单 ====== */
.form-group { margin-bottom: 18px; }
/* ====== 弹层 ====== */
.modal-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 100;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-box {
  background: var(--white); border-radius: var(--radius-lg); padding: 22px;
  width: 100%; max-width: 460px; max-height: 86vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal-box h3 { color: var(--primary); margin-bottom: 14px; }
.podcast-audio { width: 100%; margin-top: 6px; height: 34px; }
.form-group label {
  display: block; font-weight: 600; color: var(--primary);
  margin-bottom: 6px; font-size: 0.92rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 10px 14px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.92rem; font-family: inherit;
  outline: none; transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }
.form-group textarea { min-height: 120px; resize: vertical; }
.btn {
  background: var(--primary);
  color: var(--white); border: none;
  padding: 10px 24px; border-radius: var(--radius-sm);
  font-size: 0.95rem; font-weight: 600; cursor: pointer;
  transition: background var(--transition);
}
.btn:hover { background: var(--primary-light); }
.btn-outline {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary-bg); }

/* ====== AI 助手浮动按钮 ====== */
.ai-assistant {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 999;
}
.ai-trigger {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(230,126,34,0.4);
  transition: transform var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.ai-trigger:hover { transform: scale(1.08); }
.ai-panel {
  position: absolute; bottom: 68px; right: 0;
  width: 340px; max-height: 480px;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: none; flex-direction: column;
  overflow: hidden;
}
.ai-panel.open { display: flex; }
.ai-panel .ai-header {
  background: var(--primary); color: var(--white);
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; font-size: 0.95rem;
}
.ai-panel .ai-close {
  background: none; border: none; color: var(--white);
  font-size: 1.2rem; cursor: pointer;
}
.ai-panel .ai-messages {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
  max-height: 300px;
}
.ai-panel .ai-msg {
  padding: 10px 14px; border-radius: var(--radius);
  font-size: 0.88rem; line-height: 1.5;
  max-width: 85%;
}
.ai-msg.user {
  background: var(--warm-bg); color: var(--primary);
  align-self: flex-end;
}
.ai-msg.bot {
  background: var(--gray-100); color: var(--gray-700);
  align-self: flex-start;
}
.ai-panel .ai-input-area {
  padding: 12px 16px; border-top: 1px solid var(--gray-100);
  display: flex; gap: 8px;
}
.ai-input-area input {
  flex: 1; padding: 10px 12px;
  border: 1.5px solid var(--gray-300); border-radius: 20px;
  font-size: 0.88rem; font-family: inherit; outline: none;
}
.ai-input-area input:focus { border-color: var(--accent); }
.ai-input-area .ai-send {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  border: none; cursor: pointer; font-size: 1rem;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .ai-panel { width: calc(100vw - 48px); right: 0; }
}

/* ====== 语音播报浮动开关 ====== */
.voice-toggle {
  position: fixed; bottom: 92px; right: 24px; z-index: 998;
}
.voice-toggle button {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 1.2rem; cursor: pointer;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.voice-toggle button.active {
  background: var(--accent); color: var(--white);
}

/* ====== 分页 ====== */
.pagination {
  display: flex; gap: 8px; justify-content: center;
  margin-top: 28px;
}
.pagination a {
  padding: 8px 14px; border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.88rem; color: var(--gray-700);
  transition: all var(--transition);
}
.pagination a:hover,
.pagination a.active {
  background: var(--primary); color: var(--white);
  border-color: var(--primary);
}

/* ====== 留言板/反馈区 ====== */
.feedback-section {
  max-width: 700px; margin: 40px auto 0;
}
.feedback-list {
  display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 28px;
}
.feedback-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
}
.feedback-item .fb-author {
  font-weight: 700; color: var(--primary); font-size: 0.92rem;
}
.feedback-item .fb-time {
  font-size: 0.75rem; color: var(--gray-500); margin-left: 12px;
}
.feedback-item .fb-content {
  font-size: 0.88rem; color: var(--gray-700); margin-top: 6px; line-height: 1.6;
}
.thank-toast {
  position: fixed; bottom: 140px; left: 50%; transform: translateX(-50%);
  background: var(--accent-green); color: var(--white);
  padding: 10px 28px; border-radius: 24px;
  font-size: 0.9rem; font-weight: 600;
  z-index: 2000; opacity: 0; transition: opacity 0.4s;
}
.thank-toast.show { opacity: 1; }

/* ====== 底栏 ====== */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 22px 24px;
  font-size: 0.82rem;
  margin-top: auto;
  min-height: var(--footer-height);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
}

.footer .about-site {
  max-width: 780px;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 12px;
  margin-top: 4px;
  font-size: 0.8rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.82);
}
.footer .about-site strong { display: block; margin-bottom: 6px; font-size: 0.88rem; letter-spacing: .5px; }
.footer .about-logo-img { display: block; max-width: 300px; width: 100%; height: auto; margin: 0 auto 12px; border-radius: 8px; cursor: pointer; transition: transform .2s, box-shadow .2s, opacity .2s; }
.footer .about-logo-img:hover { transform: scale(1.03); }
.footer .about-logo-img.highlight { opacity: .7; box-shadow: 0 0 0 5px rgba(255,255,255,.4); }
.footer .about-site a { color: #ffd9a0; text-decoration: underline; }
.site-counter { display: inline-block; color: #ffd9a0; font-weight: 600; margin-right: 8px; }

/* ====== 工具类 ====== */
.text-center { text-align: center; }
.text-muted { color: var(--gray-500); }
.text-sm { font-size: 0.85rem; }
.text-xl { font-size: 1.25rem; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* ====== 响应式增强 ====== */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 0.95rem; }
  .section-title { font-size: 1.2rem; }
  .case-detail .case-title { font-size: 1.15rem; }
}

/* ====== 百度式搜索与列表 ====== */
.search-bar { max-width: 760px; margin: 0 auto 20px; display: flex; gap: 8px; }
.search-bar input {
  flex: 1; padding: 10px 14px; border: 2px solid var(--primary); border-radius: 20px;
  font-size: .95rem; outline: none; transition: box-shadow .2s;
}
.search-bar input:focus { box-shadow: 0 0 0 3px rgba(26,82,118,.15); }
.search-bar button {
  padding: 0 22px; background: var(--primary); color: var(--white); border: none;
  border-radius: 20px; font-size: .95rem; cursor: pointer;
}
.search-bar button:hover { opacity: .9; }
.baidu-list { max-width: 860px; margin: 0 auto; }
.baidu-item { padding: 14px 0; border-bottom: 1px solid var(--gray-200); }
.baidu-title {
  display: block; color: #1a0dab; font-size: 1.08rem; font-weight: 500;
  text-decoration: none; line-height: 1.5; margin-bottom: 4px;
}
.baidu-title:hover { text-decoration: underline; }
.baidu-title:visited { color: #660099; }
.baidu-tag {
  font-size: .72rem; color: var(--primary); border: 1px solid var(--primary);
  border-radius: 4px; padding: 0 5px; margin-left: 6px; vertical-align: 2px;
}
.baidu-summary { color: #4d5156; font-size: .88rem; line-height: 1.65; margin-bottom: 4px; }
.baidu-meta { color: #006621; font-size: .78rem; display: flex; gap: 14px; flex-wrap: wrap; }
/* 文章二级目录：可展开/收起面板 */
.gm-fold {
  max-width: 860px; margin: 0 auto 12px; border: 1px solid var(--gray-200);
  border-radius: 10px; background: var(--white); overflow: hidden;
}
.gm-fold[open] { box-shadow: 0 1px 4px rgba(0, 0, 0, .05); }
.gm-fold-title {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 13px 16px; font-size: .98rem; font-weight: 600;
  color: var(--primary); background: var(--gray-100);
  user-select: none; -webkit-user-select: none;
}
.gm-fold-title:hover { background: var(--gray-200); }
.gm-fold-arrow { margin-left: auto; font-size: .85rem; color: var(--primary); transition: transform .2s; }
.gm-fold .baidu-list { margin: 0; padding: 0 16px; }
.gm-fold .baidu-item:last-child { border-bottom: none; }
/* 三级目录（挂在二级之下） */
.gm-fold-l3 { margin: 8px 0 8px 18px; }
.gm-fold-l3 .gm-fold-title { padding: 10px 14px; font-size: .92rem; background: var(--gray-50, #fafafa); }
.gm-fold-l3 .baidu-list { padding: 0 12px; }
/* 二级目录导航（新手入门标题下） */
.l2-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.l2-nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 18px; border-radius: 999px;
  font-size: 1.05rem; font-weight: 700;
  font-family: 'PingFang SC', 'Microsoft YaHei', '黑体', 'SimHei', 'Heiti SC', sans-serif;
  color: #222; background: var(--gray-100);
  border: 1px solid var(--gray-200); text-decoration: none; cursor: pointer;
  transition: all .2s;
}
.l2-nav-link:hover { border-color: var(--primary); color: var(--primary); }
.l2-nav-link.active {
  background: var(--primary); color: var(--white); border-color: var(--primary);
}
.l2-nav-link .text-muted { font-size: .8rem; font-weight: 400; }
