/* 子页面的颜色变量全部来自 homepage.css 第 1 节（body 同时带 .ph-home），这里不再重复定义。 */
.ph-subpage {
  background: var(--ph-paper);
  color: var(--ph-ink);
}

.ph-subpage-crumb{background:var(--ph-soft);border-bottom:1px solid var(--ph-line)}
.ph-subpage-crumb .ph-container{display:flex;gap:12px;align-items:center;min-height:48px;color:var(--ph-muted);font-size:12px}
.ph-subpage-crumb a:hover{color:var(--ph-accent)}
.ph-subpage-crumb span:last-child{color:var(--ph-ink)}
.ph-subpage .ph-page-section{padding:55px 0 78px!important}
.ph-subpage .ph-article-wrap{width:min(820px,calc(100% - 64px))!important}
.ph-subpage .ph-article-body>p{text-indent:0}
.ph-subpage .ph-article-header{margin-bottom:24px}
.ph-subpage .ph-article-body p{line-height:1.75;margin-bottom:12px}
.ph-subpage .ph-article-body h4{margin-top:28px}
.ph-subpage .ph-article-body li{line-height:1.75;margin-bottom:6px}
/* 咨询区背景沿用 homepage.css（浅灰底 + 白色表单卡片） */
.ph-subpage .ph-contact-section h2{color:var(--ph-ink)}
.ph-subpage .ph-contact-section .ph-contact-copy>p:not(.ph-kicker){color:var(--ph-text, #4B534E)}
.ph-subpage .ph-contact-section .ph-kicker{color:var(--ph-accent)}
.ph-subpage .ph-contact-section .ph-inquiry-form{background:#fff;border-color:var(--ph-line)}
.ph-subpage .ph-contact-section .ph-inquiry-form h3{color:var(--ph-ink)}
.ph-subpage .ph-inquiry-form input:focus,.ph-subpage .ph-inquiry-form select:focus,.ph-subpage .ph-inquiry-form textarea:focus{box-shadow:0 0 0 3px rgba(79,112,91,.16)}
.ph-scenery-page .ph-page-grid{grid-template-columns:1fr;gap:18px}
.ph-scenery-page .ph-page-aside{grid-row:1;position:static}
.ph-scenery-page .ph-side-nav{display:flex;gap:24px;border-top:0;border-bottom:1px solid var(--ph-line)}
.ph-scenery-page .ph-side-nav a{border-bottom:2px solid transparent;padding:0 0 12px;font-size:13px}
.ph-scenery-page .ph-side-nav a:hover,.ph-scenery-page .ph-side-nav a.active{padding-left:0;border-bottom-color:var(--ph-accent)}
.ph-scenery-page .ph-side-nav a span,.ph-scenery-page .ph-aside-quote{display:none}
.ph-scenery-page .ph-lead-block{grid-template-columns:1fr;gap:22px;margin:26px 0 35px}
.ph-scenery-page .ph-lead-block>div{max-width:760px}
.ph-scenery-page .ph-lead-block img{aspect-ratio:2.5;object-position:center 58%}
.ph-scenery-page .ph-page-article h4{margin:40px 0 8px;padding-bottom:12px;border-bottom:1px solid var(--ph-line)}
.ph-scenery-page .ph-scenery-block{gap:16px;margin:18px 0 44px}
.ph-scenery-page .ph-scenery-block figure{border-radius:2px}
.ph-scenery-page .ph-scenery-block figcaption span{font-size:12px}
@media(max-width:820px){
  .ph-subpage .ph-article-wrap{width:min(100% - 36px,620px)!important}
  .ph-scenery-page .ph-side-nav{overflow-x:auto;white-space:nowrap;gap:18px}
  .ph-scenery-page .ph-side-nav a{flex:none}
  .ph-scenery-page .ph-lead-block img{aspect-ratio:16/9}
}
.ph-subpage .home-header { background: var(--ph-paper); border-color: var(--ph-line); box-shadow: none; }
.ph-subpage .home-header-inner { width: min(1280px, calc(100% - 64px)); gap: 32px; }
.ph-subpage .home-brand { min-width: 240px; }
.ph-subpage .ph-brand-logo { width: 240px; height: auto; display: block; }
.ph-subpage .home-nav { gap: 8px; justify-content: center; }
.ph-subpage .home-nav a { color: var(--ph-ink); font-size: 15px; font-weight: 500; }
.ph-subpage .home-nav a::after { height: 2px; bottom: 0; border-radius: 0; background: var(--ph-accent); }
.ph-subpage .home-nav .caret { color: var(--ph-green); }
.ph-subpage .home-nav .dropdown-menu { background: var(--ph-paper); border-color: var(--ph-line); border-radius: 6px; box-shadow: 0 10px 24px rgba(38,52,44,.07); }
.ph-subpage .home-nav .dropdown-menu a { color: var(--ph-ink); }
.ph-subpage .home-nav .dropdown-menu a:hover { background: var(--ph-accent); color: #fff; }
.ph-subpage .header-search { width: 210px; height: 40px; border-color: transparent; border-radius: 999px; background: var(--ph-soft); box-shadow: none; }
.ph-subpage .header-search input { color: var(--ph-ink); font-size: 12px; padding-left: 12px; }
.ph-subpage .header-search input::placeholder { color: var(--ph-muted); }
.ph-subpage .header-search button { color: var(--ph-accent); background: transparent; }
.ph-subpage .search-results-inline { border-radius: 6px; background: var(--ph-paper); border-color: var(--ph-line); }
.ph-subpage .search-results-inline a, .ph-subpage .search-results-inline span { color: var(--ph-ink); border-color: var(--ph-line); }
.ph-subpage .search-results-inline a:hover { background: var(--ph-soft); color: var(--ph-accent); }

.ph-subpage .page-hero { padding: 58px 0 48px; background: var(--ph-sage-soft); border-bottom: 1px solid var(--ph-line); color: var(--ph-ink); }
.ph-subpage .page-hero::after { width: 390px; height: 390px; right: -120px; top: -180px; border-color: var(--ph-sage); }
.ph-subpage .page-hero .wrap { width: min(1200px, calc(100% - 96px)); }
.ph-subpage .breadcrumb { color: var(--ph-muted); font-size: 11px; letter-spacing: .08em; }
.ph-subpage .breadcrumb::before { content: "位置："; color: var(--ph-sand-deep); }
.ph-subpage .page-hero h2 { margin: 14px 0 0; color: var(--ph-ink); font-family: inherit; font-size: clamp(34px, 4vw, 50px); font-weight: 600; letter-spacing: .04em; }
.ph-scenery-page .page-hero { min-height: 278px; display: flex; align-items: end; background: linear-gradient(90deg, #1f2c25b8, #1f2c2538), url('home/campus-hero.webp') center 58% / cover; border-bottom: 0; color: #fff; }
.ph-scenery-page .page-hero h2 { color: #fff; }
.ph-scenery-page .breadcrumb { color: #f2eee7; }
.ph-scenery-page .breadcrumb::before { color: #ffffff9c; }
.ph-scenery-page .page-hero::after { border-color: #ffffff3b; }

.ph-page-section { padding: 72px 0 88px !important; background: #fff; }
.ph-page-wrap { width: min(1200px, calc(100% - 96px)) !important; }
.ph-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 82px; align-items: start; }
.ph-page-article { min-width: 0; }
.ph-page-article p { color: var(--ph-muted); font-size: 14px; line-height: 2; margin: 0 0 22px; }
.ph-page-article h3 { margin: 0 0 18px; color: var(--ph-ink); font-size: clamp(26px, 3vw, 38px); line-height: 1.35; letter-spacing: .04em; font-weight: 600; }
.ph-page-article h4 { margin: 56px 0 12px; color: var(--ph-ink); font-size: 21px; font-weight: 600; }
.ph-page-kicker { margin: 0 0 10px !important; color: var(--ph-accent) !important; font-size: 10px !important; font-weight: 700; letter-spacing: .2em; line-height: 1.4 !important; }
.ph-lead-block { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 44px; align-items: center; margin-bottom: 30px; }
.ph-lead-block img { width: 100%; aspect-ratio: 1.15; object-fit: cover; }
.ph-lead-copy { margin: 0 !important; }
.ph-stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--ph-line); margin: 36px 0 34px; }
.ph-stat-strip div { padding: 22px 18px 20px; border-right: 1px solid var(--ph-line); }
.ph-stat-strip div:last-child { border-right: 0; }
.ph-stat-strip strong { display: block; color: var(--ph-accent); font-size: 30px; line-height: 1.2; font-weight: 600; }
.ph-stat-strip strong span { font-size: 17px; }
.ph-stat-strip span { color: var(--ph-muted); font-size: 12px; }
.ph-story-note { padding: 20px 24px; border-left: 3px solid var(--ph-accent); background: var(--ph-soft); }
.ph-story-note span { display: block; color: var(--ph-accent); font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.ph-story-note p { margin: 7px 0 0; color: var(--ph-ink); font-size: 18px; line-height: 1.6; }
.ph-section-divider { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 21px 0; border-bottom: 1px solid var(--ph-line); }
.ph-section-divider > span { color: var(--ph-accent); font-family: Georgia, serif; font-size: 13px; padding-top: 3px; }
.ph-section-divider strong { display: block; color: var(--ph-ink); font-size: 17px; font-weight: 600; }
.ph-section-divider p { margin: 6px 0 0; font-size: 13px; }
.ph-history-block { display: grid; grid-template-columns: .9fr 1.1fr; gap: 38px; margin-top: 54px; padding-top: 30px; border-top: 1px solid var(--ph-line); }
.ph-history-block h4 { margin-top: 0; }
.ph-history-block p { font-size: 13px; }
.ph-day-list { border-top: 1px solid var(--ph-line); }
.ph-day-list div { display: flex; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--ph-line); }
.ph-day-list b { width: 42px; color: var(--ph-accent); font-size: 13px; font-weight: 600; }
.ph-day-list span { color: var(--ph-muted); font-size: 13px; }
.ph-page-aside { position: sticky; top: 104px; }
.ph-side-nav { border-top: 2px solid var(--ph-accent); }
.ph-side-nav a { display: flex; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--ph-line); color: var(--ph-muted); font-size: 13px; transition: color .2s, padding .2s; }
.ph-side-nav a span { color: var(--ph-sand-deep); font-family: Georgia, serif; font-size: 12px; }
.ph-side-nav a:hover, .ph-side-nav a.active { padding-left: 9px; color: var(--ph-accent); }
.ph-side-nav a.active span { color: var(--ph-accent); }
.ph-aside-quote { margin-top: 42px; padding-top: 18px; border-top: 1px solid var(--ph-line); }
.ph-aside-quote span { color: var(--ph-sand-deep); font-size: 10px; letter-spacing: .18em; }
.ph-aside-quote p { margin: 10px 0 0; color: var(--ph-ink); font-size: 15px; line-height: 1.75; }

.ph-manifesto { max-width: 720px; padding: 10px 0 52px; }
.ph-manifesto h3 { font-size: clamp(34px, 5vw, 58px); line-height: 1.28; letter-spacing: .02em; }
.ph-manifesto h3 em { color: var(--ph-accent); font-style: normal; }
.ph-manifesto > p:last-child { max-width: 620px; font-size: 16px; }
.ph-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 30px 0 56px; border-top: 1px solid var(--ph-line); border-bottom: 1px solid var(--ph-line); }
.ph-principles article { padding-right: 22px; border-right: 1px solid var(--ph-line); }
.ph-principles article:last-child { border-right: 0; }
.ph-principles span { color: var(--ph-accent); font-family: Georgia, serif; font-size: 14px; }
.ph-principles h4 { margin: 13px 0 9px; font-size: 18px; }
.ph-principles p { margin: 0; font-size: 13px; }
.ph-practice-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-top: 58px; }
.ph-practice-block h4 { margin-top: 0; font-size: 26px; }
.ph-practice-block p { font-size: 14px; }
.ph-practice-block img { width: 100%; aspect-ratio: 1.35; object-fit: cover; }
.ph-loop-block { margin-top: 62px; padding-top: 34px; border-top: 1px solid var(--ph-line); }
.ph-loop-block h4 { margin: 0 0 24px; font-size: 25px; }
.ph-loop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ph-loop-grid > div { padding: 18px 16px; background: var(--ph-soft); }
.ph-loop-grid span { display: block; color: var(--ph-accent); font-family: Georgia, serif; font-size: 12px; }
.ph-loop-grid strong { display: block; margin-top: 16px; color: var(--ph-ink); font-size: 17px; font-weight: 600; }
.ph-loop-grid p { margin: 5px 0 0; font-size: 12px; line-height: 1.7; }
.ph-belief-note { margin-top: 48px; padding: 25px 28px; background: var(--ph-accent); color: #fff; }
.ph-belief-note span { font-size: 10px; letter-spacing: .18em; opacity: .75; }
.ph-belief-note p { margin: 8px 0 0; color: #fff; font-size: 19px; line-height: 1.7; }

.ph-scenery-intro { display: flex; justify-content: space-between; gap: 36px; align-items: end; width: min(960px, 100%); margin: 0 auto 38px; }
.ph-scenery-intro h3 { margin-bottom: 8px; }
.ph-scenery-intro p:not(.ph-page-kicker) { max-width: 660px; margin: 0; }
.ph-scenery-index { display: flex; align-items: end; gap: 10px; color: var(--ph-muted); white-space: nowrap; }
.ph-scenery-index strong { color: var(--ph-accent); font-family: Georgia, serif; font-size: 42px; line-height: 1; font-weight: 400; }
.ph-scenery-index span { font-size: 11px; padding-bottom: 3px; }
.ph-scenery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 210px; gap: 18px; }
.ph-scenery-grid figure { position: relative; overflow: hidden; margin: 0; background: var(--ph-soft); }
.ph-scenery-grid figure.is-wide { grid-column: span 2; }
.ph-scenery-grid figure.is-tall { grid-row: span 2; }
.ph-scenery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ph-scenery-grid figure:hover img { transform: scale(1.045); }
.ph-scenery-grid figure::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, #20241fcc); pointer-events: none; }
.ph-scenery-grid figcaption { position: absolute; z-index: 1; right: 18px; bottom: 16px; left: 18px; color: #fff; }
.ph-scenery-grid figcaption strong, .ph-scenery-grid figcaption span { display: block; }
.ph-scenery-grid figcaption strong { font-size: 16px; font-weight: 600; }
.ph-scenery-grid figcaption span { margin-top: 2px; color: #ffffffc7; font-size: 11px; }
.ph-campus-grid { width: min(960px, 100%); margin-inline: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 250px; gap: 18px 24px; }
.ph-campus-grid figure.is-wide, .ph-campus-grid figure.is-tall { grid-column: auto; grid-row: auto; }
.ph-campus-grid figure { min-height: 0; }
.ph-space-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--ph-line); }
.ph-space-list > div { display: grid; grid-template-columns: 30px 1fr; gap: 10px; }
.ph-space-list > div > span { color: var(--ph-accent); font-family: Georgia, serif; font-size: 12px; }
.ph-space-list strong { color: var(--ph-ink); font-size: 16px; font-weight: 600; }
.ph-space-list p { margin: 7px 0 0; color: var(--ph-muted); font-size: 12px; line-height: 1.8; }
.ph-scenery-note { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: center; margin-top: 58px; padding-top: 34px; border-top: 1px solid var(--ph-line); }
.ph-scenery-note img { width: 100%; aspect-ratio: 1.7; object-fit: cover; }
.ph-scenery-note h4 { margin: 0 0 10px; color: var(--ph-ink); font-size: 25px; }
.ph-scenery-note p:not(.ph-page-kicker) { color: var(--ph-muted); font-size: 14px; line-height: 2; }

.ph-location-intro { display: flex; justify-content: space-between; align-items: end; gap: 32px; padding-bottom: 34px; border-bottom: 1px solid var(--ph-line); }
.ph-location-intro h3 { margin-bottom: 8px; }
.ph-location-intro p:not(.ph-page-kicker) { max-width: 680px; margin: 0; }
.ph-location-tag { display: flex; flex-direction: column; gap: 4px; padding-left: 18px; border-left: 2px solid var(--ph-accent); white-space: nowrap; }
.ph-location-tag strong { color: var(--ph-ink); font-size: 17px; font-weight: 600; }
.ph-location-tag span { color: var(--ph-muted); font-size: 11px; }
.ph-location-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; padding-top: 40px; }
.ph-map-card { position: relative; overflow: hidden; min-height: 410px; background: var(--ph-soft); }
.ph-map-card img { width: 100%; height: 100%; min-height: 410px; object-fit: cover; filter: saturate(.72); }
.ph-map-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #18241c10 40%, #18241c99); pointer-events: none; }
.ph-map-overlay { position: absolute; z-index: 1; left: 26%; top: 40%; display: flex; align-items: center; gap: 12px; padding: 12px 15px; background: #fff; box-shadow: 0 10px 26px #292b2926; }
.ph-map-pin { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #fff; background: var(--ph-accent); font-size: 13px; }
.ph-map-overlay strong, .ph-map-overlay small { display: block; }
.ph-map-overlay strong { color: var(--ph-ink); font-size: 13px; }
.ph-map-overlay small { margin-top: 2px; color: var(--ph-muted); font-size: 10px; }
.ph-map-note { position: absolute; z-index: 1; right: 14px; bottom: 12px; color: #fff; font-size: 10px; }
.ph-location-info { display: flex; flex-direction: column; gap: 30px; }
.ph-location-card { padding: 22px 24px; background: var(--ph-soft); border-top: 2px solid var(--ph-accent); }
.ph-location-card span { display: block; color: var(--ph-accent); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.ph-location-card strong { display: block; margin-top: 12px; color: var(--ph-ink); font-size: 20px; font-weight: 600; }
.ph-location-card p { margin: 8px 0 0; color: var(--ph-muted); font-size: 13px; line-height: 1.8; }
.ph-route-list h4 { margin: 0 0 8px; color: var(--ph-ink); font-size: 19px; font-weight: 600; }
.ph-route-list > div { display: grid; grid-template-columns: 78px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--ph-line); }
.ph-route-list b { color: var(--ph-accent); font-size: 13px; font-weight: 600; }
.ph-route-list span { color: var(--ph-muted); font-size: 12px; line-height: 1.8; }
.ph-location-button { display: inline-flex; align-items: center; justify-content: space-between; width: 180px; padding: 12px 15px; background: var(--ph-accent); color: #fff; font-size: 12px; transition: background .2s, transform .2s; }
.ph-location-button:hover { background: var(--ph-accent-hover); transform: translateY(-2px); }
.ph-location-button span { font-size: 18px; line-height: 1; }
.ph-location-footnote { display: flex; align-items: center; gap: 28px; margin-top: 52px; padding: 22px 0 0; border-top: 1px solid var(--ph-line); }
.ph-location-footnote span { flex: none; color: var(--ph-accent); font-size: 10px; letter-spacing: .17em; }
.ph-location-footnote p { margin: 0; color: var(--ph-muted); font-size: 13px; }

/* 侧边栏分类 section 标题 */
.ph-side-nav .ph-side-section {
  padding: 14px 4px 6px !important;
  color: var(--ph-accent) !important;
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: .18em;
  border-bottom: 0 !important;
  cursor: default;
}

/* ============ Lightbox 放大层 ============ */
.ph-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: rgba(10, 14, 18, .92);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}
.ph-lightbox[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}
.ph-lightbox img {
  max-width: min(92vw, 1200px);
  max-height: min(86vh, 760px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  user-select: none;
  -webkit-user-drag: none;
}
.ph-lightbox-close,
.ph-lightbox-prev,
.ph-lightbox-next {
  position: absolute;
  z-index: 1001;
  border: 0;
  cursor: pointer;
  background: rgba(255,255,255, .12);
  color: #fff;
  border-radius: 50%;
  transition: background .2s, transform .2s;
}
.ph-lightbox-close {
  top: 28px;
  right: 34px;
  width: 42px;
  height: 42px;
  font-size: 28px;
  line-height: 42px;
}
.ph-lightbox-prev,
.ph-lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 32px;
  line-height: 48px;
}
.ph-lightbox-prev { left: 40px; }
.ph-lightbox-next { right: 40px; }
.ph-lightbox-close:hover,
.ph-lightbox-prev:hover,
.ph-lightbox-next:hover {
  background: rgba(255,255,255, .28);
  transform: translateY(-50%) scale(1.06);
}
.ph-lightbox-close:hover { transform: scale(1.06); }
.ph-lightbox-caption {
  position: absolute;
  bottom: 64px;
  left: 0;
  right: 0;
  text-align: center;
  color: #d9dbe0;
  font-size: 13px;
  letter-spacing: .06em;
}
.ph-lightbox-counter {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffffa8;
  font-size: 12px;
  font-family: Georgia, serif;
  letter-spacing: .1em;
}

/* ============ 旧的 gallery-group 样式（保留但不再使用） ============ */
.ph-gallery-group { margin: 34px 0 44px; }
.ph-gallery-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.ph-section-num { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ph-accent); color: #fff; font-family: Georgia, serif; font-size: 13px; }
.ph-gallery-head strong { display: block; color: var(--ph-ink); font-size: 17px; font-weight: 600; }
.ph-gallery-head p { margin: 4px 0 0; color: var(--ph-muted); font-size: 13px; line-height: 1.7; }

/* ============ gallery 分类图片网格（由 JS 渲染） ============ */
.ph-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.ph-gallery-grid figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ph-soft);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}
.ph-gallery-grid figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background .25s;
  pointer-events: none;
}
.ph-gallery-grid figure:hover::after {
  background: rgba(0,0,0,0.15);
}
.ph-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.ph-gallery-grid figure:hover img { transform: scale(1.06); }

/* 响应式 */
@media (max-width: 820px) {
  .ph-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ph-lightbox img { max-width: 95vw; max-height: 78vh; }
  .ph-lightbox-prev, .ph-lightbox-next { width: 38px; height: 38px; font-size: 24px; left: 16px; right: 16px; }
  .ph-lightbox-close { width: 36px; height: 36px; font-size: 22px; top: 16px; right: 16px; }
}
@media (max-width: 560px) {
  .ph-gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* 校园风光 · 三图分区网格 */
.ph-scenery-block { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 22px 0 48px; }
.ph-scenery-link { display: block; }
.ph-scenery-link figure { position: relative; overflow: hidden; margin: 0; aspect-ratio: 4 / 3; background: var(--ph-soft); border-radius: 4px; cursor: pointer; }
.ph-scenery-block img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ph-scenery-block figure:hover img { transform: scale(1.05); }
.ph-scenery-block figure::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, #1a1f1acc); pointer-events: none; }
.ph-scenery-block figcaption { position: absolute; z-index: 1; right: 16px; bottom: 14px; left: 16px; color: #fff; }
.ph-scenery-block figcaption strong, .ph-scenery-block figcaption span { display: block; }
.ph-scenery-block figcaption strong { font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.ph-scenery-block figcaption span { margin-top: 2px; color: #ffffffc7; font-size: 11px; }

/* 分类详情保留原来的图片网格与右侧分类导航；总览仍采用横向分区导航。 */
@media (min-width: 821px) {
  .ph-gallery-page .ph-page-grid { grid-template-columns: minmax(0, 1fr) 220px; gap: 64px; }
  .ph-gallery-page .ph-page-aside { grid-row: auto; position: sticky; top: 104px; }
  .ph-gallery-page .ph-side-nav { display: block; border-top: 2px solid var(--ph-accent); border-bottom: 0; }
  .ph-gallery-page .ph-side-nav a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--ph-line); }
}
.ph-gallery-page .ph-gallery-nav { display: block; overflow: visible; white-space: normal; border-top: 2px solid var(--ph-accent); }
.ph-gallery-page .ph-gallery-nav .ph-gallery-back { display: block; padding: 12px 4px; border-bottom: 1px solid var(--ph-line); }
.ph-gallery-nav-section { padding: 15px 4px 12px; border-bottom: 1px solid var(--ph-line); }
.ph-gallery-nav-section strong { display: block; margin-bottom: 7px; color: var(--ph-ink); font-size: 13px; font-weight: 600; }
.ph-gallery-page .ph-gallery-nav-section a { display: block; padding: 7px 0; border: 0; font-size: 13px; }
.ph-gallery-page .ph-gallery-nav-section a:hover,
.ph-gallery-page .ph-gallery-nav-section a.active { padding-left: 0; color: var(--ph-accent); }
@media (max-width: 820px) {
  .ph-gallery-page .ph-gallery-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; }
  .ph-gallery-page .ph-gallery-nav .ph-gallery-back { grid-column: 1 / -1; }
  .ph-gallery-nav-section { min-width: 0; }
  .ph-gallery-page .ph-gallery-nav-section a { overflow-wrap: anywhere; }
}

/* 历年合影 · 按年份分组的图片网格 */
.ph-photo-year { display: flex; align-items: baseline; gap: 14px; margin: 46px 0 16px; padding-bottom: 11px; border-bottom: 1px solid var(--ph-line); }
.ph-photo-year strong { color: var(--ph-ink); font-size: 20px; font-weight: 600; letter-spacing: .03em; }
.ph-photo-year span { color: var(--ph-muted); font-size: 12px; }
.ph-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ph-photo-grid figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ph-soft); border-radius: 3px; }
.ph-photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ph-photo-grid figure:hover img { transform: scale(1.05); }

/* 文章页 · 文字 + 图片的通用内容版式（便于后台直接编辑正文） */
.ph-article-wrap { width: min(860px, calc(100% - 64px)) !important; margin-inline: auto; }
.ph-article-header { padding-bottom: 24px; margin-bottom: 36px; border-bottom: 1px solid var(--ph-line); }
.ph-article-header h3 { margin: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.35; }
.ph-article-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 15px; color: var(--ph-muted); font-size: 12px; letter-spacing: .05em; }
.ph-article-body p { margin: 0 0 20px; color: var(--ph-muted); font-size: 15px; line-height: 2.05; }
.ph-article-body > p { text-indent: 2em; }
.ph-article-body h4 { margin: 42px 0 14px; color: var(--ph-ink); font-size: 23px; font-weight: 600; letter-spacing: .02em; }
.ph-article-body ul { margin: 0 0 22px; padding-left: 18px; list-style: disc; }
.ph-article-body li { margin-bottom: 9px; color: var(--ph-muted); font-size: 14px; line-height: 1.9; }
.ph-article-body li b { color: var(--ph-ink); font-weight: 600; }
.ph-article-figure { margin: 30px 0; }
.ph-article-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--ph-soft); }
.ph-article-figure figcaption { margin-top: 9px; color: var(--ph-muted); font-size: 12px; text-align: center; }
.ph-article-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 30px 0; }
.ph-article-gallery figure { margin: 0; }
.ph-article-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--ph-soft); }
.ph-article-gallery figcaption { margin-top: 8px; color: var(--ph-muted); font-size: 12px; text-align: center; }
.ph-article-body .ph-article-year { margin: 46px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--ph-line); color: var(--ph-ink); font-size: 19px; font-weight: 600; }
.ph-article-body .ph-article-year span { margin-left: 10px; color: var(--ph-muted); font-size: 12px; font-weight: 400; }
.ph-article-body .ph-story-note { margin: 28px 0; }
.ph-article-body .ph-story-note p { margin: 7px 0 0; color: var(--ph-ink); font-size: 18px; }
.ph-article-file { color: var(--ph-accent); text-decoration: underline; text-underline-offset: 4px; }

