/* ============================================================
   优师堂 · 师资库频道（师资供应平台） 主样式
   主色：青绿 #0B988C（5 档明度，见 :root）
   强调：珊瑚橙 #FF6B35（仅预约 CTA / 关键数字 / 热门标记，总量 ≤15%）
   ============================================================ */

:root {
  /* 主色：青绿 #0B988C（5 档明度，用于导航/标题/链接/卡片/hover） */
  --brand-50: #E8F6F4;
  --brand-100: #B8E6E1;
  --brand-300: #5EEAD4;
  --brand: #0B988C;                /* 品牌色（亮）：色块、图标、边框、装饰、大标题 */
  --brand-strong: #077A70;         /* 功能色（深）：白字青底、浅底正文与小字 */
  --brand-strong-dark: #065E56;    /* 功能色 hover */
  --brand-deep: #063F3B;
  /* 强调色：珊瑚橙 #FF6B35（仅用于预约 CTA / 关键数字 / 热门标记，总量 ≤15%） */
  --cta: #FF6B35;
  --cta-dark: #E8541C;
  --cta-light: #FFB088;
  --gold: #14B8A6;
  --gold-light: #4FD1C5;
  --text: #1A1A1A;
  --text-secondary: #666666;
  --text-muted: #999999;
  --border: #E5E5E5;
  --footer-bg: #1A1A1A;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: #3F4161;
  background: #fff;
  line-height: 1.7;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: all .25s; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ========== Layout ========== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 50px; }
