/* ============================================================
   智学院 · 企业培训课程门户  全局样式
   配色: 深藏青主色 / 暖金点缀 / 中性灰白
   字体: Noto Serif SC(标题) + Noto Sans SC(正文)
   ============================================================ */

:root {
  --navy: #14233f;
  --navy-2: #1d3157;
  --navy-3: #2a4470;
  --gold: #c8a15a;
  --gold-2: #b78e42;
  --ink: #1c2333;
  --text: #33384a;
  --muted: #7a8296;
  --line: #e6e9f0;
  --bg: #f6f7fb;
  --card: #ffffff;
  --white: #ffffff;
  --radius: 10px;
  --shadow-sm: 0 2px 8px rgba(20, 35, 63, 0.06);
  --shadow-md: 0 8px 28px rgba(20, 35, 63, 0.1);
  --shadow-lg: 0 18px 48px rgba(20, 35, 63, 0.16);
  --maxw: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; background: var(--bg); }

body {
  font-family: "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif {
  font-family: "Microsoft YaHei", "sans-serif", serif;
  color: var(--ink);
  line-height: 1.3;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
img { max-width: 100%; display: block; }
/* img { max-width: 100%; display: block; } */
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: 999px;
  font-size: 14px; font-weight: 500; cursor: pointer;
  border: 1px solid transparent; transition: all .22s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-2); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-sm { padding: 7px 16px; font-size: 16px; }
/* ---------- 客服 ---------- */

