/* ============================================================
   同人书院 - 全站公共样式
   ============================================================ */

:root {
  --tr-red: #ff6700;
  --tr-red-dark: #ff6700;
  --tr-gold: #c9a063;
  --tr-ink: #2a2a2a;
  --tr-bg: #f7f3ec;
}

html, body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  color: var(--tr-ink);
  background: #fff;
  scroll-behavior: smooth;
}

a { text-decoration: none; }
img { max-width: 100%; }

.btn-outline-danger {
  color:#ff6700;
  border-color: #ff6700;
}
/* ===== 顶部条 ===== */
.top-bar {
  background: #222;
  color: #ccc;
  font-size: 13px;
  padding: 6px 0;
}
.top-bar a { color: #ccc; }
.top-bar a:hover { color: #fff; }

/* ===== 导航 ===== */
.navbar-brand img { height: 56px; }
.navbar { box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.navbar .nav-link {
  color: #333;
  font-size: 16px;
  padding: 0 18px !important;
  position: relative;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--tr-red);
}
.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 18px;
  right: 18px;
  height: 3px;
  background: var(--tr-red);
  border-radius: 2px;
}
.top-phone {
  color: var(--tr-red);
  font-weight: 700;
  font-size: 22px;
}

/* ===== 首页 Banner ===== */
.hero-carousel .carousel-item {
  height: clamp(280px, 48vw, 620px);
  background-size: cover;
  background-position: center;
}
.hero-carousel .slide-1 {
  background-image: url('./image/swiper1.png');
  /* background-image: linear-gradient(135deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .15)),
    url('//27185731.s21i.faiusr.com/4/ABUIABAEGAAg3srZlQYoxsTsqAMw6gI4mgE.png'); */
}
.hero-carousel .slide-2 {
  background-image: url('./image/swiper2.png');
  /* background-image: linear-gradient(135deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .15)),
    url('//27185731.s21i.faiusr.com/4/ABUIABAEGAAg583ZlQYozuaGwgQw6gI4kQM.png'); */
}
.hero-carousel .slide-3 {
  background-image: url('./image/swiper3.png');
  /* background-image: linear-gradient(135deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .15)),
    url('//27185731.s21i.faiusr.com/4/ABUIABAEGAAgucrZlQYoy9bx7gUw6gI46gI.png'); */
}
.hero-caption {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 640px;
}
.hero-caption h1 {
  font-size: clamp(22px, 3.4vw, 48px);
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
  margin-bottom: 16px;
  line-height: 1.3;
}
.hero-caption p {
  font-size: clamp(14px, 1.6vw, 22px);
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

/* ===== 二级页 Banner ===== */
.page-banner {
  height: clamp(180px, 28vw, 450px);
  background-size: cover;
  background-position: center;
  background-image: linear-gradient(135deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .25)),
    url('./image/aboutus.png');
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.page-banner h1 {
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: 4px;
  margin-bottom: 8px;
}
.page-banner .sub {
  letter-spacing: 4px;
  opacity: .9;
  font-size: 14px;
}

/* ===== 面包屑 ===== */
.crumb-bar {
  background: #f7f3ec;
  padding: 14px 0;
  font-size: 14px;
  color: #777;
}
.crumb-bar a { color: #555; }
.crumb-bar a:hover { color: var(--tr-red); }

/* ===== 通用标题 ===== */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--tr-ink);
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  padding: 0 24px;
}
.section-title h2::before,
.section-title h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  height: 2px;
  background: var(--tr-red);
}
.section-title h2::before { left: -60px; }
.section-title h2::after { right: -60px; }
.section-title .sub {
  color: #999;
  letter-spacing: 4px;
  margin-top: 10px;
  font-size: 14px;
  text-transform: uppercase;
}

