/* =========================================================
   派霏尔宠艺学院 · style.css
   页面级组件：导航 / 英雄区 / 各区块 / 页脚 / 表单 / 响应式
   ========================================================= */

/* =========================================================
   1. 顶部导航
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(66,33,16,.07); border-bottom-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
}
.nav__brand { display: flex; align-items: center; flex-shrink: 0; }
.nav__brand img { height: 46px; width: auto; }

.nav__menu { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative;
  display: block;
  padding: 10px 13px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--radius-sm);
  transition: color .25s var(--ease);
}
/* hover / 当前页：只做颜色 + 一条细下划线，不做底色块 */
.nav__link::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s var(--ease);
}
.nav__link:hover { color: var(--brand-deep); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--brand-deep); }
.nav__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  position: relative;
}
.nav__toggle span {
  position: absolute; left: 11px;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav__toggle span:nth-child(3) { top: 28px; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   2. 英雄区
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(430px, 56vh, 580px);
  padding-block: clamp(56px, 8vw, 104px);
  background: var(--bg-warm);
  color: var(--text);
}
/* 底图：实景照片，object-position 偏右保住犬只主体，左侧留给文案 */
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% center;
  z-index: -2;
}
/* 左侧柔白渐变：深色文字落在近白底上保证对比度，右半幅透出照片 */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(100deg,
    rgba(255,252,248,.97) 0%,
    rgba(255,252,248,.94) 30%,
    rgba(255,252,248,.74) 42%,
    rgba(255,252,248,.30) 52%,
    rgba(255,252,248,0)  64%);
}
.hero .container { position: relative; z-index: 1; }
.hero__content { max-width: 620px; }
.hero__title {
  color: var(--ink);
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.18;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.hero__title em {
  font-style: normal;
  color: var(--ink);
  padding-inline: 2px;
  background: linear-gradient(transparent 56%, var(--brand) 56%, var(--brand) 92%, transparent 92%);
}
.hero__lead {
  font-size: clamp(15px, 1.7vw, 18px);
  color: var(--text);
  max-width: 540px;
  margin-bottom: 28px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero .chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text);
}
.hero .chip::before {
  content: "";
  width: 16px; height: 16px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A6A00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* =========================================================
   3. 数据条
   ========================================================= */
.stats {
  position: relative;
  z-index: 2;
  margin-top: -34px;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.stat { background: #fff; padding: clamp(20px, 2.4vw, 30px) 20px; text-align: center; }
.stat__num { font-family: var(--font-latin); font-size: clamp(26px, 3vw, 38px); font-weight: 600; color: var(--brand-deep); line-height: 1; }
.stat__num small { font-size: .5em; margin-left: 2px; }
.stat__label { margin-top: 8px; font-size: 14px; color: var(--text-soft); }

/* =========================================================
   4. 学校介绍（图 + 文）
   ========================================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
/* 学校介绍页：媒体列放宽，配 16:9 实拍视频（1280×720 原生比例，零裁切） */
.about__grid--media-wide { grid-template-columns: 1.3fr 1fr; }
.about__media { position: relative; z-index: 0; }
.about__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.about__media::after {
  content: "";
  position: absolute; inset: auto -18px -18px auto;
  width: 40%; height: 40%;
  border: 2px solid var(--brand);
  border-radius: var(--radius-lg);
  opacity: .55;
  z-index: -1;
}
.about__body h2 { margin-bottom: 16px; }
.about__body p { margin-bottom: 16px; }

/* 关于我们 · 介绍视频（首页）：保持 960×544 原生比例，不裁切、不拉伸 */
.about__media--video::after { content: none; }
.about__media--video .video-frame { position: relative; z-index: 0; }
.about__media--video .video-frame::after {
  content: "";
  position: absolute; inset: auto -18px -18px auto;
  width: 40%; height: 40%;
  border: 2px solid var(--brand);
  border-radius: var(--radius-lg);
  opacity: .55;
  z-index: -1;
}
.about__media--video video {
  width: 100%;
  height: auto;              /* 由 width/height 属性锁定比例，16:9 零裁切 */
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  background: #101010;
}
.about__media--video figcaption {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-soft);
}

/* 办学理念引言 */
.quote {
  margin: 22px 0 0;
  padding: 18px 22px;
  background: var(--brand-tint);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink);
  font-weight: 500;
}

/* =========================================================
   5. 卡片网格：优势 / 课程 / 活动
   ========================================================= */
.feature { padding: 4px 0; }
.feature__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: var(--radius-md);
  background: var(--brand-soft);
  color: var(--brand-dark);
  margin-bottom: 16px;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; margin: 0; }