.mayi-rmenu{position:fixed;right:0;margin-right:20px;bottom:20px;padding-bottom:20px;z-index:999;}.mayi-rmenu .btn{width:72px;height:73px;margin-bottom:1px;cursor:pointer;position:relative;}.mayi-rmenu .btn-qq:hover{background-color:#488bc7;}.mayi-rmenu a.btn-qq,.mayi-rmenu a.btn-qq:visited{background:url(../images/mayi_qq.png) 2px 0px no-repeat;background-color:#6da9de;text-decoration:none;display:block;}.mayi-rmenu .btn-wx{background:url(../images/mayi_wx.png) 0px 0px no-repeat;background-color:#78c340;}.mayi-rmenu .btn-wx:hover{background-color:#58a81c;}.mayi-rmenu .btn-wx .pic{position:absolute;left:-160px;top:0px;display:none;width:160px;height:160px;}.mayi-rmenu .btn-phone{background:url(../images/mayi_phone.png) 0px 0px no-repeat;background-color:#fbb01f;}.mayi-rmenu .btn-phone:hover{background-color:#ff811b;}.mayi-rmenu .btn-phone .phone{background-color:#ff811b;position:absolute;width:160px;left:-160px;top:0px;line-height:73px;height:73px;color:#FFF;font-size:18px;text-align:center;display:none;}.mayi-rmenu .btn-top{background:url(../images/mayi_top.png) 0px 0px no-repeat;background-color:#666666;display:none;}.mayi-rmenu .btn-top:hover{background-color:#444;}
/* ---------- 顶部条 ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a:hover { color: var(--gold); }
.topbar-links { display: flex; gap: 20px; }

/* ---------- 头部 / 导航 ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.header .container { display: flex; align-items: center; gap: 32px; height: 74px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 9px;
  background: linear-gradient(135deg, var(--navy-3), var(--navy));
  display: grid; place-items: center; color: var(--gold);
  font-family: "Noto Serif SC", serif; font-weight: 700; font-size: 22px;
}
.logo-text { font-family: "Noto Serif SC", serif; font-size: 21px; font-weight: 700; color: var(--navy); }
.logo-text small { display: block; font-family: "Noto Sans SC", sans-serif; font-size: 11px; letter-spacing: 2px; color: var(--muted); font-weight: 400; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 10px 15px; font-size: 18px; color: var(--ink); font-weight: 600;
  border-radius: 8px; line-height: 1; display: inline-flex; align-items: center;
}
.nav a font { font-size: inherit; font-weight: inherit; line-height: inherit; }
.nav a sup { font-size: 12px; line-height: 1; margin-left: 2px; }
.nav a:hover { color: var(--gold-2); }
.nav a.active { color: var(--gold-2); }
.nav a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px; height: 2px;
  background: var(--gold); border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* 移动端菜单按钮 */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ---------- 布局:左栏+主内容 ---------- */
.layout { display: grid; grid-template-columns: 268px 1fr; gap: 24px; padding: 24px 0 60px; }

/* ---------- 左侧树形分类 ---------- */
.sidebar { align-self: start; }
.tree-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.tree-head {
  background: var(--navy); color: var(--white); padding: 16px 20px;
  font-family: "Noto Serif SC", serif; font-size: 17px; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
}
.tree-head .bar { width: 4px; height: 18px; background: var(--gold); border-radius: 2px; }
.tree { padding: 8px 0; }
.tree-node > .tree-label {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; cursor: pointer; font-weight: 500; color: var(--ink); font-size: 15px;
  transition: background .2s;
}
.tree-node > .tree-label:hover { background: var(--bg); color: var(--gold-2); }
.tree-label .caret { transition: transform .25s; color: var(--muted); font-size: 12px; }
.tree-node.open > .tree-label .caret { transform: rotate(90deg); }
.tree-label .ic { color: var(--gold); font-size: 12px; }
.tree-children {
  max-height: 0; overflow: hidden; transition: max-height .3s ease; background: #fbfcfe;
}
.tree-node.open > .tree-children { max-height: 320px; }
.tree-children a {
  display: block; padding: 9px 20px 9px 42px; font-size: 14px; color: var(--muted);
}
.tree-children a:hover { color: var(--gold-2); background: #f0f2f7; }

.side-promo {
  margin-top: 20px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(155deg, var(--navy-2), var(--navy)); color: var(--white);
  padding: 24px 22px; box-shadow: var(--shadow-sm);
}
.side-promo h4 { color: var(--white); font-size: 18px; margin-bottom: 8px; }
.side-promo p { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 16px; }

.side-card {
  margin-top: 20px; border-radius: var(--radius); background: var(--card);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.side-card-head {
  font-weight: 600; font-size: 16px; color: var(--ink);
  border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px;
}
.side-card-head .bar {
  width: 4px; height: 16px; background: var(--gold); border-radius: 2px;
}

.side-hot-list { padding: 8px 0; }
.side-hot-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 5px;
  font-size: 14px; color: var(--ink); transition: background .2s;
}
.side-hot-item:hover { background: var(--bg); }
.hot-rank {
  width: 20px; height: 20px; border-radius: 4px; background: var(--muted);
  color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-weight: 600;
}
.hot-rank.top { background: var(--gold); color: var(--navy); }
.hot-title {
  flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.side-contact-body { padding: 18px; }
.contact-item {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.contact-ic {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, #eef1f8, #e2e7f2);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: 16px; flex-shrink: 0;
}
.contact-label { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.contact-value { font-size: 15px; color: var(--ink); font-weight: 500; }

.contact-qr {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line);
  text-align: center;
}
.contact-qr img {
  width: 120px; height: 120px; border-radius: 8px; margin: 0 auto 8px;
  display: block;
}
.contact-qr p { font-size: 12px; color: var(--muted); margin: 0; }

/* ---------- Banner ---------- */
.banner { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-md); }
.banner-slides { position: relative; height: 420px; }
.slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  display: flex; align-items: center;
}
.slide.active { opacity: 1; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,20,38,.88) 0%, rgba(12,20,38,.55) 45%, rgba(12,20,38,.1) 100%);
}
.slide-content { position: relative; z-index: 2; padding: 0 56px; max-width: 620px; color: var(--white); }
.slide-tag { display: inline-block; background: var(--gold); color: var(--navy); font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 999px; margin-bottom: 18px; }
.slide-content h2 { color: var(--white); font-size: 38px; margin-bottom: 14px; text-wrap: balance; }
.slide-content p { color: rgba(255,255,255,.82); font-size: 16px; margin-bottom: 24px; }
.banner-prev, .banner-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border: none; border-radius: 50%;
  background: rgba(0,0,0,.4); color: #fff; font-size: 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s;
}
.banner-prev { left: 16px; }
.banner-next { right: 16px; }
.banner-prev:hover, .banner-next:hover { background: rgba(0,0,0,.6); }
.banner-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; }
.banner-dots button { width: 28px; height: 4px; border-radius: 4px; border: none; background: rgba(255,255,255,.4); cursor: pointer; transition: .3s; }
.banner-dots button.active { background: var(--gold); width: 40px; }

