@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&display=swap');
/* 主题变量与全局基础 */
:root {
  --green: #803538;
  --deep: #512628;
  --paper: #f4f2eb;
  --white: #fffefa;
  --ink: #1b2a25;
  --muted: #737c75;
  --gold: #c7a16a;
  --line: #dddcd3;
  --serif: "Noto Serif SC","Songti SC",serif;
  --sans: "Helvetica Neue",Arial,"Microsoft YaHei",sans-serif
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font: inherit
}

/* 页面容器与站点页眉 */
.wrap {
  width: min(1180px,calc(100% - 64px));
  margin: auto
}

.utility {
  height: 34px;
  background: var(--deep);
  color: #d9dfd9;
  font-size: 11px;
  letter-spacing: .08em
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%
}

.utility a {
  color: #d9dfd9
}

.utility a span {
  color: var(--gold);
  margin-left: 8px
}

.masthead {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.site-header {
  background: var(--white)
}

.identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0
}

.identity img {
  width: 54px;
  height: 54px;
  object-fit: contain
}

.identity span {
  display: flex;
  flex-direction: column
}

.identity strong {
  font: 600 19px/1.4 var(--serif);
  letter-spacing: .02em;
  color: var(--green);
  white-space: nowrap
}

.identity small {
  font: 9px/1.5 var(--sans);
  letter-spacing: .14em;
  color: #808780;
  margin-top: 3px
}

.main-nav {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 32px
}

.main-nav a {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  font-size: 13px;
  color: #46534c;
  white-space: nowrap
}

.main-nav a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .2s
}

.main-nav a:hover:after,.main-nav a:focus-visible:after {
  width: 100%
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  color: var(--green);
  font-size: 22px
}

/* 首页：主视觉与介绍 */
.hero {
  position: relative;
  min-height: 610px;
  display: flex;
  align-items: center;
  background: var(--deep);
  color: #fff;
  overflow: hidden
}

.hero-image {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,#38191bf0 0%,#4a2020d9 36%,#4b20208a 62%,#4b20201f 100%),url('../../images/school-gate-cartoon.png') center center/cover;
  transform: scale(1.015)
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0 100px
}

.eyebrow {
  margin: 0 0 18px;
  color: #cfb680;
  font-size: 10px;
  letter-spacing: .2em;
  font-weight: 600
}

.eyebrow.dark {
  color: #987542
}

.hero h1 {
  margin: 0;
  font: 500 clamp(48px,6vw,76px)/1.3 var(--serif);
  letter-spacing: .07em
}

.hero h1 em,.intro-grid h2 em,.section-heading h2 em,.clubs-layout h2 em {
  font-style: normal;
  color: #d1b47e
}

.hero-copy {
  margin: 24px 0 30px;
  color: #e0e4df;
  font-size: 15px;
  line-height: 2
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em
}

.text-link span {
  color: #a47c43;
  font-size: 17px;
  transition: transform .2s
}

.text-link:hover span {
  transform: translateX(4px)
}

.text-link.light {
  color: #fff
}

.hero-index {
  position: absolute;
  right: max(32px,calc((100vw - 1180px)/2));
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #d9dfd9;
  font-size: 10px;
  letter-spacing: .12em
}

.hero-index span:first-child {
  font: 18px var(--serif);
  color: var(--gold)
}

.hero-index i {
  width: 48px;
  height: 1px;
  background: #c7a873
}

.intro-band {
  background: #e9e7de;
  padding: 90px 0
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1.5fr;
  gap: 36px;
  align-items: start
}

.intro-grid .eyebrow {
  margin-top: 12px
}

.intro-grid h2,.section-heading h2,.clubs-layout h2 {
  margin: 0;
  font: 500 clamp(30px,3.5vw,43px)/1.45 var(--serif);
  letter-spacing: .03em
}

.intro-grid h2 em,.section-heading h2 em,.clubs-layout h2 em {
  color: #9c7845
}

.intro-text {
  padding-top: 8px;
  max-width: 440px
}

.intro-text p,.body-copy {
  color: #68726b;
  font-size: 14px;
  line-height: 2;
  margin: 0 0 14px
}

.intro-text .text-link {
  margin-top: 10px
}

.section {
  padding: 92px 0
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 34px
}

.section-heading .eyebrow {
  margin-bottom: 11px
}

.heading-note {
  margin: 0 0 6px;
  text-align: right;
  color: #737c75;
  font-size: 13px;
  line-height: 1.9
}

/* 首页：校园资讯 */
.news-section {
  background: var(--white)
}

.news-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px
}

.news-feature {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: var(--green)
}

.news-feature img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.78);
  transition: transform .6s
}

.news-feature:hover img {
  transform: scale(1.04)
}

.feature-caption {
  position: absolute;
  inset: auto 30px 28px;
  color: #fff
}

.feature-caption span {
  color: #e5ca93;
  font-size: 10px;
  letter-spacing: .14em
}

.feature-caption h3 {
  max-width: 430px;
  margin: 8px 0 0;
  font: 500 24px/1.5 var(--serif)
}

.news-list {
  display: flex;
  flex-direction: column
}

.news-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line)
}

.news-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #8b918b;
  font-size: 10px;
  letter-spacing: .06em
}

.news-meta b {
  color: #997744;
  font-weight: 500
}

.news-item h3 {
  margin: 8px 0 4px;
  font: 500 17px/1.6 var(--serif)
}

.news-item p {
  margin: 0;
  color: #788079;
  font-size: 12px;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.news-item:hover h3 {
  color: #997744
}

.loading-note {
  color: var(--muted);
  font-size: 13px
}

.quote-band {
  padding: 78px 0;
  background: var(--green);
  color: #fff
}

.quote-inner {
  text-align: center
}

.quote-inner blockquote {
  margin: 0 0 12px;
  font: 500 34px/1.5 var(--serif);
  letter-spacing: .08em
}

.quote-inner>p:not(.eyebrow) {
  margin: 0 0 25px;
  color: #d4ddd6;
  font-size: 13px
}

/* 首页：校园生活与社团 */
.life-section {
  background: var(--paper)
}

.life-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px
}

.life-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background: #29453a;
  color: #fff;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: end
}

.life-card:after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent,#102f29ad)
}

.life-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
  filter: brightness(.82)
}

.life-card:hover img {
  transform: scale(1.04)
}

.life-card>*:not(img) {
  position: relative;
  z-index: 1
}

.life-card .life-number {
  font-size: 9px;
  letter-spacing: .12em;
  color: #e0c58f
}

.life-card strong {
  margin-top: 8px;
  font: 500 19px var(--serif)
}

.life-card i {
  position: absolute;
  right: 23px;
  bottom: 24px;
  font-style: normal;
  color: #e0c58f
}

.club-card {
  background: #e8e5da;
  color: var(--green);
  justify-content: center;
  align-items: center;
  text-align: center
}

.club-card:after {
  display: none
}

.club-card .club-mark {
  font: 500 82px var(--serif);
  color: #bd9a62;
  line-height: 1
}

.club-card strong {
  font-size: 20px
}

.club-card .life-number {
  color: #8b7146
}

.clubs-section {
  background: #e9e7de
}

.clubs-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
  align-items: center
}

.clubs-layout h2 {
  margin-bottom: 18px
}

.clubs-layout .body-copy {
  max-width: 390px;
  margin-bottom: 20px
}

.club-cards {
  border-top: 1px solid #cfcec4
}

.club-item {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #cfcec4;
  padding: 15px 8px
}

.club-icon {
  width: 44px;
  height: 44px;
  border: 1px solid #c4b48f;
  color: #8b7146;
  display: grid;
  place-items: center;
  font-size: 22px
}

.club-item>span:nth-child(2) {
  display: flex;
  flex-direction: column;
  flex: 1
}

.club-item b {
  font: 500 17px var(--serif)
}

.club-item small {
  color: #788079;
  font-size: 11px;
  margin-top: 3px
}

.club-item>i {
  font-style: normal;
  color: #987542
}

.club-item:hover {
  padding-left: 16px;
  color: #987542
}

/* 首页：校园服务、日历与天气卡片 */
.services-section {
  background: var(--white)
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr .8fr;
  gap: 18px
}

.service-card {
  min-height: 285px;
  padding: 25px;
  background: #f5f3ed;
  border: 1px solid #e5e2d8
}

.service-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #737c75;
  font-size: 11px;
  letter-spacing: .1em
}

.service-icon {
  font-size: 23px;
  color: #a17f4c
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0 15px
}

.calendar-head button {
  border: 0;
  background: none;
  color: var(--green);
  cursor: pointer;
  font-size: 17px;
  padding: 4px 8px
}

.calendar-head strong {
  font: 500 16px var(--serif)
}

.mini-calendar {
  display: grid;
  grid-template-columns: repeat(7,1fr);
  text-align: center;
  gap: 3px;
  margin-bottom: 18px
}

.mini-calendar span {
  height: 27px;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: #555f58
}

.mini-calendar span.weekday {
  color: #9b7a4b;
  font-weight: 600
}

.mini-calendar span.today {
  background: var(--green);
  color: #fff;
  border-radius: 50%
}

.weather-place {
  margin: 24px 0 4px;
  color: #788079;
  font-size: 11px
}

.weather-current {
  height: 85px;
  display: flex;
  align-items: center;
  gap: 14px
}

.weather-current strong {
  font: 400 54px/1 var(--serif);
  color: var(--green)
}

.weather-current span {
  color: #657169;
  font-size: 13px
}

.weather-details {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 12px 0 19px;
  color: #788079;
  font-size: 11px
}

.weather-details b {
  color: var(--green);
  font-weight: 500
}

.friend-card {
  background: var(--green);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.friend-card .service-top {
  color: #d8ded9
}

.friend-card .service-icon {
  color: var(--gold)
}

.friend-card h3 {
  margin: 22px 0;
  font: 500 27px/1.5 var(--serif)
}

.friend-card p {
  margin: 0;
  color: #d0d9d2;
  font-size: 12px
}

.friend-card .text-link {
  color: #fff
}

/* 站点页脚 */
.site-footer {
  background: var(--deep);
  color: #e4e8e3
}

.footer-main {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.footer-identity strong {
  color: #f4f1e8;
  font-size: 15px
}

.footer-identity small {
  color: #aab8af
}

.footer-identity img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-links {
  display: flex;
  gap: 22px;
  color: #c2ccc4;
  font-size: 11px;
}
.footer-links a:hover,.back-top:hover {
  color: var(--gold)
}

.back-top {
  font-size: 11px;
  color: #d1b47e
}

.footer-bottom {
  padding: 14px 0 20px;
  border-top: 1px solid #ffffff22;
  display: flex;
  justify-content: space-between;
  color: #9aaba0;
  font-size: 10px;
  letter-spacing: .04em
}

+@media(max-width:900px) {
  .main-nav {
    gap: 17px
  }

.main-nav a {
    font-size: 12px
  }

.intro-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 24px
  }

.intro-grid .eyebrow {
    grid-column: 1/-1;
    margin-bottom: -12px
  }

.clubs-layout {
    gap: 40px
  }

.service-grid {
    grid-template-columns: 1fr 1fr
  }

.friend-card {
    grid-column: 1/-1;
    min-height: 190px
  }

.hero {
    min-height: 540px
  }
}

+@media(max-width:680px) {
  .wrap {
    width: calc(100% - 38px)
  }

.utility {
    height: 30px
  }

.masthead {
    height: 76px
  }

.identity {
    gap: 9px
  }

.identity img {
    width: 42px;
    height: 42px
  }

.identity strong {
    font-size: 14px
  }

.identity small {
    font-size: 7px;
    letter-spacing: .08em
  }

.menu-toggle {
    display: block
  }

.main-nav {
    display: none;
    position: absolute;
    z-index: 5;
    top: 106px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 10px 19px 18px;
    box-shadow: 0 12px 22px #102f281a;
    align-items: stretch
  }

.main-nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 0
  }

.main-nav a {
    height: auto;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px
  }

.hero {
    min-height: 520px
  }

.hero-image {
    background-position: 58% center
  }

.hero-content {
    padding: 72px 0
  }

.hero h1 {
    font-size: 50px
  }

.hero-index {
    right: 20px;
    bottom: 18px
  }

.intro-band,.section {
    padding: 62px 0
  }

.intro-grid {
    display: block
  }

.intro-grid h2 {
    font-size: 33px;
    margin-bottom: 17px
  }

.intro-grid .eyebrow {
    margin: 0 0 10px
  }

.section-heading {
    align-items: start;
    gap: 16px
  }

.section-heading h2 {
    font-size: 31px
  }

.section-heading>.text-link {
    font-size: 10px;
    white-space: nowrap;
    margin-top: 20px
  }

.heading-note {
    font-size: 11px
  }

.news-grid {
    grid-template-columns: 1fr;
    gap: 20px
  }

.news-feature {
    min-height: 270px
  }

.news-item {
    padding: 14px 0
  }

.news-item h3 {
    font-size: 15px
  }

.quote-band {
    padding: 58px 0
  }

.quote-inner blockquote {
    font-size: 26px
  }

.life-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px
  }

