@charset "utf-8";
/* ==========================================================================
   沈阳格序职业技术培训学校 · H5 站点样式
   设计基准：1440 画布 / 内容宽 1200 / 藏青 #12233D + 暖金 #C99A4E
   ========================================================================== */

:root {
  --navy: #12233D;
  --navy-deep: #0B1826;
  --navy-soft: #1E3050;
  --gold: #C99A4E;
  --gold-dark: #B6873C;
  --gold-soft: #F3EADA;

  --ink: #12233D;
  --body: #3A4759;
  --body-2: #4A5A70;
  --muted: #8A97A8;
  --muted-2: #A8B2C0;

  --line: #E3E8F0;
  --line-2: #EDF0F5;
  --soft: #F7F8FA;
  --white: #FFFFFF;

  --sans: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", "Songti SC", serif;

  --pad: 120px;
  --radius: 4px;
  --shadow-sm: 0 1px 3px rgba(18, 35, 61, .06);
  --shadow: 0 8px 28px rgba(18, 35, 61, .10);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Vue 挂载前先隐藏，避免模板插值闪烁（挂载后由 Vue 自动移除 v-cloak） */
[v-cloak] { visibility: hidden; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font-family: inherit; font-size: 15px; color: var(--ink); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

/* ---------------------------------------------------------------- 布局 */
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
.container-inner { max-width: 1200px; margin: 0 auto; }
.section { padding: 88px 0; }
.section-soft { padding: 88px 0; background: var(--soft); }
.section-sm { padding: 56px 0; }

/* ------------------------------------------------------------ 顶部公告条 */
.topbar { background: var(--navy); color: rgba(255,255,255,.82); height: 44px; }
.topbar .container-inner { display: flex; align-items: center; height: 44px; gap: 14px; }
.notice-label {
  flex: none; font-size: 12px; letter-spacing: .06em; color: var(--gold);
  border: 1px solid rgba(201,154,78,.45); border-radius: 2px;
  padding: 2px 8px; line-height: 1.5;
}
/* 公告滚动窗：固定一行高，向下翻滚，10s 一条 */
.notice-viewport { position: relative; flex: 1 1 auto; height: 22px; overflow: hidden; }
.notice-track { position: absolute; inset: 0; }
.notice-item {
  position: absolute; left: 0; right: 0; top: 0; height: 22px; line-height: 22px;
  font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateY(-100%);
  transition: transform .6s cubic-bezier(.4,0,.2,1), opacity .6s ease;
}
.notice-item.is-in  { opacity: 1; transform: translateY(0); }
.notice-item.is-out { opacity: 0; transform: translateY(100%); }
.notice-link { color: inherit; }
.notice-link:hover { color: var(--gold); }

/* ---------------------------------------------------------------- 主导航 */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav .container-inner {display: flex;align-items: center;height: 78px;justify-content: space-between;/* flex-wrap: nowrap; *//* flex-direction: row; *//* align-content: center; */}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-size: 19px; font-weight: 700; color: var(--navy); letter-spacing: .01em; }
.brand-sub {
  font-family: var(--serif); font-size: 9px; letter-spacing: .14em;
  color: var(--gold); text-transform: uppercase;
}
.nav-menu {display: flex;align-items: center;gap: 30px;/* margin: 0 0 0 56px; *//* justify-content: center; *//* width: 400px; */}
.nav-menu a {
  position: relative; font-size: 15px; color: var(--body); padding: 6px 0;
  transition: color .2s;
}
.nav-menu a:hover { color: var(--navy); }
.nav-menu a.on { color: var(--navy); font-weight: 500; }
.nav-menu a.on::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: -4px; width: 34px; height: 2px; background: var(--gold);
}
.nav-right {display: flex;align-items: center;gap: 22px;/* margin-left: auto; */}
.nav-tel { display: flex; align-items: center; gap: 7px; color: var(--navy); }
.nav-tel svg { width: 18px; height: 18px; fill: var(--gold); flex: none; }
.nav-tel b { font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: .01em; }
.nav-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--navy); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 1.5px; background: var(--navy);
}
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