/* ===== 优势卡 ===== */
.advantages {
  padding: 60px 0 30px;
  background: #f7f7f7;
}
.advantages .section-title {
  margin-bottom: 45px;
}
.advantages .section-title h2 {
  padding: 0 0 24px;
  color: #030303;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: 0;
}
.advantages .section-title h2::before {
  display: none;
}
.advantages .section-title h2::after {
  top: auto;
  right: 50%;
  bottom: 0;
  width: 100px;
  height: 4px;
  transform: translateX(50%);
  background: #ef4b2a;
}
.adv-card {
  background: #fff;
  border-radius: 8px;
  padding: 0;
  text-align: center;
  height: 100%;
  overflow: hidden;
  box-shadow: none;
  transition: transform .3s, box-shadow .3s;
}
.adv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .1);
}
.adv-card img {
  display: block;
  width: 100%;
  aspect-ratio: 373 / 259;
  object-fit: cover;
}
.adv-card .adv-body {
  padding: 20px 20px 24px;
}
.adv-card h4 {
  color: #202020;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}
.adv-card p {
  color: #5f6670;
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 767.98px) {
  .advantages {
    padding: 36px 0;
  }
  .advantages .section-title {
    margin-bottom: 34px;
  }
  .advantages .section-title h2 {
    font-size: 25px;
    padding-bottom: 18px;
  }
  .advantages .section-title h2::after {
    width: 72px;
    height: 3px;
  }
  .adv-card .adv-body {
    padding: 18px 16px 22px;
  }
  .adv-card h4 {
    font-size: 22px;
  }
  .adv-card p {
    font-size: 15px;
  }
}

/* ===== 课程体系 ===== */
.system { padding: 70px 0; background: #fff; }
.system-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 36px 24px;
  text-align: center;
  height: 100%;
  transition: all .3s;
}
.system-card:hover {
  border-color: var(--tr-red);
  box-shadow: 0 6px 18px rgba(185, 29, 29, .1);
}
.system-card .num {
  font-size: 48px;
  font-weight: 800;
  color: var(--tr-red);
  font-family: "Times New Roman", serif;
  line-height: 1;
}
.system-card h5 { margin: 14px 0; font-weight: 700; }
.system-card p { color: #777; font-size: 14px; line-height: 1.8; margin: 0; }

/* ===== 师资 ===== */
.teachers { padding: 70px 0; background: linear-gradient(180deg, #faf6ef, #fff); }
.teacher-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
  display: flex;
  flex-direction: column;
  height: 100%;
}
/* 图片：缩小高度 + contain 完整展示，米色背景兜底 */
.teacher-card .photo {
  height: 360px;
  background-size: 75% auto;
  background-position: center -10%;
  background-repeat: no-repeat;
  background-color: rgb(238, 240, 242);
}
.teacher-card .info { padding: 28px 30px 32px; flex: 1; }
.teacher-card .name {
  font-size: 28px;
  font-weight: 800;
  color: var(--tr-red);
  margin-bottom: 8px;
  letter-spacing: 2px;
}
.teacher-card .title {
  color: #333;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--tr-red);
  display: inline-block;
}
.teacher-card .desc {
  color: #333;
  font-size: 16px;
  line-height: 2;
}
/* 重点关键词高亮 */
.teacher-card .desc strong,
.teacher-card .desc .hl {
  color: var(--tr-red);
  font-weight: 800;
}

/* ===== 数据条 ===== */
.stats {
  padding: 60px 0;
  background: var(--tr-red);
  color: #fff;
}
.stat-item {
  text-align: center;
}
.stat-item .num {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1;
}
.stat-item .label {
  font-size: 16px;
  letter-spacing: 0;
  opacity: .9;
  margin-top: 6px;
}
.stats-people {
  position: relative;
  min-height: 420px;
  padding: 148px 0 132px;
  color: #fff;
  background:
    linear-gradient(rgba(0, 0, 0, .58), rgba(0, 0, 0, .58)),
    url("./image/renshu.png") center / cover no-repeat;
  overflow: hidden;
}
.stats-people .container {
  position: relative;
  z-index: 1;
}
.stats-people .row {
  align-items: center;
}
.stats-people .row > [class*="col-"] {
  position: relative;
}
.stats-people .row > [class*="col-"]:not(:last-child)::after {
  content: "/";
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
  color: #fff;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 300;
  line-height: 1;
}
.stats-people .stat-item {
  text-align: left;
}
.stats-people .stat-item .num {
  display: flex;
  align-items: baseline;
  color: #fff;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}
.stats-people .stat-item .num small {
  font-size: 1em;
  font-weight: 800;
  line-height: 1;
}
.stats-people .stat-item .label {
  color: rgba(255, 255, 255, .86);
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
  margin-top: 16px;
}
@media (max-width: 767.98px) {
  .stats-people {
    min-height: auto;
    padding: 72px 0;
    background-position: center top;
  }
  .stats-people .row {
    row-gap: 34px;
  }
  .stats-people .row > [class*="col-"]:not(:last-child)::after {
    display: none;
  }
  .stats-people .stat-item {
    text-align: center;
  }
  .stats-people .stat-item .num {
    justify-content: center;
    font-size: clamp(34px, 12vw, 48px);
  }
  .stats-people .stat-item .label {
    font-size: 16px;
    margin-top: 10px;
  }
}

/* ===== 关于 ===== */
.about { padding: 70px 0; background: #fff; }
.about-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}
.about-content h3 { font-weight: 800; margin-bottom: 20px; color: var(--tr-ink); }
.about-content h3 span { color: var(--tr-red); }
.about-content p { color: #555; line-height: 2; font-size: 15px; }

/* 视频封面卡片（点击播放） */
.video-cover {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
  cursor: pointer;
  background: #000;
}
.video-cover .about-img {
  display: block;
  width: 100%;
  border-radius: 0;
  box-shadow: none;
  transition: transform .4s ease, opacity .3s ease;
}
.video-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .45) 100%);
  transition: background .3s ease;
}
.video-cover .video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #ff6700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  z-index: 2;
  box-shadow: 0 0 0 0 rgba(185, 29, 29, .6);
  animation: videoPulse 1.8s infinite;
  transition: transform .3s ease, background .3s ease;
}
.video-cover .video-tip {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  letter-spacing: 2px;
  z-index: 2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}
.video-cover:hover .about-img { transform: scale(1.04); }
.video-cover:hover::after { background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .55) 100%); }
.video-cover:hover .video-play { transform: translate(-50%, -50%) scale(1.08); background: var(--tr-red); }