/* 快速入口 */
.quick-entries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.quick-card {
  background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 14px; transition: .25s; border: 1px solid transparent;
}
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.quick-ic {
  width: 34px; height: 34px; border-radius: 5px; flex-shrink: 0;
  background: linear-gradient(135deg, #eef1f8, #e2e7f2); display: grid; place-items: center;
  color: var(--navy); font-size: 22px; overflow: hidden;
}
.quick-ic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.quick-card b { font-size: 15px; color: var(--ink); display: block; }
.quick-card span { font-size: 12px; color: var(--muted); }

/* ---------- 板块通用 ---------- */
.section { margin-top: 48px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }
.section-title { display: flex; align-items: center; gap: 12px; }
.section-title .bar { width: 5px; height: 26px; background: var(--gold); border-radius: 3px; }
.section-title h3 { font-size: 26px; }
.section-title small { display: block; font-size: 12px; letter-spacing: 3px; color: var(--muted); text-transform: uppercase; font-family: "Noto Sans SC", sans-serif; font-weight: 400; }
.section-more { font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.section-more:hover { color: var(--gold-2); }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* 课程卡片 */
.course-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: .28s; display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.course-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.course-card:hover .course-thumb img { transform: scale(1.06); }
.course-badge {
  position: absolute; top: 12px; left: 12px; background: rgba(20,35,63,.85); color: var(--white);
  font-size: 12px; padding: 4px 12px; border-radius: 6px; backdrop-filter: blur(4px);
}
.course-badge.hot { background: var(--gold); color: var(--navy); }
.course-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.course-body h4 { font-size: 17px; margin-bottom: 8px; }
.course-body h4 a:hover { color: var(--gold-2); }
.course-meta { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 14px; }
.course-meta span { display: inline-flex; align-items: center; gap: 4px; }
.course-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag { font-size: 12px; background: #eef1f8; color: var(--navy-3); padding: 3px 10px; border-radius: 5px; }
.course-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); }
.price { color: var(--gold-2); font-weight: 700; font-size: 20px; font-family: "Noto Serif SC", serif; }
.price small { font-size: 12px; color: var(--muted); font-weight: 400; }
.price.free { color: #2f9e6f; }

/* 专家卡片 */
.expert-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  text-align: center; padding-bottom: 20px; transition: .28s;
}
.expert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.expert-photo { aspect-ratio: 1/1; overflow: hidden; position: relative; }
.expert-photo img { width: 100%; object-fit: cover; transition: transform .5s; }
.expert-card:hover .expert-photo img { transform: scale(1.05); }
.expert-card h4 { font-size: 18px; margin: 16px 0 4px; }
.expert-role { font-size: 13px; color: var(--gold-2); font-weight: 500; margin-bottom: 10px; }
.expert-fields { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; padding: 0 16px; margin-bottom: 14px; }

/* 机构卡片 */
.org-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden;
  display: flex; flex-direction: column; transition: .28s;
}
.org-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.org-cover { aspect-ratio: 16/9; overflow: hidden; }
.org-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.org-card:hover .org-cover img { transform: scale(1.05); }
.org-body { padding: 18px; }
.org-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.org-logo { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); }
.org-head h4 { font-size: 16px; }
.org-head span { font-size: 12px; color: var(--muted); }
.org-desc { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.org-stats { display: flex; gap: 18px; font-size: 13px; color: var(--text); border-top: 1px solid var(--line); padding-top: 12px; }
.org-stats b { color: var(--navy); }

/* 在线课横条 */
.online-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.online-item { display: flex; gap: 16px; background: var(--card); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm); transition: .25s; }
.online-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.online-thumb { width: 150px; flex-shrink: 0; aspect-ratio: 16/10; border-radius: 8px; overflow: hidden; position: relative; }
.online-thumb img { width: 100%; height: 100%; object-fit: cover; }
.play-ic { position: absolute; inset: 0; margin: auto; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; color: var(--navy); }
.online-info { display: flex; flex-direction: column; }
.online-info h4 { font-size: 15px; margin-bottom: 6px; }
.online-info .progress { height: 5px; background: var(--line); border-radius: 4px; margin: 8px 0; overflow: hidden; }
.online-info .progress i { display: block; height: 100%; background: var(--gold); border-radius: 4px; }