.life-card {
    min-height: 230px;
    padding: 15px
  }

.life-card.large {
    grid-column: 1/-1;
    min-height: 300px
  }

.life-card strong {
    font-size: 15px
  }

.clubs-layout {
    grid-template-columns: 1fr;
    gap: 26px
  }

.clubs-layout h2 {
    font-size: 32px
  }

.club-item {
    min-height: 80px
  }

.service-grid {
    grid-template-columns: 1fr
  }

.service-card {
    min-height: 260px;
    padding: 21px
  }

.friend-card {
    grid-column: auto;
    min-height: 210px
  }

.footer-main {
    padding: 24px 0;
    align-items: flex-start;
    flex-direction: column
  }

.footer-links {
    flex-wrap: wrap;
    gap: 13px 20px
  }

.footer-bottom {
    gap: 8px;
    flex-direction: column
  }

.eyebrow {
    font-size: 9px
  }
}

+@media(prefers-reduced-motion:reduce) {
  *,*: before,*: after {
    scroll-behavior: auto!important;
    transition: none!important
  }
}

+'@; $js = @' (() => {
   const menuButton=document.querySelector('.menu-toggle'); const nav=document.querySelector('.main-nav'); menuButton?.addEventListener('click',()=> {
    const open=nav.classList.toggle('is-open');menuButton.setAttribute('aria-expanded',String(open));menuButton.textContent=open?'×':'☰'
  }

); nav?.querySelectorAll('a').forEach(a=>a.addEventListener('click',()=> {
    nav.classList.remove('is-open');menuButton?.setAttribute('aria-expanded','false');if(menuButton)menuButton.textContent='☰'
  }

)); fetch('assets/data/news.json').then(r=> {
    if(!r.ok)throw new Error('news unavailable');return r.json()
  }

).then(data=> {
     const feed=document.getElementById('news-feed');feed.replaceChildren(); (data.list||[]).filter(x=>x&&typeof x.title==='string'&&/^https?:/i.test(x.link||'')).slice(0,4).forEach(item=> {
       const a=document.createElement('a');a.className='news-item';a.href=item.link;a.target='_blank';a.rel='noopener noreferrer'; const meta=document.createElement('div');meta.className='news-meta';const tag=document.createElement('b');tag.textContent=item.tag||'校园动态';const date=document.createElement('span');date.textContent=item.date||'';meta.append(tag,date); const title=document.createElement('h3');title.textContent=item.title;const summary=document.createElement('p');summary.textContent=item.summary||'';a.append(meta,title,summary);feed.append(a);
    }

);if(!feed.children.length)feed.textContent='暂无校园动态。';
  }

).catch(()=> {
    document.getElementById('news-feed').textContent='校园动态暂时无法读取，请稍后再试。'
  }

); let year=2026,month=9;const label=document.getElementById('month-label'),grid=document.getElementById('mini-calendar'); const renderCalendar=()=> {
    label.textContent=`$ {
      year
    }

年$ {
      month+1
    }

月`;grid.replaceChildren();['日','一','二','三','四','五','六'].forEach(d=> {
      const el=document.createElement('span');el.className='weekday';el.textContent=d;grid.append(el)
    }

);const start=new Date(year,month,1).getDay(),count=new Date(year,month+1,0).getDate();for(let i=0;i<start;i++)grid.append(document.createElement('span'));for(let d=1;d<=count;d++) {
      const el=document.createElement('span');el.textContent=d;if(year===2026&&month===9&&d===31)el.className='today';grid.append(el)
    }
  }

; document.getElementById('month-prev').addEventListener('click',()=> {
    month--;if(month<0) {
      month=11;year--
    }

renderCalendar()
  }

);document.getElementById('month-next').addEventListener('click',()=> {
    month++;if(month>11) {
      month=0;year++
    }

renderCalendar()
  }

);renderCalendar(); const loadWeather=async()=> {
    try {
      const data=await WeatherApi.forecast('now');const now=data.now;document.querySelector('#weather-current strong').textContent=`$ {
        now.temp
      }

°`;document.querySelector('#weather-current span').textContent=now.text;document.querySelector('#weather-details b').textContent=`体感 $ {
        now.feelsLike
      }

° · $ {
        now.windDir
      }

$ {
        now.windScale
      }

级`
    }

catch {
      document.querySelector('#weather-current span').textContent='天气信息暂不可用';document.querySelector('#weather-details b').textContent='请查看详细预报'
    }
  }

; if(window.WeatherApi)loadWeather();
}

)();
/* 内页组件：日程、天气与高校链接 */
.events-details,.forecast-details {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: var(--green);
  font-size: 11px
}

.events-details summary,.forecast-details summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  letter-spacing: .04em
}

.events-details summary::-webkit-details-marker,.forecast-details summary::-webkit-details-marker {
  display: none
}

.events-details summary:after,.forecast-details summary:after {
  content: "+";
  float: right;
  color: #987542
}

.events-details[open] summary:after,.forecast-details[open] summary:after {
  content: "−"
}

.events-details ul {
  list-style: none;
  padding: 7px 0 0;
  margin: 0;
  max-height: 150px;
  overflow: auto
}

.events-details li {
  padding: 5px 0;
  border-bottom: 1px solid #e5e2d8;
  color: #737c75
}

.events-details li b {
  display: inline-block;
  min-width: 78px;
  color: #997744;
  font-weight: 500
}

.forecast-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid #e5e2d8;
  color: #737c75
}

.forecast-row b {
  color: var(--green);
  font-weight: 500
}

.uni-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px
}

.uni-grid>a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 80px;
  padding: 12px;
  background: #f5f3ed;
  border: 1px solid #e5e2d8;
  transition: transform .2s,border-color .2s
}

.uni-grid>a:hover {
  transform: translateY(-2px);
  border-color: #c2a56f;
  color: var(--green)
}

.uni-grid img {
  width: 38px;
  height: 38px;
  object-fit: contain
}

.uni-grid span {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0
}

.uni-grid b {
  font: 500 13px var(--serif)
}

.uni-grid small {
  font-size: 9px;
  color: #899089;
  margin-top: 3px
}

.uni-grid i {
  font-style: normal;
  color: #987542;
  font-size: 12px
}

.university-section {
  background: #e9e7de
}

.university-section .section-heading {
  margin-bottom: 25px
}

@media(max-width:900px) {
  .uni-grid {
    grid-template-columns: repeat(3,1fr)
  }
}

@media(max-width:680px) {
  .uni-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 7px
  }

.uni-grid>a {
    gap: 8px;
    padding: 9px
  }

.uni-grid img {
    width: 30px;
    height: 30px
  }

.uni-grid b {
    font-size: 11px
  }
}

/* 校历：日期状态与今日按钮 */
.date-cell {
  position: relative;
  width: 100%;
  height: 29px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #45524b;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
  border-radius: 50%
}

.date-cell:hover {
  background: #e8e4d8
}

.date-cell.is-today {
  outline: 1px solid #9b7a4b;
  color: var(--green);
  font-weight: 700
}

.date-cell.is-selected {
  background: var(--green);
  color: #fff
}

.date-cell.has-event:after {
  content: "";
  position: absolute;
  bottom: 2px;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%
}

.date-cell.is-selected:after {
  background: #fff
}

.date-blank {
  height: 29px
}

.today-button {
  padding: 4px 9px!important;
  border: 1px solid var(--line)!important;
  background: transparent!important;
  color: var(--green)!important;
  font-size: 10px!important;
  cursor: pointer
}

.selected-day {
  min-height: 28px;
  margin: 0 0 12px;
  color: #68726b;
  font-size: 10px
}

.calendar-head {
  gap: 5px
}

.calendar-head strong {
  white-space: nowrap;
  font-size: 14px
}

/* 共享页头与导航交互 */
/* Responsive navigation follows the club site's fixed-header / overlay pattern. */
 .site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white)
}

.mobile-menu-overlay {
  display: none
}

.page-hero {
  padding: 76px 0 72px;
  background: var(--green);
  color: #fff
}

.page-hero h1 {
  margin: 0;
  font: 500 clamp(36px,5vw,56px)/1.3 var(--serif);
  letter-spacing: .04em
}

.page-hero>div>p:last-child {
  margin: 13px 0 0;
  color: #e0e7e1;
  font-size: 14px
}

.page-hero .eyebrow {
  color: #d4b982
}

.overview-grid {
  grid-template-columns: repeat(3,minmax(0,1fr))
}

.overview-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .2s,border-color .2s
}

.overview-card:hover {
  transform: translateY(-3px);
  border-color: #c2a56f!important
}

.overview-card h3 {
  margin: 10px 0 0;
  font: 500 22px var(--serif);
  color: var(--green)
}

.overview-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px
}

.overview-card .text-link {
  margin-top: auto
}

.overview-card .service-top b {
  color: #a17f4c;
  font: 400 12px var(--serif)
}

.content-narrow {
  max-width: 850px
}

.full-news .news-item {
  padding: 20px 4px
}

.home-news .news-item {
  padding: 17px 4px
}

.home-news .news-item h3,.full-news .news-item h3 {
  font-size: 17px
}

.split-content {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  align-items: start
}

.editorial-copy {
  max-width: 460px
}

.editorial-copy h2 {
  margin: 0 0 20px;
  font: 500 34px/1.45 var(--serif)
}

.editorial-copy h2 em {
  font-style: normal;
  color: #9c7845
}

.editorial-copy p:not(.eyebrow) {
  color: #68726b;
  line-height: 2
}

.editorial-copy .text-link {
  margin-top: 12px
}

.about-image {
  width: 100%;
  max-height: 460px;
  object-fit: cover
}

.club-directory {
  max-width: 900px
}

.club-detail {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 26px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line)
}

.club-detail-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  background: #e9e7de;
  color: #9c7845;
  font-size: 28px
}

