:root {
  color-scheme: light;
  --forest: #20553f;
  --ink: #202e29;
  --muted: #56665d;
  --line: #dfe6df;
  font-family: "DM Sans","PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 88px }
body { margin: 0; background: #fff; line-height: 1.65 }
a { color: inherit; text-decoration: none }
a:focus-visible, button:focus-visible { outline: 3px solid #cc850e; outline-offset: 4px }
a,button { -webkit-tap-highlight-color: transparent }
button { cursor: pointer; font: inherit }
img { display: block; max-width: 100% }
h1,h2,h3,p { margin: 0 }
.wrap { width: min(1180px, 89%); margin-inline: auto }
.ico { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none }
.symbol-defs { width: 0; height: 0; position: absolute; overflow: hidden }
.skip { position: absolute; top: -100px; left: 16px; padding: 8px 18px; background: white; z-index: 30 }
.skip:focus { top: 8px }
header { background: rgba(255,255,252,.97); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10 }
.head,.brand,.actions,.button,.quiet-button,.header-action,.text-link,.section-head,.charity-items a,.report,.legal,address a,.place,.dialog-top { display: flex; align-items: center }
.head { min-height: 76px; justify-content: space-between; gap: 20px }
.brand { gap: 8px; flex: none }
.brand img { width: 48px; height: 48px; mix-blend-mode: multiply }
.brand strong { display: block; font-size: 21px; font-weight: 850; letter-spacing: .035em; color: var(--forest); line-height: 1.3 }
.brand small { display: block; font-size: 10px; letter-spacing: .055em; color: #54655c; margin-top: 2px }
nav { display: flex; gap: clamp(16px,2.4vw,40px); align-items: center }
nav a { font-size: 14px; padding: 24px 0; position: relative }
nav a[aria-current],nav a:hover { color: var(--forest); font-weight: 650 }
nav a[aria-current]::after { content: ""; position: absolute; bottom: 12px; width: 15px; height: 3px; border-radius: 3px; left: calc(50% - 7px); background: #408259 }
.header-action,.quiet-button { gap: 13px; padding: 8px 17px; border: 1px solid #9bada0; border-radius: 7px; color: var(--forest); font-size: 14px; font-weight: 650 }
.header-action:hover,.quiet-button:hover { background: #e8efe3 }
#menu { display: none }
.hero { --campus: url('assets/weihai-main-building.jpg'); background: #fff5e3 var(--campus) center top / cover no-repeat }
.hero-inner { min-height: clamp(400px,32.7vw,540px); display: flex; align-items: center; padding-block: 40px }
.hero-copy { position: relative }
.place { width: fit-content; gap: 6px; color: #426749; font-weight: 650; font-size: 13px; letter-spacing: .045em }
.hero h1 { font-family: "Microsoft YaHei","PingFang SC",sans-serif; font-size: clamp(62px,6vw,94px); line-height: 1.2; font-weight: 900; color: #193e2e; letter-spacing: .035em; margin: 14px 0 12px }
.hero-copy>p { font-size: clamp(15px,1.3vw,19px); color: #364c3f; font-weight: 500; line-height: 1.9; text-shadow: 0 0 5px #fff7df }
.actions { flex-wrap: wrap; gap: 12px; margin-top: 26px }
.button,.quiet-button { display: inline-flex; justify-content: center; padding: 12px 20px; border-radius: 8px; font-size: 14px; font-weight: bold; gap: 10px }
.button { background: var(--forest); color: white; border: 1px solid var(--forest) }
.button:hover { background: #153c2a }
.quiet-button { background: rgba(255,252,237,.89) }
.section { padding-block: clamp(48px,4.6vw,76px) }
.section-head { justify-content: space-between; gap: 15px; margin-bottom: 24px; align-items: flex-end }


h2 { font-size: clamp(27px,2.3vw,37px); color: #233d30; line-height: 1.4; letter-spacing: .025em }
h3 { font-size: 20px; line-height: 1.5; color: #203c2d }

.service-grid,.social-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px }
.service { position: relative; border-radius: 15px; padding: 23px; overflow: hidden; background: var(--tint); border: 1px solid color-mix(in srgb,var(--shade) 18%,white) }
.s0 { --tint: #f2f7eb; --shade: #46784f }
.s1 { --tint: #edf5fa; --shade: #437e9d }
.s2 { --tint: #fbf6e9; --shade: #95703b }
.s3 { --tint: #f4f1fa; --shade: #7b6b99 }
.service-icon { width: 44px; height: 44px; display: grid; place-items: center; background: color-mix(in srgb,var(--shade) 14%,white); border-radius: 13px; color: var(--shade); margin-bottom: 18px }
.service-icon .ico { width: 24px; height: 24px }
.service p,.social p,.report p,.charity-items p { font-size: 14px; line-height: 1.85; color: var(--muted); margin-top: 7px }
.charity { background: #edf3e8; border-block: 1px solid #dce7d8 }
.charity-grid { display: grid; grid-template-columns: .8fr 1.7fr; gap: 45px; padding-block: 48px }

.charity-items { display: grid; grid-template-columns: 1fr 1fr; gap: 30px }
.charity-items article { border-left: 1px solid #cbdac9; padding-left: 25px; display: flex; flex-direction: column }
.charity-items h3 { font-size: 18px }
.charity-items a,.text-link { font-size: 14px; color: #225e42; font-weight: 650; gap: 6px; width: fit-content }
.charity-items a { padding-top: 15px; margin-top: auto }
.text-link:hover,.charity-items a:hover,address a:hover,.legal a:hover { text-decoration: underline; text-underline-offset: 4px }
.social { border: 1px solid var(--line); border-radius: 14px; padding: 22px }
.platform { display: block; width: 44px; height: 44px; object-fit: contain; border-radius: 10px; margin-bottom: 13px }
.social p { font-size: 12px; margin: 5px 0 18px }
.paper { background: #faf9f5; border-top: 1px solid #e9e8dc }
.report { gap: 28px; padding: 24px 0; border-top: 1px solid #dcdfd6 }
.report:last-child { padding-bottom: 0 }
.source { flex: 0 0 130px; color: var(--forest) }
.source time { display: block; font: 12px/1.8 "DM Sans",Arial,sans-serif; letter-spacing: .05em; color: #617063; margin-top: 3px }
.report h3 { font-size: 19px }
.report:hover h3 { text-decoration: underline; text-underline-offset: 4px }
.report>.ico { margin-left: auto; color: #3d6c50 }
footer { background: #223e30; color: #fff; padding: 17px 0 }

address { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 12px; border-top: 1px solid #53695a; padding-top: 12px; font-size: 14px; font-style: normal }
address a { gap: 9px; padding-block: 2px }
.legal { gap: 20px; font-size: 13px; color: #e0eade; flex-wrap: wrap }
.legal span:first-child { margin-right: auto }
dialog { width: min(425px,92vw); padding: 18px; border: 0; border-radius: 16px; color: var(--ink); max-height: 92dvh; overflow-y: auto }
dialog::backdrop { background: rgba(16,33,24,.62) }
body:has(dialog[open]) { overflow: hidden }
.dialog-top { justify-content: space-between; margin-bottom: 10px }
.dialog-top h2 { font-size: 20px }
.dialog-top button,#menu { border: 0; border-radius: 6px; padding: 8px; color: var(--forest); background: #edf3ec; line-height: 1 }
#card-image { max-height: 58vh; width: 100%; object-fit: contain }

dialog .button { width: 100%; margin-top: 12px }
@media (max-width:960px) {
  .head { min-height: 66px }
  .wrap { width: 92% }
  nav { gap: 17px }
  nav a { font-size: 13px }
  .service,.social { padding: 17px }
  .charity-grid { grid-template-columns: 1fr; gap: 24px }

}
@media (max-width:740px) {
  html { scroll-padding-top: 70px }
  .head { gap: 12px; min-height: 62px }
  .brand img { width: 40px; height: 40px }
  .brand strong { font-size: 18px }
  .header-action { margin-left: auto; font-size: 12px; padding: 5px 10px }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 12px 4%; background: white; flex-wrap: wrap; box-shadow: 0 5px 10px #143e2712 }
  nav.open { display: flex }
  nav a { padding: 7px 2px }
  nav a[aria-current]::after { bottom: 0 }
  #menu { display: grid; place-items: center; width: 35px; height: 35px }
  .hero {
    background-color: #fff5e3;
    background-image: linear-gradient(90deg, rgba(255,248,231,.95) 0%, rgba(255,248,231,.77) 38%, rgba(255,248,231,.14) 73%, transparent 90%), var(--campus);
    background-position: center, 56% top;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .hero-inner { min-height: clamp(245px, 60vw, 310px); padding: 28px 5%; width: 100% }
  .hero h1 { font-size: clamp(44px, 13vw, 57px); margin: 0 0 8px }
  .hero-copy>p { font-size: 15px }
  .actions { margin-top: 17px }
  .button,.quiet-button { padding: 10px 13px; font-size: 13px }
  .section { padding-block: 36px }
  .section-head { margin-bottom: 18px }

  .service-grid,.social-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px }
  .service h3,.social h3 { font-size: 17px }
  .service p { font-size: 13px }
  .service-icon { margin-bottom: 12px }
  .charity-items { grid-template-columns: 1fr; gap: 22px }
  .charity-grid { padding-block: 32px }
  .social p { overflow-wrap: anywhere }
  .report { align-items: flex-start; gap: 12px; flex-wrap: wrap }
  .report>div:nth-child(2) { width: 100% }
  .report>.ico { display: none }
  .source { flex: 1 1 100%; display: flex; gap: 12px; align-items: center }
  .legal { gap: 5px 15px }
  .legal span:first-child { width: 100% }
  .section-head .text-link { font-size: 12px }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } }
.honors-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px }
.honor { display: block; min-width: 0 }
.honor img { width: 100%; height: auto; aspect-ratio: 1.4; object-fit: contain; background: #fafaf8; border: 1px solid var(--line); border-radius: 6px }
.honor h3 { margin: 12px 0 3px; font-size: 17px }
.honor:hover h3 { text-decoration: underline; text-underline-offset: 4px }
.honor p,.honor small { display: block; font-size: 13px; line-height: 1.65; color: var(--muted) }
@media (max-width: 960px) { .honors-grid { grid-template-columns: repeat(2,minmax(0,1fr)) } }
@media (max-width: 480px) { .honors-grid { grid-template-columns: 1fr } }
.community-intro { max-width: 48em; color: var(--muted); margin: -5px 0 23px }
.forum-guide { max-width: 790px; padding-block: clamp(36px,6vw,80px) }
.forum-guide h1 { font-size: clamp(32px,5vw,54px); line-height: 1.25; color: #193e2e }
.guide-lead { margin-top: 20px; font-size: clamp(16px,2vw,19px); line-height: 1.9 }
.channel-entry { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-top: 30px; padding: 22px; border-radius: 12px; background: #edf5ed }
.forum-guide h2 { font-size: clamp(21px,3vw,27px) }
.channel-entry p,.guide-section>p { margin-top: 8px }
.guide-section { margin-top: 36px }
.guide-boards { margin: 20px 0 0 }
.guide-boards dt { padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; color: var(--forest) }
.guide-boards dd { margin: 4px 0 14px; color: var(--muted) }
.guide-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px }
.guide-links a { color: var(--forest); text-decoration: underline; text-underline-offset: 4px }