/* 课程卡 */
.course { display: flex; flex-direction: column; height: 100%; position: relative; }
.course .card__body { display: flex; flex-direction: column; flex: 1; }
.course__badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  padding: 5px 12px; font-size: 12.5px; font-weight: 600;
  color: #fff; background: rgba(42,21,12,.72);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}
.course__badge--hot { background: var(--brand); color: var(--brand-ink); }
.course h3 { margin-bottom: 6px; }
.course__desc { font-size: 14.5px; color: var(--text); margin-bottom: 16px; }
.course__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.course__list { flex: 1; margin-bottom: 22px; }
.course__list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 9px;
  font-size: 14.5px;
  color: var(--text);
}
.course__list li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
.course__foot { margin-top: auto; }

/* 活动卡 */
.activity__date {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 4px 12px; font-size: 12.5px; font-weight: 600;
  color: var(--ink); background: rgba(255,255,255,.92);
  border-radius: var(--radius-pill);
}
.activity h3 { font-size: 17px; margin: 0 0 8px; }
.activity p { font-size: 14.5px; margin: 0; }

/* =========================================================
   6. 深色 CTA
   ========================================================= */
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--deep), var(--deep-2));
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 60px);
}
.cta__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  position: relative; z-index: 1;
}
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { color: var(--on-dark-soft); margin-bottom: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.cta__paw { position: absolute; right: -40px; bottom: -50px; width: 280px; opacity: .07; }

/* =========================================================
   7. 页脚
   ========================================================= */
.site-footer { background: var(--deep); color: var(--on-dark-soft); padding-block: clamp(44px, 5vw, 72px) 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: 40px;
}
.footer__brand img { height: 44px; margin-bottom: 16px; }
.footer__brand p { font-size: 14px; max-width: 320px; }
.footer__title { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { color: var(--on-dark-soft); font-size: 14px; }
.footer__links a:hover { color: var(--brand); }
.footer__contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 14px; line-height: 1.65; }
.footer__contact b { color: #fff; font-weight: 500; }
.footer__contact a { color: #fff; font-weight: 500; }
.footer__contact a:hover { color: var(--brand); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 20px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,.55);
}

.footer__icp {
  color: rgba(255,255,255,.55);
  text-decoration: none;
}
.footer__icp:hover { color: #fff; text-decoration: underline; }

/* =========================================================
   8. 分页页头（关于/课程/活动/联系）
   ========================================================= */
.page-hero {
  position: relative;
  background: linear-gradient(120deg, var(--deep), var(--deep-2));
  color: #fff;
  padding-block: clamp(40px, 6vw, 76px);
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: var(--on-dark-soft); max-width: 660px; margin: 0 auto; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 13.5px; margin-top: 16px; color: rgba(255,255,255,.6); }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: var(--brand); }

/* 联系信息块 */
.contact-info { display: grid; gap: 18px; }
.contact-info__item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.contact-info__item .ic {
  width: 42px; height: 42px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: var(--brand-soft); color: var(--brand-dark);
}
.contact-info__item .ic svg { width: 20px; height: 20px; }
.contact-info__item b { display: block; color: var(--ink); font-size: 15px; }
.contact-info__item span { font-size: 14px; }
.contact-info__item a { font-weight: 500; }

/* 复制微信号按钮 */
.copy-id {
  margin-left: 6px;
  padding: 3px 10px;
  font: inherit; font-size: 12.5px; line-height: 1.7;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.copy-id:hover { background: var(--brand); color: var(--brand-ink); }
.copy-id:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.copy-id.is-done { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }

@media (max-width: 640px) {
  .copy-id { margin-left: 0; margin-top: 6px; display: inline-block; }
}

/* 微信二维码卡（扫码添加） */
.wechat-qr {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(20px, 2.4vw, 28px);
  padding: clamp(16px, 2vw, 22px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  color: var(--text);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.wechat-qr:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
  color: var(--text);
}
.wechat-qr:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.wechat-qr img {
  flex: 0 0 auto;
  width: 160px; height: 160px;
  border-radius: var(--radius-sm);
  background: #fff;
}
.wechat-qr__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wechat-qr__text b { font-size: 16px; color: var(--ink); }
.wechat-qr__text span { font-size: 13.5px; line-height: 1.65; }
.wechat-qr__text small { font-size: 12px; color: var(--text-soft); letter-spacing: .01em; }

@media (max-width: 640px) {
  .wechat-qr img { width: 120px; height: 120px; }
  .wechat-qr__text b { font-size: 15px; }
}

/* 报名流程步骤 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 32px); counter-reset: step; }
.step { position: relative; padding-top: 10px; }
.step__num {
  counter-increment: step;
  width: 52px; height: 52px; margin-bottom: 16px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand); color: var(--brand-ink);
  font-family: var(--font-latin); font-size: 20px; font-weight: 600;
}
.step__num::before { content: counter(step); }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14.5px; margin: 0; }

/* =========================================================
   9. 返回顶部
   ========================================================= */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand); color: var(--brand-ink);
  box-shadow: 0 10px 24px rgba(202,162,30,.42);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  z-index: 90;
}
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--deep); }

