/* ============================================================
   CMI3-6岁教师资格证课程报名指引 — 静态页面样式
   移动优先，桌面在 768px 以上扩展
   ============================================================ */

:root {
  --bg: #f3efe3;
  --paper: #fffcf5;
  --ink: #2c2821;
  --muted: #6e6554;
  --green: #2f6b4f;
  --green-deep: #24563d;
  --green-soft: #e7ede1;
  --gold: #b4863a;
  --line: #e3dcc8;
  --shadow: 0 10px 30px rgba(60, 48, 24, 0.08);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- 页面容器 ---------- */
.article {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 20px 72px;
}

/* ---------- 文章头部 ---------- */
.art-header {
  text-align: center;
  padding: 18px 0 34px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--green);
  padding: 6px 18px;
  border: 1px solid rgba(47, 107, 79, 0.35);
  border-radius: 999px;
  margin-bottom: 20px;
}

.art-header h1 {
  font-family: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(26px, 4.6vw, 38px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 1px;
}

.art-header .meta {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

.art-header .meta em {
  font-style: normal;
  color: var(--gold);
}

/* ---------- 引言 ---------- */
.lead {
  text-align: center;
  padding: 30px 6px 10px;
  font-size: 17px;
  line-height: 2.1;
}

.lead .dots {
  color: var(--gold);
  letter-spacing: 6px;
  padding: 4px 0;
}

/* ---------- 章节 ---------- */
.sec {
  margin-top: 46px;
}

.sec-head {
  text-align: center;
  margin-bottom: 26px;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

.sec-head .rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.sec-head .rule::before,
.sec-head .rule::after {
  content: "";
  height: 1px;
  width: 34px;
  background: var(--line);
}

.sec-head .rule .dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}

.sec-head h2 {
  font-family: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(21px, 3.4vw, 27px);
  font-weight: 700;
  letter-spacing: 2px;
}

.body-inner {
  max-width: 660px;
  margin: 0 auto;
}

/* ---------- 解决什么：逐行短句 ---------- */
.resolve-list {
  list-style: none;
  text-align: center;
  font-size: 17px;
  line-height: 2.2;
}

.resolve-list .dots {
  color: var(--gold);
  letter-spacing: 6px;
  padding: 2px 0;
}

.resolve-more {
  margin-top: 10px;
  font-size: 15.5px;
  color: #4a4438;
  text-align: justify;
}

/* ---------- 需要学习提升：勾选清单 ---------- */
.who-list {
  list-style: none;
  max-width: 640px;
  margin: 0 auto 18px;
}

.who-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 0;
  font-size: 16px;
  line-height: 1.7;
}

.who-list li + li {
  border-top: 1px dashed var(--line);
}

.who-list .check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.who-list .check svg {
  width: 12px;
  height: 12px;
  stroke: var(--green);
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.belief {
  text-align: center;
  font-size: 15.5px;
  color: #4a4438;
  line-height: 2.1;
  padding-top: 8px;
}

.belief .dots {
  color: var(--gold);
  letter-spacing: 4px;
}

/* ---------- CTA 卡片 ---------- */
.cta-card {
  margin: 30px auto 8px;
  max-width: 640px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  border-radius: 14px;
  padding: 26px 22px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}

.cta-card p {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 2px;
}

.cta-card small {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  opacity: 0.85;
  font-weight: 400;
}

/* ---------- 课程简介 ---------- */
.intro-para {
  font-size: 16px;
  color: #3c362b;
  text-align: justify;
}

/* ---------- 课程目标：条目行 ---------- */
.goals {
  list-style: none;
  max-width: 640px;
  margin: 0 auto;
}

.goals li {
  display: flex;
  gap: 16px;
  padding: 16px 4px;
}

.goals li + li {
  border-top: 1px solid var(--line);
}

.goals .g-title {
  flex: 0 0 auto;
  min-width: 88px;
  font-weight: 700;
  font-size: 16px;
  color: var(--green-deep);
  position: relative;
  padding-left: 14px;
}

.goals .g-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 4px;
  height: 1.1em;
  background: var(--gold);
  border-radius: 2px;
}

.goals .g-desc {
  font-size: 15px;
  color: #4a4438;
  flex: 1;
  min-width: 0;
}

/* ---------- 课程内容：编号条目 ---------- */
.courses {
  list-style: none;
  max-width: 660px;
  margin: 0 auto;
}

.courses li {
  padding: 20px 0;
}

.courses li + li {
  border-top: 1px solid var(--line);
}

.courses .c-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.courses .c-num {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.courses .c-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--green-deep);
}