@keyframes videoPulse {
  0%   { box-shadow: 0 0 0 0 rgba(185, 29, 29, .55); }
  70%  { box-shadow: 0 0 0 22px rgba(185, 29, 29, 0); }
  100% { box-shadow: 0 0 0 0 rgba(185, 29, 29, 0); }
}

@media (max-width: 768px) {
  .video-cover .video-play { width: 60px; height: 60px; font-size: 30px; }
  .video-cover .video-tip { font-size: 12px; bottom: 10px; }
}


/* ===== 服务 ===== */
.services {
  padding: 60px 0 30px;
  background: #f7f7f7;
}
.services .section-title {
  margin-bottom: 45px;
}
.services .section-title h2 {
  padding: 0 0 24px;
  color: #030303;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: 0;
}
.services .section-title h2::before {
  display: none;
}
.services .section-title h2::after {
  top: auto;
  right: 50%;
  bottom: 0;
  width: 100px;
  height: 4px;
  transform: translateX(50%);
  background: #ef4b2a;
}
.service-card {
  background: #fff;
  padding: 0;
  border-radius: 16px 16px 0 0;
  height: 100%;
  overflow: hidden;
  text-align: center;
  transition: all .3s;
  box-shadow: none;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .1);
}
.service-card img {
  display: block;
  width: 100%;
  aspect-ratio: 404 / 374;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}