.club-detail h2 {
  margin: 0;
  font: 500 25px var(--serif)
}

.club-detail p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px
}

.contact-note {
  font-size: 11px!important
}

.calendar-page-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 32px;
  align-items: start
}

.calendar-panel,.event-panel,.weather-current-panel,.forecast-panel {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 9px 28px #182a250a
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 18px
}

.calendar-head button {
  min-width: 38px;
  min-height: 38px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--green);
  cursor: pointer
}

.calendar-head button:hover {
  background: #e9e7de
}

.calendar-head strong {
  font: 500 20px var(--serif);
  white-space: nowrap
}

.today-button {
  padding: 6px 12px!important;
  font-size: 11px
}

.mini-calendar {
  display: grid;
  grid-template-columns: repeat(7,minmax(0,1fr));
  gap: 5px;
  text-align: center
}

.mini-calendar .weekday {
  height: 32px;
  display: grid;
  place-items: center;
  color: #987542;
  font-size: 11px;
  font-weight: 600
}

.date-blank {
  height: 42px
}

.date-cell {
  position: relative;
  min-height: 42px;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  cursor: pointer
}

.date-cell:hover {
  background: #eeece4
}

.date-cell.is-today {
  outline: 1px solid #9b7a4b;
  color: var(--green);
  font-weight: 700
}

.date-cell.is-selected {
  background: var(--green);
  color: #fff
}

.date-cell.has-event:after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: calc(50% - 2px);
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%
}

.date-cell.is-selected:after {
  background: #fff
}

.selected-day {
  min-height: 28px;
  margin: 15px 0;
  color: #68726b;
  font-size: 12px
}

.calendar-legend {
  display: flex;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: #778078;
  font-size: 11px
}

.calendar-legend i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 7px 1px 0;
  background: var(--gold);
  border-radius: 50%
}

.today-legend:before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  border: 1px solid #987542;
  border-radius: 50%
}

.event-panel h2 {
  margin: 0 0 18px;
  font: 500 22px var(--serif)
}

.event-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 540px;
  overflow: auto
}

.event-list li {
  display: flex;
  gap: 15px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #69746e
}

.event-list time {
  min-width: 88px;
  color: #987542;
  font-variant-numeric: tabular-nums
}

.weather-page {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 24px;
  align-items: start
}

.weather-current-panel {
  background: #e9e7de
}

.weather-current-panel .weather-place {
  font-size: 13px
}

.large-weather {
  min-height: 130px
}

.large-weather strong {
  font-size: 76px!important
}

.forecast-panel .section-heading {
  margin-bottom: 18px
}

.forecast-panel .section-heading h2 {
  margin: 0;
  font: 500 27px var(--serif)
}

.forecast-panel .section-heading em {
  font-style: normal;
  color: #9c7845
}

.weather-source {
  font-size: 10px;
  color: #838b84
}

.forecast-list {
  border-top: 1px solid var(--line)
}

.forecast-row {
  display: grid;
  grid-template-columns: 100px 1fr 80px;
  gap: 14px;
  align-items: center;
  padding: 17px 6px;
  border-bottom: 1px solid var(--line);
  color: #68726b;
  font-size: 12px
}

.forecast-row b {
  text-align: right;
  color: var(--green);
  font-weight: 600
}

.uni-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px
}

.uni-grid>a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding: 12px;
  background: #f5f3ed;
  border: 1px solid #e5e2d8;
  transition: transform .2s,border-color .2s
}

.uni-grid>a:hover {
  transform: translateY(-2px);
  border-color: #c2a56f;
  color: var(--green)
}

.uni-grid img {
  width: 40px;
  height: 40px;
  object-fit: contain
}

.uni-grid span {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0
}

.uni-grid b {
  font: 500 13px var(--serif)
}

.uni-grid small {
  font-size: 9px;
  color: #899089;
  margin-top: 3px
}

.uni-grid i {
  font-style: normal;
  color: #987542;
  font-size: 10px;
  white-space: nowrap
}

@media(max-width:900px) {
  .main-nav {
    gap: 15px
  }

.main-nav a {
    font-size: 11px
  }

.overview-grid {
    grid-template-columns: repeat(2,minmax(0,1fr))
  }

.split-content {
    gap: 32px
  }

.calendar-page-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:850px) {
  body {
    padding-top: 64px
  }

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    z-index: 2000;
    background: rgba(255,254,250,.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid #00000012
  }

.utility {
    display: none
  }

.masthead {
    width: 100%;
    height: 64px;
    padding: 0 20px!important
  }

.identity {
    gap: 9px
  }

.identity img {
    width: 36px;
    height: 36px
  }

.identity strong {
    font-size: 14px
  }

.identity small {
    font-size: 7px;
    letter-spacing: .08em
  }

.menu-toggle {
    position: relative;
    z-index: 2004;
    display: flex;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer
  }

.menu-toggle span {
    display: block;
    width: 20px;
    height: 1px;
    background: #34443c;
    transition: transform .25s,opacity .2s
  }

.menu-toggle.is-open span:first-child {
    transform: translateY(3.5px) rotate(45deg)
  }

.menu-toggle.is-open span:last-child {
    transform: translateY(-3.5px) rotate(-45deg)
  }

.mobile-menu-overlay {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1990;
    display: block;
    padding: 0;
    border: 0;
    background: #102f2966;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s,visibility .25s
  }

.mobile-menu-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto
  }

.main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 2003;
    display: flex!important;
    flex-direction: column!important;
    align-items: stretch!important;
    gap: 0!important;
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    background: rgba(255,254,250,.98);
    box-shadow: none;
    visibility: hidden;
    pointer-events: none;
    transition: max-height .3s,padding .3s,visibility .3s
  }

.main-nav.is-open {
    max-height: 440px;
    padding: 12px 24px 20px;
    visibility: visible;
    pointer-events: auto;
    box-shadow: 0 14px 30px #1220211f
  }

.main-nav a {
    display: flex;
    width: 100%;
    height: auto;
    justify-content: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px
  }

.main-nav a:after {
    display: none
  }

.menu-open {
    overflow: hidden
  }

.page-hero {
    padding: 52px 0 48px
  }

.page-hero h1 {
    font-size: 37px
  }

.page-hero>div>p:last-child {
    font-size: 12px
  }

.section {
    padding: 55px 0
  }

.overview-grid,.uni-grid {
    grid-template-columns: 1fr
  }

.overview-card {
    min-height: 185px
  }

.split-content,.calendar-page-grid,.weather-page {
    grid-template-columns: 1fr;
    gap: 18px
  }

.calendar-panel,.event-panel,.weather-current-panel,.forecast-panel {
    padding: 19px
  }

.calendar-head {
    gap: 6px
  }

.calendar-head strong {
    font-size: 17px
  }

.calendar-head button {
    min-width: 34px;
    min-height: 36px
  }

.today-button {
    padding: 5px 8px!important;
    font-size: 10px
  }

.date-cell,.date-blank {
    min-height: 40px
  }

.club-detail {
    grid-template-columns: 54px 1fr;
    gap: 14px;
    padding: 23px 0
  }

.club-detail-icon {
    width: 48px;
    height: 48px;
    font-size: 22px
  }

.forecast-row {
    grid-template-columns: 76px 1fr 70px;
    gap: 6px;
    padding: 14px 2px;
    font-size: 10px
  }

.large-weather strong {
    font-size: 62px!important
  }

.footer-main {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 0
  }

.footer-links {
    flex-wrap: wrap;
    gap: 13px 20px
  }

.footer-bottom {
    flex-direction: column;
    gap: 7px
  }

.hero {
    min-height: 490px
  }

.hero-content {
    padding: 70px 0
  }

.hero h1 {
    font-size: 50px
  }

.intro-grid {
    display: block
  }

.intro-grid h2 {
    font-size: 32px;
    margin-bottom: 16px
  }

.intro-grid .eyebrow {
    margin: 0 0 10px
  }

.heading-note {
    font-size: 11px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

*,*:before,*:after {
    transition: none!important
  }
}

.main-nav a.is-current {
  color: #a17f4c
}

.main-nav a.is-current:after {
  width: 100%
}

@media(max-width:850px) {
  .main-nav a.is-current {
    color: #987542;
    font-weight: 600
  }

.main-nav a.is-current:after {
    display: none
  }
}

.hero {
  min-height: clamp(500px,52vw,680px);
  background: #823632
}

.hero-image {
  background-position: center 52%;
  transform: none
}

.hero-content {
  max-width: 1180px;
  text-shadow: 0 1px 14px #27111166
}

.hero-content .eyebrow {
  color: #f4d9ac
}

.hero-content .text-link.light {
  padding: 10px 0;
  border-bottom: 1px solid #ffffff80
}

.hero h1 em {
  color: #f1d6a1
}

.hero-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,#28181745,transparent 25%);
  pointer-events: none
}

@media(max-width:850px) {
  .hero {
    min-height: 500px
  }

.hero-image {
    background-position: center center
  }

.hero-content {
    padding: 70px 0 88px
  }
}

@media(max-width:600px) {
  .hero {
    min-height: 480px
  }

.hero-image {
    background-position: 52% center
  }

.hero-content {
    padding: 60px 0 80px
  }

.hero h1 {
    font-size: 43px
  }

.hero-copy {
    font-size: 13px
  }
}

/* Center-out navigation underline and softer hover response. */
 .main-nav a {
  transition: color .32s ease,opacity .32s ease,transform .32s cubic-bezier(.22,.61,.36,1)
}

.main-nav a:after {
  left: 50%;
  width: 100%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform .32s cubic-bezier(.22,.61,.36,1)
}

.main-nav a:hover:after,.main-nav a:focus-visible:after,.main-nav a.is-current:after {
  width: 100%;
  transform: translateX(-50%) scaleX(1)
}

.overview-weather {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 7px 0 2px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px
}

.overview-weather strong {
  font: 400 30px/1 var(--serif);
  color: var(--green)
}

.overview-weather span {
  font-size: 12px
}

.weather-date {
  margin: 3px 0 8px;
  color: #8a9189;
  font-size: 11px;
  letter-spacing: .03em
}

.overview-weather {
  margin-top: 4px
}

.overview-date {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 13px 0 4px;
  padding: 12px 0 10px;
  border-top: 1px solid var(--line);
  color: var(--muted)
}

.overview-date strong {
  font: 400 32px/1 var(--serif);
  color: var(--green);
  font-variant-numeric: tabular-nums
}

.overview-date span {
  font-size: 11px
}

/* 内页通用样式 */
/* Align every inner page and shared navigation with the school-gate palette. */
 :root {
  --green: #803538;
  --deep: #512628;
  --gold: #c7a16a
}

.site-header {
  background: var(--white)
}

.utility,.site-footer {
  background: var(--deep)
}

.page-hero {
  background: var(--green)!important;
  color: #fff!important
}

.page-hero .eyebrow {
  color: #ead1a8!important
}

.page-hero h1 {
  color: #fff!important
}

.main-nav a.is-current,.main-nav a:hover {
  color: #a87543
}

.main-nav a:after {
  background: var(--gold)
}