.courses .c-desc {
  font-size: 15px;
  color: #4a4438;
  text-align: justify;
}

.courses .c-sub {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 2;
}

/* ---------- 录播课程须知 ---------- */
.notice-panel {
  background: var(--green-soft);
  border-radius: 14px;
  padding: 24px 22px;
  max-width: 660px;
  margin: 0 auto;
}

.notice-item {
  padding: 10px 0;
}

.notice-item + .notice-item {
  border-top: 1px dashed rgba(47, 107, 79, 0.25);
  margin-top: 6px;
  padding-top: 18px;
}

.notice-item h3 {
  font-size: 16px;
  color: var(--green-deep);
  font-weight: 700;
  margin-bottom: 6px;
}

.notice-item p {
  font-size: 14.5px;
  color: #3c362b;
  line-height: 2;
}

.star-holder {
  text-align: center;
  padding: 18px 0 6px;
}

.star-holder img {
  width: 56px;
  height: auto;
  margin: 0 auto;
}

/* ---------- 证书颁发 ---------- */
.cert-para {
  font-size: 15.5px;
  color: #3c362b;
  text-align: justify;
}

.cert-img {
  max-width: 560px;
  margin: 22px auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  box-shadow: var(--shadow);
}

.cert-note {
  text-align: center;
  font-size: 15px;
  color: var(--green-deep);
  font-weight: 600;
  padding: 6px 0 10px;
}

/* ---------- 往期学员照片 ---------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 660px;
  margin: 0 auto;
}

.gallery figure {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  box-shadow: var(--shadow);
}

.gallery img {
  border-radius: 6px;
  width: 100%;
}

.gallery figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  padding: 10px 0 4px;
}

/* ---------- 学习心得 ---------- */
.review-img {
  max-width: 460px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  box-shadow: var(--shadow);
}

/* ---------- 报名咨询 ---------- */
.pay-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px;
  max-width: 640px;
  margin: 0 auto;
}

.pay-card h3 {
  font-size: 17px;
  color: var(--green-deep);
  font-weight: 700;
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 4px solid var(--gold);
}

.pay-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.pay-table td {
  padding: 9px 4px;
  vertical-align: top;
  line-height: 1.8;
}

.pay-table td.k {
  width: 96px;
  font-weight: 700;
  color: var(--green-deep);
  white-space: nowrap;
}

.pay-table td.v {
  color: #3c362b;
  word-break: break-all;
}

.pay-table .fee {
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  font-family: "Noto Serif SC", "Songti SC", serif;
}

.qr-title {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--green-deep);
  margin: 26px 0 14px;
}

.qr-img {
  max-width: 360px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  box-shadow: var(--shadow);
}

/* ---------- 温馨提示 ---------- */
.tips {
  max-width: 640px;
  margin: 0 auto;
  background: #faf6ea;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
}

.tips h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}

.tips ol {
  padding-left: 20px;
}

.tips li {
  font-size: 14.5px;
  color: #4a4438;
  margin: 8px 0;
  line-height: 1.9;
}

/* ---------- 页脚 ---------- */
.art-footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.art-footer strong {
  color: var(--green-deep);
  font-weight: 600;
}

/* ---------- 桌面扩展 ---------- */
@media (min-width: 768px) {
  .article {
    padding: 64px 24px 96px;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .who-list li {
    padding: 14px 0;
  }

  .goals li {
    padding: 18px 4px;
  }
}
