/* ============================================================
   寿光市老年大学 · 全新改版设计 DEMO
   设计基调：宣纸暖白 × 深墨棕 × 朱砂红，衬线编辑排版
   ============================================================ */

:root {
  --paper: #fcfcf8;
  --paper-2: #f6f3ea;
  --ink: #2a160d;
  --ink-2: #6b5a4e;
  --ink-3: #9a8b7d;
  --line: #e8e1d2;
  --red: #9e3b2e;
  --red-deep: #7c2c21;
  --gold: #b98a4a;
  --band: #241209;
  --band-2: #33200f;
  --serif: "Noto Serif CJK SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  --kai: "KaiTi", "STKaiti", "DFKai-SB", "Noto Serif CJK SC", serif;
  --sans: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --maxw: 1240px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

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

html { font-size: 100%; scroll-behavior: smooth; }
html.font-lg { font-size: 118.75%; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }

/* ---------- 滚动渐入 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .12s; }
.reveal[data-d="2"] { transition-delay: .24s; }
.reveal[data-d="3"] { transition-delay: .36s; }
.reveal[data-d="4"] { transition-delay: .48s; }
.reveal[data-d="5"] { transition-delay: .60s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- 演示声明条 ---------- */
.demo-bar {
  background: var(--red);
  color: #fdf6ee;
  font-size: .8125rem;
  letter-spacing: .06em;
  text-align: center;
  padding: .4rem 1rem;
}
.demo-bar a { text-decoration: underline; text-underline-offset: 3px; opacity: .92; }
.demo-bar a:hover { opacity: 1; }

/* ---------- 顶栏 ---------- */
.topbar {
  background: var(--band);
  color: #cdbfab;
  font-size: .8125rem;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 2.5rem; gap: 1rem; }
.topbar-date { letter-spacing: .04em; }
.topbar-tools { display: flex; align-items: center; gap: 1.25rem; }
.topbar-tools button, .topbar-tools a { color: #cdbfab; display: inline-flex; align-items: center; gap: .35rem; transition: color .3s var(--ease); }
.topbar-tools button:hover, .topbar-tools a:hover { color: #fff; }
.font-toggle { border: 1px solid rgba(205, 191, 171, .4); border-radius: 999px; padding: .1rem .7rem; line-height: 1.5; }
.font-toggle[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #241209; }

/* ---------- 站头 ---------- */
.site-header {
  background: rgba(252, 252, 248, .94);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 5.5rem; }
.brand { display: flex; align-items: center; gap: .9rem; flex-shrink: 0; }
.brand-seal {
  width: 3.25rem; height: 3.25rem;
  background: var(--red);
  color: #fdf6ee;
  border-radius: .4rem;
  display: grid; place-items: center;
  font-family: var(--kai);
  font-size: 1.55rem;
  line-height: 1;
  box-shadow: 0 2px 10px rgba(158, 59, 46, .28);
  user-select: none;
}
.brand-text { display: flex; flex-direction: column; }
.brand-cn { font-family: var(--serif); font-weight: 700; font-size: 1.62rem; letter-spacing: .14em; line-height: 1.25; }
.brand-en { font-size: .625rem; letter-spacing: .3em; color: var(--ink-3); text-transform: uppercase; margin-top: .15rem; }

/* 主导航 */
.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: .2rem; }
.nav-list > li > a {
  display: block;
  padding: .55rem .78rem;
  font-size: .98rem;
  letter-spacing: .04em;
  position: relative;
  white-space: nowrap;
}
.nav-list > li > a::after {
  content: "";
  position: absolute; left: .78rem; right: .78rem; bottom: .3rem;
  height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-list > li > a:hover::after, .nav-list > li.active > a::after { transform: scaleX(1); }
.nav-list > li.active > a { color: var(--red); font-weight: 600; }
.nav-cta {
  margin-left: .6rem;
  background: var(--red);
  color: #fdf6ee !important;
  border-radius: 999px;
  padding: .5rem 1.3rem !important;
  font-weight: 600;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.nav-cta:hover { background: var(--red-deep); transform: translateY(-1px); }
.nav-cta::after { display: none !important; }
.nav-ext svg { width: .7rem; height: .7rem; margin-left: .2rem; vertical-align: baseline; opacity: .55; }

/* 汉堡按钮 */
.nav-toggle { display: none; margin-left: auto; width: 2.75rem; height: 2.75rem; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav-toggle span { display: block; width: 1.5rem; height: 2px; background: var(--ink); transition: transform .35s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* 移动端抽屉 */
.drawer-mask { position: fixed; inset: 0; background: rgba(36, 18, 9, .45); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); z-index: 190; }
.drawer-mask.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(20rem, 84vw);
  background: var(--paper); z-index: 200;
  transform: translateX(100%); transition: transform .4s var(--ease);
  overflow-y: auto; padding: 1.4rem 1.6rem 3rem;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.drawer-head .brand-cn { font-size: 1.15rem; }
.drawer-close { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; }
.drawer-close svg { width: 1.3rem; height: 1.3rem; }
.drawer a.drawer-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: .95rem .2rem; font-size: 1.08rem;
  border-bottom: 1px solid var(--line);
}
.drawer a.drawer-link svg { width: .9rem; height: .9rem; color: var(--ink-3); }
.drawer .drawer-cta { display: block; text-align: center; margin-top: 1.4rem; background: var(--red); color: #fdf6ee; border-radius: 999px; padding: .9rem; font-weight: 600; }

/* ---------- 首屏轮播 ---------- */
.hero { position: relative; background: var(--band); }
.hero-track { position: relative; height: clamp(26rem, 46vw, 38rem); }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 1.1s var(--ease), visibility 1.1s;
}
.hero-slide.on { opacity: 1; visibility: visible; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(78deg, rgba(26, 12, 5, .78) 0%, rgba(26, 12, 5, .42) 46%, rgba(26, 12, 5, .06) 78%);
}
.hero-body {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  color: #fdf6ee;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .8rem; letter-spacing: .42em; text-transform: uppercase;
  color: #e7c98f; margin-bottom: 1.1rem;
}
.hero-kicker::before { content: ""; width: 2.6rem; height: 1px; background: #e7c98f; }
.hero-title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  line-height: 1.32; letter-spacing: .06em;
  max-width: 24em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.hero-sub { margin-top: 1.1rem; max-width: 34em; font-size: 1.02rem; color: rgba(253, 246, 238, .88); letter-spacing: .04em; }
.hero-more {
  margin-top: 2rem; display: inline-flex; align-items: center; gap: .6rem;
  width: max-content;
  border: 1px solid rgba(253, 246, 238, .55); border-radius: 999px;
  padding: .72rem 1.7rem; font-size: .95rem; letter-spacing: .12em;
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.hero-more:hover { background: var(--red); border-color: var(--red); }
.hero-more svg { width: 1rem; height: 1rem; }

/* 竖排侧标 */
.hero-side {
  position: absolute; z-index: 3; right: 2.2rem; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--kai);
  font-size: 1rem; letter-spacing: .6em;
  color: rgba(253, 246, 238, .6);
  user-select: none;
}

/* 轮播控件 */
.hero-dots { position: absolute; z-index: 4; left: 0; right: 0; bottom: 1.6rem; }
.hero-dots .wrap { display: flex; align-items: center; gap: .8rem; }
.hero-dot { width: 2.2rem; height: 3px; background: rgba(253, 246, 238, .32); transition: background .4s var(--ease); border-radius: 2px; }
.hero-dot.on { background: #e7c98f; }
.hero-idx { margin-left: auto; font-family: var(--serif); color: rgba(253, 246, 238, .85); font-size: .9rem; letter-spacing: .2em; }
.hero-idx b { font-size: 1.5rem; font-weight: 600; }

/* ---------- 宗旨跑马灯 ---------- */
.motto {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 1.05rem 0;
  mask-image: linear-gradient(to right, #fff 0%, #fff 12%, transparent 26%, transparent 74%, #fff 88%, #fff 100%);
  -webkit-mask-image: linear-gradient(to right, #fff 0%, #fff 12%, transparent 26%, transparent 74%, #fff 88%, #fff 100%);
}
.motto-track { display: flex; width: max-content; animation: marquee 180s linear infinite; }
.motto:hover .motto-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.motto-item {
  display: flex; align-items: center; gap: 2.4rem; padding-right: 2.4rem;
  font-family: var(--kai); font-size: 1.28rem; letter-spacing: .34em; color: var(--ink-2);
  white-space: nowrap;
}
.motto-item i { width: .34rem; height: .34rem; background: var(--red); border-radius: 50%; flex-shrink: 0; opacity: .7; }

/* ---------- 通用区块头 ---------- */
.section { padding: 4.6rem 0; }
.section.tint { background: var(--paper-2); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.6rem; }
.sec-kicker { font-size: .72rem; letter-spacing: .4em; text-transform: uppercase; color: var(--red); margin-bottom: .55rem; display: flex; align-items: center; gap: .6rem; }
.sec-kicker::before { content: ""; width: 1.8rem; height: 1px; background: var(--red); }
.sec-title { font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.05rem); letter-spacing: .1em; line-height: 1.3; }
.sec-more {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .9rem; letter-spacing: .14em; color: var(--ink-2);
  padding-bottom: .3rem; white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.sec-more:hover { color: var(--red); border-color: var(--red); }
.sec-more svg { width: .95rem; height: .95rem; transition: transform .3s var(--ease); }
.sec-more:hover svg { transform: translateX(4px); }

/* ---------- 新闻区 ---------- */
.news-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 3rem; }
.news-feature { display: block; }
.news-feature .thumb { border-radius: .5rem; overflow: hidden; aspect-ratio: 16 / 9.4; background: var(--paper-2); }
.news-feature .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-feature:hover .thumb img { transform: scale(1.045); }
.news-feature h3 {
  font-family: var(--serif); font-weight: 700; font-size: 1.42rem; line-height: 1.5;
  margin: 1.3rem 0 .6rem; letter-spacing: .03em;
  transition: color .3s var(--ease);
}
.news-feature:hover h3 { color: var(--red); }
.news-feature p { color: var(--ink-2); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-feature time { display: block; margin-top: .9rem; font-family: var(--serif); color: var(--ink-3); font-size: .85rem; letter-spacing: .16em; }

.news-list li + li { border-top: 1px solid var(--line); }
.news-list a { display: flex; gap: 1.35rem; padding: 1.28rem 0; align-items: flex-start; }
.date-badge { flex-shrink: 0; text-align: center; width: 3.9rem; padding-top: .15rem; }
.date-badge b { display: block; font-family: var(--serif); font-weight: 700; font-size: 2.05rem; line-height: 1.1; color: var(--red); }
.date-badge span { display: block; font-family: var(--serif); font-size: .78rem; color: var(--ink-3); letter-spacing: .12em; margin-top: .15rem; }
.news-list .t { flex: 1; min-width: 0; }
.news-list .t h4 {
  font-size: 1.05rem; font-weight: 600; line-height: 1.6; letter-spacing: .02em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .3s var(--ease);
}
.news-list a:hover .t h4 { color: var(--red); }
.news-list .t p { margin-top: .3rem; font-size: .85rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 公告 + 政策双栏 ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.duo-col { background: #fff; border: 1px solid var(--line); border-radius: .6rem; padding: 1.9rem 2.1rem 1.4rem; }
.duo-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1.1rem; border-bottom: 2px solid var(--ink); margin-bottom: .4rem; }
.duo-head h3 { font-family: var(--serif); font-weight: 700; font-size: 1.22rem; letter-spacing: .08em; display: flex; align-items: center; gap: .6rem; }
.duo-head h3 i { width: .5rem; height: .5rem; background: var(--red); transform: rotate(45deg); flex-shrink: 0; }
.duo-head a { font-size: .82rem; color: var(--ink-3); letter-spacing: .1em; transition: color .3s; }
.duo-head a:hover { color: var(--red); }
.duo-list a { display: flex; align-items: baseline; gap: .9rem; padding: .82rem 0; border-bottom: 1px dashed var(--line); }
.duo-list li:last-child a { border-bottom: none; }
.duo-list .dot { width: .3rem; height: .3rem; background: var(--gold); transform: rotate(45deg); flex-shrink: 0; position: relative; top: -2px; }
.duo-list h4 { flex: 1; min-width: 0; font-size: .97rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
.duo-list a:hover h4 { color: var(--red); }
.duo-list time { font-family: var(--serif); font-size: .82rem; color: var(--ink-3); flex-shrink: 0; }

/* ---------- 数据带 ---------- */
.stats { background: var(--band); color: #f3e9d8; position: relative; overflow: hidden; }
.stats::before {
  content: "學"; position: absolute; right: -2rem; bottom: -6rem;
  font-family: var(--kai); font-size: 22rem; line-height: 1;
  color: rgba(243, 233, 216, .04); pointer-events: none; user-select: none;
}
.stats .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding-top: 3.4rem; padding-bottom: 3.4rem; }
.stat { text-align: center; }
.stat + .stat { border-left: 1px solid rgba(243, 233, 216, .14); }
.stat b { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.2; color: #e7c98f; }
.stat b small { font-size: .45em; font-weight: 400; margin-left: .2rem; letter-spacing: .1em; }
.stat span { display: block; margin-top: .4rem; font-size: .88rem; letter-spacing: .22em; color: rgba(243, 233, 216, .78); }

/* ---------- 课程设置 ---------- */
.course-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.course-card {
  background: #fff; border: 1px solid var(--line); border-radius: .6rem;
  padding: 1.7rem 1.6rem 1.5rem; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.course-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--red); transform: scaleY(0); transform-origin: top;
  transition: transform .45s var(--ease);
}
.course-card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(42, 22, 13, .1); border-color: transparent; }
.course-card:hover::before { transform: scaleY(1); }
.course-card .no { font-family: var(--serif); font-size: .85rem; color: var(--gold); letter-spacing: .2em; }
.course-card h3 { font-family: var(--serif); font-weight: 700; font-size: 1.28rem; letter-spacing: .08em; margin: .5rem 0 .8rem; }
.course-card ul { display: flex; flex-wrap: wrap; gap: .35rem .9rem; }
.course-card li { font-size: .86rem; color: var(--ink-2); display: flex; align-items: center; gap: .35rem; }
.course-card li::before { content: ""; width: .24rem; height: .24rem; background: var(--ink-3); transform: rotate(45deg); }
.course-card .count { position: absolute; right: 1.3rem; top: 1.35rem; font-family: var(--serif); font-size: 2rem; font-weight: 700; color: rgba(158, 59, 46, .12); line-height: 1; }

/* ---------- 教师风采 ---------- */
.teacher-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.teacher-card { background: #fff; border: 1px solid var(--line); border-radius: .6rem; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.teacher-card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(42, 22, 13, .1); }
.teacher-face {
  aspect-ratio: 4 / 3.4; background: var(--paper-2);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.teacher-face .glyph { font-family: var(--kai); font-size: 4.6rem; color: rgba(158, 59, 46, .85); line-height: 1; }
.teacher-face::after {
  content: ""; position: absolute; inset: .9rem; border: 1px solid rgba(158, 59, 46, .22); border-radius: .3rem; pointer-events: none;
}
.teacher-meta { padding: 1.2rem 1.35rem 1.35rem; }
.teacher-meta h3 { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; letter-spacing: .1em; display: flex; align-items: baseline; gap: .6rem; }
.teacher-meta h3 small { font-size: .72rem; font-weight: 400; color: var(--gold); letter-spacing: .18em; }
.teacher-meta p { margin-top: .45rem; font-size: .86rem; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 文化 / 学子 / 社团 ---------- */
.culture-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: repeat(2, 13.5rem); gap: 1.4rem; }
.culture-card { position: relative; border-radius: .6rem; overflow: hidden; background: var(--band-2); display: block; }
.culture-card:first-child { grid-row: span 2; }
.culture-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .8s var(--ease), opacity .5s; }
.culture-card:hover img { transform: scale(1.05); opacity: .95; }
.culture-card .cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 2.2rem 1.4rem 1.15rem;
  background: linear-gradient(to top, rgba(26, 12, 5, .85), transparent);
  color: #fdf6ee;
}
.culture-card .cap small { display: block; font-size: .72rem; letter-spacing: .3em; color: #e7c98f; margin-bottom: .3rem; }
.culture-card .cap h3 { font-family: var(--serif); font-weight: 700; font-size: 1.12rem; letter-spacing: .05em; line-height: 1.5; }

/* ---------- 书画展馆 ---------- */
.gallery-grid { columns: 3; column-gap: 1.4rem; }
.gallery-item { break-inside: avoid; margin-bottom: 1.4rem; border-radius: .55rem; overflow: hidden; position: relative; background: var(--paper-2); display: block; }
.gallery-item img { width: 100%; transition: transform .8s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .gcap {
  position: absolute; inset: auto 0 0 0; padding: 2.4rem 1.2rem 1rem;
  background: linear-gradient(to top, rgba(26, 12, 5, .82), transparent);
  color: #fdf6ee; opacity: 0; transform: translateY(8px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.gallery-item:hover .gcap { opacity: 1; transform: none; }
.gallery-item .gcap h3 { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; letter-spacing: .06em; }
.gallery-item .gcap p { font-size: .8rem; color: rgba(253, 246, 238, .8); margin-top: .15rem; letter-spacing: .06em; }

/* ---------- 报名 CTA ---------- */
.enroll-band { background: var(--red); color: #fdf6ee; position: relative; overflow: hidden; }
.enroll-band::before {
  content: "學無止境"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--kai); font-size: clamp(6rem, 16vw, 13rem); white-space: nowrap;
  color: rgba(253, 246, 238, .06); pointer-events: none; user-select: none; letter-spacing: .1em;
}
.enroll-band .wrap { position: relative; z-index: 1; text-align: center; padding-top: 4.2rem; padding-bottom: 4.2rem; }
.enroll-band h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.3rem); letter-spacing: .12em; }
.enroll-band p { margin: .9rem auto 0; max-width: 36em; color: rgba(253, 246, 238, .85); font-size: .98rem; letter-spacing: .04em; }
.enroll-band .btn-row { margin-top: 2rem; display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.btn-solid, .btn-ghost {
  display: inline-flex; align-items: center; gap: .55rem; border-radius: 999px;
  padding: .85rem 2.1rem; font-size: 1rem; letter-spacing: .12em; font-weight: 600;
  transition: all .35s var(--ease);
}
.btn-solid { background: #fdf6ee; color: var(--red-deep); }
.btn-solid:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.btn-ghost { border: 1px solid rgba(253, 246, 238, .6); color: #fdf6ee; }
.btn-ghost:hover { background: rgba(253, 246, 238, .12); }
.btn-solid svg, .btn-ghost svg { width: 1rem; height: 1rem; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--band); color: #b9a98f; font-size: .88rem; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.6rem; padding: 3.4rem 0 2.6rem; }
.footer-brand .brand-cn { color: #f3e9d8; font-size: 1.3rem; }
.footer-brand p { margin-top: .9rem; line-height: 2; letter-spacing: .03em; }
.footer-col h4 { color: #f3e9d8; font-family: var(--serif); font-size: 1rem; letter-spacing: .18em; margin-bottom: 1.05rem; font-weight: 700; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a { transition: color .3s; letter-spacing: .03em; }
.footer-col a:hover { color: #e7c98f; }
.footer-contact li { display: flex; gap: .55rem; margin-bottom: .65rem; align-items: flex-start; line-height: 1.7; }
.footer-contact svg { width: .95rem; height: .95rem; flex-shrink: 0; margin-top: .3rem; color: #e7c98f; }
.footer-bottom { border-top: 1px solid rgba(243, 233, 216, .12); padding: 1.15rem 0 1.3rem; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1.8rem; justify-content: space-between; font-size: .8rem; color: rgba(185, 169, 143, .75); }

/* ---------- 子页头 ---------- */
.page-hero { background: var(--band); color: #f3e9d8; position: relative; overflow: hidden; }
.page-hero .wrap { padding-top: 4rem; padding-bottom: 3.6rem; position: relative; z-index: 1; }
.page-hero::before {
  content: attr(data-watermark); position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  font-family: var(--kai); font-size: clamp(6rem, 14vw, 11rem); line-height: 1;
  color: rgba(243, 233, 216, .05); pointer-events: none; user-select: none; white-space: nowrap;
}
.page-hero .crumb { font-size: .82rem; letter-spacing: .12em; color: rgba(243, 233, 216, .62); margin-bottom: 1rem; display: flex; gap: .5rem; align-items: center; }
.page-hero .crumb a:hover { color: #e7c98f; }
.page-hero .crumb svg { width: .7rem; height: .7rem; opacity: .6; }
.page-hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: .14em; }
.page-hero .en { margin-top: .5rem; font-size: .75rem; letter-spacing: .42em; text-transform: uppercase; color: #e7c98f; }

/* ---------- 列表页 ---------- */
.list-page { padding: 3.4rem 0 4.6rem; }
.news-rows { border-top: 2px solid var(--ink); }
.news-rows a { display: flex; gap: 1.6rem; align-items: flex-start; padding: 1.55rem .2rem; border-bottom: 1px solid var(--line); transition: background .3s; }
.news-rows a:hover { background: #fff; }
.news-rows .t h3 { font-size: 1.12rem; font-weight: 600; line-height: 1.65; transition: color .3s; }
.news-rows a:hover .t h3 { color: var(--red); }
.news-rows .t p { margin-top: .35rem; font-size: .88rem; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pager { display: flex; justify-content: center; gap: .5rem; margin-top: 2.8rem; }
.pager span, .pager a {
  min-width: 2.5rem; height: 2.5rem; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: .4rem; font-family: var(--serif); font-size: .95rem;
  color: var(--ink-2); transition: all .3s;
}
.pager a:hover { border-color: var(--red); color: var(--red); }
.pager .cur { background: var(--red); border-color: var(--red); color: #fdf6ee; }

/* ---------- 文章页 ---------- */
.article-page { padding: 3.2rem 0 4.6rem; }
.article-box { max-width: 52rem; margin: 0 auto; }
.article-box h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.6; letter-spacing: .04em; text-align: center; }
.article-meta {
  display: flex; justify-content: center; gap: 1.6rem; flex-wrap: wrap;
  margin: 1.2rem 0 0; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line);
  font-size: .84rem; color: var(--ink-3); letter-spacing: .08em;
}
.article-body { padding-top: 2rem; font-size: 1.02rem; line-height: 2.05; color: #3c2a1e; }
.article-body p { margin-bottom: 1.35rem; text-indent: 2em; }
.article-body p.lead { font-family: var(--serif); font-size: 1.1rem; }
.article-nav { margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 1.4rem; display: grid; gap: .8rem; }
.article-nav a { display: flex; gap: .8rem; font-size: .94rem; color: var(--ink-2); transition: color .3s; }
.article-nav a:hover { color: var(--red); }
.article-nav b { flex-shrink: 0; font-weight: 600; color: var(--ink); }

/* ---------- 关于页 ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.4rem; align-items: start; }
.about-text h2 { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; letter-spacing: .1em; margin-bottom: 1.2rem; }
.about-text p { margin-bottom: 1.15rem; line-height: 2.05; text-indent: 2em; color: #3c2a1e; }
.about-side { background: #fff; border: 1px solid var(--line); border-radius: .6rem; padding: 1.9rem 2rem; }
.about-side h3 { font-family: var(--serif); font-weight: 700; letter-spacing: .12em; font-size: 1.1rem; padding-bottom: .9rem; border-bottom: 2px solid var(--ink); margin-bottom: 1.1rem; }
.about-side dl { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1.2rem; font-size: .92rem; }
.about-side dt { color: var(--ink-3); letter-spacing: .06em; white-space: nowrap; }
.about-side dd { color: var(--ink); }
.value-list { margin-top: 1.6rem; display: grid; gap: .9rem; }
.value-list li { display: flex; gap: .8rem; align-items: baseline; }
.value-list b { font-family: var(--kai); color: var(--red); font-size: 1.08rem; white-space: nowrap; }
.value-list span { color: var(--ink-2); font-size: .92rem; }

/* ---------- 报名页 ---------- */
.enroll-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: .6rem; padding: 1.8rem 1.6rem; position: relative; }
.step-card::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--serif); font-weight: 700; font-size: 2.4rem; color: rgba(158, 59, 46, .16); line-height: 1;
}
.step-card h3 { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; letter-spacing: .08em; margin: .7rem 0 .5rem; }
.step-card p { font-size: .88rem; color: var(--ink-2); line-height: 1.9; }
.enroll-note { margin-top: 2.6rem; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: .4rem; padding: 1.6rem 1.9rem; }
.enroll-note h3 { font-family: var(--serif); font-weight: 700; letter-spacing: .1em; margin-bottom: .8rem; }
.enroll-note li { font-size: .92rem; color: var(--ink-2); margin-bottom: .45rem; padding-left: 1.1rem; position: relative; }
.enroll-note li::before { content: ""; position: absolute; left: 0; top: .72em; width: .32rem; height: .32rem; background: var(--gold); transform: rotate(45deg); }

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed; right: 1.6rem; bottom: 1.8rem; z-index: 150;
  width: 2.9rem; height: 2.9rem; border-radius: 50%;
  background: var(--ink); color: #f3e9d8; display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .4s var(--ease);
  box-shadow: 0 6px 18px rgba(42, 22, 13, .3);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); }
.to-top svg { width: 1.1rem; height: 1.1rem; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .course-grid, .teacher-grid { grid-template-columns: repeat(2, 1fr); }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 1rem; }
  .stat:nth-child(odd) { border-left: none; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2.2rem; }
  .culture-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 12.5rem); }
  .culture-card:first-child { grid-row: span 1; grid-column: span 2; }
  .enroll-steps { grid-template-columns: repeat(2, 1fr); }
  .hero-side { display: none; }
}

@media (max-width: 880px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .news-grid, .duo, .about-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .gallery-grid { columns: 2; }
  .brand-en { display: none; }
  .brand-cn { font-size: 1.32rem; }
  .topbar-date span.full { display: none; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 1.15rem; }
  .demo-bar { font-size: .72rem; padding: .35rem .6rem; line-height: 1.6; }
  .topbar .wrap { flex-wrap: wrap; justify-content: center; gap: .15rem .9rem; padding-top: .3rem; padding-bottom: .3rem; }
  .topbar { font-size: .75rem; }
  .topbar-tools { gap: .9rem; }
  .font-toggle { white-space: nowrap; padding: .08rem .55rem; }
  .section { padding: 3.2rem 0; }
  .hero-track { height: clamp(19rem, 72vw, 26rem); }
  .hero-title { letter-spacing: .03em; }
  .hero-sub { font-size: .9rem; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: .6rem; margin-bottom: 1.8rem; }
  .course-grid, .teacher-grid { grid-template-columns: 1fr; }
  .culture-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 12.5rem; }
  .culture-card:first-child { grid-column: span 1; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .enroll-steps { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1; }
  .footer-main { grid-template-columns: 1fr; gap: 1.8rem; padding: 2.4rem 0 1.8rem; }
  .news-rows a { gap: 1rem; }
  .date-badge { width: 3.2rem; }
  .date-badge b { font-size: 1.6rem; }
  .duo-col { padding: 1.4rem 1.2rem 1rem; }
  .to-top { right: 1rem; bottom: 1.2rem; }
}

/* ============================================================
   V2 组件：真实LOGO / 页签 / 图片卡片 / 教师照片卡 / 荣誉墙
   ============================================================ */

/* 真实校徽 + 校名组合 LOGO */
.brand-logo { height: 3.5rem; width: auto; display: block; }
.drawer-head .brand-logo-sm { height: 2.2rem; width: auto; }

/* ---------- 页签组件 ---------- */
.tabs-bar { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.tabs-bar button {
  padding: .55rem 1.5rem; border-radius: 999px; font-size: 1rem; letter-spacing: .1em;
  border: 1px solid var(--line); color: var(--ink-2); background: #fff;
  transition: all .3s var(--ease);
}
.tabs-bar button:hover { border-color: var(--red); color: var(--red); }
.tabs-bar button.on { background: var(--red); border-color: var(--red); color: #fdf6ee; font-weight: 600; }
.tab-pane { display: none; }
.tab-pane.on { display: block; animation: paneIn .5s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- 图片+标题新闻卡片 ---------- */
.ncards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ncard { display: block; background: #fff; border: 1px solid var(--line); border-radius: .6rem; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.ncard:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(42, 22, 13, .1); }
.ncard-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.ncard-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ncard:hover .ncard-thumb img { transform: scale(1.05); }
.ncard-body { padding: 1.15rem 1.3rem 1.25rem; }
.ncard-body h3 { font-family: var(--serif); font-weight: 700; font-size: 1.04rem; line-height: 1.6; letter-spacing: .02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .3s; }
.ncard:hover .ncard-body h3 { color: var(--red); }
.ncard-body time { display: block; margin-top: .6rem; font-family: var(--serif); font-size: .8rem; letter-spacing: .14em; color: var(--ink-3); }

/* ---------- 教师照片卡 ---------- */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: .6rem; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.tcard:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(42, 22, 13, .12); }
.tcard-photo { aspect-ratio: 3 / 3.4; overflow: hidden; background: var(--paper-2); }
.tcard-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .8s var(--ease); }
.tcard:hover .tcard-photo img { transform: scale(1.045); }
.tcard-meta { padding: 1.2rem 1.35rem 1.4rem; }
.tcard-meta h3 { font-family: var(--serif); font-weight: 700; font-size: 1.18rem; letter-spacing: .1em; display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.tcard-meta h3 small { font-size: .74rem; font-weight: 400; color: #fdf6ee; background: var(--red); border-radius: 999px; padding: .12rem .65rem; letter-spacing: .06em; }
.tcard-meta p { margin-top: .55rem; font-size: .87rem; color: var(--ink-2); line-height: 1.85; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 分页 ---------- */
.pgn { display: flex; justify-content: center; gap: .5rem; margin-top: 2.6rem; }
.pgn span, .pgn a {
  min-width: 2.5rem; height: 2.5rem; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: .4rem; font-family: var(--serif); font-size: .95rem;
  color: var(--ink-2); background: #fff; transition: all .3s;
}
.pgn a:hover { border-color: var(--red); color: var(--red); }
.pgn .cur { background: var(--red); border-color: var(--red); color: #fdf6ee; }

/* ---------- 学校概况 V2 ---------- */
.about-lead {
  font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.32rem); line-height: 2;
  color: var(--ink); border-left: 3px solid var(--red); padding-left: 1.3rem; margin-bottom: 1.8rem;
  text-indent: 0;
}
.about-sec-title { display: flex; align-items: center; gap: .9rem; margin: 2.6rem 0 1.2rem; }
.about-sec-title i {
  flex-shrink: 0; width: 2.1rem; height: 2.1rem; background: var(--red); color: #fdf6ee;
  font-family: var(--serif); font-style: normal; font-weight: 700; display: grid; place-items: center;
  border-radius: .35rem; font-size: 1.05rem;
}
.about-sec-title h2 { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; letter-spacing: .1em; margin: 0; }
.about-sub { font-weight: 700; font-size: 1.05rem; margin: 1.6rem 0 .6rem; letter-spacing: .04em; }
.about-sub::before { content: ""; display: inline-block; width: .5rem; height: .5rem; background: var(--gold); transform: rotate(45deg); margin-right: .55rem; vertical-align: baseline; }
.honor-tags { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.4rem 0 0; }
.honor-tags span {
  border: 1px solid rgba(158, 59, 46, .35); color: var(--red); border-radius: 999px;
  padding: .35rem 1rem; font-size: .88rem; letter-spacing: .03em; background: #fff;
}
.about-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin: 2.2rem 0; }
.fact-card { background: #fff; border: 1px solid var(--line); border-radius: .55rem; padding: 1.3rem 1.2rem; text-align: center; }
.fact-card b { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.7rem; color: var(--red); line-height: 1.3; }
.fact-card span { font-size: .85rem; color: var(--ink-2); letter-spacing: .08em; }

/* ---------- 机构职能 ---------- */
.duty-list { display: grid; gap: 0; counter-reset: duty; border-top: 2px solid var(--ink); }
.duty {
  display: flex; gap: 1.4rem; align-items: flex-start;
  padding: 1.35rem .2rem; border-bottom: 1px solid var(--line);
}
.duty::before {
  counter-increment: duty; content: "0" counter(duty);
  font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: rgba(158, 59, 46, .85);
  line-height: 1.2; flex-shrink: 0; width: 2.6rem;
}
.duty p { font-size: .98rem; color: #3c2a1e; line-height: 1.95; }
.duty-org { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: .4rem; padding: 1.3rem 1.6rem; margin-bottom: 1.8rem; font-size: .95rem; color: var(--ink-2); line-height: 2; }
.duty-org b { color: var(--ink); }

/* ---------- 学校荣誉 ---------- */
.honor-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.honor-item { border-radius: .55rem; overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); }
.honor-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .7s var(--ease); }
.honor-item:hover img { transform: scale(1.04); }
.honor-note { margin-top: 1.6rem; font-size: .86rem; color: var(--ink-3); letter-spacing: .04em; }

/* ---------- 社团品牌带 ---------- */
.club-brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-bottom: 2.8rem; }
.club-brand {
  position: relative; border-radius: .6rem; overflow: hidden; min-height: 11rem;
  background: var(--band-2); color: #fdf6ee; padding: 1.6rem 1.5rem;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.club-brand::before {
  content: attr(data-glyph); position: absolute; right: .6rem; top: -.8rem;
  font-family: var(--kai); font-size: 5.6rem; color: rgba(253, 246, 238, .1); line-height: 1;
}
.club-brand h3 { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; letter-spacing: .1em; }
.club-brand p { margin-top: .4rem; font-size: .85rem; color: rgba(253, 246, 238, .75); line-height: 1.8; }

/* ---------- 响应式补充 ---------- */
@media (max-width: 1080px) {
  .ncards, .tcards, .honor-wall, .club-brands { grid-template-columns: repeat(2, 1fr); }
  .about-facts { grid-template-columns: repeat(2, 1fr); }
  .brand-logo { height: 2.9rem; }
}
@media (max-width: 560px) {
  .ncards, .tcards, .honor-wall, .club-brands { grid-template-columns: 1fr; }
  .brand-logo { height: 2.35rem; }
  .tabs-bar button { padding: .45rem 1.1rem; font-size: .92rem; }
}

/* 首页教师四列 */
.tcards.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .tcards.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tcards.cols-4 { grid-template-columns: 1fr; } }
