﻿:root {
  color-scheme: light;
  --ink: #163331;
  --muted: #41615e;
  --teal: #009991;
  --deep: #005f59;
  --paper: #edf7f5;
  --line: #cee4df;
  --orange: #eb5514;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--deep); text-underline-offset: .2em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid #a63b09; outline-offset: 3px; }
.wrap { width: min(100% - 2rem, 74rem); margin-inline: auto; }
.skip { position: fixed; top: .6rem; left: .8rem; z-index: 2; transform: translateY(-160%); padding: .65rem 1rem; background: white; }
.skip:focus { transform: none; }
.header { border-top: .3rem solid var(--teal); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .75rem; padding-block: .55rem; }
.brand { width: fit-content; }
.brand img { width: 3.375rem; }
.desktop { display: none; }
.header ul, .map, .cards { list-style: none; padding: 0; margin: 0; }
.header nav a, .mobile summary { min-height: 44px; padding: .55rem .75rem; font-weight: 700; }
.header nav a { display: flex; align-items: center; text-decoration: none; }
.header nav :is(.active, [aria-current="page"]) { background: var(--paper); border-radius: .25rem; box-shadow: inset 0 -3px var(--teal); }
.mobile summary { cursor: pointer; background: var(--paper); border-radius: .25rem; }
.mobile[open] { display: contents; }
.mobile[open] summary { grid-column: 2; }
.mobile nav { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: .4rem; }
.mobile ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
main { flex: 1; padding-block: clamp(1.5rem, 4vw, 3.25rem) 4.25rem; overflow-wrap: anywhere; }
h1, h2 { line-height: 1.25; }
h1 { margin: 0 0 1.3rem; font-size: clamp(1.95rem, 4.75vw, 3.85rem); letter-spacing: -.035em; }
h2 { margin: 0 0 .9rem; font-size: clamp(1.4rem, 2.4vw, 2rem); }
section { margin-block: 2.65rem; }
.crumb { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; margin-bottom: .5rem; color: var(--muted); }
.crumb a, footer a, .map a { display: inline-flex; align-items: center; min-height: 44px; }
.lead { display: grid; align-items: center; gap: 1.3rem; }
.lead p { max-width: 39em; font-size: clamp(1.05rem, 2vw, 1.35rem); margin: 0; color: var(--muted); }
.lead img { width: 100%; border-radius: .35rem; }
.home .lead { gap: 0; background: var(--paper); border-radius: .5rem; border-top: .25rem solid var(--orange); }
.home .lead > div { padding: clamp(1.1rem, 4.5vw, 3rem); }
.home .lead img { border-radius: 0 0 .5rem .5rem; }
.actions { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: 1.3rem; }
.actions a { display: inline-flex; min-height: 44px; align-items: center; padding: .55rem 1rem; background: var(--deep); color: #fff; border-radius: .25rem; text-decoration: none; font-weight: 700; }
.actions a + a { background: var(--paper); color: var(--deep); box-shadow: inset 0 0 0 1px var(--line); }
.cards, .map { display: grid; gap: .95rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.cards li { display: flex; min-width: 0; background: var(--paper); border-radius: .4rem; }
.cards a { display: flex; flex-direction: column; width: 100%; color: var(--ink); text-decoration: none; }
.cards a:hover strong { color: var(--deep); text-decoration: underline; }
.cards img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: .4rem .4rem 0 0; }
.cards a > div { padding: 1rem 1.15rem; }
.cards strong { font-size: 1.08rem; }
.cards p { color: var(--muted); margin: .35rem 0 0; }
.archive { max-width: 57rem; }
.archive-date { color: var(--muted); }
.archive img { margin-block: 1rem; }
main details { max-width: 56rem; border-top: 1px solid var(--line); }
main details:last-child { border-bottom: 1px solid var(--line); }
main summary { cursor: pointer; min-height: 44px; padding: .7rem .25rem; font-weight: 700; }
main details p { margin: 0; padding: .15rem .8rem 1rem; }
footer { padding-block: 1rem; background: #113d38; color: white; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
footer a { color: white; }
footer a:hover { color: #def4ef; }

@media (min-width: 48rem) {
  .desktop, .desktop ul { display: flex; }
  .mobile { display: none; }
  .lead:has(img) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .home .lead:has(img) { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
  .home .lead img { border-radius: 0 .5rem .5rem 0; height: 100%; object-fit: cover; }
  .home .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

@media(pointer:coarse){header nav a,.mobile summary{display:flex;align-items:center;min-height:44px}.mobile summary{display:list-item;align-content:center}}