/* 历年合影 · 年份分类卡片 */
.ph-year-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 26px 0 8px; }
.ph-year-cards[hidden] { display: none; }
.ph-year-card { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--ph-soft); border-radius: 3px; }
.ph-year-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ph-year-card:hover img { transform: scale(1.05); }
.ph-year-card::after { content: ""; position: absolute; inset: 38% 0 0; background: linear-gradient(transparent, #1a1f1acc); pointer-events: none; }
.ph-year-card > div { position: absolute; z-index: 1; right: 18px; bottom: 15px; left: 18px; color: #fff; }
.ph-year-card strong { display: block; font-size: 20px; font-weight: 600; letter-spacing: .02em; }
.ph-year-card span { display: block; margin-top: 3px; color: #ffffffc7; font-size: 11px; }

/* 某一年份的图片合集页头 */
.ph-year-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 30px 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--ph-line); }
.ph-year-back { color: var(--ph-accent); font-size: 13px; }
.ph-year-head span { color: var(--ph-muted); font-size: 12px; }

.ph-subpage .ph-contact-section { border-top: 0; }
.ph-subpage .ph-inquiry-form { border: 1px solid var(--ph-line); border-radius: 6px; box-shadow: 0 14px 35px rgba(38,52,44,.07); }
.ph-subpage .ph-inquiry-form input, .ph-subpage .ph-inquiry-form select, .ph-subpage .ph-inquiry-form textarea { border-color: var(--ph-line); border-radius: 4px; background: #fff; color: var(--ph-ink); }
.ph-subpage .ph-inquiry-form input:focus, .ph-subpage .ph-inquiry-form select:focus, .ph-subpage .ph-inquiry-form textarea:focus { border-color: var(--ph-accent); box-shadow: 0 0 0 3px rgba(79,112,91,.16); }
.ph-subpage .ph-inquiry-form .ph-button { border-radius: 4px; background: var(--ph-accent); box-shadow: none; }
.ph-subpage .ph-inquiry-form .ph-button:hover { background: var(--ph-accent-hover); }
/* 页脚样式统一由 homepage.css 第 16 节提供（亚麻灰底）。 */

@media (max-width: 820px) {
  .ph-subpage .home-header-inner, .ph-subpage .page-hero .wrap, .ph-page-wrap { width: min(100% - 36px, 620px) !important; }
  .ph-article-wrap { width: min(100% - 36px, 620px) !important; }
  .ph-article-gallery { grid-template-columns: 1fr; gap: 12px; }
  .ph-year-cards { grid-template-columns: 1fr; gap: 12px; }
  .ph-subpage .home-brand { min-width: 0; flex: 1; }
  .ph-subpage .ph-brand-logo { width: 200px; }
  .ph-page-section { padding: 48px 0 60px !important; }
  .ph-page-grid { grid-template-columns: 1fr; gap: 38px; }
  .ph-page-aside { position: static; order: -1; }
  .ph-side-nav { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 0; border-bottom: 1px solid var(--ph-line); }
  .ph-side-nav a { display: block; padding: 10px 7px; text-align: center; border-top: 2px solid transparent; border-bottom: 0; font-size: 11px; }
  .ph-side-nav a.active, .ph-side-nav a:hover { padding-left: 7px; border-top-color: var(--ph-accent); }
  .ph-side-nav a span { display: none; }
  .ph-aside-quote { display: none; }
  .ph-lead-block { grid-template-columns: 1fr; gap: 20px; }
  .ph-lead-block img { aspect-ratio: 16 / 8; }
  .ph-practice-block { grid-template-columns: 1fr; gap: 24px; }
  .ph-history-block, .ph-scenery-note { grid-template-columns: 1fr; gap: 24px; }
  .ph-loop-grid, .ph-space-list { grid-template-columns: repeat(2, 1fr); }
  .ph-scenery-intro { display: block; margin-bottom: 26px; }
  .ph-scenery-index { margin-top: 18px; }
  .ph-scenery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .ph-scenery-block { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 36px; }
  .ph-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ph-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ph-scenery-grid figure.is-wide { grid-column: span 2; }
  .ph-campus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 12px; }
  .ph-location-intro, .ph-location-footnote { display: block; }
  .ph-location-tag { margin-top: 20px; }
  .ph-location-layout { grid-template-columns: 1fr; gap: 28px; }
  .ph-map-card, .ph-map-card img { min-height: 300px; }
  .ph-location-footnote span { display: block; margin-bottom: 8px; }
}
@media (max-width: 560px) {
  .ph-subpage .ph-brand-logo { width: 174px; }
  .ph-subpage .header-search { width: 145px; }
  .ph-subpage .page-hero { padding: 38px 0 32px; }
  .ph-subpage .page-hero h2 { font-size: 32px; }
  .ph-stat-strip { grid-template-columns: 1fr; }
  .ph-stat-strip div { border-right: 0; border-bottom: 1px solid var(--ph-line); }
  .ph-stat-strip div:last-child { border-bottom: 0; }
  .ph-principles { grid-template-columns: 1fr; gap: 26px; }
  .ph-principles article { padding: 0 0 24px; border-right: 0; border-bottom: 1px solid var(--ph-line); }
  .ph-principles article:last-child { padding-bottom: 0; border-bottom: 0; }
  .ph-scenery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .ph-scenery-block { grid-template-columns: 1fr; margin-bottom: 28px; }
  .ph-scenery-block figure { aspect-ratio: 16 / 10; }
  .ph-gallery-grid { grid-template-columns: 1fr 1fr; }
  .ph-scenery-grid figure.is-wide { grid-column: auto; }
  .ph-scenery-grid figure.is-tall { grid-row: auto; }
  .ph-loop-grid, .ph-space-list { grid-template-columns: 1fr; }
  .ph-campus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 10px; }
  .ph-scenery-page .page-hero { min-height: 230px; }
}
@media (max-width: 420px) {
  .ph-campus-grid { grid-template-columns: 1fr; grid-auto-rows: 210px; }
}

/* Location: practical arrival information first, campus photography second. */
.ph-location-page .ph-location-layout{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:46px;align-items:start;padding-top:32px}
.ph-location-page .ph-location-info{gap:24px}
.ph-location-page .ph-location-card{padding:25px 28px;border-top-color:var(--ph-secondary)}
.ph-location-page .ph-location-card span{color:var(--ph-secondary)}
.ph-location-page .ph-route-list>div{grid-template-columns:74px 1fr}
.ph-location-page .ph-location-photo{margin:0;min-width:0}
.ph-location-page .ph-location-photo img{display:block;width:100%;aspect-ratio:1.18;object-fit:cover;object-position:center 55%;background:var(--ph-soft)}
.ph-location-page .ph-location-photo figcaption{padding:12px 0;color:var(--ph-muted);font-size:12px;border-bottom:1px solid var(--ph-line)}
.ph-location-page .ph-location-button{width:auto;min-width:180px;align-self:flex-start;gap:25px}
@media(max-width:820px){
  .ph-location-page .ph-location-layout{grid-template-columns:1fr;gap:26px}
  .ph-location-page .ph-location-photo img{aspect-ratio:16/10}
}


/* 服务端输出的学校单页使用语义化主标题。 */
.ph-article-body h1{margin:0 0 24px;font-size:clamp(28px,3vw,40px);font-weight:600;line-height:1.35;color:var(--ph-ink)}

/* ============== 生活指南 · 课程表 ============== */
.ph-timetable{border-top:1px solid var(--ph-line)}
.ph-timetable .ph-section-head{margin-bottom:26px}
.ph-timetable-figure{margin:0}
.ph-timetable-figure img{display:block;width:100%;height:auto;border:1px solid var(--ph-line);background:var(--ph-soft);transition:box-shadow .25s}
.ph-timetable-figure img:hover{box-shadow:0 12px 32px rgba(38,52,44,.14)}
.ph-timetable-figure figcaption{margin-top:12px;font-size:12px;color:var(--ph-muted)}

/* ============== 报考规划页 ============== */
.ph-plan-page .ph-page-section{padding:55px 0 78px!important}
.ph-plan-hero{background:var(--ph-brand-hover);color:#fff}
/* 深绿底上的小字用浅沙米，保证对比度 */
.ph-plan-hero .ph-kicker{color:#E6DCCB}
.ph-plan-hero h1{margin:0 0 14px;font-size:clamp(28px,3vw,42px);font-weight:600;line-height:1.35;color:#fff}
.ph-plan-hero p{margin:0 0 30px;color:#E3E9E3;font-size:14px;line-height:1.9}
.ph-plan-tabs{display:flex;gap:14px;flex-wrap:wrap}
.ph-plan-tabs a{display:inline-flex;align-items:center;gap:8px;padding:12px 26px;border:1px solid #ffffff45;color:#fff;font-size:14px;letter-spacing:.06em;text-decoration:none;transition:border-color .2s,background .2s}
.ph-plan-tabs a:hover{border-color:var(--ph-sand);background:#ffffff14}
.ph-plan-tabs a b{font-size:12px;font-weight:400;color:#E6DCCB}
.ph-plan-table-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;margin-bottom:22px}
.ph-plan-table-head h2{margin:0 0 6px;font-size:28px;font-weight:600;line-height:1.4}
.ph-plan-table-head p{margin:0;font-size:13px;color:var(--ph-muted);line-height:1.9}
.ph-plan-search{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--ph-muted)}
.ph-plan-search input{width:260px;max-width:100%;padding:10px 14px;border:1px solid var(--ph-line);background:var(--ph-paper);color:var(--ph-ink);font-size:13px}
.ph-plan-search input:focus{outline:none;border-color:var(--ph-secondary);box-shadow:0 0 0 3px rgba(122,106,85,.18)}
.ph-plan-table-wrap{overflow-x:auto;border:1px solid var(--ph-line);background:#fff}
.ph-plan-table{width:100%;min-width:1180px;table-layout:fixed;border-collapse:collapse;font-size:13px}
.ph-plan-table th{position:sticky;top:0;background:var(--ph-deep);color:#fff;font-weight:500;font-size:12px;letter-spacing:.08em;padding:13px 12px;text-align:center;vertical-align:middle;white-space:nowrap;border:1px solid #cfd6cd}
.ph-plan-table td{padding:12px 12px;border:1px solid var(--ph-line);color:var(--ph-ink);line-height:1.7;text-align:center;vertical-align:middle;overflow-wrap:anywhere}
.ph-plan-table th:nth-child(1){width:5%}
.ph-plan-table th:nth-child(2){width:18%}
.ph-plan-table th:nth-child(3){width:7%}
.ph-plan-table th:nth-child(4){width:7%}
.ph-plan-table th:nth-child(5){width:9%}
.ph-plan-table th:nth-child(6){width:15%}
.ph-plan-table th:nth-child(7){width:15%}
.ph-plan-table th:nth-child(8){width:12%}
.ph-plan-table th:nth-child(9){width:12%}
.ph-plan-table tbody tr:nth-child(even) td{background:#F8F6F2}
.ph-plan-table tbody tr:hover td{background:var(--ph-soft)}
.ph-plan-table .ph-plan-index{color:var(--ph-ink);font-variant-numeric:tabular-nums}
.ph-plan-table .ph-plan-school{font-weight:600}
.ph-plan-table .ph-plan-score{white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--ph-ink)}
.ph-plan-table .ph-plan-score.is-new{color:var(--ph-ink);font-weight:600}
.ph-plan-table .ph-plan-major{color:var(--ph-ink)}
.ph-plan-table .ph-plan-extra{color:var(--ph-ink);font-size:12px}
.ph-plan-table tbody tr.is-featured td{background:var(--ph-sage-soft)}
.ph-plan-table tbody tr.is-featured:hover td{background:#DCE8DC}
.ph-plan-table .ph-plan-empty{padding:32px 14px;text-align:center;color:var(--ph-muted)}
.ph-plan-view-note{margin:14px 0 0;font-size:12px;color:var(--ph-muted)}
.ph-plan-empty{margin:18px 0 0;padding:26px;text-align:center;font-size:13px;color:var(--ph-muted);background:var(--ph-soft);border:1px dashed var(--ph-line)}
/* 王牌专业视图：分组卡片 */
.ph-plan-majors{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px;margin-top:6px}
.ph-plan-major-card{border:1px solid var(--ph-line);background:#fff;padding:22px 24px}
.ph-plan-major-card h3{margin:0 0 12px;font-size:17px;font-weight:600;color:var(--ph-secondary);padding-bottom:10px;border-bottom:2px solid var(--ph-accent);display:inline-block}
.ph-plan-major-card ul{margin:0;padding:0;list-style:none}
.ph-plan-major-card li{padding:7px 0;font-size:13px;line-height:1.7;color:var(--ph-ink)}
.ph-plan-major-card li b{font-weight:600}
.ph-plan-major-card li span{color:var(--ph-muted);font-size:12px}
@media(max-width:820px){
  .ph-plan-table-head{align-items:flex-start;flex-direction:column}
  .ph-plan-search input{width:100%}
  .ph-plan-majors{grid-template-columns:1fr}
}