.hero-image {
  background-image: linear-gradient(90deg,#38191bf2 0%,#4a2020df 38%,#4b2020a6 64%,#4b202035 100%),linear-gradient(0deg,#28181770,transparent 46%),url('../../images/school-gate-cartoon.png')!important;
  background-position: center,center,center 52%!important;
  background-size: cover,cover,cover!important
}

.hero-content {
  max-width: 1180px;
  text-shadow: 0 2px 16px #1d1010a8
}

.hero h1 {
  color: #fff
}

.hero h1 em {
  color: #f1d6a1
}

.hero-content .eyebrow {
  color: #f3dcb6
}

.hero-content .text-link.light {
  display: none!important
}

.forecast-list {
  display: flex;
  flex-direction: column;
  gap: 18px
}

.forecast-day h3 {
  margin: 0 0 9px;
  padding: 12px 0 8px;
  border-bottom: 1px solid var(--line);
  color: var(--green);
  font: 500 16px var(--serif)
}

.forecast-hours {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 8px
}

.hour-card {
  min-height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 6px;
  background: #f5f3ed;
  border: 1px solid #e5e2d8;
  text-align: center
}

.hour-card time {
  color: #987542;
  font-size: 11px;
  font-variant-numeric: tabular-nums
}

.hour-card span {
  color: #6f7871;
  font-size: 10px
}

.hour-card b {
  color: var(--green);
  font: 500 17px var(--serif)
}

@media(max-width:850px) {
  .hero-image {
    background-position: center,center,52% center!important
  }

.hero-content .text-link.light {
    display: none!important
  }

.forecast-hours {
    grid-template-columns: repeat(3,minmax(0,1fr))
  }
}

@media(max-width:600px) {
  .hero-image {
    background-image: linear-gradient(90deg,#38191bf2 0%,#4a2020c7 54%,#4b202060 100%),linear-gradient(0deg,#28181780,transparent 50%),url('../../images/school-gate-cartoon.png')!important;
    background-position: center,center,53% center!important;
    background-size: cover,cover,cover!important
  }

.hero-content {
    padding: 62px 0 74px
  }

.hero h1 {
    font-size: 42px
  }

.forecast-hours {
    grid-template-columns: repeat(2,minmax(0,1fr))
  }
}

.site-footer {
  background: #102f29!important
}

.clubs-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  background: #f5f3ed;
  border: 1px solid #e5e2d8
}

.clubs-callout h2 {
  margin: 0;
  font: 500 26px var(--serif);
  color: var(--green)
}

.clubs-callout p:not(.eyebrow) {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px
}

.clubs-callout .text-link {
  white-space: nowrap
}

@media(max-width:850px) {
  .clubs-callout {
    padding: 22px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px
  }
}

.clubs-prose {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto
}

.clubs-prose h2 {
  margin: 0 0 16px;
  font: 500 clamp(30px,4vw,42px)/1.45 var(--serif);
  color: var(--ink)
}

.clubs-prose h2 em {
  font-style: normal;
  color: var(--green)
}

.clubs-prose>p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: #68726b;
  font-size: 14px;
  line-height: 2
}

.inline-club-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 3px;
  color: var(--green);
  font-weight: 600;
  white-space: nowrap
}

.inline-club-link span {
  color: #987542;
  transition: transform .25s ease
}

.inline-club-link:hover {
  color: #987542
}

.inline-club-link:hover span {
  transform: translateX(4px)
}

@media(max-width:850px) {
  .main-nav a {
    border-bottom: 0!important
  }
}

/* Life page: surface clubs early; keep campus imagery legible at each breakpoint. */
 .page-life .clubs-section {
  background: var(--green);
  color: #fff
}

.page-life .clubs-section .eyebrow {
  color: #ead1a8
}

.page-life .clubs-section h2 {
  color: #fff
}

.page-life .clubs-section h2 em {
  color: #f1d6a1
}

.page-life .clubs-section .clubs-prose>p:not(.eyebrow) {
  color: #f2e6dc
}

.page-life .clubs-section .inline-club-link {
  color: #f1d6a1;
  border-bottom: 1px solid #f1d6a1
}

.page-life .clubs-section .inline-club-link span {
  color: #f1d6a1
}

@media(min-width:701px) and (max-width:1000px) {
  .page-life .life-grid {
    grid-template-columns: repeat(2,minmax(0,1fr))!important;
    gap: 14px
  }

.page-life .life-card.large {
    grid-column: 1/-1!important
  }
}

@media(max-width:700px) {
  .page-life .life-grid {
    grid-template-columns: minmax(0,1fr)!important;
    gap: 14px
  }

.page-life .life-card,.page-life .life-card.large {
    grid-column: auto!important;
    min-height: 250px;
    padding: 18px
  }

.page-life .life-card.large {
    min-height: 285px
  }

.page-life .life-card strong {
    font-size: 18px
  }

.page-life .clubs-section {
    padding: 44px 0
  }

.page-life .clubs-prose h2 {
    font-size: 34px
  }

.page-life .clubs-prose>p:not(.eyebrow) {
    font-size: 13px;
    line-height: 1.9
  }
}

/* Separate the prominent club introduction from the burgundy page hero. */
 .page-life .clubs-section {
  background: #e9e5dc;
  border-top: 1px solid #d8d2c7;
  border-bottom: 1px solid #d8d2c7;
  color: var(--ink)
}

.page-life .clubs-section .eyebrow {
  color: #987542
}

.page-life .clubs-section h2 {
  color: var(--ink)
}

.page-life .clubs-section h2 em {
  color: var(--green)
}

.page-life .clubs-section .clubs-prose>p:not(.eyebrow) {
  color: #68726b
}

.page-life .clubs-section .inline-club-link {
  color: var(--green);
  border-bottom: 1px solid #987542
}

.page-life .clubs-section .inline-club-link span {
  color: #987542
}

.weather-view-toggle {
  display: inline-flex;
  gap: 4px;
  margin: 0 0 22px;
  padding: 4px;
  background: #eeeae1;
  border: 1px solid #e1ddd3
}

.weather-view-toggle button {
  min-width: 105px;
  padding: 9px 15px;
  border: 0;
  background: transparent;
  color: #657169;
  font-size: 12px;
  cursor: pointer;
  transition: background .2s,color .2s
}

.weather-view-toggle button:hover {
  color: var(--green)
}

.weather-view-toggle button[aria-selected=true] {
  background: var(--green);
  color: #fff;
  box-shadow: 0 2px 8px #182a2516
}

.daily-card {
  display: grid;
  grid-template-columns: 130px minmax(0,1fr) 130px 100px;
  gap: 12px;
  align-items: center;
  padding: 17px 10px;
  border-bottom: 1px solid var(--line)
}

.daily-date {
  color: #987542;
  font-size: 12px;
  font-weight: 600
}

.daily-condition {
  margin: 0;
  color: #68726b;
  font-size: 12px
}

.daily-temperature {
  color: var(--green);
  font: 500 18px var(--serif);
  text-align: right;
  white-space: nowrap
}

.daily-card small {
  color: #818981;
  font-size: 10px;
  text-align: right
}

.forecast-panel #forecast-list {
  border-top: 1px solid var(--line)
}

.forecast-panel .weather-view-toggle+#forecast-list {
  border-top: 0
}

.forecast-day h3 {
  margin: 0 0 9px;
  padding: 12px 0 8px;
  border-bottom: 1px solid var(--line);
  color: var(--green);
  font: 500 16px var(--serif)
}

.forecast-hours {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 8px
}

.hour-card {
  min-height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 6px;
  background: #f5f3ed;
  border: 1px solid #e5e2d8;
  text-align: center
}

.hour-card time {
  color: #987542;
  font-size: 11px;
  font-variant-numeric: tabular-nums
}

.hour-card span {
  color: #6f7871;
  font-size: 10px
}

.hour-card b {
  color: var(--green);
  font: 500 17px var(--serif)
}

@media(max-width:850px) {
  .daily-card {
    grid-template-columns: 110px 1fr 112px;
    gap: 8px
  }

.daily-card small {
    grid-column: 2/-1;
    text-align: left
  }
}

@media(max-width:600px) {
  .weather-view-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%
  }

.weather-view-toggle button {
    min-width: 0
  }

.daily-card {
    grid-template-columns: 1fr auto;
    gap: 5px 10px;
    padding: 15px 3px
  }

.daily-date {
    grid-column: 1
  }

.daily-condition {
    grid-column: 1/-1;
    grid-row: 2
  }

.daily-temperature {
    grid-column: 2;
    grid-row: 1
  }

.daily-card small {
    grid-column: 1/-1;
    grid-row: 3;
    text-align: left
  }

.forecast-hours {
    grid-template-columns: repeat(2,minmax(0,1fr))
  }
}

/* 天气页面 */
/* Weather page: balance the live conditions card with the forecast column. */
 .weather-page {
  grid-template-columns: minmax(280px,.9fr) minmax(0,1.25fr);
  gap: 28px;
  align-items: stretch
}

.weather-current-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  padding: 34px;
  background: linear-gradient(145deg,#eee9df 0%,#e5e0d6 100%)
}

.weather-current-panel:after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -72px;
  top: 90px;
  width: 220px;
  height: 220px;
  border: 1px solid #80353818;
  border-radius: 50%;
  box-shadow: 0 0 0 24px #80353808,0 0 0 48px #80353806
}

.weather-current-panel .eyebrow {
  margin-bottom: 30px
}

.weather-current-panel .weather-place {
  margin: 0;
  color: #68726b;
  font-size: 14px
}

.weather-current-panel .large-weather {
  min-height: 145px;
  gap: 18px
}

.weather-current-panel .large-weather strong {
  font-size: clamp(74px,8vw,96px)!important;
  letter-spacing: -.06em
}

.weather-current-panel .large-weather span {
  max-width: 115px;
  font-size: 14px;
  line-height: 1.7
}

.weather-current-panel .weather-details {
  margin-top: auto;
  padding-top: 18px;
  padding-bottom: 4px;
  font-size: 12px
}

.forecast-panel {
  padding: 34px
}

.forecast-panel .section-heading {
  gap: 18px;
  align-items: center
}

.weather-source {
  white-space: nowrap
}

@media(max-width:850px) {
  .weather-page {
    grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr);
    gap: 16px
  }

.weather-current-panel,.forecast-panel {
    padding: 22px
  }

.weather-current-panel .large-weather {
    min-height: 120px
  }
}

@media(max-width:700px) {
  .weather-page {
    grid-template-columns: 1fr;
    gap: 16px
  }

.weather-current-panel {
    min-height: 260px;
    padding: 24px
  }

.weather-current-panel .eyebrow {
    margin-bottom: 22px
  }

.weather-current-panel .large-weather {
    min-height: 110px
  }

.forecast-panel {
    padding: 22px
  }
}

/* Compact weather overview with an obvious path to the extended forecast. */
 .weather-page {
  grid-template-columns: minmax(260px,.82fr) minmax(0,1.18fr);
  gap: 22px;
  align-items: start
}

.weather-current-panel {
  display: block;
  min-height: 0;
  padding: 28px;
  background: #e9e7de
}

.weather-current-panel:after {
  display: none
}

.weather-current-panel .eyebrow {
  margin-bottom: 18px
}

.weather-current-panel .weather-place {
  margin: 20px 0 4px
}

.weather-current-panel .large-weather {
  min-height: 100px;
  gap: 12px
}

.weather-current-panel .large-weather strong {
  font-size: 72px!important
}

.weather-current-panel .large-weather span {
  max-width: none
}

.weather-current-panel .weather-details {
  margin-top: 0;
  padding: 12px 0 0
}

.forecast-panel {
  padding: 28px
}

.weather-more-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid #d8d3c8;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  transition: background .2s,border-color .2s
}