.section { padding: 64px 0; background: #fff; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-title { font-size: 28px; font-weight: 700; color: #1A2B3C; margin-bottom: 12px; }
.section-subtitle { font-size: 15px; color: #6B7280; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 6px; font-size: 15px; font-weight: 600;
  transition: all .25s; white-space: nowrap; cursor: pointer; border: none;
}
.btn-primary { background: var(--brand-strong); color: #fff; }
.btn-primary:hover { background: var(--brand-strong-dark); color: #fff; }
.btn--white { background: #fff; color: var(--cta); box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.btn--white:hover { background: #FFF2EC; color: var(--cta-dark); }
.btn--outline { border: 2px solid rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn--outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--lg { padding: 14px 32px; font-size: 16px; }
.btn--gold { background: var(--brand-strong); color: #ffffff; font-weight: 700; }
.btn--gold:hover { box-shadow: 0 6px 20px rgba(11,152,140,.4); transform: translateY(-2px); }

/* ========== Header (全站一致) ========== */
.header { height: 80px; border-bottom: 1px solid var(--border); background: #fff; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 48px; display: block; }
.nav { display: flex; gap: 0; align-items: center; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-item > a {
  display: flex; align-items: center; gap: 4px;
  font-size: 15px; color: var(--text); padding: 28px 16px;
  transition: color .2s; white-space: nowrap;
}
.nav-item > a:hover { color: var(--brand-strong); }
.nav a.active { color: var(--brand-strong); font-weight: 600; }
.nav-item.has-dropdown > a::after {
  content: ""; display: inline-block; width: 8px; height: 8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: .6; transition: transform .2s;
}
.nav-item.has-dropdown:hover > a::after { transform: rotate(-135deg) translateY(2px); opacity: 1; }
.dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff; border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.12); border: 1px solid var(--border);
  padding: 20px 24px; min-width: 360px; display: flex; gap: 24px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s, transform .2s, visibility .2s; z-index: 100;
}
.dropdown::before {
  content: ""; position: absolute; top: -6px; left: 50%;
  transform: translateX(-50%) rotate(45deg); width: 12px; height: 12px;
  background: #fff; border-left: 1px solid var(--border); border-top: 1px solid var(--border);
}
.nav-item:hover > .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown-col { flex: 1; min-width: 140px; }
.dropdown-col h4 {
  font-size: 13px; font-weight: 700; color: var(--brand-strong); margin: 0 0 12px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.dropdown-col a { display: block; font-size: 14px; color: var(--text); padding: 8px 0; transition: color .15s, padding-left .15s; white-space: nowrap; }
.dropdown-col a:hover { color: var(--brand-strong); padding-left: 6px; }
.dropdown-sm { min-width: 200px; padding: 16px 20px; }

/* ========== Hero（藏青主题，与师资力量频道一致） ========== */
.hero { position: relative; padding: 60px 0 52px; background: linear-gradient(135deg, #0A7F75 0%, #063F3B 100%); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-gradient { position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(11,152,140,.18) 0%, transparent 60%), radial-gradient(ellipse at 70% 80%, rgba(11,152,140,.1) 0%, transparent 40%); }
.hero-pattern { position: absolute; inset: 0; background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,.06) 1px, transparent 0); background-size: 32px 32px; }
.hero-content { position: relative; z-index: 1; text-align: left; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: 14px; color: #E8F6F4; margin-bottom: 20px; }
.hero-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cta-light); box-shadow: 0 0 8px var(--cta-light); }
.hero-title { font-size: 46px; font-weight: 900; color: #fff; margin-bottom: 16px; letter-spacing: -0.5px; line-height: 1.22; }
.hero-title-accent { color: var(--gold-light); }
.hero-subtitle { font-size: 15px; color: rgba(232,246,244,.88); max-width: 640px; margin: 0 0 24px; line-height: 1.7; }
.hero-stats { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.hero-stat { font-size: 13px; font-weight: 600; color: #fff; }
.hero-stat b { color: var(--cta-light); font-size: 18px; margin-right: 4px; }
.hero-stat-divider { width: 1px; height: 12px; background: rgba(255,255,255,.35); flex: none; }
.btn--booking {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: linear-gradient(135deg, #FF7A45 0%, #ED5A22 100%); color: #ffffff;
  font-size: 15px; font-weight: 700; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(255,107,53,.4); transition: all .25s;
}
.btn--booking:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(255,107,53,.55); }

/* ========== 面包屑 ========== */
.crumb { padding: 18px 0 0; background: #fff; }
.crumb-inner { font-size: 13px; color: var(--text-muted); }
.crumb-inner a { color: var(--text-secondary); }
.crumb-inner a:hover { color: var(--brand-strong); }
.crumb-inner span { margin: 0 8px; color: #D0D0D0; }
.crumb-inner b { color: var(--brand-strong); font-weight: 500; }

/* ========== 左右结构布局（侧边导航 + 内容） ========== */
.layout { display: flex; gap: 32px; align-items: flex-start; }
.sidebar { flex: 0 0 210px; position: sticky; top: 20px; }
.sidebar__title { font-size: 15px; font-weight: 700; color: #1A2B3C; margin-bottom: 12px; padding-left: 4px; }
.sidebar__list { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; max-height: 70vh; overflow-y: auto; }
.sidebar__item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 16px; font-size: 14px; color: var(--text); border-bottom: 1px solid #F2F2F2; transition: all .2s; }
.sidebar__item:last-child { border-bottom: none; }
.sidebar__item:hover { background: rgba(11,152,140,.05); color: #077A70; }
.sidebar__item.active { background: var(--brand-strong); color: #fff; font-weight: 600; }
.sidebar__item.active .sidebar__count { color: rgba(255,255,255,.75); }
.sidebar__item--home { font-weight: 600; color: #1A2B3C; }
.sidebar__count { font-size: 12px; color: var(--text-muted); flex: none; }
.layout-main { flex: 1; min-width: 0; }
.page-head { margin-bottom: 28px; text-align: center; }
.page-title { font-size: 30px; font-weight: 700; color: #1A2B3C; margin-bottom: 8px; }
.page-subtitle { font-size: 15px; color: #6B7280; line-height: 1.7; max-width: 760px; margin: 0 auto; }
.page-title .page-title-accent { color: #0B988C; }

/* ========== 领域网格（首页） ========== */
.field-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.field-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px 12px; background: #fff; border: 1px solid var(--border);
  border-radius: 12px; transition: all .25s; text-align: center;
}
.field-card:hover { transform: translateY(-4px); border-color: #0B988C; box-shadow: 0 8px 24px rgba(11,152,140,.12); }
.field-card__icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(11,152,140,.06); color: #0B988C; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; }
.field-card__name { font-size: 15px; font-weight: 600; color: #1A2B3C; }
.field-card__count { font-size: 12px; color: var(--text-muted); }
.field-card__topics { font-size: 12px; color: var(--text-secondary); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

/* ========== 讲师卡片网格（首页 / 大咖列表 / 领域页通用） ========== */
.daka-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.daka-card {
  display: flex; flex-direction: column; background: #fff; border-radius: 12px;
  overflow: hidden; border: 1px solid var(--border); transition: all .3s; box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.daka-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(11,152,140,.12); border-color: rgba(11,152,140,.3); }
.daka-card__avatar {
  width: 100%; height: 285px; flex-shrink: 0; overflow: hidden;
  background: linear-gradient(135deg, #0A7F75 0%, #063F3B 100%);
}
.daka-card__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.daka-card__info { padding: 14px; text-align: center; }
.daka-card__name { font-size: 16px; font-weight: 700; color: #1A2B3C; margin-bottom: 4px; }
.daka-card__position { font-size: 14px; color: var(--brand-strong); font-weight: 500; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

/* ========== 课程类目页（kecheng/）· 课程卡片网格 ========== */
.kgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.kcard {
  display: block; background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 16px 18px; transition: all .25s; box-shadow: 0 2px 6px rgba(0,0,0,.03);
}
.kcard:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(11,152,140,.12); border-color: rgba(11,152,140,.35); }
.kcard__name { font-size: 15px; font-weight: 600; color: #1A2B3C; line-height: 1.45; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kcard__meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); }
.kcard__teacher { color: var(--brand-strong); font-weight: 500; }
.kcard__dot { color: #D5D5D5; }
.kcard__tag { color: var(--text-secondary); }
.sidebar__group { padding: 12px 16px 6px; font-size: 12px; font-weight: 700; color: var(--brand-strong); letter-spacing: .5px; background: rgba(11,152,140,.04); border-bottom: 1px solid #F2F2F2; }
@media (max-width: 991px) { .kgrid { grid-template-columns: 1fr; } }

/* ========== 首页 · 领域精选讲师 ========== */
.pick-group { margin-bottom: 44px; }
.pick-group:last-child { margin-bottom: 0; }
.pick-group__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid var(--border);
}
.pick-group__name { font-size: 20px; font-weight: 700; color: #1A2B3C; display: flex; align-items: center; }
.pick-group__name::before {
  content: ''; width: 4px; height: 18px; border-radius: 2px;
  background: var(--brand); margin-right: 10px; flex-shrink: 0;
}
.pick-group__more { font-size: 13px; font-weight: 600; color: var(--brand-strong); white-space: nowrap; transition: color .2s; }
.pick-group__more:hover { color: var(--cta); }
.pick-group__more span { display: inline-block; transition: transform .2s; }
.pick-group__more:hover span { transform: translateX(3px); }

/* ========== 领域页讲师列表 ========== */
.lingyu-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.lingyu-teacher {
  display: flex; gap: 20px; background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 24px; transition: all .25s;
}
.lingyu-teacher:hover { border-color: #0B988C; box-shadow: 0 8px 24px rgba(11,152,140,.1); }
.lingyu-teacher__avatar {
  flex: 0 0 72px; width: 72px; height: 72px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(135deg, #0A7F75 0%, #063F3B 100%);
  display: flex; align-items: center; justify-content: center; color: var(--gold-light);
  font-size: 30px; font-weight: 700;
}
.lingyu-teacher__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.lingyu-teacher__info { flex: 1; min-width: 0; }
.lingyu-teacher__name { font-size: 18px; font-weight: 700; color: #1A2B3C; margin-bottom: 6px; }
.lingyu-teacher__name small { font-size: 13px; font-weight: 400; color: var(--text-muted); margin-left: 8px; }
.lingyu-teacher__bg { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lingyu-teacher__courses { display: flex; gap: 6px; flex-wrap: wrap; }
.lingyu-teacher__courses span { padding: 4px 10px; background: rgba(11,152,140,.06); color: #077A70; border-radius: 50px; font-size: 12px; font-weight: 500; }

/* ========== 讲师详情页（大咖） ========== */
.detail-hero { position: relative; padding: 64px 0 56px; background: linear-gradient(135deg, #0A7F75 0%, #063F3B 100%); overflow: hidden; }
.detail-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 30%, rgba(11,152,140,.18) 0%, transparent 55%), radial-gradient(ellipse at 80% 70%, rgba(11,152,140,.08) 0%, transparent 45%); }
.detail-hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,.06) 1px, transparent 0); background-size: 32px 32px; }
.detail-hero .container { position: relative; z-index: 1; }
.detail-hero__content { display: flex; align-items: center; gap: 48px; }
.detail-hero__image {
  flex: 0 0 340px; height: 440px; border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.35); border: 3px solid rgba(255,255,255,.15);
  background: linear-gradient(135deg, rgba(11,152,140,.2) 0%, rgba(15,32,39,.4) 100%);
  display: flex; align-items: center; justify-content: center;
}
.detail-hero__image .avatar-text { color: var(--gold-light); font-size: 110px; font-weight: 700; letter-spacing: 4px; }
.detail-hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.detail-hero__info { flex: 1; min-width: 0; }
.detail-hero__name { font-size: 40px; font-weight: 700; color: #fff; margin-bottom: 10px; letter-spacing: -0.5px; }
.detail-hero__field { font-size: 18px; color: var(--gold-light); font-weight: 500; margin-bottom: 16px; }
.detail-hero__tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.detail-hero__tag { padding: 6px 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: 13px; color: #E8F6F4; }
.detail-hero__desc { font-size: 15px; color: rgba(232,246,244,.85); line-height: 1.7; }

/* 分享主题 / 主讲课程列表 */
.topic-section { background: #F5FAF9; }
.course-list { display: flex; flex-direction: column; gap: 12px; }
.course-item {
  display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 20px; transition: all .25s;
}
.course-item:hover { border-color: var(--gold); box-shadow: 0 6px 20px rgba(11,152,140,.15); }
.course-item__num { flex: 0 0 36px; height: 36px; border-radius: 8px; background: var(--brand-strong); color: #ffffff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.course-item__text { font-size: 16px; color: #1A2B3C; font-weight: 500; line-height: 1.6; }

/* ========== CTA 区域 ========== */
.cta-section { background: linear-gradient(135deg, #0A7F75 0%, #063F3B 100%); padding: 64px 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(11,152,140,.2) 0%, transparent 60%); }
.cta-content { position: relative; z-index: 1; text-align: center; }
.cta-title { font-size: 30px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.cta-desc { font-size: 16px; color: rgba(255,255,255,.8); margin-bottom: 40px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------- 详情页/课程页共用 CTA ---------- */
.detail-cta {
  background: linear-gradient(135deg, #0A7F75 0%, #063F3B 100%);
  padding: 64px 0; position: relative; overflow: hidden;
}
.detail-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(11,152,140,.2) 0%, transparent 60%); }
.detail-cta .container { position: relative; z-index: 1; text-align: center; }
.detail-cta__title { font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.detail-cta__desc { font-size: 16px; color: rgba(255,255,255,.8); margin-bottom: 28px; }
.detail-cta__actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------- 相关讲师 ---------- */
.related-teachers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-teacher {
  display: flex; flex-direction: column; align-items: center;
  padding: 24px; background: #fff; border-radius: 12px;
  border: 1px solid #E5E7EB; transition: all .25s;
}
.related-teacher:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(11,152,140,.12); border-color: rgba(11,152,140,.3); }
.related-teacher__avatar { width: 90px; height: 90px; border-radius: 50%; overflow: hidden; margin-bottom: 14px; background: #F8FAFC; }
.related-teacher__avatar img { width: 100%; height: 100%; object-fit: cover; }
.related-teacher__name { font-size: 16px; font-weight: 700; color: #1A2B3C; margin-bottom: 6px; }
.related-teacher__title { font-size: 13px; color: #6B7280; }
.related-teacher__avatar--char {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: #fff; font-size: 30px; font-weight: 700; letter-spacing: 1px;
}

/* ========== 讲师页 · 要点列表 ========== */
.highlight-block {
  background: var(--brand-50); border-left: 3px solid var(--brand);
  border-radius: 0 10px 10px 0; padding: 18px 22px;
}
.highlight-block ul { margin: 0; padding: 0; list-style: none; }
.highlight-block li {
  position: relative; padding-left: 18px; margin-bottom: 10px;
  font-size: 14px; color: #3F4161; line-height: 1.75;
}
.highlight-block li:last-child { margin-bottom: 0; }
.highlight-block li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}

/* ========== 讲师页 · 服务客户表格 ========== */
.client-table-wrap { margin-top: 20px; overflow-x: auto; }
.client-table {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; font-size: 14px;
}
.client-table th {
  background: var(--brand-50); color: var(--brand-strong);
  font-weight: 600; text-align: left; padding: 12px 16px; white-space: nowrap;
}
.client-table td {
  padding: 11px 16px; border-top: 1px solid var(--border);
  color: #3F4161; line-height: 1.6;
}
.client-table tbody tr:hover { background: #F7FAFB; }

/* ========== Footer ========== */
.footer { background: var(--footer-bg); color: #fff; padding: 60px 0 30px; }
.footer-main { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand { flex: 2 1 220px; min-width: 180px; }
.footer-brand p { margin: 8px 0 0; color: var(--text-muted); font-size: 14px; }
.footer-col { flex: 1 1 130px; min-width: 130px; }
.footer-col h4 { font-size: 14px; margin: 0 0 14px; color: #fff; }
.footer-col a, .footer-col p { display: block; font-size: 13px; color: var(--text-muted); margin: 0 0 8px; line-height: 1.5; }
.footer-col a:hover { color: #fff; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 48px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14px; color: var(--text-muted); }
.footer-contact strong { color: #fff; font-size: 18px; font-weight: 700; margin-left: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 13px; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); margin-left: 16px; }
.footer-bottom a:hover { color: #fff; }

/* ========== 微信浮动按钮 ========== */
/* ========== 微信浮动咨询浮标（重设计 r115） ==========
   改前：56px 圆 + 28px 二维码缩略图 —— 体量小、无文案、与页面同色系 ⇒ 存在感弱
   改后：图标 + 「微信咨询」文案的胶囊常驻；绿色光圈缓慢呼吸，抓视线；
        hover 从上方升起二维码卡（含直线电话），扫码/拨号一步可达
   原 <img>（二维码位图）仍留在 5014 个页面的 HTML 中，此处 display:none 隐藏；
   图标改由 ::before 引用 images/wechat-icon.svg —— CSS 相对路径按本文件位置
   解析，故页面不论在几级子目录，都指向同一张图
   ============================================================ */
.float-wechat {
  position: fixed; right: 22px; top: 50%; z-index: 99;
  display: inline-flex; align-items: center; gap: 9px;
  height: 54px; padding: 0 20px 0 17px; border-radius: 27px;
  background: linear-gradient(135deg, #07C160 0%, #059A4A 100%);
  color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .3px; line-height: 1;
  white-space: nowrap; cursor: pointer;
  box-shadow: 0 8px 22px rgba(7,193,96,.42), 0 2px 6px rgba(0,0,0,.14);
  transform: translateY(-50%);
  transition: transform .22s ease;
  animation: fw-halo 2.8s ease-out infinite;
}
.float-wechat > img { display: none; }
.float-wechat::before {
  content: ""; flex: 0 0 auto; width: 23px; height: 23px;
  background: url("../images/wechat-icon.svg") center / contain no-repeat;
}
.float-wechat::after { content: "微信咨询"; }
@keyframes fw-halo {
  0%   { box-shadow: 0 8px 22px rgba(7,193,96,.42), 0 2px 6px rgba(0,0,0,.14), 0 0 0 0 rgba(7,193,96,.50); }
  70%  { box-shadow: 0 8px 22px rgba(7,193,96,.42), 0 2px 6px rgba(0,0,0,.14), 0 0 0 15px rgba(7,193,96,0); }
  100% { box-shadow: 0 8px 22px rgba(7,193,96,.42), 0 2px 6px rgba(0,0,0,.14), 0 0 0 0 rgba(7,193,96,0); }
}
.float-wechat:hover { transform: translateY(calc(-50% - 3px)); animation-duration: 1.3s; }
.float-wechat-qrcode {
  position: absolute; right: calc(100% + 14px); top: 50%; transform: translateY(-50%);
  width: 168px; padding: 12px 12px 14px;
  background: #fff; border-radius: 14px;
  box-shadow: 0 14px 38px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.08);
  display: none; text-align: center;
}
.float-wechat-qrcode::before {
  content: ""; position: absolute; right: -6px; top: 50%;
  width: 14px; height: 14px; background: #fff;
  transform: translateY(-50%) rotate(45deg); border-radius: 2px;
  box-shadow: 3px -3px 6px rgba(0,0,0,.05);
}
.float-wechat-qrcode::after {
  content: ""; position: absolute; right: -20px; top: 0; bottom: 0; width: 20px;
}
.float-wechat:hover .float-wechat-qrcode { display: block; animation: fw-pop .24s ease-out; }
/* 触屏兜底：移动端没有真 hover，按下即展开 */
.float-wechat:active .float-wechat-qrcode { display: block; }
@keyframes fw-pop {
  from { opacity: 0; transform: translateY(-50%) translateX(10px) scale(.97); }
  to   { opacity: 1; transform: translateY(-50%); }
}
.float-wechat-qrcode img { display: block; width: 100%; height: auto; border-radius: 10px; }
.float-wechat-qrcode p { text-align: center; font-size: 12px; color: #3F4161; margin-top: 9px; font-weight: 600; }
.float-wechat-qrcode p::after { content: "135-9036-1178"; display: block; margin-top: 3px; font-size: 13px; font-weight: 700; color: #0B988C; letter-spacing: .5px; }
@media (max-width: 640px) {
  .float-wechat { height: 48px; padding: 0 17px 0 14px; gap: 7px; font-size: 14px; right: 14px; border-radius: 24px; }
  .float-wechat::before { width: 20px; height: 20px; }
  .float-wechat-qrcode { width: 152px; }
}
@media (prefers-reduced-motion: reduce) {
  .float-wechat { animation: none; }
}

/* ========== 预约弹窗 ========== */
.booking-modal { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 200; display: none; align-items: center; justify-content: center; }
.booking-modal.show { display: flex; }
.booking-modal__box { position: relative; background: #fff; border-radius: 20px; padding: 44px 44px 40px; width: 92%; max-width: 480px; text-align: center; }
.booking-modal__close { position: absolute; top: 18px; right: 22px; width: 32px; height: 32px; border-radius: 50%; border: none; background: transparent; font-size: 28px; line-height: 32px; color: #9CA3AF; cursor: pointer; transition: all .2s; }
.booking-modal__close:hover { background: #F3F4F6; color: #4B5563; }
.booking-modal__icon { width: 72px; height: 72px; border-radius: 50%; background: rgba(11,152,140,.1); color: #0B988C; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.booking-modal__icon svg { width: 32px; height: 32px; }
.booking-modal__title { font-size: 24px; font-weight: 700; color: #1A2B3C; margin-bottom: 18px; }
.booking-modal__body { font-size: 15px; color: #4B5563; line-height: 1.8; }
.booking-modal__line { margin-bottom: 8px; white-space: nowrap; }
.booking-modal__line strong { color: var(--brand-strong); font-weight: 700; }
.booking-modal__qrcode { width: 200px; margin: 20px auto 0; padding: 10px; background: #fff; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.booking-modal__qrcode img { width: 100%; border-radius: 8px; display: block; }
.booking-modal__hint { font-size: 13px; color: #9CA3AF; margin-top: 14px; }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .field-grid { grid-template-columns: repeat(4, 1fr); }
  .daka-grid { grid-template-columns: repeat(3, 1fr); }
  .lingyu-list { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .field-grid { grid-template-columns: repeat(2, 1fr); }
  .daka-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-hero__content { flex-direction: column; text-align: center; }
  .detail-hero__image { flex: none; width: 200px; height: 240px; }
  .hero-title { font-size: 34px; }
  .topic-list { grid-template-columns: 1fr; }
  .booking-modal__box { padding: 36px 24px 32px; }
  .booking-modal__line { white-space: normal; }
  .booking-modal__qrcode { width: 170px; }
}
@media (max-width: 480px) {
  .booking-modal__title { font-size: 20px; }
  .booking-modal__body { font-size: 14px; }
  .booking-modal__qrcode { width: 150px; }
}

/* ---------- 响应式：讲师 Hero（2026-09-13 补，此前 hero 姓名 40px 无断点） ---------- */
@media (max-width: 768px) {
  .detail-hero__name { font-size: 28px; }
  .detail-hero__image .avatar-text { font-size: 72px; letter-spacing: 2px; }
}

@media (max-width: 480px) {
  .detail-hero__name { font-size: 24px; }
}

/* ---------- Word 加粗 → 关键词强调（2026-09-13） ----------
   版式优先原则：正文层级已由卡片/徽标/留白建立，故强调只用「色 + 字重」，
   不加底色、不加下划线。Word 的 C00000 品牌红不照搬（与频道青绿冲突），
   统一用频道强调深色 --brand-strong。 */
.em-key {
  color: var(--brand-strong);
  font-weight: 600;
}

/* ============================================================
   列表分页（2026-09-15 新增）
   约定：列表容器 [data-page-list]（直接子元素 = 分页单元）、分页条 .pager[data-page-pager]。
        JS 未执行时列表全量可见、.pager 带 hidden ⇒ 降级为长列表，内容一条不少。
   全部为新类名，未改动任何既有选择器。
   ============================================================ */
[data-page-list] > .is-page-hidden { display: none !important; }
.pick-list > .pick-group.is-last-visible { margin-bottom: 0; }
[data-page-list].is-swapping { animation: page-fade .3s ease; }
@keyframes page-fade { from { opacity: .3; } to { opacity: 1; } }

.pager { margin: 36px 0 0; text-align: center; }
.pager[hidden] { display: none; }
.pager__info { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.pager__info b { color: var(--brand-strong); font-weight: 700; }
.pager__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }

.pager__btn,
.pager__num {
  min-width: 38px; height: 38px; padding: 0 12px; border-radius: 8px;
  border: 1px solid var(--border); background: #fff; color: var(--text-secondary);
  font-size: 14px; font-weight: 600; line-height: 36px; text-align: center;
  transition: background .2s, border-color .2s, color .2s;
}
.pager__btn:hover:not(:disabled),
.pager__num:hover:not(.is-active) {
  background: var(--brand-50); border-color: var(--brand); color: var(--brand-strong);
}
.pager__num.is-active {
  background: var(--brand-strong); border-color: var(--brand-strong);
  color: #fff; cursor: default;
}
.pager__btn:disabled { opacity: .45; cursor: not-allowed; }
.pager__ellipsis { min-width: 24px; color: var(--text-muted); text-align: center; user-select: none; }

@media (max-width: 768px) {
  .pager { margin-top: 28px; }
  .pager__list { gap: 6px; }
  .pager__btn, .pager__num { min-width: 34px; height: 34px; line-height: 32px; font-size: 13px; padding: 0 9px; }
  .pager__btn--prev, .pager__btn--next { padding: 0 12px; }
}

/* ---------- 窄屏：领域侧栏改为顶部横向标签行（2026-09-15 修） ----------
   问题：.sidebar 固定 flex:0 0 210px 且从无断点 —— 390px 宽时正文区只剩约 120px，
        讲师卡被压成竖条、姓名逐字换行（首页/领域页在移动端不可用；新加的分页条同样被压坏）。
   范围：.layout/.sidebar 仅被 index.html + lingyu/*.html 这 36 个页面使用（讲师页/课程页不涉及），
        故本次修复的影响面与分页改动完全一致。
   断点取 1024px：与 .daka-grid 降到 3 列同步 —— 一旦侧栏开始挤压栅格，就改到顶部。
   写法：只**新增**一个媒体查询块（不改任何既有规则），桌面端零影响。 */
@media (max-width: 1024px) {
  .layout { flex-direction: column; gap: 18px; align-items: stretch; }
  .sidebar { flex: none; width: 100%; position: static; }
  .sidebar__title { margin-bottom: 8px; }
  .sidebar__list {
    display: flex; flex-wrap: nowrap; gap: 8px;
    max-height: none; overflow-x: auto; overflow-y: hidden;
    background: transparent; border: none; border-radius: 0;
    padding-bottom: 6px; -webkit-overflow-scrolling: touch;
  }
  .sidebar__item {
    flex: none; padding: 7px 14px; border: 1px solid var(--border);
    border-radius: 999px; background: #fff; font-size: 13px; gap: 6px;
  }
  .sidebar__list .sidebar__item:last-child { border-bottom: 1px solid var(--border); }
  .sidebar__item.active { border-color: var(--brand-strong); }
}

/* ---------- 窄屏：导航下拉不再撑破视口（2026-09-18 修 · 既有缺陷） ----------
   问题：.dropdown 为 position:absolute + left:50% + translateX(-50%)，
        且 min-width:360px（两列）/ 200px（.dropdown-sm）。在 ≤768px 视口下，
        「师资库」「课程产品」等靠右的 nav-item 其下拉框右边缘会超出视口
        （实测 768 → right=812、390 → right=812），把 document.scrollWidth 撑到 812，
        导致整站出现横向滚动条 —— 与下拉是否展开无关（opacity:0 仍占几何位置）。
   修法：只**新增**媒体查询，把下拉改为相对 nav-item 右对齐并限宽，
        不再依赖 left:50% 居中；桌面端（>1024px）零影响。 */
@media (max-width: 1024px) {
  .dropdown {
    left: auto; right: 0;
    transform: translateY(8px);
    min-width: 0; max-width: min(360px, calc(100vw - 32px));
  }
  .dropdown::before { left: auto; right: 28px; transform: rotate(45deg); }
  .nav-item:hover > .dropdown { transform: translateY(0); }
  .dropdown-sm { max-width: min(260px, calc(100vw - 32px)); }
  .dropdown-col { min-width: 0; }
  /* 横向标签行内的下拉不参与撑宽（.sidebar__list 在窄屏为滚动容器） */
  .sidebar__list { max-width: 100%; }
}

/* ---------- 侧边栏「课程分类」区块（2026-09-18 新增） ----------
   结构：与「领域分类」并列的第二个区块（.sidebar__title--alt + .sidebar__list--kc）。
   桌面端：与领域区块同宽（210px），上间距 24px 区分两块；因 17 项较长，限高滚动。
   窄屏：复用 .sidebar__list 的横向标签行表现（见上方 @media 1024px 块）。
   仅新增类名，不改任何既有选择器。 */
.sidebar__title--alt { margin-top: 24px; }
.sidebar__list--kc { max-height: 46vh; }
.sidebar__list--kc .sidebar__group { position: sticky; top: 0; z-index: 1; }

@media (max-width: 1024px) {
  .sidebar__title--alt { margin-top: 18px; }
  .sidebar__list--kc { max-height: none; }
  .sidebar__list--kc .sidebar__group {
    position: static; flex: none; display: flex; align-items: center;
    padding: 7px 12px; border: 1px dashed var(--border); border-radius: 999px;
    background: #fff; font-size: 12px; letter-spacing: 0;
  }
}

/* ---------- 侧栏「内训师师资」跨频道入口（2026-09-18 新增） ----------
   位置：.sidebar__list--kc 的「内训师类」分组末尾（5 个课程分类之后）。
   用意：师资库（shiziku）与师资力量（shizililiang）是互补关系 ——
        前者「全品类师资 + 课程」，后者「内训师/岗位带教专职讲师」。
        在课程分类侧栏点出「内训师师资」，让找课的人顺手找到配套讲师。
   表现：整体沿用 .sidebar__item（不改既有选择器），仅加「分隔 + 跨频道标记」：
        一条上分隔线 + 链接色（区分离站链接），保持侧栏的视觉层级。
   影响面：只作用于新类名，18 个 shiziku/kecheng/*.html 使用。 */
.sidebar__item--xch {
  margin-top: 6px;
  border-top: 1px solid #F2F2F2;
  color: var(--brand-strong) !important;
  background: rgba(11,152,140,.05);
}
.sidebar__item--xch:hover { background: rgba(11,152,140,.11); }
.sidebar__item--xch::after {
  content: "↗"; flex: none;
  font-size: 11px; opacity: .55; margin-left: 2px;
  color: currentColor; order: 9;
}
@media (max-width: 1024px) {
  /* 窄屏侧栏为横向标签行：去掉上分隔线，改回普通胶囊标签外观 */
  .sidebar__item--xch { margin-top: 0; border-top: 1px solid var(--border); }
  .sidebar__item--xch::after { display: none; }
}

/* ---------- 首页「按课程分类找课」区块 + 类目总览页卡片（2026-09-18 新增） ----------
   两处共用一组类名：
     首页 .ksec-wrap（正文区块，带标题行 + 两个 .ksec）  ｜  总览页 .ksec（区块）+ .kcat-grid
   .kcat--sm / .ksec--sm 为首页内嵌的小尺寸变体（首页空间有限）。
   全部为新增类名，不改任何既有选择器。 */
.ksec-wrap {
  background: linear-gradient(180deg, #F7FBFB 0%, #FFFFFF 100%);
  border: 1px solid var(--border); border-radius: 16px;
  padding: 26px 28px 28px; margin-bottom: 34px;
}
.ksec-wrap__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 20px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.ksec-wrap__title { font-size: 22px; font-weight: 800; color: #1A2B3C; margin: 0 0 6px; }
.ksec-wrap__sub { font-size: 13.5px; color: #6B7280; line-height: 1.6; margin: 0; max-width: 720px; }
.ksec-wrap__more {
  flex: none; font-size: 14px; font-weight: 700; color: var(--brand-strong);
  white-space: nowrap; transition: opacity .2s;
}
.ksec-wrap__more:hover { opacity: .75; }
.kcat-accent { color: var(--brand); }

.ksec { margin-bottom: 26px; }
.ksec:last-child { margin-bottom: 0; }
.ksec__title {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 19px; font-weight: 800; color: #1A2B3C; margin: 0 0 8px;
}
.ksec__badge {
  font-size: 12px; font-weight: 600; color: var(--brand-strong);
  background: rgba(11,152,140,.08); border-radius: 999px; padding: 3px 10px;
}
.ksec__desc { font-size: 13.5px; color: #6B7280; line-height: 1.7; margin: 0 0 16px; }

.kcat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.kcat {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 18px 10px; background: #fff;
  border: 1px solid var(--border); border-radius: 12px;
  transition: all .25s; text-align: center;
}
.kcat:hover {
  transform: translateY(-3px); border-color: rgba(11,152,140,.45);
  box-shadow: 0 8px 20px rgba(11,152,140,.12);
}
.kcat__label { font-size: 14px; font-weight: 600; color: #1A2B3C; line-height: 1.35; }
.kcat__count { font-size: 12px; color: var(--text-muted); }
.kcat__count b { color: var(--brand-strong); font-size: 15px; font-weight: 800; }

/* 首页内嵌小变体 */
.ksec--sm { margin-bottom: 20px; }
.ksec__title--sm { font-size: 15px; margin-bottom: 10px; }
.ksec__title--sm .ksec__badge { font-size: 11px; padding: 2px 8px; }
.kcat-grid--sm { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kcat--sm { flex-direction: row; justify-content: space-between; padding: 10px 12px; border-radius: 9px; gap: 8px; }
.kcat--sm .kcat__label { font-size: 13px; }
.kcat--sm .kcat__count { font-size: 11px; flex: none; }
.kcat--sm .kcat__count b { font-size: 13px; }

@media (max-width: 1024px) {
  .kcat-grid { grid-template-columns: repeat(3, 1fr); }
  .kcat-grid--sm { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .ksec-wrap { padding: 20px 18px 22px; }
  .ksec-wrap__title { font-size: 19px; }
  .kcat-grid { grid-template-columns: repeat(2, 1fr); }
  .kcat-grid--sm { grid-template-columns: 1fr; }
}

/* r114：下拉里的「全部 N 个领域/类目 →」链接用内联 style="color:var(--brand)" ——
   #0B988C 白底只有 3.57（不过 AA）。内联样式特异度最高 ⇒ 用属性选择器 + !important 覆盖，
   消费面 = 带该内联串的下拉链接（全站头部共用，一处修正处处生效）。 */
.dropdown a[style*="color:var(--brand)"] { color: var(--brand-strong) !important; }

/* r114：侧栏计数徽章对比度修正 —— 白底 #999（2.85 ✗）→ #6B7280（4.83 ✔）；
   青底 #C1DEDB（3.66 ✗）→ #E8F6F4（≈4.7 ✔）；弹窗关闭 × #9CA3AF → #4B5563 */
.sidebar__count { color: #6B7280; }
.sidebar__item.active .sidebar__count, .sidebar__item:hover .sidebar__count { color: #E8F6F4; }
.booking-modal__close { color: #4B5563; }
.kcat__count { color: #6B7280; }
.pager__info { color: #6B7280; }

/* ---------- 响应式：频道头导航（2026-09-24 补，此前 ≤768px 无处理导致横向溢出 807px） ---------- */
@media (max-width: 768px) {
  .header { height: auto; }
  .header-inner { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .header-inner::-webkit-scrollbar { display: none; }
  .nav { flex: 0 0 auto; }
  .nav-item { height: 56px; }
}

/* 下拉菜单底部“全部”动作条（2026-09-25 v2：通栏色块 + 紧凑行高） */
.dropdown { overflow: hidden; }
.dropdown-all {
  border-top: 1px solid #E3EEEB; background: #EFF8F5;
  margin-top: 6px; padding: 5px 10px 6px; border-radius: 0 0 10px 10px;
}
.dropdown-all a {
  display: block; text-align: center; padding: 2px 0;
  color: var(--brand-strong); font-weight: 700; font-size: 13.5px;
  text-decoration: none; letter-spacing: .5px; transition: all .15s;
}
.dropdown-all a:hover { color: var(--brand-deep); }
.dropdown { flex-wrap: wrap; }
.dropdown-all { width: 100%; flex: 0 0 100%; }