/* ---------- 数据统计条 ---------- */
.stats-band { background: linear-gradient(135deg, var(--navy-2), var(--navy)); border-radius: 14px; padding: 40px; margin-top: 48px; }
.stats-band .grid-4 { gap: 20px; }
.stat { text-align: center; color: var(--white); }
.stat b { display: block; font-family: "Noto Serif SC", serif; font-size: 40px; color: var(--gold); }
.stat span { font-size: 14px; color: rgba(255,255,255,.75); }

/* ---------- 页脚 ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.66); margin-top: 64px; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr) 1.4fr; gap: 30px; padding-bottom: 40px; }
.footer h5 { color: var(--white); font-size: 15px; margin-bottom: 18px; font-family: "Noto Sans SC"; }
.footer .logo-text { color: var(--white); }
.footer ul li { margin-bottom: 10px; font-size: 14px; }
.footer ul li a:hover { color: var(--gold); }
.footer .intro { font-size: 14px; margin: 14px 0 18px; max-width: 300px; }
.qrcode { width: 108px; height: 108px; background: var(--white); border-radius: 8px; display: grid; place-items: center; color: var(--navy); font-size: 12px; text-align: center; padding: 8px; }
.socials { display: flex; gap: 10px; margin-top: 10px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #fff; transition: .2s; }
.socials a:hover { background: var(--gold); color: var(--navy); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; font-size: 13px; text-align: center; color: rgba(255,255,255,.5); }

/* ---------- 页面横幅(子页) ---------- */
.page-hero { position: relative; background: linear-gradient(120deg, var(--navy), var(--navy-3)); color: var(--white); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(200,161,90,.14); }
.page-hero .container { position: relative; padding: 54px 20px; }
.page-hero h1 { color: var(--white); font-size: 34px; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.75); max-width: 640px; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--gold); }

/* 筛选条 */
.filter-bar { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 8px 20px; margin: -28px 0 28px; position: relative; z-index: 5; }
.filter-row { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.filter-row:last-child { border-bottom: none; }
.filter-row .label { width: 70px; flex-shrink: 0; color: var(--muted); font-size: 14px; padding-top: 4px; }
.filter-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-opts a { font-size: 14px; padding: 4px 14px; border-radius: 6px; color: var(--text); }
.filter-opts a:hover { color: var(--gold-2); }
.filter-opts a.active { background: var(--navy); color: var(--white); }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: var(--card); box-shadow: var(--shadow-sm); font-size: 14px; padding: 0 12px; }
.pagination a:hover { color: var(--gold-2); }
.pagination a.active { background: var(--navy); color: var(--white); }