.weather-more-link span {
  font-size: 17px;
  color: #987542;
  transition: transform .2s
}

.weather-more-link:hover {
  background: #f4f2eb;
  border-color: #c7a16a
}

.weather-more-link:hover span {
  transform: translate(2px,-2px)
}

.weather-back {
  margin-top: 24px
}

.detail-weather-page {
  grid-template-columns: minmax(240px,.72fr) minmax(0,1.28fr)
}

.detail-weather-page .weather-current-panel {
  padding: 30px;
  min-height: 280px
}

.detail-weather-page .weather-current-panel .weather-place {
  margin: 20px 0 4px
}

@media(max-width:850px) {
  .weather-page {
    grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
    gap: 16px
  }

.weather-current-panel,.forecast-panel {
    padding: 21px
  }

.detail-weather-page {
    grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr)
  }
}

@media(max-width:700px) {
  .weather-page,.detail-weather-page {
    grid-template-columns: 1fr;
    gap: 16px
  }

.weather-current-panel,.detail-weather-page .weather-current-panel {
    min-height: 0;
    padding: 23px
  }

.forecast-panel {
    padding: 21px
  }
}

/* Keep the paired weather panels aligned from the same top edge. */
 .weather-page,.detail-weather-page {
  align-items: start
}

.weather-page>.weather-current-panel,.weather-page>.forecast-panel {
  align-self: start;
  margin: 0
}

.weather-page>.weather-current-panel,.weather-page>.forecast-panel {
  padding-top: 28px
}

.weather-page>.weather-current-panel>.eyebrow,.weather-page>.forecast-panel .section-heading .eyebrow {
  min-height: 14px;
  margin-top: 0
}

@media(max-width:850px) {
  .weather-page>.weather-current-panel,.weather-page>.forecast-panel {
    padding-top: 21px
  }
}

@media(max-width:700px) {
  .weather-page>.weather-current-panel,.weather-page>.forecast-panel {
    padding-top: 23px
  }
}

/* The extended forecast is a single wide panel; current conditions stay on the overview page. */
 .detail-forecast-wrap {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto
}

.detail-forecast-wrap>.forecast-panel {
  width: 100%;
  margin: 0;
  padding: 34px
}

@media(max-width:700px) {
  .detail-forecast-wrap>.forecast-panel {
    padding: 22px
  }
}

/* Extended forecast page uses the full content column. */
 .detail-forecast-wrap {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto
}

.detail-forecast-wrap>.forecast-panel {
  width: 100%;
  margin: 0;
  padding: 34px
}

@media(max-width:700px) {
  .detail-forecast-wrap>.forecast-panel {
    padding: 22px
  }
}

/* 校历页面 */
/* Calendar date states use true circles and mark today on first render. */
 .mini-calendar .date-cell {
  width: min(100%,42px);
  height: 42px;
  min-height: 0;
  aspect-ratio: 1;
  justify-self: center;
  padding: 0;
  border-radius: 50%;
  line-height: 1
}

.mini-calendar .date-cell.is-today {
  outline: 1px solid #9b7a4b;
  outline-offset: -1px
}

.mini-calendar .date-cell.is-selected {
  border-radius: 50%
}

@media(max-width:850px) {
  .mini-calendar .date-cell {
    width: min(100%,40px);
    height: 40px;
    min-height: 0
  }
}

/* Match the overview cards' top and bottom edges without a loose forecast list. */
 .weather-page:not(.detail-weather-page) {
  align-items: stretch
}

.weather-page:not(.detail-weather-page)>.weather-current-panel, .weather-page:not(.detail-weather-page)>.forecast-panel {
  height: 100%;
  align-self: stretch
}

.weather-page:not(.detail-weather-page)>.weather-current-panel {
  display: flex;
  flex-direction: column
}

.weather-page:not(.detail-weather-page)>.weather-current-panel .weather-place {
  margin-top: 12px
}

.weather-page:not(.detail-weather-page)>.weather-current-panel .large-weather {
  min-height: 94px
}

.weather-page:not(.detail-weather-page)>.weather-current-panel .weather-details {
  margin-top: auto
}

.weather-page:not(.detail-weather-page) .daily-card {
  padding-top: 11px;
  padding-bottom: 11px
}

.weather-page:not(.detail-weather-page) .weather-more-link {
  margin-top: auto;
  padding-top: 11px;
  padding-bottom: 11px
}

@media(max-width:700px) {
  .weather-page:not(.detail-weather-page) {
    align-items: start
  }

.weather-page:not(.detail-weather-page)>.weather-current-panel,.weather-page:not(.detail-weather-page)>.forecast-panel {
    height: auto
  }

.weather-page:not(.detail-weather-page) .weather-more-link {
    margin-top: 14px
  }
}

/* Calendar panels align on desktop; mobile keeps every section fully expanded. */
 .calendar-page-grid {
  align-items: stretch
}

.calendar-page-grid>.calendar-panel,.calendar-page-grid>.event-panel {
  height: 100%;
  align-self: stretch
}

@media(max-width:850px) {
   .calendar-page-grid {
    align-items: start
  }

.calendar-page-grid>.calendar-panel,.calendar-page-grid>.event-panel {
    height: auto;
    align-self: stretch
  }

.calendar-page-grid .event-list {
    max-height: none;
    overflow: visible
  }
}

/* Calendar schedule card stays content-sized beside the full calendar. */
 .calendar-page-grid {
  align-items: start
}

.calendar-page-grid>.calendar-panel {
  height: auto;
  align-self: start
}

.calendar-page-grid>.event-panel {
  height: auto;
  align-self: start;
  padding-top: 24px;
  padding-bottom: 24px
}

.calendar-page-grid .event-list {
  max-height: none;
  overflow: visible
}

.calendar-page-grid .event-panel h2 {
  margin-bottom: 12px
}

.calendar-page-grid .event-list li {
  padding: 6px 0;
  font-size: 11px;
  line-height: 1.5
}

@media(max-width:850px) {
   .calendar-page-grid>.calendar-panel,.calendar-page-grid>.event-panel {
    height: auto;
    align-self: stretch
  }

.calendar-page-grid>.event-panel {
    padding-top: 22px;
    padding-bottom: 22px
  }

.calendar-page-grid .event-list {
    max-height: none;
    overflow: visible
  }
}

/* Equal calendar panels with a shorter, internally scrollable desktop schedule. */
 .calendar-page-grid {
  align-items: stretch
}

.calendar-page-grid>.calendar-panel,.calendar-page-grid>.event-panel {
  height: 100%;
  align-self: stretch
}

.calendar-page-grid>.event-panel {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 24px
}

.calendar-page-grid .event-panel h2 {
  margin-bottom: 12px
}

.calendar-page-grid .event-list {
  flex: 1;
  min-height: 0;
  max-height: 300px;
  overflow-y: auto;
  padding-right: 8px;
  overscroll-behavior: contain;
  scrollbar-color: #c7a16a transparent;
  scrollbar-width: thin
}

.calendar-page-grid .event-list li {
  padding: 7px 0;
  font-size: 11px;
  line-height: 1.55
}

@media(max-width:850px) {
   .calendar-page-grid {
    align-items: start
  }

.calendar-page-grid>.calendar-panel,.calendar-page-grid>.event-panel {
    height: auto;
    align-self: stretch
  }

.calendar-page-grid>.event-panel {
    display: block;
    padding: 22px
  }

.calendar-page-grid .event-list {
    max-height: none;
    overflow: visible;
    padding-right: 0
  }
}

/* Improve news headline readability with a restrained size increase. */
 .news-item h3 {
  font-size: 19px
}

@media(max-width:600px) {
  .news-item h3 {
    font-size: 18px
  }
}

/* Larger news headlines, including home and full-news variants. */
 .news-item h3,.home-news .news-item h3,.full-news .news-item h3 {
  font-size: 21px
}

@media(max-width:600px) {
  .news-item h3,.home-news .news-item h3,.full-news .news-item h3 {
    font-size: 19px
  }
}