.service-card .service-body {
  min-height: 156px;
  padding: 34px 34px 24px;
}
.service-card h5 {
  color: #202020;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}
.service-card p {
  color: #777d84;
  line-height: 1.8;
  font-size: 14px;
  margin: 0;
}
@media (max-width: 767.98px) {
  .services {
    padding: 36px 0;
  }
  .services .section-title {
    margin-bottom: 34px;
  }
  .services .section-title h2 {
    font-size: 24px;
    padding-bottom: 18px;
  }
  .services .section-title h2::after {
    width: 72px;
    height: 3px;
  }
  .service-card .service-body {
    min-height: auto;
    padding: 24px 20px;
  }
  .service-card h5 {
    font-size: 20px;
  }
}

/* ===== 资讯 ===== */
.news { padding: 70px 0; background: #fff; }
.news-item {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px dashed #ddd;
  transition: background .3s;
}
.news-item:hover { background: #fafafa; }
.news-date {
  flex: 0 0 90px;
  text-align: center;
  background: var(--tr-bg);
  padding: 14px 6px;
  border-radius: 4px;
  color: var(--tr-red);
}
.news-date .day { font-size: 28px; font-weight: 800; line-height: 1; }
.news-date .ym { font-size: 12px; margin-top: 6px; color: #777; }
.news-body { flex: 1; }
.news-body h6 { margin-bottom: 8px; font-weight: 700; font-size: 16px; }
.news-body h6 a { color: #222; }
.news-body h6 a:hover { color: var(--tr-red); }
.news-body p {
  color: #777;
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-tag {
  display: inline-block;
  background: var(--tr-red);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 2px;
  margin-right: 8px;
}

/* ===== 创始人详情 ===== */
.founder {
  padding: 60px 0;
  background: #fff;
}
.founder-alt {
  background: rgb(238, 240, 242);
}
.founder-photo {
  width: 100%;
  height: 440px;
  background-size: 115% auto;
  background-position: center 20%;
  background-repeat: no-repeat;
  /* background-color: rgb(238, 240, 242); */
  border-radius: 10px;
}
.founder-bio p {
  font-size: 17px;
  line-height: 2.1;
  color: #333;
  margin-bottom: 16px;
}
.founder-bio strong {
  color: var(--tr-red);
  font-weight: 800;
}

/* ===== 荣誉资质 ===== */
.honors {
  padding: 60px 0;
  background: #fff;
}
.honor-card {
  text-align: center;
  padding: 20px 10px;
  transition: transform .3s;
}
.honor-card:hover {
  transform: translateY(-4px);
}
.honor-card .honor-img {
  width: 190px;
  height: 130px;
  margin: 0 auto 14px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgb(250, 250, 250);
  border-radius: 8px;
  border: 1px solid #eee;
}
.honor-card p {
  font-size: 14px;
  color: #444;
  line-height: 1.7;
}

/* ===== CTA ===== */
.cta {
  padding: 50px 0;
  background: url('//27185731.s21i.faiusr.com/4/ABUIABAEGAAg0q_alQYo7fWptAIwCTgJ.png') center/cover no-repeat;
  /* background-color: var(--tr-red-dark); */
  color: #fff;
  text-align: center;
  background-blend-mode: multiply;
}
.cta h3 { font-weight: 800; letter-spacing: 4px; margin-bottom: 14px; }
.cta .phone {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  font-family: "Arial", sans-serif;
}
.cta .btn-join {
  background: #fff;
  color: var(--tr-red);
  padding: 10px 36px;
  font-weight: 700;
  border-radius: 30px;
  margin-top: 14px;
}

/* ===== Footer ===== */
footer {
  background: #1f1f1f;
  color: #bbb;
  padding: 50px 0 20px;
  font-size: 14px;
}
footer h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 2px;
}
footer a { color: #bbb; }
footer a:hover { color: #fff; }
footer ul { list-style: none; padding: 0; }
footer ul li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 30px;
  padding-top: 18px;
  text-align: center;
  color: #777;
  font-size: 13px;
}

/* ===== 二级页 - 课程列表 ===== */
.course-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
  height: 100%;
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}
.course-card .cover {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #eee;
}
.course-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.course-card .tag {
  display: inline-block;
  background: var(--tr-bg);
  color: var(--tr-red);
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.course-card h5 { font-weight: 800; margin-bottom: 10px; }
.course-card p { color: #666; font-size: 14px; line-height: 1.8; flex: 1; }
.course-card .more {
  color: var(--tr-red);
  font-weight: 700;
  font-size: 14px;
  margin-top: 6px;
}

/* ===== 课程体系 Tab 切换 ===== */
.curriculum-tabs { padding: 60px 0 40px; background: #fff; }
.tab-switch {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 30px;
}
.tab-btn {
  padding: 14px 48px;
  font-size: 18px;
  font-weight: 700;
  border: 2px solid var(--tr-red);
  background: #fff;
  color: var(--tr-red);
  cursor: pointer;
  transition: all .3s;
}
.tab-btn:first-child { border-radius: 8px 0 0 8px; }
.tab-btn:last-child { border-radius: 0 8px 8px 0; }
.tab-btn.active {
  background: var(--tr-red);
  color: #fff;
}
.tab-btn:hover:not(.active) {
  background: var(--tr-bg);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ===== 适用学员 ===== */
.target-students {
  padding: 18px 0 36px;
  background: #f7f7f7;
}
.target-students .section-title {
  margin-bottom: 68px;
}
.target-students .section-title h2 {
  padding: 0 0 24px;
  color: #030303;
  font-size: clamp(30px, 3.2vw, 40px);
  letter-spacing: 0;
}
.target-students .section-title h2::before {
  display: none;
}
.target-students .section-title h2::after {
  top: auto;
  right: 50%;
  bottom: 0;
  width: 100px;
  height: 4px;
  transform: translateX(50%);
  background: #ef4b2a;
}
.target-card {
  background: #fff;
  padding: 0;
  border-radius: 0 14px 0 14px;
  text-align: center;
  height: 100%;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.target-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.target-card img {
  display: block;
  width: 100%;
  aspect-ratio: 274 / 197;
  object-fit: cover;
}
.target-card p {
  min-height: 68px;
  padding: 11px 12px 12px;
  color: #6c6c6c;
  font-size: 16px;
  line-height: 1.45;
  margin: 0;
}
.target-card.objective {
  padding: 28px 18px;
  text-align: left;
}
.target-card.objective .num {
  font-size: 36px;
  font-weight: 800;
  color: var(--tr-red);
  opacity: .25;
  margin-bottom: 4px;
}
.target-card.objective h5 {
  font-weight: 800;
  font-size: 22px;
  color: var(--tr-ink);
  margin-bottom: 8px;
}
.target-card.objective p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}
@media (max-width: 767.98px) {
  .target-students {
    padding: 36px 0;
  }
  .target-students .section-title {
    margin-bottom: 34px;
  }
  .target-students .section-title h2 {
    font-size: 28px;
    padding-bottom: 18px;
  }
  .target-students .section-title h2::after {
    width: 72px;
    height: 3px;
  }
  .target-card p {
    min-height: 76px;
    padding: 10px 8px 12px;
    font-size: 14px;
  }
}

/* ===== 二级页 - 教研产品 ===== */
.product-row { padding: 70px 0; }
.product-row:nth-child(even) { background: var(--tr-bg); }
.product-row img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}
.product-row h3 {
  font-weight: 800;
  color: var(--tr-ink);
  margin-bottom: 18px;
}
.product-row h3 .accent { color: var(--tr-red); }
.product-row .feature {
  list-style: none;
  padding: 0;
}
.product-row .feature li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: #555;
  line-height: 1.8;
}
.product-row .feature li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 8px;
  width: 20px; height: 20px;
  background: var(--tr-red);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  text-align: center;
  line-height: 20px;
}

/* ===== 二级页 - 教研产品 区块 ===== */
.product-section {
  padding: 70px 0;
}
.product-section.alt {
  background: var(--tr-bg);
}
.product-section .section-title h2 span {
  color: var(--tr-red);
}
.product-img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .1);
}
.product-img-wide {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .1);
}
.product-info p {
  color: #555;
  line-height: 2;
  font-size: 16px;
  margin-bottom: 20px;
}
.product-info .feature {
  list-style: none;
  padding: 0;
  margin: 0;
}
.product-info .feature li {
  padding: 10px 0 10px 32px;
  position: relative;
  color: #444;
  line-height: 1.8;
  font-size: 15px;
  border-bottom: 1px dashed #e0dcd0;
}
.product-info .feature li:last-child {
  border-bottom: none;
}
.product-info .feature li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 10px;
  width: 22px; height: 22px;
  background: var(--tr-red);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  text-align: center;
  line-height: 22px;
}

/* ===== 产品卡片背景图样式 ===== */
.product-card-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 360px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .12);
}
.product-card-overlay {
  padding: 60px 50px;
  background: linear-gradient(135deg, rgba(0, 0, 0, .65), rgba(0, 0, 0, .35));
  color: #fff;
}
.product-card-overlay p {
  color: rgba(255, 255, 255, .9);
  line-height: 2;
  font-size: 16px;
  margin-bottom: 24px;
  max-width: 700px;
}
.product-card-overlay .feature {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}
.product-card-overlay .feature li {
  padding: 12px 0 12px 30px;
  position: relative;
  color: rgba(255, 255, 255, .9);
  line-height: 1.8;
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.product-card-overlay .feature li:last-child,
.product-card-overlay .feature li:nth-last-child(2):nth-child(odd) {
  border-bottom: none;
}
.product-card-overlay .feature li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 12px;
  width: 20px; height: 20px;
  background: var(--tr-red);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  text-align: center;
  line-height: 20px;
}