/* ---------- 详情页 ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 32px; padding: 32px 0 60px; align-items: start; }
.detail-main { min-width: 0; }
.detail-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 26px; margin-bottom: 24px; }
.detail-card h3 { font-size: 20px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.detail-card h3 .bar { width: 4px; height: 20px; background: var(--gold); border-radius: 2px; }
.detail-card p { margin-bottom: 12px; color: var(--text); }
.detail-card ul.dot li { position: relative; padding-left: 20px; margin-bottom: 10px; color: var(--text); }
.detail-card ul.dot li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.sticky-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.buy-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; }
.buy-card .cover { aspect-ratio: 16/9; overflow: hidden; }
.buy-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.buy-body { padding: 22px; }
.buy-price { font-family: "Noto Serif SC", serif; font-size: 34px; color: var(--gold-2); font-weight: 700; }
.buy-price small { font-size: 14px; color: var(--muted); text-decoration: line-through; margin-left: 8px; font-weight: 400; }
.buy-info { margin: 18px 0; }
.buy-info li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.buy-info li span { color: var(--muted); }
.buy-actions { display: flex; flex-direction: column; gap: 10px; }

/* 专家详情头 */
.expert-hero { display: flex; gap: 30px; align-items: center; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 30px; margin-top: -40px; position: relative; z-index: 5; }
.expert-hero .avatar { width: 160px; height: 160px; border-radius: 14px; overflow: hidden; flex-shrink: 0; box-shadow: var(--shadow-md); }
.expert-hero .avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-hero h1 { font-size: 30px; margin-bottom: 6px; }
.expert-hero .role { color: var(--gold-2); font-weight: 600; margin-bottom: 14px; }
.expert-hero .fields { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.expert-hero .quick-stats { display: flex; gap: 34px; }
.expert-hero .quick-stats div b { font-family: "Noto Serif SC", serif; font-size: 24px; color: var(--navy); }
.expert-hero .quick-stats div span { font-size: 13px; color: var(--muted); display: block; }

/* 关于我们 */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-intro img { border-radius: 14px; box-shadow: var(--shadow-md); }
.about-intro h2 { font-size: 30px; margin-bottom: 8px; }
.about-lead { color: var(--gold-2); letter-spacing: 3px; font-size: 13px; margin-bottom: 16px; }
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.value-card { background: var(--card); border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow-sm); text-align: center; transition: .25s; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-ic { width: 60px; height: 60px; border-radius: 14px; margin: 0 auto 16px; background: linear-gradient(135deg,#eef1f8,#e2e7f2); display: grid; place-items: center; color: var(--navy); font-size: 26px; }
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 4px; bottom: 4px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-bottom: 28px; }
.timeline li::before { content: ""; position: absolute; left: -30px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--card); border: 3px solid var(--gold); }
.timeline b { font-family: "Noto Serif SC", serif; color: var(--navy); font-size: 18px; margin-right: 12px; }

/* icon 占位(纯 CSS 简单图形) */
.i { display: inline-block; width: 1em; height: 1em; }

/* ---------- 详情页 v2 (wrap / side / block) ---------- */
.detail-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 32px; padding: 20px 0 60px; align-items: start; }
.detail-block { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 26px; margin-bottom: 24px; }
.detail-h { font-size: 20px; margin-bottom: 16px; padding-left: 14px; position: relative; }
.detail-h::before { content: ""; position: absolute; left: 0; top: 3px; width: 4px; height: 20px; background: var(--gold); border-radius: 2px; }
.detail-block p { margin-bottom: 12px; }
.c-accent { color: var(--gold-2); }