/* 404 页面 */
/* Branded not-found page. */
.not-found-shell{min-height:calc(100svh - 210px);display:grid;place-items:center;padding:64px 0;background:var(--paper)}
.not-found{max-width:860px;padding:clamp(32px,7vw,76px);background:var(--white);border:1px solid var(--line);text-align:center;box-shadow:0 16px 44px #182a250a}
.not-found .eyebrow{margin-bottom:8px}
.not-found-code{margin:0;color:var(--green);font:500 clamp(96px,19vw,190px)/.95 var(--serif);letter-spacing:.04em}
.not-found h1{margin:20px 0 12px;font:500 clamp(26px,4vw,38px)/1.5 var(--serif);color:var(--ink)}
.not-found-copy{max-width:520px;margin:0 auto;color:var(--muted);font-size:14px;line-height:2}
.not-found-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;margin-top:30px}
.not-found-primary,.not-found-secondary{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:0 20px;font-size:12px;font-weight:600;transition:background .2s,color .2s,border-color .2s,transform .2s}
.not-found-primary{background:var(--green);color:#fff}
.not-found-primary span{color:#e7ca91;font-size:17px;transition:transform .2s}
.not-found-primary:hover{background:var(--deep);transform:translateY(-2px)}
.not-found-primary:hover span{transform:translateX(3px)}
.not-found-secondary{border:1px solid var(--line);color:var(--green)}
.not-found-secondary:hover{border-color:var(--gold);background:#f4f2eb}
@media(max-width:600px){.not-found-shell{min-height:calc(100svh - 180px);padding:34px 0}.not-found{padding:34px 22px}.not-found-copy{font-size:13px}.not-found-actions{align-items:stretch;flex-direction:column}.not-found-primary,.not-found-secondary{width:100%}}

/* Keep the hero call to action visible and point it to the campus overview. */
.hero-content .text-link.light { display: inline-flex !important; margin-top: 14px; }


/* Remove the trailing separator after the final day in the extended forecast. */
.forecast-panel #forecast-list > .daily-card:last-child { border-bottom: 0; }


/* Improve weather page readability and keep the forecast arrow moving horizontally. */
.weather-more-link:hover span { transform: translateX(4px); }
.weather-page .weather-place,
.detail-weather-page .weather-place { font-size: 14px; }
.weather-page .weather-current span,
.detail-weather-page .weather-current span { font-size: 16px; }
.weather-page .weather-details,
.detail-weather-page .weather-details { font-size: 13px; }
.weather-page .weather-details b,
.detail-weather-page .weather-details b { font-size: 14px; }
.weather-page .weather-source,
.detail-weather-page .weather-source { font-size: 12px; }
.weather-page .daily-date,
.detail-weather-page .daily-date { font-size: 14px; }
.weather-page .daily-condition,
.detail-weather-page .daily-condition { font-size: 14px; }
.weather-page .daily-temperature,
.detail-weather-page .daily-temperature { font-size: 21px; }
.weather-page .daily-card small,
.detail-weather-page .daily-card small { font-size: 12px; }
.weather-page .weather-more-link,
.detail-weather-page .weather-more-link { font-size: 14px; }
.detail-forecast-wrap .weather-view-toggle button { font-size: 14px; }
.detail-forecast-wrap .daily-card { padding-top: 19px; padding-bottom: 19px; }
.detail-forecast-wrap .forecast-day h3 { font-size: 18px; }
.detail-forecast-wrap .hour-card time { font-size: 13px; }
.detail-forecast-wrap .hour-card span { font-size: 14px; }
.detail-forecast-wrap .hour-card b { font-size: 20px; }
.detail-forecast-wrap .daily-date,
.detail-forecast-wrap .daily-condition { font-size: 14px; }
.detail-forecast-wrap .daily-temperature { font-size: 21px; }
.detail-forecast-wrap .daily-card small { font-size: 12px; }

/* Let the schedule scroll area use the full card height instead of leaving a blank strip below it. */
@media(min-width:851px) {
  .calendar-page-grid .event-list { max-height: none; }
}

/* Calendar: keep the month card content-sized; split upcoming and past dates into compact scroll lists. */
@media(min-width:851px) {
  .calendar-page-grid { align-items: start; }
  .calendar-page-grid > .calendar-panel,
  .calendar-page-grid > .event-panel { height: auto; align-self: start; }
  .calendar-page-grid > .event-panel { display: block; }
  .calendar-page-grid .schedule-group + .schedule-group { margin-top: 18px; }
  .calendar-page-grid .schedule-group h3 {
    margin: 0 0 7px;
    color: var(--green);
    font: 500 15px/1.5 var(--serif);
  }
  .calendar-page-grid .event-list {
    max-height: 165px;
    overflow-y: auto;
    flex: none;
    padding-right: 8px;
  }
}
.calendar-page-grid .event-list-empty { color: var(--muted); }

/* Keep each of the three forecast rows the same height and center its contents. */
.weather-page .forecast-panel .daily-card {
  height: 94px;
  min-height: 94px;
  align-items: center;
  overflow: hidden;
}
.weather-page .forecast-panel .daily-condition {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.5;
}
.weather-page .forecast-panel .daily-card small { white-space: nowrap; }
@media(max-width:600px) {
  .weather-page .forecast-panel .daily-card {
    height: 124px;
    min-height: 124px;
    grid-template-rows: 20px 44px 16px;
    align-content: center;
  }
  .weather-page .forecast-panel .daily-condition {
    grid-row: 2;
    line-height: 1.55;
  }
  .weather-page .forecast-panel .daily-card small { grid-row: 3; }
}

/* Full-page 404 composition without a boxed card. */
.not-found-shell {
  min-height: calc(100svh - 210px);
  padding: 56px 24px;
}
.not-found {
  width: 100%;
  max-width: 100%;
  padding: clamp(28px, 5vw, 64px) 20px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
@media(max-width:600px) {
  .not-found-shell { min-height: calc(100svh - 180px); }
}
.calendar-page-grid .schedule-group h3 {
  margin: 0 0 7px;
  color: var(--green);
  font: 500 15px/1.5 var(--serif);
}
.calendar-page-grid .schedule-group + .schedule-group { margin-top: 18px; }
.calendar-page-grid .event-list {
  max-height: 165px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #c7a16a transparent;
  scrollbar-width: thin;
}
@media(max-width:850px) {
  .calendar-page-grid .event-list { max-height: 150px; }
}

.hero-content .text-link.light i {
  display: inline-block;
  font-style: normal;
  transition: transform .2s ease;
}
.hero-content .text-link.light:hover i { transform: translateX(4px); }

/* 全站导航控件 */
/* Grouped navigation with keyboard and touch accessible dropdowns. */
.nav-group { position: relative; height: 100%; display: flex; align-items: center; }
.nav-group-toggle {
  height: 100%; display: inline-flex; align-items: center; gap: 6px;
  padding: 0; border: 0; background: transparent; color: #46534c;
  font: 13px var(--sans); white-space: nowrap; cursor: pointer;
  transition: color .25s ease;
}
.nav-group-toggle > span { display: inline-block; font-size: 13px; transition: transform .22s ease; }
.nav-group:hover .nav-group-toggle,
.nav-group:focus-within .nav-group-toggle,
.nav-group.has-current .nav-group-toggle,
.nav-group.is-open .nav-group-toggle { color: #a87543; }
.nav-group:hover .nav-group-toggle > span,
.nav-group:focus-within .nav-group-toggle > span,
.nav-group.is-open .nav-group-toggle > span { transform: rotate(180deg); }
.nav-submenu {
  position: absolute; z-index: 30; top: calc(100% - 1px); left: -18px;
  display: none; min-width: 176px; padding: 8px;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 14px 30px #1220211a;
}
.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu,
.nav-group.is-open .nav-submenu { display: block; }
.main-nav .nav-submenu a {
  height: auto; min-height: 42px; padding: 10px 12px; font-size: 13px;
}
.main-nav .nav-submenu a:after { display: none; }
.main-nav .nav-submenu a:hover,
.main-nav .nav-submenu a.is-current { background: #f4f2eb; }
.about-story-inner { max-width: 980px; }
.about-story-inner h2 { margin: 0 0 28px; color: var(--ink); font: 500 clamp(30px,4vw,46px)/1.5 var(--serif); }
.about-story-inner h2 em { color: var(--green); font-style: normal; }
.about-story-copy { max-width: 780px; border-left: 2px solid var(--gold); padding-left: 24px; color: #68726b; font-size: 16px; line-height: 2; }
.about-story-copy p { margin: 0 0 16px; }
.about-story-copy p:last-child { margin-bottom: 0; }
@media(max-width:850px) {
  .nav-group { display: block; height: auto; }
  .nav-group-toggle { width: 100%; min-height: 44px; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 14px; }
  .nav-submenu { position: static; min-width: 0; padding: 0 0 4px 14px; border: 0; border-bottom: 1px solid var(--line); box-shadow: none; }
  .nav-group:not(.is-open) .nav-submenu { display: none; }
  .main-nav .nav-submenu a { min-height: 40px; padding: 9px 0; border: 0; font-size: 13px; }
  .main-nav.is-open { max-height: calc(100svh - 64px); overflow-y: auto; }
  .about-story-copy { padding-left: 18px; font-size: 15px; }
}

/* Compact the three-day forecast while keeping every row equal and vertically centered. */
.weather-page .forecast-panel .daily-card {
  height: 72px;
  min-height: 72px;
  padding-top: 10px;
  padding-bottom: 10px;
}
@media(max-width:600px) {
  .weather-page .forecast-panel .daily-card {
    height: 100px;
    min-height: 100px;
    padding-top: 12px;
    padding-bottom: 12px;
    grid-template-rows: 18px 44px 14px;
  }
}

/* Match calendar and schedule card heights; let each date section scroll inside the shared height. */
@media(min-width:851px) {
  .calendar-page-grid { align-items: stretch; }
  .calendar-page-grid > .calendar-panel,
  .calendar-page-grid > .event-panel { height: auto; align-self: stretch; min-height: 0; }
  .calendar-page-grid > .event-panel { display: flex; flex-direction: column; }
  .calendar-page-grid .schedule-group {
    display: flex;
    min-height: 0;
    flex: 1 1 0;
    flex-direction: column;
  }
  .calendar-page-grid .schedule-group + .schedule-group { margin-top: 14px; }
  .calendar-page-grid .event-list {
    flex: 1 1 0;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
  }
}

/* Align navigation links and group controls on the same typographic baseline. */
.main-nav > a,
.main-nav > .nav-group > .nav-group-toggle {
  height: 100%;
  display: flex;
  align-items: center;
  line-height: 1.7;
  font-size: 13px;
}
.main-nav > .nav-group > .nav-group-toggle {
  position: relative;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
}
.nav-group-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .22s ease;
}
.nav-group:hover .nav-group-toggle::after,
.nav-group:focus-within .nav-group-toggle::after,
.nav-group.is-open .nav-group-toggle::after {
  margin-top: 4px;
  transform: rotate(225deg);
}
@media(max-width:850px) {
  .main-nav > a,
  .main-nav > .nav-group > .nav-group-toggle {
    height: auto;
    min-height: 44px;
    font-size: 14px;
    line-height: 1.7;
  }
  .main-nav > .nav-group > .nav-group-toggle { justify-content: space-between; }
  .nav-group:hover .nav-group-toggle::after,
  .nav-group:focus-within .nav-group-toggle::after,
  .nav-group.is-open .nav-group-toggle::after { margin-top: 4px; }
  .nav-group:not(.is-open) .nav-group-toggle::after {
    margin-top: -4px;
    transform: rotate(45deg);
  }
  .nav-submenu { border-bottom: 0; }
}

/* Mouse leave always closes an open dropdown; click can dismiss hover-open menus. */
.nav-group.is-dismissed .nav-submenu { display: none !important; }
.nav-group.is-dismissed .nav-group-toggle::after { margin-top: -4px; transform: rotate(45deg); }

/* Mobile menu rows use the same height and visible separators. */
@media(max-width:850px) {
  .main-nav > a,
  .main-nav > .nav-group > .nav-group-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
    min-height: 48px;
    padding: 0;
    border-bottom: 1px solid var(--line);
    line-height: 1.7;
    font-size: 14px;
  }
  .main-nav > .nav-group > .nav-group-toggle { justify-content: space-between; }
  .nav-submenu {
    display: flex !important;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    padding: 0 0 0 14px;
    border: 0;
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    visibility: hidden;
    transition: max-height .28s ease, opacity .2s ease, transform .28s ease, visibility 0s linear .28s;
  }
  .nav-group.is-open .nav-submenu {
    max-height: 180px;
    padding-bottom: 4px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
    transition: max-height .28s ease, opacity .2s ease, transform .28s ease, visibility 0s;
  }
  .main-nav .nav-submenu a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 0;
    border: 0;
    line-height: 1.7;
    font-size: 13px;
  }
  /* Draw a centered plus; collapse its vertical stroke to form a minus. */
  .nav-group-toggle::before {
    content: "";
    position: absolute;
    right: 5px;
    width: 2px;
    height: 12px;
    background: currentColor;
    transition: transform .22s ease;
  }
  .nav-group-toggle::after {
    width: 12px;
    height: 2px;
    flex: 0 0 12px;
    margin: 0;
    border: 0;
    background: currentColor;
    transform: none;
    transition: background .22s ease;
  }
  .nav-group.is-open .nav-group-toggle::before { transform: scaleY(0); }
  .nav-group:hover .nav-group-toggle::after,
  .nav-group:focus-within .nav-group-toggle::after,
  .nav-group.is-open .nav-group-toggle::after { margin: 0; transform: none; }
}

/* Mobile navigation: keep tap states neutral, align separators, and center drawn plus/minus marks. */
@media(max-width:850px) {
  .main-nav > a {
    min-height: 48px !important;
    padding: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    color: #46534c !important;
  }
  .main-nav > .nav-group > .nav-group-toggle {
    min-height: 48px;
    color: #46534c !important;
  }
  .main-nav > a:hover,
  .main-nav > a:active,
  .main-nav > a:focus-visible,
  .main-nav .nav-group-toggle:hover,
  .main-nav .nav-group-toggle:active,
  .nav-group:hover .nav-group-toggle,
  .nav-group:focus-within .nav-group-toggle,
  .nav-group.is-open .nav-group-toggle {
    color: #46534c !important;
  }
  .nav-group-toggle::before {
    top: 50%;
    right: 5px;
    margin: -6px 0 0;
    transform: scaleY(1) !important;
  }
  .nav-group-toggle::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 12px;
    height: 2px;
    margin: -1px 0 0 !important;
    flex: none;
    transform: none !important;
  }
  .nav-group.is-open .nav-group-toggle::before {
    transform: scaleY(0) !important;
  }
}

/* Full-row touch targets and a measured grid animation for mobile submenus. */
@media(max-width:850px) {
  .main-nav > .nav-group { width: 100%; }
  .main-nav > .nav-group > .nav-group-toggle {
    display: flex;
    width: 100% !important;
    min-height: 48px;
    box-sizing: border-box;
    padding: 0;
    text-align: left;
    cursor: pointer;
  }
  .main-nav .nav-submenu {
    display: grid !important;
    grid-template-rows: 0fr;
    max-height: none !important;
    padding: 0 0 0 14px;
    opacity: 0;
    transform: translateY(-5px);
    overflow: hidden;
    visibility: hidden;
    transition: grid-template-rows .34s cubic-bezier(.22,.61,.36,1), opacity .22s ease, transform .34s ease, visibility 0s linear .34s;
  }
  .main-nav .nav-group.is-open .nav-submenu {
    grid-template-rows: 1fr;
    padding-bottom: 4px;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition: grid-template-rows .34s cubic-bezier(.22,.61,.36,1), opacity .22s ease, transform .34s ease, visibility 0s;
  }
  .nav-submenu-inner { min-height: 0; overflow: hidden; }
}

/* Mobile navigation is click-only, full-row, and independent from desktop hover styles. */
@media(max-width:850px) {
  .main-nav > .nav-group { display: block !important; width: 100%; height: auto; }
  .main-nav > .nav-group > .nav-group-toggle {
    position: relative;
    display: flex;
    width: 100% !important;
    height: 48px;
    min-height: 48px;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    padding: 0 !important;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: #46534c !important;
    text-align: left;
    font: 14px/1.7 var(--sans);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .main-nav > .nav-group > .nav-group-toggle:hover,
  .main-nav > .nav-group > .nav-group-toggle:active,
  .main-nav > .nav-group > .nav-group-toggle:focus,
  .main-nav > .nav-group.is-open > .nav-group-toggle { color: #46534c !important; }
  .main-nav .nav-submenu {
    position: static !important;
    display: block !important;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 0 0 14px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: max-height .34s cubic-bezier(.22,.61,.36,1), opacity .22s ease, transform .34s ease, visibility 0s linear .34s;
  }
  .main-nav .nav-group.is-open > .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: max-height .34s cubic-bezier(.22,.61,.36,1), opacity .22s ease, transform .34s ease, visibility 0s;
  }
  .main-nav .nav-submenu-inner { display: block; min-height: 0; overflow: hidden; }
  .main-nav .nav-submenu a {
    display: flex;
    min-height: 40px;
    align-items: center;
    padding: 8px 0;
    border: 0;
    color: #46534c !important;
    font-size: 13px;
    -webkit-tap-highlight-color: transparent;
  }
  .main-nav > a {
    display: flex;
    width: 100%;
    min-height: 48px !important;
    align-items: center;
    padding: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    color: #46534c !important;
    font-size: 14px;
    -webkit-tap-highlight-color: transparent;
  }
  .main-nav > a:hover,
  .main-nav > a:active,
  .main-nav > a:focus { color: #46534c !important; }
  .main-nav .nav-group-toggle::before {
    position: absolute;
    top: 50%;
    right: 5px;
    width: 2px;
    height: 12px;
    margin-top: -6px;
    background: currentColor;
    content: "";
    transition: transform .22s ease;
  }
  .main-nav .nav-group-toggle::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 12px;
    height: 2px;
    margin: -1px 0 0 !important;
    border: 0;
    background: currentColor;
    content: "";
    transform: none !important;
  }
  .main-nav .nav-group.is-open .nav-group-toggle::before { transform: scaleY(0); }
}
@media(max-width:850px) {
  .main-nav.is-open { background: var(--white) !important; }
  .main-nav > .nav-group > .nav-group-toggle { touch-action: manipulation; }
  .main-nav .nav-submenu { margin: 0 0 4px 3px; padding-left: 14px; border-left: 1px solid #e5e1d7; }
  .main-nav .nav-submenu a { border-bottom: 1px solid #e5e1d7; }
  .main-nav .nav-submenu a:last-child { border-bottom: 0; }
}

/* Mobile submenu collapse uses an explicit height so closed groups take no vertical space. */
@media(max-width:850px) {
  .main-nav .nav-submenu {
    display: block !important;
    height: 0;
    max-height: none !important;
    padding: 0 0 0 14px !important;
    overflow: hidden;
    transition: height .34s cubic-bezier(.22,.61,.36,1), opacity .22s ease, transform .34s ease, visibility 0s linear .34s;
  }
  .main-nav .nav-group.is-open > .nav-submenu {
    height: auto;
    padding-bottom: 0 !important;
    transition: height .34s cubic-bezier(.22,.61,.36,1), opacity .22s ease, transform .34s ease, visibility 0s;
  }
}

/* Desktop dropdowns animate on hover exit; mobile uses explicit measured height only. */
@media(min-width:851px) {
  .main-nav .nav-submenu {
    display: block !important;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: max-height .32s cubic-bezier(.22,.61,.36,1), opacity .2s ease, transform .32s ease, visibility 0s linear .32s;
  }
  .nav-group:hover .nav-submenu,
  .nav-group:focus-within .nav-submenu,
  .nav-group.is-open .nav-submenu {
    max-height: 360px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: max-height .32s cubic-bezier(.22,.61,.36,1), opacity .2s ease, transform .32s ease, visibility 0s;
  }
  .main-nav .nav-group.is-dismissed .nav-submenu {
    display: block !important;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-5px);
  }
}
@media(max-width:850px) {
  .main-nav .nav-submenu {
    display: block !important;
    grid-template-rows: none !important;
    height: 0;
    max-height: none !important;
    margin: 0;
    padding: 0 0 0 14px !important;
    overflow: hidden;
    transition: height .34s cubic-bezier(.22,.61,.36,1), opacity .22s ease, transform .34s ease, visibility 0s linear .34s;
  }
  .main-nav .nav-group.is-open > .nav-submenu {
    height: 0;
    padding: 0 0 0 14px !important;
    transition: height .34s cubic-bezier(.22,.61,.36,1), opacity .22s ease, transform .34s ease, visibility 0s;
  }
  .main-nav > a:last-child { border-bottom: 0 !important; }
}
@media(max-width:850px) {
  .main-nav.is-open { padding-bottom: 8px !important; }
}
@media(max-width:850px) {
  .main-nav .nav-submenu a:hover,
  .main-nav .nav-submenu a:active,
  .main-nav .nav-submenu a:focus,
  .main-nav .nav-submenu a.is-current {
    background: transparent !important;
    color: #46534c !important;
    box-shadow: none !important;
  }
}

/* Desktop caret morphs down-chevron → horizontal dash → up-chevron, with a centered fine stroke. */
@media(min-width:851px) {
  .main-nav > .nav-group > .nav-group-toggle {
    position: relative;
    padding-right: 20px;
  }
  .main-nav > .nav-group > .nav-group-toggle::before,
  .main-nav > .nav-group > .nav-group-toggle::after {
    content: "";
    position: absolute;
    top: calc(50% + 1.25px);
    width: 7px;
    height: 1px;
    margin: 0;
    border: 0;
    background: currentColor;
    transition: top .28s cubic-bezier(.22,.61,.36,1), transform .28s cubic-bezier(.22,.61,.36,1);
  }
  .main-nav > .nav-group > .nav-group-toggle::before {
    right: 9px;
    transform-origin: right center;
    transform: rotate(40deg);
  }
  .main-nav > .nav-group > .nav-group-toggle::after {
    right: 2px;
    transform-origin: left center;
    transform: rotate(-40deg);
  }
  .main-nav > .nav-group:hover > .nav-group-toggle::before,
  .main-nav > .nav-group:focus-within > .nav-group-toggle::before,
  .main-nav > .nav-group.is-open > .nav-group-toggle::before,
  .main-nav > .nav-group:hover > .nav-group-toggle::after,
  .main-nav > .nav-group:focus-within > .nav-group-toggle::after,
  .main-nav > .nav-group.is-open > .nav-group-toggle::after {
    top: calc(50% - 3.25px);
  }

  .main-nav > .nav-group:hover > .nav-group-toggle::before,
  .main-nav > .nav-group:focus-within > .nav-group-toggle::before,
  .main-nav > .nav-group.is-open > .nav-group-toggle::before {
    transform: rotate(-40deg);
  }
  .main-nav > .nav-group:hover > .nav-group-toggle::after,
  .main-nav > .nav-group:focus-within > .nav-group-toggle::after,
  .main-nav > .nav-group.is-open > .nav-group-toggle::after {
    transform: rotate(40deg);
  }
}



@media(max-width:850px) {
  .main-nav .nav-group > .nav-group-toggle { border-bottom: 1px solid var(--line); }
  .main-nav .nav-group > .nav-submenu { border-bottom: 0; }
  .main-nav .nav-group.is-open > .nav-group-toggle { border-bottom-color: transparent; }
  .main-nav .nav-group.is-open > .nav-submenu { border-bottom: 1px solid var(--line); }
}
@media(max-width:850px) {
  .main-nav .nav-group.is-open > .nav-submenu {
    position: relative !important;
    border-bottom: 0 !important;
  }
  .main-nav .nav-group.is-open > .nav-submenu::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 10px;
    height: 1px;
    background: var(--line);
    pointer-events: none;
  }
}
@media(max-width:850px) {
  .main-nav .nav-group.is-open > .nav-submenu { border-left: 0 !important; }
  .main-nav .nav-group.is-open > .nav-submenu::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 9px;
    left: 0;
    width: 1px;
    background: var(--line);
    pointer-events: none;
  }
  .main-nav .nav-group.is-open > .nav-submenu::after { left: 0; }
}
@media(max-width:850px) {
  .main-nav .nav-group.is-open > .nav-submenu {
    border-left: 1px solid #e5e1d7 !important;
    padding-bottom: 4px !important;
  }
  .main-nav .nav-group.is-open > .nav-submenu::before { content: none; }
  .main-nav .nav-group.is-open > .nav-submenu::after { left: 10px; }
}
@media(max-width:850px) {
  .main-nav .nav-group.is-open > .nav-submenu {
    border-left: 1px solid #e5e1d7 !important;
    padding-bottom: 16px !important;
  }
  .main-nav .nav-group.is-open > .nav-submenu::before { content: none !important; }
  .main-nav .nav-group.is-open > .nav-submenu::after { left: 10px; }
}
@media(max-width:850px) {
  .main-nav .nav-submenu { margin-left: 3px !important; }
}
@media(max-width:850px) {
  .main-nav .nav-submenu { margin-left: 0 !important; transform: none !important; }
  .main-nav .nav-group.is-open > .nav-submenu {
    margin-left: 0 !important;
    padding-left: 26px !important;
    padding-bottom: 16px !important;
    border-left: 1px solid #e5e1d7 !important;
    transform: none !important;
  }
  .main-nav .nav-group.is-open > .nav-submenu::before { content: none !important; }
  .main-nav .nav-group.is-open > .nav-submenu::after { left: 10px; }
}


/* Canonical mobile submenu geometry and animated separators. */
@media(max-width:850px) {
  .main-nav .nav-submenu {
    position: relative !important;
    box-sizing: border-box !important;
    margin-left: 14px !important;
    margin-right: -14px !important;
    padding: 0 0 0 14px !important;
    border: 0 !important;
    overflow: hidden;
    transform: none !important;
    transition: height .34s cubic-bezier(.22,.61,.36,1), opacity .22s ease, visibility 0s linear .34s !important;
  }
  .main-nav .nav-group.is-open > .nav-submenu {
    margin-left: 14px !important;
    padding: 0 0 16px 14px !important;
    border-left: 0 !important;
    transition: height .34s cubic-bezier(.22,.61,.36,1), opacity .22s ease, visibility 0s !important;
  }
  .main-nav .nav-submenu::before {
    content: "" !important;
    position: absolute;
    top: 0;
    right: auto;
    bottom: auto;
    left: 0;
    width: 1px;
    height: var(--mobile-nav-stem-height, 0px);
    background: #e5e1d7;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .34s cubic-bezier(.22,.61,.36,1);
    pointer-events: none;
  }
  .main-nav .nav-group.is-open > .nav-submenu::before {
    content: "" !important;
    top: 0;
    right: auto;
    bottom: auto;
    left: 0;
    width: 1px;
    height: var(--mobile-nav-stem-height, 0px);
    transform: scaleY(1);
  }
  .main-nav .nav-submenu::after {
    content: "" !important;
    position: absolute;
    top: var(--mobile-nav-divider-y, 0px);
    right: auto;
    bottom: auto;
    left: 2px;
    width: calc(100% - 2px);
    height: 1px;
    background: var(--line);
    transition: top .34s cubic-bezier(.22,.61,.36,1) !important;
    will-change: top;
    pointer-events: none;
  }
  .main-nav .nav-group.is-open > .nav-submenu::after {
    content: "" !important;
    top: var(--mobile-nav-divider-y, 0px);
    right: auto;
    bottom: auto;
    left: 2px;
    width: calc(100% - 2px);
    height: 1px;
  }
  .main-nav .nav-group-toggle::before { width: 1px !important; }
  .main-nav .nav-group-toggle::after { height: 1px !important; }
}



/* Mobile current-page links use the site accent without the heavy active weight. */
@media(max-width:850px) {
  .main-nav > a.is-current,
  .main-nav .nav-submenu a.is-current,
  .main-nav .nav-group.has-current > .nav-group-toggle {
    color: #a87543 !important;
    font-weight: 400 !important;
  }
}

/* Compact detailed forecast rows and center each field vertically. */
.detail-forecast-wrap .daily-card {
  box-sizing: border-box;
  align-items: center;
  align-content: center;
  padding: 8px 12px;
}
@media(min-width:851px) {
  .detail-forecast-wrap .daily-card {
    height: 58px;
    min-height: 58px;
  }
}
@media(max-width:850px) {
  .detail-forecast-wrap .daily-card {
    min-height: 64px;
    padding: 8px 4px;
    row-gap: 3px;
    align-content: center;
  }
}
@media(max-width:600px) {
  .detail-forecast-wrap .daily-card {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    min-height: 62px;
    padding: 7px 3px;
    gap: 2px 10px;
  }
  .detail-forecast-wrap .daily-date,
  .detail-forecast-wrap .daily-temperature {
    grid-row: 1;
    align-self: center;
  }
  .detail-forecast-wrap .daily-condition {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    line-height: 1.35;
  }
  .detail-forecast-wrap .daily-card small {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    text-align: right;
    line-height: 1.35;
    white-space: nowrap;
  }
}

/* The three-day overview is a compact table, not a spaced card stack. */
.weather-page:not(.detail-weather-page) .forecast-panel #forecast-list {
  gap: 0;
}
.weather-page:not(.detail-weather-page) .forecast-panel .daily-card {
  box-sizing: border-box;
  height: 60px;
  min-height: 60px;
  padding: 0 10px;
  align-items: center;
  align-content: center;
}
@media(max-width:850px) {
  .weather-page:not(.detail-weather-page) .forecast-panel .daily-card {
    height: 72px;
    min-height: 72px;
    padding: 0 4px;
  }
}
@media(max-width:600px) {
  .weather-page:not(.detail-weather-page) .forecast-panel .daily-card {
    height: 84px;
    min-height: 84px;
    padding: 4px 3px;
    grid-template-rows: 18px 44px 14px;
    align-content: center;
  }
}

/* Keep desktop dropdowns rendered while a click-collapse transition completes. */
@media(min-width:851px) {
  .main-nav .nav-group.is-closing > .nav-submenu {
    display: block !important;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-5px);
    transition: max-height .34s cubic-bezier(.22,.61,.36,1), opacity .22s ease, transform .34s ease, visibility 0s linear .34s !important;
  }
}

/* Place the desktop navigation underline directly beneath the centered label. */
@media(min-width:851px) {
  .main-nav > a::after {
    bottom: calc(50% - 15px) !important;
  }
}

/* Desktop click-collapse overrides the still-hovered open state, including its caret. */
@media(min-width:851px) {
  .main-nav > .nav-group.is-closing > .nav-submenu {
    display: block !important;
    max-height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-5px) !important;
    transition: max-height .38s cubic-bezier(.22,.61,.36,1), opacity .26s ease, transform .38s ease, visibility 0s linear .38s !important;
  }
  .main-nav > .nav-group.is-closing > .nav-group-toggle::before,
  .main-nav > .nav-group.is-closing > .nav-group-toggle::after,
  .main-nav > .nav-group.is-dismissed > .nav-group-toggle::before,
  .main-nav > .nav-group.is-dismissed > .nav-group-toggle::after {
    top: calc(50% + 1.25px) !important;
  }
  .main-nav > .nav-group.is-closing > .nav-group-toggle::before,
  .main-nav > .nav-group.is-dismissed > .nav-group-toggle::before {
    transform: rotate(40deg) !important;
  }
  .main-nav > .nav-group.is-closing > .nav-group-toggle::after,
  .main-nav > .nav-group.is-dismissed > .nav-group-toggle::after {
    transform: rotate(-40deg) !important;
  }
}