/* ---------------------------------------------------------------- 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 26px; border-radius: 3px;
  font-size: 15px; font-weight: 500; letter-spacing: .02em;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { background: transparent; color: var(--navy); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--navy); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* 文字链接（带箭头） */
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--gold); font-weight: 500;
}
.link-arrow svg { width: 14px; height: 14px; fill: currentColor; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------ 标题与眉标 */
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow i { display: block; width: 18px; height: 2px; background: var(--gold); flex: none; }
.eyebrow em {
  font-family: var(--serif); font-style: normal; font-size: 11px;
  letter-spacing: .14em; color: var(--muted-2); text-transform: uppercase;
}
.eyebrow span { font-size: 14px; color: var(--navy); font-weight: 500; }

.sec-title { font-size: 34px; line-height: 1.45; font-weight: 500; color: var(--navy); }
.sec-desc { font-size: 15px; color: var(--body-2); }
.sec-head { margin-bottom: 44px; }
.sec-head .eyebrow { margin-bottom: 14px; }
.sec-head .sec-title { margin-bottom: 12px; }
.sec-head-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
}
.page-title { font-size: 40px; line-height: 1.35; font-weight: 500; color: var(--navy); }
.page-desc { font-size: 15px; color: var(--body-2); max-width: 640px; }

/* ------------------------------------------------------- 页面头图（内页） */
.pagehead {
  background: var(--navy); color: #fff; padding: 56px 0 60px; position: relative; overflow: hidden;
}
.pagehead::after {
  content: ""; position: absolute; right: -80px; top: -60px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,154,78,.18), rgba(201,154,78,0) 70%);
}
.pagehead .container-inner {position: relative;z-index: 1;display: flex;gap: 60px;/* align-items: flex-end; */justify-content: space-between;}
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.62); margin-bottom: 14px; }
.crumb a:hover { color: var(--gold); }
.crumb .cur { color: #fff; }
.pagehead h1 { font-size: 40px; line-height: 1.3; font-weight: 500; }
.pagehead p { margin-top: 12px; font-size: 15px; color: rgba(255,255,255,.72); max-width: 640px; }
.pagehead-aside {
  flex: none; width: 320px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 24px 26px;
}
.pagehead-aside h4 { font-size: 13px; color: var(--gold); letter-spacing: .06em; margin-bottom: 10px; font-weight: 500; }
.pagehead-aside .tel { font-family: var(--serif); font-size: 24px; color: #fff; line-height: 1.5; }
.pagehead-aside .tel a { display: block; }
.pagehead-aside .tel a:hover { color: var(--gold); }
.pagehead-aside hr { border: 0; border-top: 1px solid rgba(255,255,255,.14); margin: 14px 0; }
.pagehead-aside small { font-size: 12px; color: rgba(255,255,255,.6); }

/* ------------------------------------------------------------ 数据成果条 */
.stats { display: flex; align-items: center; }
.stats .stat {flex: 1;display: flex;flex-direction: column;gap: 8px;align-items: center;}
.stats .num { font-family: var(--serif); font-size: 60px; line-height: 1; color: var(--navy); display: flex; align-items: baseline; }
.stats .num i { font-style: normal; font-size: 26px; margin-left: 4px; }
.stats .lb { font-size: 18px; color: var(--body-2); }
.stats .sep { width: 1px; height: 66px; background: var(--line); flex: none; }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.card:hover { border-color: #D5DEEB; box-shadow: var(--shadow); transform: translateY(-3px); }
.card .idx { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--gold); opacity: .55; }
.card h3 { font-size: 21px; line-height: 1.5; color: var(--navy); font-weight: 500; margin: 14px 0 12px; }
.card p { font-size: 14px; color: var(--body-2); }
.card .grow { flex: 1 1 auto; min-height: 16px; }
.card .foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); }

/* 卡片内默认图标 */
.ico {
  width: 56px; height: 56px; border-radius: var(--radius);
  background: var(--gold-soft); display: flex; align-items: center; justify-content: center;
}
.ico svg { width: 26px; height: 26px; fill: var(--gold); }