.detail-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.side-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px; }
.side-card h3 { font-size: 18px; margin-bottom: 16px; }
.side-note { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.side-contact { margin: 16px 0; padding: 14px 16px; background:#ffffff; border-radius: 8px; }
.side-contact span { display: block; font-size: 24px; color: var(--muted); padding: 0px 7px}
.side-contact b { font-family: "Noto Serif SC", serif; font-size: 22px; color: var(--navy); }
.btn-block { display: flex; justify-content: center; width: 100%; margin-bottom: 10px; }
.enroll-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.enroll-row span { color: var(--muted); }

.side-experts li, .side-courses li { margin-bottom: 12px; }
.side-experts a, .side-courses a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 8px; transition: background .2s; }
.side-experts a:hover, .side-courses a:hover { background: var(--bg); }
.side-experts img, .side-courses img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.side-experts b, .side-courses b { display: block; font-size: 14px; color: var(--ink); }
.side-experts span, .side-courses span { font-size: 12px; color: var(--muted); }

/* 专家资料头 */
.expert-profile { display: flex; gap: 30px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 30px; margin: 20px 0 24px; }
.expert-photo.small, .expert-profile .expert-photo { width: 190px; height: 190px; flex-shrink: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: auto; }
.expert-profile .expert-info { flex: 1; min-width: 0; }
.expert-profile h1 { font-size: 30px; margin-bottom: 12px; }
.expert-title { font-size: 15px; color: var(--gold-2); font-weight: 500; font-family: "Noto Sans SC", sans-serif; }
.expert-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.expert-facts { display: flex; flex-wrap: wrap; gap: 30px; margin-bottom: 20px; }
.expert-facts li b { display: block; font-family: "Noto Serif SC", serif; font-size: 24px; color: var(--navy); }
.expert-facts li { font-size: 13px; color: var(--muted); }
.expert-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.skill-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.skill-item { background: var(--bg); border-radius: 8px; padding: 18px; border-left: 3px solid var(--gold); }
.skill-item h4 { font-size: 16px; margin-bottom: 6px; }
.skill-item p { font-size: 13px; color: var(--muted); margin: 0; }

.benefit-list li { position: relative; padding-left: 22px; margin-bottom: 10px; }
.benefit-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.outline-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.outline-item:last-child { border-bottom: none; }
.outline-day { flex-shrink: 0; background: var(--navy); color: var(--white); font-size: 13px; padding: 6px 14px; border-radius: 6px; height: fit-content; }
.outline-item h4 { font-size: 16px; margin-bottom: 4px; }
.outline-item p { font-size: 14px; color: var(--muted); margin: 0; }

.teacher-card { display: flex; gap: 18px; align-items: center; background: var(--bg); border-radius: 10px; padding: 18px; }
.teacher-card img { width: 80px; height: 80px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.teacher-card b { font-size: 17px; }
.teacher-card span { display: block; font-size: 13px; color: var(--gold-2); margin: 2px 0 6px; }
.teacher-card p { font-size: 13px; color: var(--muted); margin: 0; }
.teacher-mini { text-align: center; background: var(--bg); border-radius: 10px; padding: 18px; transition: .2s; }
.teacher-mini:hover { background: #eef1f8; }
.teacher-mini img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; }
.teacher-mini b { display: block; font-size: 15px; }
.teacher-mini span { font-size: 12px; color: var(--muted); }

/* 公开课详情头 */
.course-hero { display: grid; grid-template-columns: 480px 1fr; gap: 30px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px; margin: 20px 0 24px; }
.course-hero-img { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16/10; }
.course-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.course-hero-info h1 { font-size: 28px; margin-bottom: 10px; }
.course-sub { color: var(--muted); margin-bottom: 20px; }
.course-facts { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-bottom: 20px; }
.course-facts li { display: flex; flex-direction: column; }
.course-facts li span { font-size: 12px; color: var(--muted); }
.course-facts li b { font-size: 15px; color: var(--ink); }
.course-buy { border-top: 1px solid var(--line); padding-top: 18px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.price-lg { font-family: "Noto Serif SC", serif; font-size: 32px; color: var(--gold-2); font-weight: 700; }
.price-lg small { font-size: 14px; color: var(--muted); font-weight: 400; }
.price-note { display: block; font-size: 12px; color: var(--muted); }
.course-buy .buy-actions { flex-direction: row; }

/* 机构详情头 */
.org-hero { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; margin: 20px 0 24px; }
.org-hero-cover { height: 240px; overflow: hidden; }
.org-hero-cover img { width: 100%; height: 100%; object-fit: cover; }
.org-hero-info { padding: 26px 30px 30px; }
.org-hero-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.org-logo-lg { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); margin-top: -56px; background: #fff; box-shadow: var(--shadow-md); }
.org-hero-head h1 { font-size: 28px; }
.org-hero-sub { font-size: 13px; color: var(--muted); }
.org-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .detail-grid { grid-template-columns: 1fr; }
  .sticky-side { position: static; }
  .detail-wrap { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .course-hero { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .quick-entries { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-intro { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column;
    background: var(--white); padding: 10px; margin: 0; box-shadow: var(--shadow-md); gap: 2px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 16px; }
  .nav a.active::after { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .header .container { gap: 12px; }
  .header-actions .btn { display: none; }
  .topbar-links { display: none; }
  .banner-slides { height: 300px; }
  .banner-prev, .banner-next { display: none; }
  .slide-content { padding: 0 24px; }
  .slide-content h2 { font-size: 24px; }
  .grid-3, .grid-4, .grid-2, .online-list, .value-grid, .quick-entries { grid-template-columns: 1fr; }
  .expert-hero { flex-direction: column; text-align: center; }
  .expert-hero .fields, .expert-hero .quick-stats { justify-content: center; }
  .expert-profile { flex-direction: column; text-align: center; }
  .expert-profile .expert-photo { width: 150px; height: 150px; margin: 0 auto; }
  .expert-tags, .expert-facts, .expert-cta, .org-tags { justify-content: center; }
  .skill-grid, .course-facts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-title h3 { font-size: 22px; }
  .stats-band { padding: 28px 20px; }
  .stat b { font-size: 30px; }
}
