:root {
  color-scheme: light;
  --ink: #21372b;
  --green: #21563d;
  --deep: #173f2e;
  --muted: #53675a;
  --border: #dbe2d7;
  --soft: #edf2e9;
  --cream: #f6f7f2;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: 1rem/1.7 "Microsoft YaHei", "PingFang SC", system-ui, sans-serif; color: var(--ink); background: var(--cream); }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .18em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid #8f681f; outline-offset: 3px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 10; padding: 8px 14px; background: #fff; }
.utilities { background: #eaf0e6; border-bottom: 1px solid #dce5d7; color: #4a6050; font-size: .875rem; }
.utility-row, .masthead, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.utility-row { min-height: 37px; }
.utility-row div, .footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.masthead { min-height: 104px; }
.brand { display: inline-flex; align-items: center; gap: 14px; font-weight: 700; font-size: clamp(1.15rem, 2.4vw, 1.74rem); line-height: 1.35; }
.brand:hover { text-decoration: none; }
.brand img { flex-shrink: 0; object-fit: contain; }
.brand small { display: block; color: #566554; font-size: .875rem; font-weight: 400; margin-top: 4px; }
.search-form { display: flex; flex-shrink: 0; }
.search-form input { width: 178px; min-width: 0; padding: 6px 10px; color: var(--ink); background: #fff; border: 1px solid #cbd7ca; border-right: 0; }
.search-form button, .comments button, .member-form button { padding: 6px 16px; color: #fff; background: var(--green); border: 1px solid var(--green); }
.nav-band { background: var(--deep); border-bottom: 3px solid #a38b5d; }
.menu ul { list-style: none; padding: 0; margin: 0; }
.menu > ul { display: flex; }
.menu > ul > li { position: relative; flex: 1 1 auto; text-align: center; }
.menu > ul > li > a { color: #f7f8f2; display: block; padding: .72rem .5rem; border-left: 1px solid #ffffff19; white-space: nowrap; }
.menu > ul > li:last-child > a { border-right: 1px solid #ffffff19; }
.menu a:hover, .menu [aria-current], .menu .parent-active { text-decoration: none; background: #327251; }
.menu .dropdown { display: none; position: absolute; z-index: 3; min-width: 100%; width: max-content; padding: 4px 0; background: #fff; border: 1px solid var(--border); text-align: left; box-shadow: 0 6px 15px #192c2122; }
.menu li:hover .dropdown, .menu li:focus-within .dropdown { display: block; }
.dropdown a { display: block; padding: 6px 14px; }
.dropdown a:hover, .dropdown a[aria-current] { background: var(--soft); }
.main { padding-block: 22px 46px; }
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(320px, 31vw, 378px); color: #fff; background: #213c27; overflow: hidden; }
.hero img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero img { object-fit: cover; object-position: 64% center; z-index: -2; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(90deg,#142f22bf 0%,#172e2492 36%,transparent 70%); }
.hero-copy { padding: 22px 7%; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.35rem); line-height: 1.22; font-weight: 650; letter-spacing: .07em; }
.hero p { margin-top: 16px; color: #f0f3e8; font-size: clamp(1rem,1.6vw,1.125rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-actions a { padding: 6px 18px; background: #f5f0de; border: 1px solid #f5f0de; color: #193b2b; }
.hero-actions a + a { background: #172b2188; color: #fff; }
.quick { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); background: #fff; border: 1px solid var(--border); margin-block: 18px 22px; }
.quick a { padding: 15px 18px; }
.quick a + a { border-left: 1px solid var(--border); }
.quick strong { display: block; font-size: 1.1rem; }
.quick span { display: block; font-size: .875rem; color: var(--muted); margin-top: 4px; }
.columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(245px, 306px); gap: 22px; align-items: start; }
.home-channels { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.panel { background: #fff; border: 1px solid var(--border); min-width: 0; }
.section-head, .panel-title, .panel-heading { background: #edf2e9; border-bottom: 1px solid var(--border); color: var(--deep); padding: 10px 15px; font-size: 1rem; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.section-head h2 { font-size: 1.02rem; }
.section-head > a { font-size: .875rem; }
.home-items, .text-links, .directory { list-style: none; padding: 4px 14px; margin: 0; }
.home-items li, .text-links li { padding: 8px 0; border-bottom: 1px dotted #d4ddd4; }
.home-items li:last-child, .text-links li:last-child { border-bottom: 0; }
.home-items li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.home-items time, .entry-list time, .reading-head time { white-space: nowrap; color: var(--muted); font-size: .875rem; }
.sidebar { display: grid; gap: 16px; }
.text-links { font-size: .94rem; }
.text-links li { position: relative; padding-left: 12px; }
.text-links li::before { content: ""; background: #7a997c; width: 4px; height: 4px; position: absolute; left: 1px; top: 1.15rem; }
.directory { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 9px; padding: 12px 15px; font-size: .9rem; }
.breadcrumb { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; margin: 0 0 12px; }
.list-header, .reading-head { padding: clamp(18px,3vw,30px); background: #f2f5ee; border-bottom: 1px solid var(--border); }
.list-header h1, .reading-head h1 { color: var(--deep); font-size: clamp(1.45rem,3vw,2rem); line-height: 1.42; }
.list-header p, .reading-head p { margin-top: 6px; color: var(--muted); }
.reading-head p { display: flex; gap: 12px; align-items: baseline; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px clamp(16px,3vw,28px) 0; }
.subnav a { border: 1px solid var(--border); padding: 4px 9px; background: var(--cream); font-size: .9rem; }
.entry-list { list-style: none; padding: 0 clamp(16px,3vw,28px); margin: 0; }
.entry-list li { padding-block: 16px; border-bottom: 1px solid var(--border); }
.entry-list li:last-child { border-bottom: 0; }
.entry-list h2 { font-size: 1.125rem; line-height: 1.5; }
.entry-list p { color: var(--muted); margin-block: 3px; }
.questions li { display: flex; gap: 13px; align-items: start; }
.q-label { background: var(--soft); border: 1px solid var(--border); color: var(--green); padding: 1px 7px; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; padding: 14px; }
.pagination a, .pagination span { border: 1px solid var(--border); padding: 3px 10px; }
.pagination span { background: var(--green); color: #fff; }
.prose { padding: clamp(17px, 4vw, 36px); overflow-wrap: anywhere; line-height: 1.9; }
.prose p + p { margin-top: .9em; }
.prose h2 { font-size: 1.24rem; margin: 1.35em 0 .38em; line-height: 1.5; color: var(--deep); }
.prose h2:first-child { margin-top: 0; }
.prose li + li { margin-top: .3em; }
.question-intro { background: var(--soft); padding: 12px 14px; border-left: 3px solid #85a68a; }
.answer { border: 1px solid var(--border); padding: 13px 15px; margin-top: 10px; }
.answer h3 { font-size: 1rem; color: var(--green); margin-bottom: 4px; }
.adjacent, .comments { margin-top: 16px; }
.adjacent { padding: 7px 15px; }
.adjacent a { display: block; margin: 5px 0; }
.comments-body, .empty, .member-body { padding: 16px; }
.comments textarea { display: block; width: 100%; padding: 8px; border: 1px solid var(--border); margin: 6px 0 9px; }
.site-footer { border-top: 3px solid #708b70; background: #e9efe5; padding: 20px 0; }
.friends { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; border-bottom: 1px solid #cbd8c9; padding-bottom: 10px; margin-bottom: 12px; }
.friends h2, .friends span, .footer-bottom { font-size: .875rem; }
.friends span { color: var(--muted); }
.friends ul { display: flex; flex-wrap: wrap; gap: 7px 16px; padding: 0; margin: 0; list-style: none; }
.footer-brand { font-weight: 700; }
.member-form { max-width: 420px; }
.member-form label, .member-form input { display: block; }
.member-form input { width: 100%; padding: 7px; border: 1px solid var(--border); margin-bottom: 9px; }
@media (max-width: 930px) {
  .columns { grid-template-columns: minmax(0, 1fr) minmax(215px, 29%); gap: 14px; }
  .home-channels { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 28px); }
  .utilities .utility-row > span { display: none; }
  .utilities .utility-row { justify-content: flex-end; }
  .masthead { flex-wrap: wrap; gap: 9px; padding-block: 12px; }
  .brand img { width: 42px; height: 42px; }
  .search-form { width: 100%; }
  .search-form input { flex: 1; }
  .menu > ul { flex-wrap: wrap; justify-content: center; }
  .menu > ul > li { flex: 0 0 33.333%; }
  .menu > ul > li > a { padding: 6px 4px; font-size: .875rem; border: 0; }
  .menu .dropdown, .menu li:hover .dropdown, .menu li:focus-within .dropdown { display: none; }
  .main { padding-top: 14px; }
  .hero { min-height: 300px; }
  .hero img { object-position: 60% center; }
  .hero::after { background: linear-gradient(90deg,#142f22e8 6%,#142f229f 68%,#142f2266); }
  .hero-break { display: none; }
  .quick { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .quick a + a { border-left: 0; }
  .quick a:nth-child(even) { border-left: 1px solid var(--border); }
  .quick a:nth-child(n+3) { border-top: 1px solid var(--border); }
  .columns { grid-template-columns: minmax(0,1fr); }
  .footer-bottom { align-items: start; flex-direction: column; gap: 9px; }
}