/* ------------------------------------------------------------ 首页 Banner */
.hero { position: relative; height: 640px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-mask {
  position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(8,18,36,.94) 0%, rgba(10,25,46,.80) 50%, rgba(13,30,54,.34) 82%, rgba(13,30,54,0) 100%);
}
.hero .container-inner { position: relative; z-index: 1; }
.hero-copy { max-width: 840px; color: #fff; display: flex; flex-direction: column; gap: 28px; }
.hero-copy h1 {
  font-size: 80px; line-height: 1.16; font-weight: 500; letter-spacing: .04em;
  background: linear-gradient(96deg, #FFFFFF 12%, #E8D4AE 58%, #C99A4E 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy .sub { font-size: 16px; line-height: 1.9; color: rgba(255,255,255,.82); max-width: 720px; }
.hero-btns { display: flex; gap: 16px; }
.hero-trust { font-size: 13px; color: rgba(255,255,255,.6); letter-spacing: .02em; }
.hero-trust b { color: var(--gold); font-weight: 500; }

/* ------------------------------------------------------- 认识机构 + 拼贴 */
.about-grid { display: grid; grid-template-columns: 1fr 560px; gap: 60px; align-items: center; }
.about-copy .sec-title { margin-bottom: 20px; }
.about-copy p + p { margin-top: 16px; }
.collage { display: flex; flex-direction: column; gap: 20px; }
.collage .big { width: 100%; height: 320px; border-radius: var(--radius); overflow: hidden; }
.collage .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.collage .row > div { height: 200px; border-radius: var(--radius); overflow: hidden; }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.collage a:hover img { transform: scale(1.04); }

/* -------------------------------------------------------------- 新闻模块 */
.news-main { display: grid; grid-template-columns: 560px 1fr; gap: 40px; }
.news-lead { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.news-lead .pic { height: 300px; overflow: hidden; }
.news-lead .pic img { width: 100%; height: 100%; object-fit: cover; }
.news-lead .pic::after {
  content: ""; display: block; position: absolute; left: 0; right: 0; top: 0; height: 300px;
  background: linear-gradient(180deg, rgba(6,16,32,0) 30%, rgba(6,16,32,.55) 100%);
}
.news-lead .body { padding: 24px 26px 26px; }
.news-lead .tag {
  display: inline-block; font-size: 12px; color: var(--gold);
  border: 1px solid rgba(201,154,78,.4); border-radius: 2px; padding: 2px 9px; margin-bottom: 12px;
}
.news-lead h3 { font-size: 20px; line-height: 1.6; color: #fff; font-weight: 500; }
.news-lead p { font-size: 14px; color: rgba(255,255,255,.68); margin-top: 10px; }
.news-lead time { display: block; font-family: var(--serif); font-size: 13px; color: var(--gold); margin-top: 16px; }

.news-list li + li { border-top: 1px solid var(--line-2); }
.news-list a { display: flex; gap: 22px; align-items: center; padding: 18px 0; }
.news-list .date {
  flex: none; width: 62px; text-align: center; border-right: 1px solid var(--line);
  padding-right: 18px; font-family: var(--serif);
}
.news-list .date b { display: block; font-size: 26px; line-height: 1.2; color: var(--navy); }
.news-list .date span { font-size: 11px; color: var(--muted); }
.news-list .txt { font-size: 15px; color: var(--body); transition: color .2s; }
.news-list a:hover .txt { color: var(--gold); }
.news-list a:hover .date b { color: var(--gold); }

/* ------------------------------------------------------------ 引导条 CTA */
.cta { background: var(--navy); color: #fff; padding: 56px 0; }
.cta .container-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h3 { font-size: 26px; font-weight: 500; line-height: 1.5; }
.cta p { font-size: 14px; color: rgba(255,255,255,.66); margin-top: 8px; }
.cta .btns { display: flex; gap: 14px; flex: none; }

/* ---------------------------------------------------------------- 页脚 */
.footer { background: var(--navy); color: rgba(255,255,255,.68); padding: 64px 0 0; }
.footer-main {display: grid;grid-template-columns: 1.6fr 1fr 1fr  0.5fr;gap: 40px;}
.footer .f-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer .f-brand img { width: 34px; height: 34px; object-fit: contain; }
.footer .f-brand b { font-size: 18px; color: #fff; font-weight: 500; }
.footer .f-desc { font-size: 13px; line-height: 1.9; color: rgba(255,255,255,.55); }
.footer .menus { flex-direction: row;
    display: flex;
    justify-content: space-around; }
.footer h4 { font-size: 15px; color: #fff; font-weight: 500; margin-bottom: 16px; }
.footer li { font-size: 13px; line-height: 2.1; }
.footer li a:hover, .footer .contact li:hover { color: var(--gold); }
.footer .contact { font-size: 13px; line-height: 2.1; }
.footer .qr { text-align: center; }
.footer .qr img { width: 108px; height: 108px; background: #fff; padding: 6px; border-radius: var(--radius); margin: 0 auto; }
.footer .qr small { display: block; font-size: 12px; color: rgba(255,255,255,.5); margin-top: 10px; }
.footer hr { border: 0; border-top: 1px solid rgba(255,255,255,.14); margin: 48px 0 0; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0 28px; font-size: 13px; color: rgba(255,255,255,.5);
}
.footer-bottom .techsupport { display: flex; gap: 26px; }
.footer-bottom .beian { display: flex; gap: 18px; }
.footer-bottom .beian a {
  display: inline-flex; align-items: center; gap: 5px;
  color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s;
}
.footer-bottom .beian a:hover { color: #C99A4E; }
.footer-bottom .beian a .bi { display: inline-flex; }
.footer-bottom .beian a .bi svg { width: 13px; height: 13px; fill: currentColor; flex: none; }

/* ------------------------------------------------------------ 面包屑条 */
.crumbbar { background: var(--soft); height: 60px; }
.crumbbar .container-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.crumbbar .path { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.crumbbar .path a:hover { color: var(--gold); }
.crumbbar .path .cur { color: var(--navy); font-weight: 500; }
.crumbbar .back { font-size: 13px; color: var(--gold); }

/* ------------------------------------------------------------ 筛选标签 */
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.filters button {
  height: 38px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; color: var(--body-2); background: #fff; transition: all .2s;
}
.filters button:hover { border-color: var(--navy); color: var(--navy); }
.filters button.on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ------------------------------------------------------------ 课程卡 */
.course-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column; height: 100%;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.course-card:hover { border-color: #D5DEEB; box-shadow: var(--shadow); transform: translateY(-3px); }
.course-card .en {
  font-family: var(--serif); font-size: 11px; letter-spacing: .16em;
  color: var(--muted-2); text-transform: uppercase; margin-top: 16px;
}
.course-card h3 { font-size: 21px; color: var(--navy); font-weight: 500; margin: 8px 0 12px; line-height: 1.5; }
.course-card p { font-size: 14px; color: var(--body-2); }
.course-card .meta { font-size: 13px; color: var(--gold); margin-top: 14px; }
.course-card .grow { flex: 1 1 auto; min-height: 16px; }
.course-card .foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); }

/* ------------------------------------------------------------ 新闻列表页 */
.news-items li { border-bottom: 1px solid var(--line-2); }
.news-items a { display: flex; gap: 28px; padding: 30px 0; align-items: flex-start; }
.news-items .thumb {
  flex: none; width: 240px; height: 150px; border-radius: var(--radius); overflow: hidden;
  background: var(--soft) center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
}
.news-items .thumb svg { width: 44px; height: 44px; fill: #C6D0DE; }
.news-items .body { flex: 1 1 auto; }
.news-items .tag {
  display: inline-block; font-size: 12px; color: var(--gold);
  border: 1px solid rgba(201,154,78,.4); border-radius: 2px; padding: 1px 9px; margin-bottom: 10px;
}
.news-items h3 { font-size: 20px; line-height: 1.6; color: var(--navy); font-weight: 500; transition: color .2s; }
.news-items a:hover h3 { color: var(--gold); }
.news-items p { font-size: 14px; color: var(--body-2); margin-top: 8px; }
.news-items time { display: block; font-family: var(--serif); font-size: 13px; color: var(--muted); margin-top: 12px; }

/* 分页 */
.pager { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 48px; }
.pager button, .pager a {
  min-width: 38px; height: 38px; padding: 0 12px; border: 1px solid var(--line);
  border-radius: 2px; font-size: 14px; color: var(--body-2); background: #fff;
  display: inline-flex; align-items: center; justify-content: center; transition: all .2s;
}
.pager button:hover:not(:disabled), .pager a:hover { border-color: var(--navy); color: var(--navy); }
.pager .on { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager button:disabled { opacity: .45; cursor: not-allowed; }

/* ------------------------------------------------------------ 文章详情页 */
.article-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 60px; align-items: start; }
.article .a-tag {
  display: inline-block; font-size: 12px; color: var(--gold); background: rgba(201,154,78,.12);
  border-radius: 2px; padding: 3px 10px; margin-bottom: 18px;
}
.article h1 { font-size: 32px; line-height: 1.5; font-weight: 500; color: var(--navy); }
.article .a-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--muted); margin-top: 16px; }
.article .a-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0 26px; }
.article .summary {
  display: flex; gap: 18px; background: var(--soft); padding: 20px 24px; border-radius: 2px;
  font-size: 15px; line-height: 1.9; color: var(--body-2);
}
.article .summary i { display: block; width: 3px; background: var(--gold); flex: none; }
/* --------------------------------------------------------------------------
 * 文章详情富文本容器（article.html / course-article.html 共用）
 * 后台 TinyMCE 常在 <img>/<table> 上写死像素宽高（style="width:1200px;height:800px"）：
 *   1) 行内样式优先级高于普通样式表，普通 max-width:100% 压不住，图片会溢出被裁切；
 *   2) grid 的 1fr 列默认 min-width:auto(≈min-content)，会被大图撑开、把侧栏挤出屏幕。
 * 处理：grid 列允许收缩 + !important 覆盖行内尺寸 + 宽表格包 .rich-scroll 横向滚动。
 * ------------------------------------------------------------------------ */
.article-wrap > * { min-width: 0; }
.article-body {
  font-size: 16px; line-height: 2; color: var(--body);
  max-width: 100%; overflow-wrap: anywhere; word-break: break-word;
}
.article-body > * + * { margin-top: 26px; }
.article-body p { margin: 0; }
.article-body h1, .article-body h2, .article-body h3, .article-body h4 {
  color: var(--navy); font-weight: 500; line-height: 1.6;
}
.article-body h1 { font-size: 26px; }
.article-body h2 { font-size: 20px; margin: 0; }
.article-body h3 { font-size: 18px; }
.article-body h4 { font-size: 17px; }
.article-body ul, .article-body ol { padding-left: 1.6em; }
.article-body li { margin: 4px 0; }
.article-body a { color: var(--gold); text-decoration: underline; }
/* !important 才能压过编辑器写进 style 的固定宽高；height:auto 保持等比、不拉伸变形 */
.article-body img,
.article-body video,
.article-body canvas,
.article-body svg {
  max-width: 100% !important;
  height: auto !important;
  box-sizing: border-box;
  border-radius: var(--radius);
}
.article-body iframe { max-width: 100% !important; }
.article-body figure { margin: 0; text-align: center; }
.article-body figure img { width: 100%; border-radius: var(--radius); }
.article-body figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
/* 宽表格 / 代码块：由 Site.richHtml() 包一层 .rich-scroll，在容器内横向滚动 */
.rich-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rich-scroll > table, .rich-scroll > pre { margin: 0; }
.article-body table { border-collapse: collapse; font-size: 15px; min-width: 100%; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.article-body th { background: var(--soft); color: var(--navy); font-weight: 500; }
.article-body pre {
  background: var(--soft); padding: 18px 22px; border-radius: var(--radius);
  font-size: 14px; line-height: 1.8; white-space: pre;
}
.article-body .empty { color: var(--muted); font-size: 15px; }
.article-body blockquote {
  margin: 0; display: flex; gap: 18px; padding: 8px 0 8px 24px;
  font-size: 18px; line-height: 1.9; color: var(--navy); font-weight: 500;
}
.article-body blockquote i { display: block; width: 3px; background: var(--gold); flex: none; }

/* 侧栏 */
.side-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.side-card + .side-card { margin-top: 24px; }
.side-card .hd { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; }
.side-card .hd i { width: 18px; height: 2px; background: var(--gold); flex: none; }
.side-card .hd h4 { font-size: 15px; color: var(--navy); font-weight: 500; }
.side-card li + li { margin-top: 14px; }
.side-card li a { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.8; color: var(--body); }
.side-card li a:hover { color: var(--gold); }
.side-card li i { width: 5px; height: 5px; border-radius: 50%; background: rgba(201,154,78,.55); flex: none; margin-top: 11px; }
.side-cta { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px; }
.side-cta h4 { font-size: 18px; font-weight: 500; }
.side-cta p { font-size: 13px; color: rgba(255,255,255,.62); margin: 10px 0 18px; line-height: 1.9; }

/* 上下篇 */
.prevnext { background: var(--soft); padding: 44px 0; }
.prevnext .container-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pn-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; transition: border-color .25s, box-shadow .25s;
}
.pn-card:hover { border-color: #D5DEEB; box-shadow: var(--shadow-sm); }
.pn-card.next { text-align: right; }
.pn-card .lb { font-size: 12px; color: var(--gold); font-weight: 500; }
.pn-card .tt { font-size: 15px; line-height: 1.75; color: var(--navy); font-weight: 500; margin-top: 8px; }
.pn-card:hover .tt { color: var(--gold); }
.pn-card.disabled { opacity: .55; pointer-events: none; }

/* ------------------------------------------------------------ 课程详情页 */
.cmodule + .cmodule { margin-top: 64px; }
.cmodule .eyebrow { margin-bottom: 14px; }
.cmodule h2 { font-size: 32px; line-height: 1.45; font-weight: 500; color: var(--navy); }
.cmodule .sub { font-size: 15px; color: var(--body-2); margin-top: 10px; }
.cmodule .hd { margin-bottom: 32px; }

.prose { font-size: 15px; line-height: 2; color: var(--body); }
.prose p + p { margin-top: 14px; }
.prose .gold { color: var(--gold); font-weight: 500; }

/* --------------------------------------------------------------------------
 * 后台富文本容器：课程详情 details / 上课时间 class_time 共用
 * 说明：内容由后台 TinyMCE 生成，可能含 h1~h4 / 列表 / 表格 / 图片 / 引用
 * ------------------------------------------------------------------------ */
.con_box, .time-free { font-size: 16px; line-height: 2; color: var(--body); overflow-wrap: anywhere; }
.con_box > *, .time-free > * { margin: 0 0 18px; }
.con_box > *:last-child, .time-free > *:last-child { margin-bottom: 0; }
.con_box h1, .con_box h2, .con_box h3, .con_box h4,
.time-free h1, .time-free h2, .time-free h3, .time-free h4 {
  color: var(--navy); font-weight: 500; line-height: 1.6;
}
.con_box h1, .time-free h1 { font-size: 26px; }
.con_box h2, .time-free h2 { font-size: 22px; }
.con_box h3, .time-free h3 { font-size: 19px; }
.con_box h4, .time-free h4 { font-size: 17px; }
.con_box ul, .con_box ol, .time-free ul, .time-free ol { padding-left: 1.6em; }
.con_box li, .time-free li { margin: 4px 0; }
.con_box img, .con_box video, .time-free img, .time-free video {
  max-width: 100%; height: auto; border-radius: var(--radius);
}
.con_box table, .time-free table { width: 100%; border-collapse: collapse; font-size: 15px; }
.con_box th, .con_box td, .time-free th, .time-free td {
  border: 1px solid var(--line); padding: 10px 14px; text-align: left;
}
.con_box th, .time-free th { background: var(--soft); color: var(--navy); font-weight: 500; }
.con_box blockquote, .time-free blockquote {
  display: flex; gap: 16px; background: var(--soft); padding: 18px 22px;
  border-left: 3px solid var(--gold); color: var(--navy);
}
.con_box a, .time-free a { color: var(--gold); text-decoration: underline; }
.con_box .gold, .time-free .gold { color: var(--gold); font-weight: 500; }
.con_box .empty, .time-free .empty { color: var(--muted); font-size: 15px; }
/* 纯文本（含换行）时也保持可读的段间距 */
.time-free { white-space: pre-line; grid-column: 1 / -1; background: var(--soft);
  border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 26px 28px; }

/* 政策文章列表：可选封面 */
.policy-list .cover { flex: none; width: 128px; height: 84px; object-fit: cover;
  border-radius: var(--radius); }
.policy-list .body .tag + .tag { margin-left: 8px; }

/* 入口按钮行 */
.entry-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0 4px; }
.entry-card {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.entry-card:hover { border-color: #D5DEEB; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.entry-card img { width: 48px; height: 48px; object-fit: contain; flex: none; }
.entry-card .nm { font-size: 15px; line-height: 1.6; color: var(--navy); font-weight: 500; }
.entry-card .go { font-size: 12px; color: var(--gold); margin-top: 5px; }

/* 上课时间信息条 */
.time-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.time-chip {
  background: var(--soft); border-radius: var(--radius); padding: 26px 28px;
  border-left: 3px solid var(--gold);
}
.time-chip span { display: block; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.time-chip b { display: block; font-size: 19px; font-weight: 500; color: var(--navy); margin-top: 8px; }

/* 课时表 */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.kb { width: 100%; border-collapse: collapse; font-size: 15px; }
table.kb th, table.kb td { padding: 16px 24px; text-align: left; }
table.kb thead th { background: var(--navy); color: #fff; font-weight: 500; font-size: 14px; }
table.kb tbody tr + tr td { border-top: 1px solid var(--line-2); }
table.kb tbody tr:hover { background: #FBFCFE; }
table.kb td:first-child { color: var(--gold); font-weight: 500; white-space: nowrap; }
table.kb td.num { font-family: var(--serif); }
table.kb tfoot td { background: var(--soft); font-weight: 500; color: var(--navy); border-top: 1px solid var(--line); }
.note { font-size: 13px; color: var(--muted); margin-top: 14px; line-height: 1.9; }

/* 讲师卡 */
.teacher-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.teacher-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column; height: 100%;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.teacher-card:hover { border-color: #D5DEEB; box-shadow: var(--shadow); transform: translateY(-3px); }
.teacher-card .avatar { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.teacher-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.teacher-card .nm { font-size: 18px; color: var(--navy); font-weight: 500; margin-top: 18px; }
.teacher-card .tt { font-size: 13px; color: var(--gold); margin-top: 6px; line-height: 1.7; }
.teacher-card .bio { font-size: 13px; color: var(--body-2); line-height: 1.9; margin-top: 12px; }
.teacher-card .skill { font-size: 12px; color: var(--muted); margin-top: 12px; line-height: 1.8; }
.teacher-card .grow { flex: 1 1 auto; min-height: 12px; }

/* 政策列表 */
.policy-list li { border-bottom: 1px solid var(--line-2); }
.policy-list a { display: flex; gap: 28px; align-items: flex-start; padding: 24px 0; }
.policy-list .d {
  flex: none; width: 84px; text-align: center; font-family: var(--serif);
  border-right: 1px solid var(--line); padding-right: 20px;
}
.policy-list .d b { display: block; font-size: 30px; line-height: 1.2; color: var(--navy); }
.policy-list .d span { font-size: 12px; color: var(--muted); }
.policy-list .body { flex: 1 1 auto; }
.policy-list h3 { font-size: 17px; line-height: 1.7; color: var(--navy); font-weight: 500; transition: color .2s; }
.policy-list a:hover h3 { color: var(--gold); }
.policy-list p { font-size: 14px; color: var(--body-2); margin-top: 6px; }
.policy-list .tag {
  display: inline-block; font-size: 12px; color: var(--gold);
  border: 1px solid rgba(201,154,78,.4); border-radius: 2px; padding: 1px 9px; margin-top: 10px;
}
.policy-more { margin-top: 24px; text-align: center; }

/* 报名卡 */
.signup-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 48px; text-align: center; }
.signup-card .eyebrow em { color: rgba(255,255,255,.5); }
.signup-card .eyebrow span { color: var(--gold); }
.signup-card h2 { font-size: 30px; font-weight: 500; margin-top: 14px; }
.signup-card .sub { font-size: 15px; color: rgba(255,255,255,.68); margin-top: 10px; }
.signup-card .btns { display: flex; justify-content: center; gap: 16px; margin-top: 28px; }
.signup-card .flow { display: flex; justify-content: center; gap: 40px; margin-top: 32px; flex-wrap: wrap; }
.signup-card .flow li { font-size: 13px; color: rgba(255,255,255,.62); display: flex; align-items: center; gap: 8px; }
.signup-card .flow li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.signup-card .tel { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 24px; }

/* ------------------------------------------------------------ 报名表单 */
.signup-grid { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.form-card h3 { font-size: 24px; color: var(--navy); font-weight: 500; }
.form-card .tip { font-size: 13px; color: var(--muted); margin-top: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; color: var(--navy); }
.field label .req { color: var(--gold); margin-right: 4px; }
.field input, .field select, .field textarea {
  height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 3px;
  background: #fff; transition: border-color .2s; outline: none; width: 100%;
}
.field textarea { height: 108px; padding: 12px 14px; resize: vertical; line-height: 1.8; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field .err { font-size: 12px; color: #C6534E; min-height: 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #C6534E; }

/* 验证码 */
.captcha-row { display: flex; gap: 12px; align-items: center; }
.captcha-row input { flex: 1 1 auto; }
.captcha-box {
  flex: none; width: 120px; height: 46px; border: 1px solid var(--line); border-radius: 3px;
  cursor: pointer; background: var(--soft); display: block;
}
.form-foot { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.form-foot .hint { font-size: 13px; color: var(--muted); }

/* 报名须知 */
.notes li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.notes li b { font-family: var(--serif); font-size: 15px; color: var(--gold); flex: none; }
.notes li p { font-size: 14px; color: var(--body-2); line-height: 1.9; }
.aside-card { background: var(--soft); border-radius: var(--radius); padding: 28px; }
.aside-card + .aside-card { margin-top: 24px; }
.aside-card h4 { font-size: 16px; color: var(--navy); font-weight: 500; margin-bottom: 16px; }
.aside-card dl { margin: 0; }
.aside-card dt { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.aside-card dd { margin: 0 0 16px; font-size: 15px; color: var(--navy); }
.aside-card dl dd:last-child { margin-bottom: 0; }

/* 提示条 */
.alert { padding: 12px 16px; border-radius: 3px; font-size: 14px; line-height: 1.8; margin-top: 18px; display: none; }
.alert.show { display: block; }
.alert.ok { background: rgba(70,160,120,.10); color: #2F7A58; border: 1px solid rgba(70,160,120,.28); }
.alert.err { background: rgba(198,83,78,.08); color: #B23F3A; border: 1px solid rgba(198,83,78,.26); }

/* 流程步骤 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; }
.step b { font-family: var(--serif); font-size: 34px; color: var(--gold); opacity: .6; line-height: 1; }
.step h4 { font-size: 18px; color: var(--navy); font-weight: 500; margin: 14px 0 10px; }
.step p { font-size: 14px; color: var(--body-2); }

/* 数据条（内页） */
.statsbar { background: var(--soft); padding: 44px 0; }

/* 头像层叠 */
.avatar-stack { display: flex; align-items: center; }
.avatar-stack img {
  width: 76px; height: 76px; border-radius: 50%; object-fit: cover;
  border: 4px solid #fff; box-shadow: 0 0 0 1px var(--line);
  background: var(--soft);
}
.avatar-stack img + img { margin-left: -58px; }

/* 图片区 */
.gallery { display: flex; flex-direction: column; gap: 20px; }
.gallery .big { height: 280px; border-radius: var(--radius); overflow: hidden; }
.gallery .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gallery .row > div { height: 200px; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* 骨架屏 */
.skeleton { background: linear-gradient(90deg, #EEF1F6 25%, #F6F8FB 37%, #EEF1F6 63%); background-size: 400% 100%; animation: sk 1.4s ease infinite; border-radius: 3px; }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.sk-line { height: 14px; margin-bottom: 10px; }
.sk-line.w60 { width: 60%; } .sk-line.w40 { width: 40%; }

/* ------------------------------------------------------------ 响应式 */
@media (max-width: 1440px) { :root { --pad: 48px; } }
@media (max-width: 1200px) {
  :root { --pad: 32px; }
  .nav-menu { gap: 22px; margin-left: 32px; }
  .brand-name { font-size: 17px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .teacher-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .news-main { grid-template-columns: 1fr; }
  .article-wrap { grid-template-columns: 1fr; }
  .signup-grid { grid-template-columns: 1fr; }
  .pagehead .container-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .pagehead-aside { width: 100%; }
  .hero-copy h1 { font-size: 56px; }
  .entry-row { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --pad: 20px; }
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 78px; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--pad);
    box-shadow: var(--shadow);
  }
  .nav-menu.open a { padding: 14px 0; border-bottom: 1px solid var(--line-2); }
  .nav-menu.open a.on::after { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-tel { display: none; }
  /* 窄屏导航：品牌名允许收缩省略，避免与右侧按钮互相挤压溢出 */
  .brand { flex: 1 1 auto; min-width: 0; }
  .brand img { width: 34px; height: 34px; }
  .brand-txt { min-width: 0; }
  .brand-name {
    display: block; font-size: 15px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .brand-sub {
    display: block; font-size: 8px; letter-spacing: .1em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .nav-right { flex: none; margin-left: 10px; gap: 10px; }
  .nav-right .btn { height: 34px; padding: 0 12px; font-size: 13px; }
  .grid-4, .grid-3, .grid-2, .teacher-grid, .steps, .time-row { grid-template-columns: 1fr; }
  .stats { flex-wrap: wrap; }
  .stats .stat { flex: 1 1 40%; margin-bottom: 20px; }
  .stats .sep { display: none; }
  .stats .num { font-size: 44px; }
  .section, .section-soft { padding: 48px 0; }
  .sec-title { font-size: 26px; }
  .pagehead h1, .page-title { font-size: 28px; }
  .hero { height: 480px; }
  .hero-copy h1 { font-size: 36px; }
  .hero-btns { flex-direction: column; }
  .news-items a { flex-direction: column; gap: 16px; }
  .news-items .thumb { width: 100%; height: 190px; }
  .prevnext .container-inner { grid-template-columns: 1fr; }
  .pn-card.next { text-align: left; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .signup-card { padding: 28px 20px; }
  .footer-main { grid-template-columns: 1fr; }
 .footer-main  .menus{ display: flex;
    flex-direction: row;
    justify-content: space-around; }
  .footer-main  .menus div{ width: 50%;}
  .cta .container-inner { flex-direction: column; align-items: flex-start; }
  .article h1 { font-size: 24px; }
  .article-body { font-size: 15px; }
  .crumbbar .back { display: none; }
  table.kb th, table.kb td { padding: 12px 14px; font-size: 14px; }
  .table-wrap { overflow-x: auto; }
  table.kb { min-width: 640px; }

      .footer-bottom{align-items: flex-start;flex-direction: column;}

     .footer-bottom .techsupport{
            flex-direction: column;
    gap: 0;
      }
      .footer-bottom .beian{
            flex-direction: column;
    gap: 0;
      }
}