/* =========================================================
   10. 响应式
   ========================================================= */
@media (max-width: 1024px) {
  .nav__menu {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(66,33,16,.08);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
  .nav__link { padding: 14px 8px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav__link::after { display: none; }
  .nav__toggle { display: block; }

  .hero { min-height: 0; }
  .hero__bg { object-position: 64% center; }
  .hero::before {
    background: linear-gradient(180deg,
      rgba(255,252,248,.95) 0%,
      rgba(255,252,248,.91) 55%,
      rgba(255,252,248,.86) 100%);
  }
  .about__grid { grid-template-columns: 1fr; }
  .cta__grid { grid-template-columns: 1fr; }
  .cta__actions { justify-content: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav { height: 66px; }
  .nav__brand img { height: 40px; }
  .nav__menu { inset: 66px 0 auto 0; }
  .nav__actions .btn { display: none; }
  .hero__actions .btn { flex: 1; }
  .stats { margin-top: -26px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}

/* =========================================================
   11. 轻量轮播（横向 scroll-snap，无依赖）
   ========================================================= */
.slider { position: relative; }
.slider__track {
  display: flex;
  gap: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * { flex: 0 0 clamp(252px, 31%, 344px); scroll-snap-align: start; }

.slider__nav { display: flex; gap: 10px; justify-content: center; margin-top: 28px; }
.slider__btn {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff; color: var(--ink);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.slider__btn:hover:not(:disabled) { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.slider__btn:disabled { opacity: .35; cursor: not-allowed; }
.slider__btn svg { width: 20px; height: 20px; }

/* =========================================================
   12. 灯箱（资质证书放大查看）
   ========================================================= */
[data-lightbox] { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; place-items: center;
  padding: 24px;
  background: rgba(8,20,18,.88);
}
.lightbox.is-open { display: grid; }
.lightbox img {
  max-width: min(940px, 92vw);
  max-height: 86vh;
  width: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox__close {
  position: absolute; top: 18px; right: 22px;
  width: 44px; height: 44px;
  font-size: 30px; line-height: 1;
  color: #fff; background: rgba(255,255,255,.14);
  border-radius: 50%;
}
.lightbox__close:hover { background: rgba(255,255,255,.28); }

/* =========================================================
   13. 分页 / 地图位
   ========================================================= */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 14px;
  font-size: 14px; color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .25s var(--ease), color .25s var(--ease), background-color .25s var(--ease);
}
.pagination a:hover { border-color: var(--brand); color: var(--brand-deep); }
.pagination .is-active { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.pagination .is-disabled { opacity: .45; cursor: not-allowed; }

/* 位置示意图（静态图片） */
.map-static { margin: 0; }
.map-static img {
  display: block;
  width: 100%; height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  box-shadow: var(--shadow-soft);
}
.map-static figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.6;
}
.map-static + .btn { margin-top: 14px; }

/* =========================================================
   14. 课程页 · 实操视频与学员作品画廊
   ========================================================= */
/* 分组小标题 */
.gallery-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .01em;
  margin: 0 0 18px;
}
.gallery-title::before {
  content: "";
  width: 4px; height: 17px;
  border-radius: 2px;
  background: var(--brand);
}
.gallery-title ~ .gallery-title,
.grid + .gallery-title { margin-top: clamp(30px, 4vw, 44px); }

/* 视频卡：播放时不要把卡片顶起来 */
.video-card video { background: #101010; }
.video-card:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}
.video-card figcaption {
  padding: 12px 16px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-soft);
  border-top: 1px solid var(--line-soft);
}

/* 作品网格：手机端保持两列，避免单列长滚动 */
.gallery-hint {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--text-soft);
  text-align: center;
}
.work-grid .card { cursor: zoom-in; }

@media (max-width: 640px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .work-grid .card:hover { transform: none; }
  .video-grid { gap: 16px; }
}

/* =========================================================
   15. 师资团队
   ========================================================= */
/* 校长卡：左图右文，突出主咖 */
.teacher-feature {
  display: grid;
  grid-template-columns: minmax(0, 34%) 1fr;
  align-items: stretch;
  margin-bottom: clamp(18px, 2.4vw, 28px);
}
.teacher-feature .card__media { height: 100%; }
.teacher-feature .card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}
.teacher-feature__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 3.4vw, 46px);
}
.teacher-feature__body .eyebrow { margin-bottom: 8px; }
.teacher-feature h3 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 4px; }
.teacher-feature .teacher__lead {
  margin: 16px 0 20px;
  max-width: 48em;
  font-size: 15px;
  color: var(--text);
}
.teacher-feature .teacher__list li { font-size: 14px; }