/* ===== 产品页教材展示 ===== */
.product-catalog {
  background: #f4f4f4;
  padding: 56px 0 34px;
}
.catalog-hero {
  position: relative;
  width: min(1220px, calc(100% - 20px));
  aspect-ratio: 1220 / 572;
  margin: 0 auto 56px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.catalog-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .62));
  pointer-events: none;
}
.catalog-hero-text {
  position: absolute;
  left: clamp(24px, 4vw, 46px);
  bottom: clamp(24px, 4vw, 46px);
  z-index: 1;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}
.catalog-hero-text h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: 0;
}
.catalog-hero-text p {
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.45;
  margin: 0;
  letter-spacing: 0;
}
.catalog-group {
  padding: 38px 0 34px;
}
.catalog-group + .catalog-group {
  padding-top: 34px;
}
.catalog-title {
  position: relative;
  display: block;
  margin: 0 auto 66px;
  padding-left: 14px;
  color: #000;
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}
.catalog-group-3 .catalog-title {
  width: min(1250px, calc(100% - 36px));
}
.catalog-group-4 .catalog-title {
  width: min(1250px, calc(100% - 36px));
}
.product-catalog > .catalog-title {
  width: min(1220px, calc(100% - 20px));
}
.catalog-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 4px;
  width: 6px;
  background: #ff4b23;
}
.catalog-grid {
  display: grid;
  gap: 36px;
  padding: 0 18px;
  margin: 0 auto;
}
.catalog-grid-3 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1250px;
}
.catalog-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1250px;
}
.catalog-card {
  background: #fff;
  overflow: hidden;
}
.catalog-card-img {
  height: 192px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.catalog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.catalog-card-img-cover {
  height: 190px;
  background: #e8e8e8;
}
.catalog-card-img-cover img {
  object-fit: cover;
}
.catalog-card-body {
  min-height: 116px;
  padding: 18px 20px 20px;
}
.catalog-card h3 {
  margin: 0 0 7px;
  color: #435063;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
}
.catalog-card p {
  margin: 0;
  color: #526173;
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .product-card-overlay {
    padding: 36px 24px;
  }
  .product-card-overlay .feature {
    grid-template-columns: 1fr;
  }
  .product-card-overlay .feature li {
    font-size: 14px;
  }
  .catalog-hero {
    width: calc(100% - 24px);
    min-height: 230px;
    aspect-ratio: auto;
    margin-bottom: 28px;
  }
  .catalog-group {
    padding: 32px 0 10px;
  }
  .catalog-title {
    margin-bottom: 30px;
    font-size: 30px;
  }
  .catalog-group-3 .catalog-title,
  .catalog-group-4 .catalog-title,
  .product-catalog > .catalog-title {
    width: calc(100% - 24px);
  }
  .catalog-grid,
  .catalog-grid-3,
  .catalog-grid-4 {
    grid-template-columns: 1fr;
    max-width: none;
    gap: 18px;
    padding: 0 12px;
  }
  .catalog-card-img,
  .catalog-card-img-cover {
    height: 210px;
  }
}

/* ===== 新闻详情 ===== */
.article-page { padding: 50px 0 70px; }
.article-title {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 14px;
}
.article-meta {
  text-align: center;
  color: #999;
  font-size: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 30px;
}
.article-meta span { margin: 0 10px; }
.article-content {
  font-size: 16px;
  line-height: 2;
  color: #333;
}
/*.article-content p { margin-bottom: 18px; text-indent: 2em; }*/
.article-content p:has(img) {
  text-indent: 0;
}

.article-content img {
  display: block;
  height: auto;
  margin: 0 auto;
}
.article-content h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--tr-red);
  margin: 30px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--tr-red);
}
.article-content blockquote {
  border-left: 4px solid var(--tr-gold);
  background: #faf6ef;
  padding: 16px 20px;
  margin: 20px 0;
  color: #555;
  font-style: italic;
}
.article-nav {
  border-top: 1px solid #eee;
  padding-top: 24px;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}
