@font-face {
  font-family: "Source Han Sans SC";
  src: url("../resources/font/SourceHanSans/SourceHanSansSC-Light.otf") format("opentype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Source Han Sans SC";
  src: url("../resources/font/SourceHanSans/SourceHanSansSC-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  /* 全站内容宽度：后续所有 portal 页面统一修改此值即可。 */
  --portal-content-width: 1500px;
  --portal-page-gutter: 32px;
  /* 全站 Banner 统一比例：当前与首页 1500 × 300 保持一致。后续只改此处。 */
  --portal-banner-aspect-ratio: 5 / 1;
  --green-950: #063228;
  --green-900: #0b4d3f;
  --green-800: #0f6350;
  --green-700: #147a62;
  --gold: #c9a15a;
  --ink: #1f2d29;
  --muted: #6b756f;
  --card-bg: #eef2f0;
  --line: #e2e7e4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: "Microsoft YaHei", "Noto Sans SC", sans-serif; background: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
h1, h2, h3, h4, p { margin: 0; }
.portal-container { width: min(calc(100% - var(--portal-page-gutter) * 2), var(--portal-content-width)); margin-inline: auto; }
/* 仅页脚使用满宽布局，logo、搜索按钮与其余区块统一使用 .portal-container 设定宽度。 */
.full-bleed { width: 100%; padding-inline: var(--portal-page-gutter); box-sizing: border-box; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; background: var(--green-900); }
.header-bar { height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark { width: 46px; height: 46px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; gap: 6px; line-height: 1; }
.brand-copy strong { color: #fff; font-size: 17px; line-height: 1.1; font-weight: 500; letter-spacing: 1.5px; }
.brand-copy small { color: rgba(255,255,255,.78); font: 9px/1 Arial, sans-serif; letter-spacing: .8px; }
.main-nav { flex: 1 1 auto; display: flex; align-items: stretch; justify-content: center; gap: 6px; height: 100%; }
.main-nav a { padding: 0 16px; display: grid; place-items: center; position: relative; color: rgba(255,255,255,.88); font-size: 14px; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; background: var(--gold); opacity: 0; transition: opacity .2s; }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a:hover::after, .main-nav a.active::after { opacity: 1; }
.search-toggle, .menu-toggle { flex: 0 0 auto; width: 34px; height: 34px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.search-toggle img { width: 16px; filter: brightness(0) invert(1); opacity: .85; }
.menu-toggle { display: none; }
.menu-toggle img { width: 22px; filter: brightness(0) invert(1); }
.menu-close-icon { display: none; }
/* 搜索框向按钮左侧展开，不再使用下方弹窗。 */
.search-inline { position: relative; flex: 0 0 auto; display: flex; align-items: center; }
.search-inline-form { position: absolute; top: 50%; right: 100%; margin-right: 8px; width: 0; overflow: hidden; transform: translateY(-50%); transition: width .25s ease; }
.search-inline.open .search-inline-form { width: 220px; }
.search-inline-form input { box-sizing: border-box; width: 100%; height: 34px; padding: 0 12px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.96); color: var(--ink); font-size: 13px; outline: none; }
.search-inline-form input:focus { border-color: var(--gold); }
.search-inline.open .search-toggle { background: rgba(255,255,255,.12); border-radius: 4px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 0 0 26px; background: #fafbfa; }
.hero-inner { position: relative; overflow: visible; }
.hero-slides { position: relative; width: 100%; overflow: hidden; aspect-ratio: var(--portal-banner-aspect-ratio); background: #edf2ef; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .65s ease, visibility .65s ease; }
.hero-slide.active { z-index: 1; opacity: 1; visibility: visible; }
.hero-image { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(238,243,240,.97) 0%, rgba(238,243,240,.93) 18%, rgba(238,243,240,.64) 35%, rgba(238,243,240,0) 58%);
  pointer-events: none;
}
.hero-copy {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: clamp(48px, 4.7vw, 82px);
  transform: translateY(-50%);
  color: #294e4a;
  font-family: "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}
.hero-copy h1 { margin: 0; font-size: clamp(31px, 2.75vw, 48px); line-height: 1.38; font-weight: 400; letter-spacing: .09em; }
.hero-copy p { position: relative; display: grid; gap: 3px; margin: 30px 0 0 62px; font-size: clamp(16px, 1.42vw, 23px); line-height: 1.35; font-weight: 300; letter-spacing: .13em; }
.hero-copy p::before { content: ""; position: absolute; top: .65em; right: calc(100% + 15px); width: 39px; height: 1px; background: rgba(41,78,74,.42); box-shadow: 0 1.55em 0 rgba(41,78,74,.42); }
.hero-copy p span { display: block; white-space: nowrap; }
.hero-arrow {
  position: relative;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid rgba(41,78,74,.15);
  border-radius: 50%;
  color: #607873;
  background: rgba(235,240,238,.75);
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.hero-arrow::before { content: ""; position: absolute; top: 50%; left: 50%; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-left: 1.5px solid currentColor; }
.hero-arrow--prev::before { transform: translate(-38%, -50%) rotate(-45deg); }
.hero-arrow--next::before { transform: translate(-62%, -50%) rotate(135deg); }
.hero-arrow:hover { color: #294e4a; border-color: rgba(41,78,74,.32); background: #e1e7e5; }
.hero-arrow:focus-visible { outline: 3px solid rgba(201,161,90,.65); outline-offset: 2px; }
.hero-arrow:active { transform: scale(.94); }
.hero-controls { position: absolute; z-index: 3; top: calc(100% + 6px); left: 50%; display: flex; align-items: center; gap: 10px; transform: translateX(-50%); }
.hero-dots { display: flex; align-items: center; gap: 8px; }
.hero-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(11,77,63,.35); cursor: pointer; }
.hero-dots button.active { background: var(--green-900); width: 20px; border-radius: 4px; }

/* ---------- Shared section styles ---------- */
.section { padding: 44px 0; }
.section h2, .intro-block h2, .news-block-head h2, .culture-block h2, .research-block h2, .digital-block h2, .gallery-block h2,
.about-intro-copy h2, .timeline-head h2, .philosophy-block h2, .growth-block h2, .section-head-row h2, .news-list-main h2, .plan-content h2 {
  position: relative; margin-bottom: 22px; padding-left: 12px; color: var(--green-900); font-size: 21px; font-weight: 700;
}
.section h2::before, .intro-block h2::before, .news-block-head h2::before, .culture-block h2::before, .research-block h2::before, .digital-block h2::before, .gallery-block h2::before,
.about-intro-copy h2::before, .timeline-head h2::before, .philosophy-block h2::before, .growth-block h2::before, .section-head-row h2::before, .news-list-main h2::before, .plan-content h2::before {
  content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; background: var(--gold);
}

/* ---------- 走进恒远 + 新闻中心 ---------- */
/* 三个两列区块统一使用 724:1500 比例，保证宽屏下左右列宽度一致。 */
.intro-news-grid { display: grid; grid-template-columns: minmax(0, 724fr) minmax(0, 1500fr); gap: 32px; }
.intro-card { display: flow-root; }
.intro-card > img { float: left; width: min(220px, 45%); height: auto; aspect-ratio: 5 / 4; margin: 0 18px 12px 0; object-fit: cover; }
.intro-copy { overflow-wrap: break-word; }
.intro-copy h3 { color: var(--ink); font-size: 17px; font-weight: 700; }
.intro-copy p { margin: 12px 0 18px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.ghost-button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border: 1px solid var(--green-800); color: var(--green-800); font-size: 13px; }
.ghost-button img { width: 11px; }

.news-block-head { display: flex; align-items: flex-end; justify-content: space-between; }
.news-block-head > a { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; }
.news-block-head > a img { width: 11px; }
.news-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.news-col-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.news-col-head .bar { width: 3px; height: 14px; background: var(--green-800); }
.news-col-head h3 { flex: 1 1 auto; color: var(--ink); font-size: 15px; font-weight: 700; }
.news-col-head > a { display: flex; align-items: center; gap: 3px; color: var(--muted); font-size: 12px; }
.news-col-head > a img { width: 9px; }
.news-col-head .arrow-nav { letter-spacing: 4px; color: var(--muted); font-size: 13px; }
.news-col-media { display: block; margin-bottom: 10px; overflow: hidden; }
.news-col-media img { width: 100%; height: 96px; object-fit: cover; transition: transform .4s; }
.news-col-media:hover img { transform: scale(1.05); }
.news-col ul { list-style: none; margin: 0; padding: 0; }
.news-col--plain ul { margin-top: 2px; }
.news-col li { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.news-col li:first-child { padding-top: 0; }
.news-col li a { flex: 1 1 auto; min-width: 0; color: var(--ink); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-col li a::before { content: "· "; color: var(--gold); }
.news-col li span { flex: 0 0 auto; color: #9aa39e; font-size: 12px; }

/* ---------- 校园文化 + 教学科研 ---------- */
.culture-research-section { background: #fafbfa; }
.culture-research-grid { display: grid; grid-template-columns: 724fr 1500fr; gap: 32px; }
.culture-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.culture-card { position: relative; overflow: hidden; min-height: 148px; padding: 18px 14px; background: var(--card-bg); border-top: 3px solid var(--green-800); }
.culture-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
  background-image: url("../resources/images/home/home_moutain_bk.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}
.culture-card > * { position: relative; }
.culture-card h3 { color: var(--ink); font-size: 15px; font-weight: 700; }
.culture-card p { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.research-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.research-card { display: block; }
.research-card > img { width: 100%; height: 118px; object-fit: cover; }
.research-card h3 { margin-top: 12px; color: var(--green-800); font-size: 14px; font-weight: 700; }
.research-card p { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.7; }

/* ---------- 数字校园 + 校园风光 ---------- */
.digital-gallery-grid { display: grid; grid-template-columns: 724fr 1500fr; gap: 32px; }
.digital-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.digital-items a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 8px; background: var(--card-bg); text-align: center; }
.digital-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: var(--green-800); }
.digital-icon img { width: 20px; filter: brightness(0) invert(1); }
.digital-items strong { color: var(--ink); font-size: 13px; font-weight: 700; }
.digital-items small { color: var(--muted); font-size: 11px; }
.gallery-block > header { display: flex; align-items: flex-end; justify-content: space-between; }
.gallery-block > header h2 { margin-bottom: 22px; }
.gallery-block > header > a { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; }
.gallery-block > header > a img { width: 11px; }
.gallery-head-links { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.gallery-head-links a { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; }
.gallery-head-links a img { width: 11px; }
.gallery-head-links .gallery-immersive-link { color: #059447; font-size: 14px; font-weight: 400; }
.gallery-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-row figure { margin: 0; height: 138px; overflow: hidden; }
.gallery-row img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-row figure:hover img { transform: scale(1.06); }

/* ---------- 内页通用：二级 Banner + 分类导航 ---------- */
.page-hero { padding: 24px 0 0; background: #fafbfa; }
.page-hero img {
  width: 100%;
  height: auto !important;
  aspect-ratio: var(--portal-banner-aspect-ratio) !important;
  object-fit: cover;
}
.sub-nav { position: sticky; top: 0; z-index: 15; background: #fff; border-bottom: 1px solid var(--line); }
.sub-nav-list { display: flex; justify-content: center; gap: clamp(8px, 1vw, 18px); overflow-x: auto; }
.sub-nav-list a { flex: 0 0 auto; padding: 16px 18px; position: relative; color: var(--muted); font-size: 15px; white-space: nowrap; }
.sub-nav-list a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; background: var(--gold); opacity: 0; transition: opacity .2s; }
.sub-nav-list a:hover, .sub-nav-list a.active { color: var(--green-900); font-weight: 700; }
.sub-nav-list a:hover::after, .sub-nav-list a.active::after { opacity: 1; }

/* ---------- 认识恒远（学校简介）---------- */
.about-intro-grid { display: grid; grid-template-columns: 724fr 900fr 600fr; grid-template-areas: "copy photo stats"; gap: 24px; }
.about-intro-copy { grid-area: copy; }
.about-intro-photo { grid-area: photo; overflow: hidden; }
.about-intro-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-stat-cards { grid-area: stats; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; align-content: start; }
.about-intro-list { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.about-intro-list li { display: flex; align-items: flex-start; gap: 14px; }
.about-intro-list img { width: 20px; margin-top: 2px; flex: 0 0 auto; }
.about-intro-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.about-stat-card { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--card-bg); }
.about-stat-card img { width: 30px; height: 30px; padding: 6px; box-sizing: border-box; border-radius: 50%; background: #fff; }
.about-stat-card span { display: block; color: var(--gold); font-size: 12px; }
.about-stat-card strong { display: block; margin-top: 4px; color: var(--ink); font-size: 15px; font-weight: 700; }

/* ---------- 百年校史 ---------- */
.timeline-section { background: #fafbfa; }
.timeline-head { display: flex; align-items: flex-end; justify-content: space-between; }
.timeline-head > a { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.timeline-head > a img { width: 11px; }
.timeline-row { display: grid; grid-template-columns: repeat(6, 1fr); }
.timeline-item { position: relative; padding-top: 28px; text-align: center; }
.timeline-item::before { content: ""; position: absolute; left: 0; right: 0; top: 42px; height: 1px; background: var(--line); }
.timeline-year { display: block; margin-bottom: 12px; color: var(--green-900); font: 700 18px Georgia, serif; }
.timeline-dot { position: relative; z-index: 1; display: block; width: 9px; height: 9px; margin: 0 auto; border-radius: 50%; background: var(--green-800); }
.timeline-item p { margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

/* ---------- 办学理念 + 初高中一体化育人 ---------- */
.philosophy-growth-grid { display: grid; grid-template-columns: 724fr 1500fr; gap: 32px; }
.philosophy-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.philosophy-card { padding: 20px 14px; background: var(--card-bg); text-align: center; }
.philosophy-card img { width: 26px; margin: 0 auto 12px; }
.philosophy-card h3 { color: var(--green-900); font-size: 16px; font-weight: 700; }
.philosophy-card p { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.growth-cards { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 10px; }
.growth-card { padding: 20px 14px; background: var(--card-bg); text-align: center; }
.growth-card img { width: 26px; margin: 0 auto 12px; }
.growth-card h3 { color: var(--green-900); font-size: 16px; font-weight: 700; }
.growth-card p { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.growth-arrow { width: 18px; height: 2px; background: var(--gold); }
.growth-note { margin-top: 16px; color: var(--muted); font-size: 13px; text-align: center; }

/* ---------- 领导团队 ---------- */
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; }
.section-head-row > a { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; }
.section-head-row > a img { width: 11px; }
.leadership-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.leadership-card { padding: 16px; background: var(--card-bg); text-align: center; }
.leadership-card img { width: 100%; height: 150px; object-fit: cover; margin-bottom: 12px; }
.leadership-card strong { display: block; color: var(--ink); font-size: 15px; font-weight: 700; }
.leadership-card span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }

/* ---------- 荣誉资质 / 发展规划 推荐卡片 ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.promo-card { display: flex; align-items: center; gap: 16px; padding: 22px; background: var(--card-bg); }
.promo-card img { width: 34px; flex: 0 0 auto; }
.promo-card h3 { color: var(--green-900); font-size: 16px; font-weight: 700; }
.promo-card p { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.promo-card span { flex: 0 0 auto; display: flex; align-items: center; gap: 4px; color: var(--green-800); font-size: 13px; white-space: nowrap; }
.promo-card span img { width: 10px; }

/* ---------- 发展规划：二级 Banner（图片随 portal-container 定宽，不做通栏拉伸） ---------- */
.plan-hero { padding: 24px 0 0; background: #fafbfa; }
.plan-hero-inner { position: relative; overflow: hidden; }
.plan-hero-img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: var(--portal-banner-aspect-ratio) !important;
  object-fit: cover;
}
.plan-hero-inner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,77,63,.88) 0%, rgba(11,77,63,.5) 42%, rgba(11,77,63,0) 72%); }
.plan-hero-copy { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding-left: 8px; }
.plan-hero-copy h1 { margin: 0; color: #fff; font-size: 34px; font-weight: 700; }
.plan-hero-copy p { margin: 14px 0 0; color: #dfece5; font-size: 14px; letter-spacing: 3px; }

/* ---------- 发展规划：侧边分类导航 + 正文两栏 ---------- */
.plan-layout { display: grid; grid-template-columns: 240px 1fr; align-items: start; gap: 32px; }
.plan-sidebar { position: sticky; top: 68px; display: flex; flex-direction: column; gap: 16px; }
.plan-side-nav { display: flex; flex-direction: column; background: #fff; }
.plan-side-nav a { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 14px; }
.plan-side-nav a:last-child { border-bottom: none; }
.plan-side-nav a img { width: 16px; }
.plan-side-nav a.active { background: var(--green-900); color: #fff; font-weight: 700; }
.plan-side-nav a.active img { filter: brightness(0) invert(1); }
.plan-side-quote { padding: 20px; background: var(--card-bg); text-align: center; }
.plan-side-quote strong { display: block; color: var(--green-900); font-size: 15px; font-weight: 700; letter-spacing: 1px; }
.plan-side-quote span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; letter-spacing: 1px; }
.plan-lead { max-width: 900px; margin: 16px 0 24px; color: var(--muted); font-size: 13px; line-height: 1.9; }

/* ---------- 发展规划：愿景卡片 ---------- */
.plan-vision { display: flex; align-items: center; gap: 28px; padding: 28px; margin-bottom: 8px; background: #f6f1e4; }
.plan-vision img { width: 90px; flex: 0 0 auto; }
.plan-vision-label { display: block; color: var(--gold); font-size: 13px; font-weight: 700; }
.plan-vision h3 { margin: 10px 0 0; color: var(--green-900); font-size: 21px; font-weight: 700; }
.plan-vision p { margin: 10px 0 0; color: var(--muted); font-size: 13px; }

/* ---------- 发展规划：重点举措（图标 + 说明 + 清单） ---------- */
.plan-feature { display: flex; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.plan-feature:first-of-type { border-top: none; }
.plan-feature-icon { flex: 0 0 auto; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--green-900); }
.plan-feature-icon img { width: 26px; filter: brightness(0) invert(1); }
.plan-feature h3 { margin: 0; color: var(--green-900); font-size: 17px; font-weight: 700; }
.plan-feature > div > p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.plan-feature-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.plan-feature-list li { position: relative; padding-left: 16px; color: var(--ink); font-size: 13px; line-height: 1.6; }
.plan-feature-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--green-800); }

/* ---------- 发展规划：目标路线图（虚线时间轴） ---------- */
.plan-roadmap-item { position: relative; display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding-bottom: 28px; }
.plan-roadmap-item + .plan-roadmap-item::before { content: ""; position: absolute; left: 109px; top: -28px; height: 28px; border-left: 2px dashed var(--green-800); }
.plan-roadmap-badge { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 22px 16px; background: var(--green-900); color: #fff; text-align: center; }
.plan-roadmap-badge-icon { width: 40px; height: 40px; margin: 0 auto 10px; display: grid; place-items: center; border-radius: 10px; background: #fff; }
.plan-roadmap-badge-icon img { width: 20px; }
.plan-roadmap-badge strong { display: block; font-size: 15px; }
.plan-roadmap-badge span { display: block; margin-top: 4px; color: #cfe4da; font-size: 12px; }
.plan-roadmap-list { list-style: none; margin: 0; padding: 20px 24px; background: var(--card-bg); }
.plan-roadmap-list li { position: relative; padding-left: 24px; margin-bottom: 10px; color: var(--ink); font-size: 13px; line-height: 1.7; }
.plan-roadmap-list li:last-child { margin-bottom: 0; }
.plan-roadmap-list li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1.5px solid var(--green-800); color: var(--green-800); font-size: 10px; font-weight: 700; line-height: 1;
}

/* ---------- 办学理念：校训展示 + 校训卡片 + 办学宗旨/育人目标 ---------- */
.motto-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.motto-head h2 { margin: 0; color: var(--green-900); font-size: 21px; font-weight: 700; }
.motto-head span { width: 80px; height: 1px; background: var(--line); }
.motto-display { display: flex; justify-content: center; gap: 90px; padding: 8px 24px 36px; }
.motto-display span { color: var(--green-900); font: 700 32px "Microsoft YaHei", serif; letter-spacing: 2px; }
.motto-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.motto-card { text-align: center; }
.motto-card-icon { width: 64px; height: 64px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--green-800); background: #fff; }
.motto-card-icon img { width: 24px; }
.motto-card h3 { margin: 0; color: var(--green-900); font-size: 16px; font-weight: 700; }
.motto-card p { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.purpose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.purpose-card { padding: 24px; background: var(--card-bg); }
.purpose-card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--green-900); font-size: 16px; font-weight: 700; }
.purpose-card h3 img { width: 22px; }
.purpose-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.purpose-card .goal-item { margin-bottom: 12px; }
.purpose-card .goal-item:last-child { margin-bottom: 0; }
.purpose-card .goal-item strong { color: var(--green-900); }

/* ---------- 校史沿革：图文时间轴 ---------- */
.history-timeline { position: relative; padding-left: 20px; }
.history-timeline::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.history-item { position: relative; display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 22px 0 22px 24px; border-bottom: 1px solid var(--line); }
.history-item.history-text-only { grid-template-columns: 1fr; }
.history-item:last-child { border-bottom: none; }
.history-item::before { content: ""; position: absolute; left: -5px; top: 30px; width: 10px; height: 10px; border-radius: 50%; background: var(--green-800); border: 2px solid #fff; }
.history-photo { width: 140px; height: 110px; overflow: hidden; }
.history-photo img { width: 100%; height: 100%; object-fit: cover; }
.history-year { display: block; color: var(--green-900); font-size: 17px; font-weight: 700; }
.history-body h3 { margin: 6px 0 0; color: var(--ink); font-size: 16px; font-weight: 700; }
.history-body p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

/* ---------- 学校简介详情 ---------- */
.profile-feature-photo { margin: 0 0 24px; overflow: hidden; border-radius: 10px; background: #f3f6f4; }
.profile-feature-photo img { width: 100%; aspect-ratio: 924 / 485; object-fit: cover; }
.profile-feature-photo figcaption { padding: 12px 16px; color: var(--muted); font-size: 12px; line-height: 1.7; text-align: center; }
.profile-section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.profile-section-grid article { padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: #f9fbfa; }
.profile-section-grid h3 { margin: 0 0 10px; color: var(--green-900); font-size: 17px; }
.profile-section-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }

/* ---------- 领导团队（学校概况分页）---------- */
.leader-section { margin-bottom: 32px; }
.leader-section:last-child { margin-bottom: 0; }
.leader-section-title { position: relative; margin: 0 0 16px; padding-left: 12px; color: var(--green-900); font-size: 16px; font-weight: 700; }
.leader-section-title::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 3px; background: var(--green-800); }
.leader-card { display: flex; gap: 16px; padding: 18px; background: #fff; border: 1px solid var(--line); }
.leader-card img { flex: 0 0 auto; width: 96px; height: 120px; object-fit: cover; }
.leader-card-name { display: flex; align-items: baseline; gap: 8px; }
.leader-card-name strong { color: var(--ink); font-size: 15px; font-weight: 700; }
.leader-card-name span { color: var(--muted); font-size: 12px; }
.leader-card p { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.leader-featured { padding: 24px; }
.leader-featured img { width: 130px; height: 168px; }
.leader-featured .leader-card-name strong { font-size: 18px; }
.leader-featured .leader-card-name span { font-size: 13px; }
.leader-featured p { font-size: 13px; }
.leader-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.leader-dept-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.leader-dept-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.leader-card-no-photo { align-items: center; }
.leader-avatar { flex: 0 0 auto; width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: #edf4f1; color: var(--green-900); font-size: 24px; font-weight: 700; }
.leader-section-intro { margin: -6px 0 18px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.leader-person-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.leader-person-card { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 14px; min-height: 116px; padding: 14px; border: 1px solid var(--line); border-top: 3px solid var(--green-800); background: #fff; }
.leader-person-card img { width: 72px; height: 90px; object-fit: cover; border-radius: 4px; background: #e4edf1; }
.leader-person-card > div { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.leader-person-card strong { color: var(--ink); font-size: 15px; font-weight: 700; }
.leader-person-card span { color: var(--green-900); font-size: 13px; line-height: 1.45; }
.leader-person-card small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.leader-directory-loading { grid-column: 1 / -1; margin: 0; padding: 24px; color: var(--muted); text-align: center; border: 1px solid var(--line); background: #fff; }
.leader-directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.leader-directory-card { min-height: 158px; align-items: flex-start; }
.leader-directory-card > div { min-width: 0; }
.leader-directory-card img { width: 96px; height: 120px; }
.leader-directory-card p { margin-top: 10px; }
.leader-office-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.leader-office-card { min-width: 0; padding: 18px 20px; border: 1px solid var(--line); border-top: 3px solid var(--green-800); background: #fff; }
.leader-office-card h4 { margin: 0 0 12px; color: var(--green-900); font-size: 15px; font-weight: 700; }
.leader-office-members { display: flex; flex-direction: column; gap: 8px; }
.leader-office-members p { display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; column-gap: 10px; margin: 0; padding-top: 8px; border-top: 1px solid #edf1ef; }
.leader-office-members img { grid-row: 1 / 3; width: 48px; height: 60px; object-fit: cover; border-radius: 3px; background: #d9e9f3; }
.leader-office-identity { min-width: 0; }
.leader-office-members strong { color: var(--ink); font-size: 13px; font-weight: 600; }
.leader-office-members > p > span:last-child { grid-column: 2; color: var(--muted); font-size: 12px; white-space: nowrap; }

/* ---------- 荣誉资质（学校概况分页）---------- */
.honor-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 8px; }
.honor-stat-card { display: flex; align-items: center; gap: 16px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); }
.honor-stat-icon { flex: 0 0 auto; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--green-800); }
.honor-stat-icon img { width: 26px; filter: brightness(0) invert(1); }
.honor-stat-card .label { display: block; color: var(--muted); font-size: 13px; }
.honor-stat-card .value { margin-top: 6px; color: var(--green-900); font-size: 28px; font-weight: 700; }
.honor-stat-card .value span { margin-left: 4px; color: var(--muted); font-size: 13px; font-weight: 400; }
.honor-group-head { display: flex; align-items: center; justify-content: space-between; margin: 36px 0 18px; }
.honor-group-title { display: flex; align-items: center; gap: 8px; }
.honor-group-title img { width: 18px; }
.honor-group-title h3 { margin: 0; color: var(--green-900); font-size: 16px; font-weight: 700; }
.honor-group-head > a { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; }
.honor-group-head > a img { width: 10px; }
.honor-cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.honor-cert-caption { display: block; margin-top: 10px; color: var(--ink); font-size: 13px; text-align: center; }
.honor-content {
  scroll-margin-top: 80px;
  font-family: "Source Han Sans SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 13px;
  line-height: normal;
}
.honor-content .cert-title { font-family: inherit; }
.honor-content .honor-detail-facts { font-size: 13px; line-height: 1.9; }
.honor-content .honor-detail-facts dd { color: var(--ink); font-weight: 400; }
.honor-content .honor-detail-nav { font-size: 13px; }
.honor-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; color: var(--muted); font-size: 13px; }
.honor-breadcrumb a, .honor-detail-nav a { color: var(--green-700); }
.honor-cert-link { display: block; min-width: 0; }
.honor-cert-link:hover .honor-cert-caption { color: var(--green-700); }
.honor-cert-link:focus-visible { outline: 2px solid var(--green-700); outline-offset: 5px; }
.honor-view-detail { display: block; margin-top: 8px; text-align: center; color: var(--green-700); font-size: 12px; }
.honor-detail { margin-top: 28px; }
.honor-detail-plate { max-width: 560px; margin: 0 0 32px; }
.honor-detail-plate .cert-plate { min-height: 260px; }
.honor-detail-facts { margin: 0; border-top: 1px solid var(--line); }
.honor-detail-facts > div { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 18px 16px; border-bottom: 1px solid var(--line); }
.honor-detail-facts dt { color: var(--muted); }
.honor-detail-facts dd { margin: 0; }
.honor-detail-nav { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 30px; font-size: 14px; }
.honor-detail-nav a:first-child { margin-right: auto; }
@media (max-width: 900px) { .honor-browse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .honor-browse-grid { grid-template-columns: 1fr; } }

/* ---------- 教学科研首页 ---------- */
.research-lead { max-width: 900px; margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.research-stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.research-stat-card { padding: 26px 16px; text-align: center; background: #fff; border: 1px solid var(--line); }
.research-stat-card img { width: 32px; margin-bottom: 14px; }
.research-stat-card strong { display: block; color: var(--green-900); font-size: 26px; font-weight: 700; }
.research-stat-card strong span { margin-left: 2px; color: var(--muted); font-size: 14px; font-weight: 400; }
.research-stat-card small { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.subject-icon-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 24px; }
.subject-icon-row a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 8px; background: var(--card-bg); text-align: center; color: var(--ink); font-size: 13px; font-weight: 700; }
.subject-icon-row a img { width: 22px; }
.lab-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lab-gallery figure { margin: 0; }
.lab-gallery img { width: 100%; height: 150px; object-fit: cover; }
.lab-gallery figcaption { margin-top: 10px; text-align: center; color: var(--ink); font-size: 13px; font-weight: 700; }
.award-panel { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.award-stats { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: var(--card-bg); }
.award-stats div { text-align: center; }
.award-stats strong { display: block; color: var(--green-900); font-size: 28px; font-weight: 700; }
.award-stats span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.research-dynamics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.course-list { list-style: none; margin: 0; padding: 0; }
.course-card { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.course-card:first-child { padding-top: 0; }
.course-card > img { flex: 0 0 auto; width: 280px; height: 180px; object-fit: cover; }
.course-card-body h3 { margin: 0; color: var(--ink); font-size: 17px; font-weight: 700; }
.course-tags { display: flex; gap: 8px; margin: 10px 0; }
.course-tags span { padding: 3px 10px; background: var(--card-bg); color: var(--green-800); font-size: 12px; }
.course-card-body p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.ghost-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; color: var(--green-800); font-size: 13px; font-weight: 700; }
.ghost-link img { width: 10px; }

/* ---------- 教师团队（教学科研分页）---------- */
.teacher-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.teacher-card { background: #fff; border: 1px solid var(--line); }
.teacher-card img { display: block; width: 100%; height: 200px; object-fit: cover; }
.teacher-card-body { padding: 16px; }
.teacher-card-body strong { display: block; color: var(--ink); font-size: 16px; font-weight: 700; }
.teacher-card-body span { display: block; margin-top: 4px; color: var(--green-800); font-size: 12px; }
.teacher-card-body p { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.dept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dept-card { display: flex; gap: 16px; padding: 16px; background: #fff; border: 1px solid var(--line); }
.dept-card img { flex: 0 0 auto; width: 90px; height: 90px; object-fit: cover; }
.dept-card h3 { margin: 0; color: var(--green-900); font-size: 15px; font-weight: 700; }
.dept-card p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

/* ---------- 实验教学（教学科研分页）---------- */
.lab-room-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lab-room-card img { display: block; width: 100%; height: 200px; object-fit: cover; }
.lab-room-card h3 { margin: 14px 0 0; color: var(--green-900); font-size: 16px; font-weight: 700; }
.lab-room-card p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.exp-card { background: #fff; }
.exp-card img { display: block; width: 100%; height: 150px; object-fit: cover; }
.exp-card-body { padding: 14px 0 0; }
.exp-card-body h3 { margin: 0; color: var(--ink); font-size: 15px; font-weight: 700; }
.exp-card-body .course-tags { margin: 8px 0; }
.exp-card-body p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.safety-card { text-align: center; padding: 22px 16px; background: var(--card-bg); }
.safety-icon { width: 50px; height: 50px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 12px; background: var(--green-800); }
.safety-icon img { width: 24px; filter: brightness(0) invert(1); }
.safety-card h4 { margin: 0; color: var(--ink); font-size: 14px; font-weight: 700; }
.safety-card p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.safety-note { margin-top: 20px; padding: 18px 22px; background: #fff; border-left: 3px solid var(--green-800); color: var(--muted); font-size: 13px; line-height: 1.9; }

/* ---------- 创新竞赛（教学科研分页）---------- */
.feature-news-card { display: flex; gap: 24px; padding: 24px; background: var(--card-bg); margin-bottom: 32px; }
.feature-news-card > img { width: 360px; height: 220px; object-fit: cover; flex: 0 0 auto; }
.feature-news-tag { display: inline-block; padding: 3px 10px; background: #fff; color: var(--green-800); font-size: 12px; font-weight: 700; }
.feature-news-card h3 { margin: 12px 0 0; color: var(--ink); font-size: 18px; font-weight: 700; }
.feature-news-date { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--muted); font-size: 12px; }
.feature-news-date img { width: 12px; }
.feature-news-card p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.family-letter { display: flex; align-items: center; gap: 32px; padding: 24px; background: var(--card-bg); }
.family-letter p { margin: 0 0 12px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.family-letter p strong { color: var(--green-900); }
.family-letter img { width: 160px; flex: 0 0 auto; }

/* ---------- 招生招聘首页 ---------- */
.admission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.admission-card img { display: block; width: 100%; height: 200px; object-fit: cover; }
.admission-card-body { padding: 16px 0 0; }
.admission-card-body h3 { margin: 0 0 8px; color: var(--green-900); font-size: 18px; font-weight: 700; }
.admission-card-body p { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.doc-title { margin: 0 0 16px; color: var(--green-900); font-size: 26px; font-weight: 700; }
.doc-intro { margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.doc-table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 13px; }
.doc-table th, .doc-table td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; color: var(--ink); }
.doc-table th { background: var(--card-bg); color: var(--green-900); font-weight: 700; }
.doc-list { margin: 0 0 16px; padding-left: 20px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.doc-photo { display: block; width: 100%; height: 280px; object-fit: cover; margin: 16px 0 24px; }
.doc-attachment { display: flex; align-items: center; gap: 10px; padding: 14px 18px; margin: 24px 0 12px; background: var(--card-bg); color: var(--green-800); font-size: 13px; }
.doc-attachment img { width: 16px; }
.doc-attachment span { margin-left: auto; color: var(--muted); }
.doc-meta { color: #9aa39e; font-size: 12px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { display: flex; align-items: baseline; gap: 10px; margin: 0; color: var(--ink); font-size: 14px; font-weight: 700; }
.faq-q .faq-num { color: var(--green-800); }
.faq-a { margin: 8px 0 0 30px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.step-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step-card { text-align: center; padding: 20px 12px; background: var(--card-bg); }
.step-card .step-icon { width: 40px; height: 40px; margin: 0 auto 10px; display: grid; place-items: center; border-radius: 10px; background: var(--green-800); }
.step-card .step-icon img { width: 20px; filter: brightness(0) invert(1); }
.step-card .step-num { display: block; color: var(--green-900); font-size: 20px; font-weight: 700; }
.step-card h4 { margin: 6px 0 0; color: var(--ink); font-size: 13px; font-weight: 700; }
.step-card p { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.notice-simple-list .doc-dl { flex: 0 0 auto; color: var(--green-800); font-size: 12px; font-weight: 700; }
.map-block { display: flex; gap: 32px; align-items: flex-start; }
.map-block img { width: 400px; flex: 0 0 auto; }
.map-block h4 { margin: 0 0 6px; color: var(--green-900); font-size: 14px; font-weight: 700; }
.map-block p { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.8; }

/* ---------- 数字校园 ---------- */
.sso-panel { display: flex; align-items: center; gap: 20px; padding: 22px 24px; background: var(--card-bg); }
.sso-panel .safety-icon { flex: 0 0 auto; margin: 0; }
.sso-panel h3 { margin: 0; color: var(--ink); font-size: 16px; font-weight: 700; }
.sso-panel p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.sso-panel .sso-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.btn-solid { padding: 9px 20px; background: var(--green-900); color: #fff; font-size: 13px; font-weight: 700; }
.btn-outline { padding: 8px 19px; border: 1px solid var(--green-800); color: var(--green-800); font-size: 13px; font-weight: 700; }
.sso-note { color: #9aa39e; font-size: 12px; white-space: nowrap; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: #fff; border: 1px solid var(--line); padding: 20px; }
.service-card .safety-icon { margin: 0 0 12px; }
.service-card h3 { margin: 0; color: var(--ink); font-size: 16px; font-weight: 700; }
.service-card p { margin: 8px 0 14px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.service-card img.service-photo { display: block; width: 100%; height: 130px; object-fit: cover; margin-bottom: 14px; }
.note-with-icon { display: flex; align-items: center; gap: 12px; }
.note-with-icon .safety-icon { flex: 0 0 auto; margin: 0; width: 40px; height: 40px; }
.note-with-icon .safety-icon img { width: 20px; }
.cert-plate {
  position: relative; height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 14px; border: 8px solid #7a4f22;
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.35), inset 0 0 0 6px rgba(120,80,30,.25);
}
.cert-plate.gold { background: linear-gradient(160deg, #f0d48a, #c99a45 55%, #e2bc72); }
.cert-plate.silver { background: linear-gradient(160deg, #f5f5f5, #bfbfbf 55%, #e2e2e2); border-color: #8a8a8a; box-shadow: inset 0 0 0 4px rgba(255,255,255,.5), inset 0 0 0 6px rgba(120,120,120,.25); }
.cert-title { margin: 0; font: 700 17px "Microsoft YaHei", serif; letter-spacing: 1px; }
.cert-title.red { color: #a8281c; }
.cert-title.green { color: #1f6d40; }
.cert-title.black { color: #2b2b2b; }
.cert-title.big { font-size: 22px; }
.cert-subtitle { color: #2b2b2b; font-size: 13px; margin-bottom: 2px; }
.cert-meta { margin-top: 10px; color: #5c4425; font-size: 11px; line-height: 1.6; }
.cert-plate.silver .cert-meta { color: #555; }

/* ---------- 校园环境（学校概况分页）---------- */
.campus-hero-photo { display: block; width: 100%; height: 340px; object-fit: cover; margin-bottom: 20px; }
.campus-lead { margin: 0 0 28px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.campus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.campus-card > img { display: block; width: 100%; height: 220px; object-fit: cover; }
.campus-card-head { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; }
.campus-card-head img { flex: 0 0 auto; width: 18px; height: 18px; object-fit: contain; }
.campus-card-head h3 { margin: 0; color: var(--green-900); font-size: 16px; font-weight: 700; }
.campus-card p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.campus-scenery-page { background: #fff; }
.campus-scenery-content { min-width: 0; }
.campus-hero-wrap { position: relative; overflow: hidden; margin-bottom: 18px; border-radius: 10px; }
.campus-experience-links { position: absolute; top: 16px; right: 16px; display: flex; align-items: center; gap: 16px; padding: 9px 14px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; background: rgba(255,255,255,.9); box-shadow: 0 5px 18px rgba(6,50,40,.08); backdrop-filter: blur(8px); }
.campus-experience-links a { color: #059447; font-size: 14px; font-weight: 400; white-space: nowrap; }
.campus-scenery-page .campus-hero-photo { height: auto; margin-bottom: 0; aspect-ratio: 20 / 7; border-radius: 0; }
.campus-scenery-page .campus-lead { max-width: 92%; margin: 0 auto 28px; text-align: center; }
.campus-scenery-page .campus-card { overflow: hidden; padding-bottom: 22px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 5px 18px rgba(13,73,59,.035); }
.campus-scenery-page .campus-card > img { height: auto; aspect-ratio: 19 / 10; }
.campus-scenery-page .campus-card-head,
.campus-scenery-page .campus-card > p { margin-left: 20px; margin-right: 20px; }

/* ---------- 数字校园：沉浸式校园入口 ---------- */
.immersive-campus-section { background: #f5f8f6; }
.immersive-campus-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.immersive-campus-head > div > span { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 2px; }
.immersive-campus-head h2 { margin: 8px 0 0; padding-left: 0; }
.immersive-campus-head h2::before { display: none; }
.immersive-campus-head > p { max-width: 540px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.immersive-campus-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
.immersive-campus-card { position: relative; min-height: 330px; overflow: hidden; border-radius: 12px; color: #fff; background: var(--green-950); }
.immersive-campus-card > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.immersive-campus-card:hover > img { transform: scale(1.035); }
.immersive-campus-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(5,35,28,.9) 100%); }
.immersive-campus-card > div { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 24px; }
.immersive-campus-card small { color: #e5c67e; font-size: 12px; letter-spacing: 1px; }
.immersive-campus-card h3 { margin-top: 5px; font-size: 24px; }
.immersive-campus-card p { margin-top: 7px; color: rgba(255,255,255,.78); font-size: 12px; line-height: 1.6; }
.immersive-campus-card strong { display: inline-block; margin-top: 13px; font-size: 13px; }
.immersive-campus-tag { position: absolute; z-index: 2; top: 18px; right: 18px; padding: 6px 10px; border-radius: 999px; color: var(--green-900); background: rgba(255,255,255,.9); font-size: 11px; font-weight: 700; }

/* ---------- 校园环境（学校概况页）---------- */
.about-gallery-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.about-gallery-row figure { margin: 0; }
.about-gallery-row img { width: 100%; height: 108px; object-fit: cover; }
.about-gallery-row figcaption { margin-top: 8px; text-align: center; color: var(--muted); font-size: 12px; }

/* ---------- 3D校园 / 全景校园 ---------- */
.immersive-body { height: 100vh; overflow: hidden; background: #0b201b; }
.immersive-header {
  position: relative;
  z-index: 10;
  height: 64px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
  background: rgba(6, 50, 40, .96);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .18);
}
.immersive-brand { display: flex; align-items: center; gap: 12px; }
.immersive-brand img { width: 42px; height: 42px; object-fit: contain; }
.immersive-brand span { display: flex; flex-direction: column; }
.immersive-brand strong { font-size: 17px; }
.immersive-brand small { margin-top: 2px; color: rgba(255,255,255,.64); font-size: 9px; letter-spacing: 1px; }
.immersive-header-actions { display: flex; gap: 10px; }
.immersive-header-actions a { padding: 8px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 5px; font-size: 13px; }
.immersive-header-actions a:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.campus-viewer-shell { position: relative; height: calc(100vh - 64px); overflow: hidden; }
.campus-viewer-shell canvas { width: 100%; height: 100%; display: block; touch-action: none; }
.immersive-body.capture-mode .immersive-header,
.immersive-body.capture-mode .campus-viewer-panel { display: none; }
.immersive-body.capture-mode .campus-viewer-shell { height: 100vh; }
.campus-viewer-loading {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  color: var(--green-900);
  background: #edf4f1;
  transition: opacity .35s, visibility .35s;
}
.campus-viewer-loading strong { font-size: 20px; }
.campus-viewer-loading span { color: var(--muted); font-size: 13px; }
.campus-viewer-loading.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.campus-viewer-loading.error { color: #9b2c2c; }
.campus-viewer-panel {
  position: absolute;
  z-index: 3;
  left: 24px;
  bottom: 24px;
  width: min(390px, calc(100% - 48px));
  padding: 20px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 12px;
  color: #fff;
  background: rgba(6, 50, 40, .82);
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
  backdrop-filter: blur(12px);
}
.campus-viewer-panel h1 { font-size: 23px; }
.campus-viewer-panel p { margin-top: 8px; color: rgba(255,255,255,.78); font-size: 12px; line-height: 1.7; }
.campus-view-buttons,
.panorama-spots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.campus-view-buttons button,
.panorama-spots button {
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 4px;
  color: #fff;
  background: rgba(255,255,255,.08);
  cursor: pointer;
  font-size: 12px;
}
.campus-view-buttons button:hover,
.campus-view-buttons button.active,
.panorama-spots button:hover,
.panorama-spots button.active { border-color: #e4c178; color: #173f34; background: #f3d89c; }
.panorama-shell { background: #0b201b; }
.panorama-panel { width: min(470px, calc(100% - 48px)); }

/* ---------- 学校概况首页：参考样稿的一页式信息总览 ---------- */
.about-overview-page { padding-bottom: 24px; background: #f5f8f6; }
.about-shared-hero { padding-top: 0; background: #fff; }
.about-shared-hero .about-hero-inner { position: relative; overflow: hidden; }
.about-shared-hero .about-hero-bg {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: var(--portal-banner-aspect-ratio);
  object-fit: cover;
}
.about-shared-hero .about-hero-inner::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(238,243,240,.99) 0%, rgba(238,243,240,.94) 27%, rgba(238,243,240,.68) 42%, rgba(238,243,240,0) 67%);
  pointer-events: none;
}
.about-shared-hero .about-hero-building {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  width: min(46%, 661px);
  height: auto;
  pointer-events: none;
}
.about-shared-hero .about-hero-building[src$="banner_left_news.png"],
.about-shared-hero .about-hero-building[src$="banner_left_rd.png"],
.about-shared-hero .about-hero-building[src$="banner_left_moral.png"],
.about-shared-hero .about-hero-building[src$="banner_left_admission.png"],
.about-shared-hero .about-hero-building[src$="banner_left_digital.png"],
.about-shared-hero .about-hero-building[src$="banner_left_alumni.png"] {
  left: 0;
  bottom: 0;
  aspect-ratio: auto !important;
  object-fit: contain;
  object-position: left bottom;
  opacity: .7;
}
.about-shared-hero .about-hero-copy {
  position: absolute;
  z-index: 3;
  top: 40%;
  left: clamp(34px, 4vw, 64px);
  transform: translateY(-50%);
  color: var(--green-900);
  font-family: "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}
.about-shared-hero .about-hero-copy h1 { margin: 0; font-size: clamp(30px, 2.55vw, 42px); line-height: 1.2; font-weight: 400; letter-spacing: .12em; }
.about-shared-hero .about-hero-en { margin: 10px 0 0; font-size: clamp(14px, 1.35vw, 21px); line-height: 1.2; font-weight: 300; letter-spacing: .14em; }
.about-shared-hero .about-hero-rule { display: block; width: clamp(76px, 7vw, 104px); height: 3px; margin-top: 12px; background: var(--green-900); }
.about-shared-hero .about-hero-tagline { margin: 11px 0 0; font-size: clamp(14px, 1.3vw, 20px); line-height: 1.4; font-weight: 300; letter-spacing: .12em; white-space: nowrap; }
.about-overview-page .sub-nav { position: relative; top: auto; }
.about-overview-page .section { padding: 10px 0; }
.about-overview-page .about-intro-section { padding-top: 28px; }
.about-overview-page .about-intro-grid,
.about-overview-page .timeline-section > .portal-container,
.about-overview-page .leadership-section > .portal-container,
.about-overview-page .promo-section > .portal-container,
.about-overview-page .campus-gallery-section > .portal-container {
  border: 1px solid #e4ebe7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(13, 73, 59, .035);
}
.about-overview-page .about-intro-grid {
  grid-template-columns: minmax(260px, .9fr) minmax(360px, 1.35fr) minmax(230px, .76fr);
  grid-template-areas: "copy photo stats";
  align-items: start;
  gap: 26px;
  padding: 30px;
}
.about-overview-page .about-intro-copy { min-width: 0; }
.about-overview-page .about-intro-photo { min-height: 0; aspect-ratio: 924 / 485; border-radius: 9px; }
.about-overview-page .about-intro-photo img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.about-overview-page img[src*="resources/images/icons/"] {
  filter: brightness(0) saturate(100%) invert(29%) sepia(22%) saturate(1050%) hue-rotate(116deg) brightness(87%) contrast(91%);
}
.about-overview-page .about-stat-cards { grid-template-columns: 1fr; gap: 12px; }
.about-overview-page .about-stat-card {
  min-height: 70px;
  border: 1px solid #e4ebe7;
  border-radius: 8px;
  background: #f9fbfa;
  box-shadow: 0 3px 10px rgba(13, 73, 59, .04);
}
.about-overview-page .about-stat-icon {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf5f1;
}
.about-overview-page .about-stat-icon img {
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.about-overview-page .about-stat-card span { color: var(--green-700); font-weight: 700; }
.about-overview-page .timeline-section { background: transparent; }
.about-overview-page .timeline-section > .portal-container { padding: 28px 30px 30px; }
.about-overview-page .timeline-row { padding: 0 4px 4px; }
.about-overview-page .timeline-item::before { top: 65px; height: 2px; background: rgba(116, 162, 146,0.4); }
.about-overview-page .timeline-dot { box-shadow: 0 0 0 3px #e3eee9; }
.about-overview-page .philosophy-growth-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.about-overview-page .philosophy-block,
.about-overview-page .growth-block {
  min-width: 0;
  padding: 28px 30px 30px;
  border: 1px solid #e4ebe7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(13, 73, 59, .035);
}
.about-overview-page .philosophy-card,
.about-overview-page .growth-card {
  border: 1px solid #e4ebe7;
  border-radius: 8px;
  background: #f9fbfa;
}
.about-overview-page .growth-arrow { position: relative; width: 24px; background: #9fc4b7; }
.about-overview-page .growth-arrow::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -1px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #9fc4b7;
}
.about-overview-page .leadership-section > .portal-container { padding: 28px 30px 30px; }
.about-overview-page .leadership-card {
  padding: 0 0 16px;
  overflow: hidden;
  border: 1px solid #e4ebe7;
  border-radius: 8px;
  background: #fff;
}
.about-overview-page .leadership-card img {
  height: 220px;
  margin-bottom: 14px;
  object-position: center 18%;
}
.about-overview-page .leadership-card strong { color: var(--green-800); }
.about-overview-page .promo-section > .portal-container { padding: 0 18px; }
.about-overview-page .promo-card { min-width: 0; background: transparent; }
.about-overview-page .promo-card + .promo-card { border-left: 1px solid #e4ebe7; }
.about-overview-page .promo-card > div { min-width: 0; flex: 1 1 auto; }
.about-overview-page .campus-gallery-section > .portal-container { padding: 28px 30px 30px; }
.about-overview-page .about-gallery-row figure {
  overflow: hidden;
  padding-bottom: 12px;
  border: 1px solid #e4ebe7;
  border-radius: 8px;
  background: #fff;
}
.about-overview-page .about-gallery-row img { height: 140px; }
.about-overview-page .about-gallery-row figcaption { color: var(--ink); font-weight: 700; }
.about-overview-body .site-footer { background-color: #eef3f0; }
.about-overview-body .footer-grid {
  width: min(calc(100% - var(--portal-page-gutter) * 2), var(--portal-content-width));
  margin-inline: auto;
  padding-inline: 0;
}

@media (max-width: 900px) {
  .leader-grid-3 { grid-template-columns: 1fr; }
  .leader-office-grid, .leader-person-grid, .leader-directory-grid { grid-template-columns: 1fr; }
  .sub-nav-list { justify-content: flex-start; gap: 0; }
  .about-overview-page .about-intro-grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr);
    grid-template-areas: "copy photo" "stats stats";
  }
  .about-overview-page .about-stat-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .about-overview-page .about-stat-card { padding: 14px; }
  .about-overview-page .philosophy-growth-grid { grid-template-columns: 1fr; }
  .about-overview-page .about-gallery-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .leader-grid-3, .leader-office-grid, .leader-person-grid, .leader-directory-grid { grid-template-columns: 1fr; }
  .leader-card, .leader-featured { padding: 16px; }
  .leader-featured img { width: 96px; height: 120px; }
  .about-shared-hero .portal-container { width: 100%; }
  .about-shared-hero .about-hero-bg { min-height: 112px; }
  .about-shared-hero .about-hero-inner::after { background: linear-gradient(90deg, rgba(238,243,240,.99) 0%, rgba(238,243,240,.93) 44%, rgba(238,243,240,.28) 76%, rgba(238,243,240,0) 100%); }
  .about-shared-hero .about-hero-building { width: 56%; }
  .about-shared-hero .about-hero-copy { left: 24px; }
  .about-shared-hero .about-hero-copy h1 { font-size: 23px; letter-spacing: .1em; }
  .about-shared-hero .about-hero-en { margin-top: 5px; font-size: 11px; letter-spacing: .1em; }
  .about-shared-hero .about-hero-rule { width: 54px; height: 2px; margin-top: 7px; }
  .about-shared-hero .about-hero-tagline { margin-top: 6px; font-size: 11px; letter-spacing: .05em; }
  .about-overview-page .sub-nav-list a { padding-inline: 16px; }
  .about-overview-page .about-intro-section { padding-top: 18px; }
  .about-overview-page .about-intro-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "photo" "stats";
    gap: 22px;
    padding: 22px;
  }
  .about-overview-page .about-intro-photo { min-height: 0; height: auto; aspect-ratio: 924 / 485; }
  .about-overview-page .about-intro-photo img { min-height: 0; height: 100%; }
  .about-overview-page .about-stat-cards { grid-template-columns: 1fr 1fr; }
  .about-overview-page .timeline-section > .portal-container,
  .about-overview-page .philosophy-block,
  .about-overview-page .growth-block,
  .about-overview-page .leadership-section > .portal-container,
  .about-overview-page .campus-gallery-section > .portal-container { padding: 22px; }
  .about-overview-page .timeline-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .about-overview-page .timeline-item { padding: 14px; border: 1px solid #e4ebe7; border-radius: 8px; background: #f9fbfa; }
  .about-overview-page .timeline-item::before,
  .about-overview-page .timeline-dot { display: none; }
  .about-overview-page .timeline-year { margin-bottom: 6px; }
  .about-overview-page .timeline-item p { margin-top: 0; }
  .about-overview-page .philosophy-cards { grid-template-columns: 1fr 1fr; }
  .about-overview-page .growth-cards { grid-template-columns: 1fr; gap: 10px; }
  .about-overview-page .growth-arrow { width: 2px; height: 18px; margin: 0 auto; }
  .about-overview-page .growth-arrow::after {
    top: auto;
    right: -4px;
    bottom: -1px;
    border-top: 7px solid #9fc4b7;
    border-right: 5px solid transparent;
    border-bottom: 0;
    border-left: 5px solid transparent;
  }
  .about-overview-page .leadership-cards { grid-template-columns: 1fr 1fr; }
  .about-overview-page .leadership-card img { height: 180px; }
  .about-overview-page .promo-section > .portal-container { padding: 8px 18px; }
  .about-overview-page .promo-grid { grid-template-columns: 1fr; }
  .about-overview-page .promo-card { padding: 18px 4px; }
  .about-overview-page .promo-card + .promo-card { border-top: 1px solid #e4ebe7; border-left: 0; }
  .about-overview-page .promo-card p { display: none; }
  .about-overview-page .about-gallery-row { grid-template-columns: 1fr 1fr; }
  .about-overview-page .about-gallery-row img { height: 120px; }
  .profile-section-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .about-overview-page .about-stat-cards { grid-template-columns: 1fr; }
  .about-overview-page .leadership-card img { height: 145px; }
  .about-overview-page .promo-card span { display: none; }
}

/* ---------- 恒远要闻（新闻中心首页）---------- */
.news-overview-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.news-overview-grid > section, .news-overview-column, .news-overview-grid .headline-copy { min-width: 0; }
.news-overview-grid .notice-section { padding-left: 32px; border-left: 1px solid var(--line); }
.news-overview-grid .headline-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; }
.news-overview-grid .notice-full-list li { gap: 14px; }
@media (max-width: 1180px) {
  .news-overview-grid { gap: 28px; }
  .news-overview-grid .headline-grid { grid-template-columns: 1fr; }
  .news-overview-grid .headline-photo img { height: 200px; }
  .news-overview-grid .notice-section { padding-left: 24px; }
}
@media (max-width: 760px) {
  .news-overview-grid { grid-template-columns: 1fr; gap: 36px; }
  .news-overview-grid .notice-section { padding-left: 0; border-left: 0; }
}
.headline-grid { display: grid; grid-template-columns: 724fr 1500fr; gap: 32px; }
.headline-photo { display: block; overflow: hidden; }
.headline-photo img { width: 100%; height: 280px; object-fit: cover; transition: transform .4s; }
.headline-photo:hover img { transform: scale(1.04); }
.headline-copy h3 { margin: 0; color: var(--ink); font-size: 19px; font-weight: 700; }
.headline-copy > p { margin: 12px 0 16px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.headline-list { list-style: none; margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.headline-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.headline-list a { min-width: 0; color: var(--ink); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.headline-list a::before { content: "· "; color: var(--gold); }
.headline-list span { flex: 0 0 auto; color: #9aa39e; font-size: 12px; }
.headline-list .news-date-link { color: inherit; font-size: inherit; }
.headline-list .news-date-link::before { content: none; }
.news-date-link { display: inline-block; flex: 0 0 auto; }
.news-date-link:hover, .news-date-link:focus-visible { text-decoration: underline; }

/* ---------- 新闻卡片网格（校园新闻 / 教学动态）---------- */
.campus-news-section, .teaching-news-section { background: #fafbfa; }
.news-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.news-card-grid--three { grid-template-columns: repeat(3, 1fr); }
.news-card { display: block; background: #fff; }
.news-card img { width: 100%; height: 130px; object-fit: cover; }
.news-card h3 { margin: 14px 14px 0; color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.5; }
.news-card p { margin: 8px 14px 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.news-card span { display: block; margin: 12px 14px 14px; color: #9aa39e; font-size: 12px; }

/* ---------- 通知公告列表（新闻中心首页）---------- */
.notice-full-list { list-style: none; margin: 0; padding: 0; }
.notice-full-list li { display: flex; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.notice-full-list li:first-child { border-top: 1px solid var(--line); }
.notice-full-list time { flex: 0 0 auto; width: 66px; text-align: center; color: var(--green-800); }
.notice-full-list time b { display: block; font: 400 26px/1.1 Georgia, serif; }
.notice-full-list time span { display: block; margin-top: 4px; color: #9aa39e; font-size: 11px; }
.notice-full-list h3 { margin: 0; font-size: 15px; font-weight: 700; }
.notice-full-list h3 a { color: var(--ink); }
.notice-full-list p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

/* ---------- 通知公告（新闻中心分页）---------- */
.notice-simple-list { list-style: none; margin: 0; padding: 0; }
.notice-simple-list li { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.notice-simple-list li:first-child { padding-top: 0; }
.notice-simple-list a { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 14px; }
.notice-simple-list a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green-800); flex: 0 0 auto; }
.notice-tag-top { padding: 2px 8px; border: 1px solid var(--green-800); color: var(--green-800); font-size: 11px; font-weight: 700; }
.notice-simple-list .notice-date { flex: 0 0 auto; color: var(--muted); font-size: 13px; }

/* ---------- 新闻列表页（左侧边栏 + 右侧列表）---------- */
.news-list-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.news-side-nav { background: #fff; border: 1px solid var(--line); }
.news-side-nav h2 { margin: 0; padding: 22px 20px; color: var(--green-900); font-size: 19px; font-weight: 700; }
.news-side-nav a { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.news-side-nav a img { width: 10px; }
.news-side-nav a.active { background: var(--green-900); color: #fff; font-weight: 700; }
.news-full-list { list-style: none; margin: 0; padding: 0; }
.news-full-list li { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.news-full-list li:first-child { padding-top: 0; }
.news-full-thumb { flex: 0 0 auto; display: block; width: 220px; height: 140px; overflow: hidden; }
.news-full-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-full-thumb:hover img { transform: scale(1.05); }
.news-full-copy { min-width: 0; }
.news-full-copy h3 { margin: 0; font-size: 16px; font-weight: 700; }
.news-full-copy h3 a { color: var(--ink); }
.news-full-copy p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.news-full-copy span { display: block; margin-top: 10px; color: #9aa39e; font-size: 12px; }

/* ---------- 新闻/通知详情页 ---------- */
.article-crumb { padding: 16px 0; color: var(--muted); font-size: 13px; }
.article-crumb a { color: var(--muted); }
.article-header { padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 28px; text-align: center; }
.article-header h1 { margin: 0 0 16px; color: var(--ink); font-size: 24px; font-weight: 700; }
.article-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; color: var(--muted); font-size: 13px; }
.article-photo { margin: 0 0 24px; }
.article-photo img { display: block; width: 100%; height: auto; }
.article-photo figcaption { margin-top: 10px; text-align: center; color: var(--muted); font-size: 12px; }
.article-body p { margin: 0 0 18px; color: var(--ink); font-size: 14px; line-height: 2; text-indent: 2em; }
.article-photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.article-photo-row figure { margin: 0; }
.article-photo-row img { display: block; width: 100%; height: 220px; object-fit: cover; }
.article-photo-row figcaption { margin-top: 10px; text-align: center; color: var(--muted); font-size: 12px; }
.article-footer-meta { margin-top: 24px; text-align: right; color: var(--muted); font-size: 13px; line-height: 1.9; }
.article-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.article-nav a { color: var(--ink); }

/* ---------- 分页 ---------- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 30px; }
.pagination a, .pagination .pagination-ellipsis { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.pagination a.pagination-nav { padding: 0 16px; }
.pagination a:hover { border-color: var(--green-700); color: var(--green-800); }
.pagination a.active { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.pagination-ellipsis { border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  padding-top: 24px;
  color: #37453f;
  background-color: #eef3f0;
  background-image: url('../resources/images/home/left-footer-landscape-watercolor.png'), url('../resources/images/home/right-footer-landscape-watercolor.png');
  background-position: left bottom, right bottom;
  background-size: auto 100%, auto 100%;
  background-repeat: no-repeat;
}
.footer-grid { width: min(calc(100% - var(--portal-page-gutter) * 2), var(--portal-content-width)); margin-inline: auto; padding-inline: 0; display: grid; grid-template-columns: 1.5fr 1.3fr 1fr 1fr auto; column-gap: 30px; row-gap: 18px; align-items: start; padding-bottom: 8px; }
.footer-brand { display: flex; align-items: flex-start; gap: 12px; }
.footer-brand .brand-mark { width: 46px; height: 46px; }
.footer-brand strong { display: block; color: var(--green-900); font-size: 16px; font-weight: 700; }
.footer-brand small { display: block; margin-top: 2px; color: #6b7c74; font: 9px/1 Arial; letter-spacing: .6px; }
.footer-motto { margin-top: 8px; color: var(--green-900); font-size: 14px; font-weight: 700; letter-spacing: 1px; }

/* ---------- 校友之家 (Alumni) ---------- */
.alumni-welcome-box { display: flex; align-items: center; gap: 40px; padding: 40px; background: #f8faf9; border-radius: 8px; margin-top: 20px; }
.welcome-icon { flex: 0 0 auto; }
.welcome-icon img { width: 80px; height: 80px; }
.welcome-copy { flex: 1; }
.welcome-copy h2 { margin: 0 0 12px; color: var(--green-900); font-size: 22px; font-weight: 700; }
.welcome-copy p { margin: 0 0 16px; color: var(--ink); font-size: 13px; line-height: 1.9; }
.alumni-news-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 20px; }
.alumni-news-featured { position: relative; display: block; overflow: hidden; height: 300px; border-radius: 8px; }
.alumni-news-featured img { width: 100%; height: 100%; object-fit: cover; }
.featured-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,.6)); padding: 20px; color: #fff; }
.featured-overlay h3 { margin: 0; font-size: 18px; font-weight: 700; }
.featured-overlay span { display: block; margin-top: 8px; font-size: 12px; opacity: 0.9; }
.alumni-news-list { display: flex; flex-direction: column; gap: 16px; }
.alumni-news-list li { list-style: none; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.alumni-news-list li:last-child { border-bottom: 0; }
.alumni-news-list a { color: var(--ink); font-size: 14px; font-weight: 600; }
.alumni-news-list a:hover { color: var(--green-800); }
.alumni-news-list span { display: block; margin-top: 6px; color: #9aa39e; font-size: 12px; }
.alumni-activity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.alumni-activity-card { position: relative; display: block; overflow: hidden; border-radius: 8px; background: #fff; }
.alumni-activity-card img { display: block; width: 100%; height: 180px; object-fit: cover; }
.alumni-activity-card h3 { margin: 14px 14px 0; color: var(--ink); font-size: 16px; font-weight: 700; }
.alumni-activity-card p { margin: 8px 14px 12px; color: var(--muted); font-size: 13px; }
.activity-tag { position: absolute; top: 12px; right: 12px; display: inline-block; padding: 4px 10px; background: var(--green-800); color: #fff; font-size: 11px; border-radius: 4px; }
.alumni-stories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.alumni-story-card { text-align: center; }
.alumni-story-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; margin-bottom: 12px; }
.alumni-story-card h3 { margin: 0; color: var(--ink); font-size: 16px; font-weight: 700; }
.alumni-story-card p { margin: 6px 0 8px; color: var(--muted); font-size: 12px; }
.story-excerpt { display: block; color: var(--green-800); font-size: 12px; }
.alumni-services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.alumni-service-item { text-align: center; padding: 20px; }
.alumni-service-item img { width: 40px; height: 40px; margin: 0 auto 12px; }
.alumni-service-item h3 { margin: 0; color: var(--ink); font-size: 16px; font-weight: 700; }
.alumni-service-item p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.alumni-contact-box { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 30px; background: #f8faf9; border-radius: 8px; margin-top: 20px; }
.contact-info p { margin: 0 0 10px; color: var(--ink); font-size: 13px; }
.contact-info p:first-child { font-weight: 700; color: var(--green-900); }
.alumni-stories-list { display: flex; flex-direction: column; gap: 30px; margin-top: 20px; }
.alumni-story-item { display: grid; grid-template-columns: 300px 1fr; gap: 30px; padding: 20px; background: #f8faf9; border-radius: 8px; }
.alumni-story-image { width: 100%; height: 400px; object-fit: cover; border-radius: 8px; }
.alumni-story-info h3 { margin: 0 0 8px; color: var(--ink); font-size: 18px; font-weight: 700; }
.alumni-year { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.alumni-position { margin: 0 0 12px; color: var(--green-900); font-size: 13px; font-weight: 600; }
.alumni-description { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.alumni-story-info .btn { margin-top: 14px; }
.prev-next-link { color: var(--muted); text-decoration: none; display: block; }
.prev-next-link:hover { color: var(--green-800); }
.article-content img { display: block; width: 100%; height: auto; margin: 20px 0; }
.article-content h2 { color: var(--ink); font-size: 16px; font-weight: 700; }
.article-content ul, .article-content ol { color: var(--ink); font-size: 13px; line-height: 1.9; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.footer-contact h4, .footer-links h4 { margin-bottom: 12px; color: var(--green-900); font-size: 13px; font-weight: 700; }
.footer-contact p { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: #4c5a54; font-size: 12px; }
.footer-contact img { width: 13px; opacity: .8; }
.footer-links { display: flex; flex-direction: column; }
.footer-links a { margin-bottom: 7px; color: #4c5a54; font-size: 12px; }
.footer-qr { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-qr > div { text-align: center; }
.footer-qr img.qr-block { width: 100px; height: 100px; object-fit: contain; }
.qr-block { width: 58px; height: 58px; display: grid; place-items: center; background: #fff; border: 1px solid #d7ded9; color: var(--green-900); font-size: 10px; font-weight: 700; }
.footer-qr span { display: block; margin-top: 6px; color: #4c5a54; font-size: 11px; }
.footer-meta { grid-column: 1 / -1; min-height: 38px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 22px; padding-top: 8px; border-top: 1px solid rgba(11,77,63,.16); color: #56645d; font-size: 12px; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  :root { --portal-page-gutter: 24px; }
  .main-nav a { padding: 0 11px; font-size: 13px; }
  .intro-news-grid, .culture-research-grid, .digital-gallery-grid { grid-template-columns: 1fr; }
  .research-cards { grid-template-columns: repeat(3, 1fr); }
  .culture-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-qr { grid-column: 1 / -1; }
  .immersive-campus-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --portal-page-gutter: 18px; }
  .header-bar { height: 58px; gap: 12px; }
  .header-bar .brand-mark { width: 40px; height: 40px; }
  .brand-copy small { display: none; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 58px; flex-direction: column; background: var(--green-900); max-height: 0; overflow: hidden; transition: max-height .3s; }
  .main-nav.open { display: flex; max-height: 480px; }
  .main-nav a { height: 46px; padding-inline: 20px; justify-content: flex-start; border-top: 1px solid rgba(255,255,255,.1); }
  .menu-toggle { display: grid; }
  .menu-toggle.open .menu-open-icon { display: none; }
  .menu-toggle.open .menu-close-icon { display: block; }
  .hero { height: auto; min-height: 0; padding: 0 0 30px; }
  .hero-slides { min-height: 180px; aspect-ratio: 2.35 / 1; }
  .hero-slide::after { background: linear-gradient(90deg, rgba(238,243,240,.98) 0%, rgba(238,243,240,.9) 40%, rgba(238,243,240,.22) 78%, rgba(238,243,240,0) 100%); }
  .hero-copy { left: 24px; }
  .hero-copy h1 { font-size: 24px; line-height: 1.35; letter-spacing: .06em; }
  .hero-copy p { gap: 2px; margin: 15px 0 0; font-size: 12px; letter-spacing: .05em; }
  .hero-copy p::before { display: none; }
  .hero-controls { gap: 8px; }
  .hero-arrow { width: 22px; height: 22px; }
  .hero-arrow::before { width: 6px; height: 6px; }
  .intro-card > img { float: none; width: 100%; height: 190px; margin: 0 0 18px; }
  .news-columns { grid-template-columns: 1fr; }
  .research-cards, .culture-cards, .digital-items { grid-template-columns: repeat(2, 1fr); }
  .gallery-row { grid-template-columns: 1fr; }
  .gallery-head-links { gap: 10px; }
  .gallery-head-links .gallery-immersive-link { font-size: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .campus-scenery-head,
  .immersive-campus-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .campus-experience-links { gap: 14px; }
  .campus-grid,
  .immersive-campus-grid { grid-template-columns: 1fr; }
  .immersive-campus-card { min-height: 280px; }
  .immersive-header { height: 58px; padding: 0 14px; }
  .immersive-brand img { width: 36px; height: 36px; }
  .immersive-brand strong { font-size: 14px; }
  .immersive-brand small { display: none; }
  .immersive-header-actions a { padding: 7px 9px; font-size: 11px; }
  .campus-viewer-shell { height: calc(100vh - 58px); }
  .campus-viewer-panel { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 14px; }
  .campus-viewer-panel h1 { font-size: 18px; }
  .campus-view-buttons, .panorama-spots { max-height: 100px; overflow-y: auto; }
}