/* 姓名 + 身份 */
.teacher__role {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--brand-deep);
  margin-bottom: 12px;
}
.teacher-feature .teacher__role { margin-bottom: 0; }

/* 小卡：4 列并排 */
.teacher { display: flex; flex-direction: column; height: 100%; }
.teacher .card__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 15%;
}
.teacher .card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(16px, 1.8vw, 22px);
}
.teacher h3 { font-size: clamp(17px, 1.7vw, 20px); margin-bottom: 4px; }
.teacher .course__desc { font-size: 13px; margin-bottom: 14px; }

/* 资质清单 */
.teacher__list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 5px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text);
}
.teacher__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .68em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

@media (max-width: 1024px) {
  .teacher-feature { grid-template-columns: minmax(0, 42%) 1fr; }
}
@media (max-width: 768px) {
  .teacher-feature { grid-template-columns: 1fr; }
  .teacher-feature .card__media { height: auto; }
  .teacher-feature .card__media img { height: auto; aspect-ratio: 3 / 4; object-position: 50% 18%; }
  .teacher .card__media img { aspect-ratio: 4 / 5; }
}

/* =========================================================
   16. 新闻动态
   ========================================================= */
/* 列表卡片：左图右文 */
.news-list { display: grid; gap: clamp(20px, 2.6vw, 30px); }
.news-card {
  display: grid;
  grid-template-columns: minmax(0, 36%) 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.news-card__media {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
}
.news-card__media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
  transition: transform .6s var(--ease);
}
.news-card:hover .news-card__media img { transform: scale(1.05); }
.news-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(24px, 3vw, 40px);
}
.news-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.news-card__meta time {
  font-family: var(--font-latin);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text-soft);
}
.news-card h3 { font-size: clamp(19px, 2.2vw, 24px); margin-bottom: 12px; }
.news-card h3 a { color: var(--ink); }
.news-card h3 a:hover { color: var(--brand-deep); }
.news-card__excerpt {
  color: var(--text);
  font-size: 15px;
  margin-bottom: 18px;
}
.news-more {
  margin-top: clamp(28px, 3.6vw, 40px);
  text-align: center;
  font-size: 14px;
  color: var(--text-soft);
}

/* 文章页正文排版 */
.article { max-width: 820px; margin: 0 auto; }
.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  font-size: 14px;
  color: var(--text-soft);
}
.article__meta-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--line);
  flex-shrink: 0;
}
.article__lead {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.85;
  border-left: 3px solid var(--brand);
  padding-left: 16px;
  margin-bottom: 36px;
}
.article p { font-size: 16.5px; line-height: 1.95; margin-bottom: 1.1em; }
/* 正文大标题：比小标题（h3）大一级，但不抢 h1 的视觉权重 */
.article h2 { margin: 2.4em 0 .7em; font-size: clamp(23px, 2.5vw, 30px); line-height: 1.4; }
.article h3 { margin: 2em 0 .6em; }
.article h3::before {
  content: "";
  display: inline-block;
  width: 9px; height: 9px;
  margin-right: 10px;
  border-radius: 2px;
  background: var(--brand);
  vertical-align: middle;
  transform: translateY(-2px);
}
.article figure { margin: 36px 0; }
.article figure img {
  width: auto;
  max-width: 100%;
  max-height: 620px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
}
.article figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-soft);
}
.article__source {
  margin-top: 34px;
  text-align: right;
  color: var(--ink);
  font-weight: 600;
}
.article__back {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px dashed var(--line);
}

@media (max-width: 1024px) {
  .news-card { grid-template-columns: 1fr; }
  .news-card__media { aspect-ratio: 16 / 9; }
}