.article-nav a { color: #555; }
.article-nav a:hover { color: var(--tr-red); }

/* 侧边栏 */
.sidebar-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
}
.sidebar-card h6 {
  font-weight: 800;
  border-left: 4px solid var(--tr-red);
  padding-left: 10px;
  margin-bottom: 16px;
  font-size: 16px;
}
.sidebar-card ul { list-style: none; padding: 0; margin: 0; }
.sidebar-card ul li {
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
  font-size: 14px;
}
.sidebar-card ul li:last-child { border-bottom: none; }
.sidebar-card ul li a { color: #555; }
.sidebar-card ul li a:hover { color: var(--tr-red); }

/* 关于我们 - 时间轴 */
.timeline {
  position: relative;
  padding: 20px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: #e6d9c2;
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item::before {
  content: "";
  position: absolute;
  top: 30px;
  width: 16px; height: 16px;
  background: var(--tr-red);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--tr-red);
}
.timeline-item:nth-child(odd)::before { right: -8px; }
.timeline-item:nth-child(even)::before { left: -8px; }
.timeline-year {
  display: inline-block;
  background: var(--tr-red);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}
.timeline-content {
  background: #fff;
  padding: 18px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
  display: inline-block;
  text-align: left;
}
.timeline-content p { margin: 0; color: #555; line-height: 1.8; font-size: 14px; }

/* ===== 校区地址 ===== */
.campus-section { padding: 60px 0 70px; background: #fff; }
.campus-intro {
  text-align: center;
  font-size: 16px;
  color: #666;
  line-height: 1.9;
  max-width: 700px;
  margin: 0 auto 36px;
}
.campus-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.campus-card {
  background: #fff;
  border: 1px solid #e8e5df;
  border-radius: 10px;
  padding: 26px 30px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.campus-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--tr-red);
  border-radius: 0 3px 3px 0;
}
.campus-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .1);
  border-color: transparent;
}
.campus-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--tr-ink);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #eee;
}
.campus-info { display: flex; flex-direction: column; gap: 10px; }
.campus-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.campus-label {
  flex: 0 0 auto;
  min-width: 52px;
  font-size: 13px;
  color: #999;
  white-space: nowrap;
}
.campus-label i { color: var(--tr-red); font-size: 14px; }
.campus-value {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .campus-list { grid-template-columns: 1fr; gap: 16px; }
  .campus-card { padding: 20px 22px; }
  .campus-name { font-size: 16px; margin-bottom: 12px; padding-bottom: 10px; }
  .campus-value { font-size: 14px; }
}