/* Show the compact return-to-today control only when another date is selected. */
.calendar-legend .today-button {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  flex: 0 0 32px;
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0 !important;
  border: 1px solid var(--line) !important;
  border-radius: 50%;
  background: transparent !important;
  color: var(--green) !important;
  font: 500 12px/1 var(--sans) !important;
}
.calendar-legend .today-button:hover { background: #e9e7de !important; }
.calendar-legend .today-button[hidden] { display: none !important; }
.calendar-legend { align-items: center; }
.calendar-legend .today-button { margin-left: auto; flex: 0 0 32px; }


/* The optional today control overlays the legend row so showing it cannot change card height. */
.calendar-legend { position: relative; }
.calendar-legend .today-button {
  position: absolute;
  top: calc(50% + 6px);
  right: 0;
  margin: 0;
  transform: translateY(-50%);
}

/* 新闻文章页 */
/* News article page styles migrated from Fpoew.css and its page-local style block. */
body.article-page .container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 24px;
}
body.article-page .main-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 26px;
  width: 100%;
  min-height: 800px;
  padding: 36px 0 48px;
}
body.article-page .content-area {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: 0 8px 24px rgba(25, 44, 36, .045);
}
body.article-page .content-area.is-full { padding: 0; overflow: hidden; }
body.article-page .sidebar {
  width: 100%;
  height: fit-content;
  margin-bottom: 20px;
  overflow: hidden;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}