/* ===== 移动端 ===== */
@media (max-width: 768px) {
  .section-title h2::before,
  .section-title h2::after { display: none; }
  .top-bar { display: none; }
  .navbar-brand img { height: 44px; }
  .hero-caption { left: 5%; right: 5%; }
  .news-item { flex-direction: row; gap: 12px; }
  .news-date { flex: 0 0 70px; }
  .teacher-card .photo { height: 260px; background-size: 115% auto; background-position: center 20%; }
  .teacher-card .info { padding: 22px 20px 24px; }
  .teacher-card .name { font-size: 24px; }
  .teacher-card .title { font-size: 15px; }
  .teacher-card .desc { font-size: 15px; line-height: 1.9; }

  /* 时间轴单列化 */
  .timeline::before { left: 20px; }
  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding: 16px 16px 16px 50px;
  }
  .timeline-item::before {
    left: 12px !important;
    right: auto !important;
  }
  .product-row { padding: 40px 0; }
  .product-section { padding: 40px 0; }
  .product-img-wide { border-radius: 6px; }
  .product-img { border-radius: 6px; }
  .product-info p { font-size: 14px; }
  .product-info .feature li { font-size: 14px; padding: 8px 0 8px 28px; }
  .founder-photo { height: 280px; }
  .founder-bio p { font-size: 15px; line-height: 1.9; }
  .honor-card .honor-img { width: 90px; height: 90px; }
  .honor-card p { font-size: 12px; }
  .tab-btn { padding: 10px 28px; font-size: 15px; }
}