body.article-page .sidebar-header {
  padding: 20px;
  background: var(--deep);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}
body.article-page .sidebar-menu { margin: 0; padding: 10px 0; }
body.article-page .sidebar-menu li { list-style: none; }
body.article-page .sidebar-menu li a {
  position: relative;
  display: block;
  padding: 15px 25px;
  border-bottom: 1px solid #f0eee8;
  color: var(--ink);
  font-size: 15px;
}
body.article-page .sidebar-menu li:last-child a { border-bottom: 0; }
body.article-page .sidebar-menu li a:hover,
body.article-page .sidebar-menu li a.active {
  padding-left: 35px;
  background: #f9f7f1;
  color: var(--green);
}
body.article-page .sidebar-menu li a.active::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--green);
  content: "";
}
body.article-page .page-banner {
  position: relative;
  display: flex;
  width: 100%;
  height: 200px;
  align-items: center;
  justify-content: center;
  background: url('../../images/dltxxftp.jpg') center center / cover no-repeat;
}
body.article-page .page-banner::after {
  position: absolute;
  inset: 0;
  background: rgba(81, 38, 40, .62);
  content: "";
}
body.article-page .page-title {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 2px;
}
body.article-page .article-top-area { padding: 30px 40px 10px; }
body.article-page .breadcrumb {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}
body.article-page .breadcrumb span { margin: 0 5px; }
body.article-page .breadcrumb a:hover { color: var(--green); }
body.article-page .article-header { margin-bottom: 20px; text-align: center; }
body.article-page .article-title {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}
body.article-page .article-meta { color: var(--muted); font-size: 14px; }
body.article-page .article-meta span { margin: 0 10px; }
body.article-page #pdf-renderer-box {
  display: flex;
  width: 100%;
  min-height: auto;
  flex-direction: column;
  align-items: center;
  gap: 0;
  background: #fff;
  font-size: 0;
  line-height: 0;
}
body.article-page #mobile-image-box { display: none !important; width: 100%; }
body.article-page .img-responsive { display: block; width: 100%; height: auto; }
body.article-page .pdf-page-canvas { display: block; width: 100% !important; height: auto !important; margin: 0; box-shadow: none; }
body.article-page .loading-spinner {
  padding: 60px;
  color: var(--green);
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}
body.article-page .loading-spinner i {
  display: block;
  margin-bottom: 15px;
  font-size: 30px;
  animation: article-spinner 1s linear infinite;
}
@keyframes article-spinner { to { transform: rotate(360deg); } }
body.article-page .download-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 30px;
  border-top: 1px solid var(--line);
  background: #f7f6f1;
  line-height: 1.6;
  text-align: center;
}
body.article-page .action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  transition: all .3s ease;
  cursor: pointer;
}
body.article-page .dl-btn {
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 10px rgba(81, 38, 40, .2);
}
body.article-page .dl-btn:hover {
  transform: translateY(-2px);
  background: var(--deep);
  color: #fff;
  box-shadow: 0 6px 15px rgba(81, 38, 40, .3);
}
body.article-page .view-btn {
  border: 1px solid var(--green);
  background: #fff;
  color: var(--green);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .05);
}
body.article-page .view-btn:hover {
  transform: translateY(-2px);
  background: #f8f4ed;
  color: var(--green);
  box-shadow: 0 6px 15px rgba(0, 0, 0, .1);
}
@media(max-width:768px) {
  body.article-page .container { max-width: 100vw; padding-inline: 16px; overflow-x: hidden; }
  body.article-page .main-layout { display: flex; min-height: auto; flex-direction: column; gap: 15px; padding: 15px 0; }
  body.article-page .main-layout > aside,
  body.article-page .main-layout > .sidebar { order: 2; }
  body.article-page .main-layout > main,
  body.article-page .main-layout > .content-area { order: 1; }
  body.article-page .content-area { padding: 15px; border-radius: 4px; }
  body.article-page .content-area.is-full { padding: 0; }
  body.article-page .sidebar { margin-bottom: 15px; border-radius: 4px; }
  body.article-page .article-title { font-size: 20px; }
  body.article-page .article-top-area { padding: 20px; }
  body.article-page .download-bar { flex-direction: column; align-items: center; gap: 15px; }
  body.article-page .action-btn { width: 100%; max-width: 250px; }
  body.article-page #pdf-renderer-box { display: none !important; }
  body.article-page #mobile-image-box { display: block !important; }
}
