﻿:root {
  color-scheme: light;
  --ink: #172126;
  --muted: #65747b;
  --panel: #ffffff;
  --line: #dfe7e5;
  --bg: #f5f8f6;
  --teal: #0b766e;
  --teal-dark: #064d49;
  --amber: #c97918;
  --coral: #c9553d;
  --graphite: #243034;
  --shadow: 0 18px 50px rgba(18, 35, 40, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 248, 246, 0.9);
  border-bottom: 1px solid rgba(36, 48, 52, 0.1);
  backdrop-filter: blur(18px);
}
.topbar {
  width: min(1160px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 0.84rem;
}
.nav-links { display: flex; gap: 24px; color: var(--muted); font-size: 0.96rem; }
.nav-links a:hover, .text-link:hover { color: var(--teal); }
.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 780px);
  overflow: hidden;
  display: grid;
  align-items: center;
}
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 25, 27, 0.9), rgba(12, 25, 27, 0.66) 39%, rgba(12, 25, 27, 0.12) 76%),
    linear-gradient(0deg, rgba(12, 25, 27, 0.26), transparent 34%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 120px;
  color: #fff;
}
.kicker, .section-kicker {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero h1 { max-width: 700px; margin: 0; font-size: clamp(2.8rem, 7vw, 5.8rem); line-height: 0.98; letter-spacing: 0; }
.hero-copy { max-width: 560px; margin: 24px 0 0; color: rgba(255, 255, 255, 0.84); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.primary-action, .secondary-action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 750;
}
.primary-action { background: #f4b24f; color: #182324; }
.secondary-action { border: 1px solid rgba(255, 255, 255, 0.36); color: #fff; }
.summary-band { background: #0d2325; color: #fff; }
.summary-grid, .content-section, .calendar-band, .site-footer { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, 0.14); }
.summary-grid article { min-height: 116px; padding: 24px; background: #0d2325; }
.summary-label { display: block; margin-bottom: 8px; color: rgba(255, 255, 255, 0.58); font-size: 0.9rem; }
.summary-grid strong { font-size: 1.2rem; }
.content-section { padding: 72px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-heading h2, .calendar-copy h2 { margin: 0; font-size: clamp(1.9rem, 4vw, 3.1rem); letter-spacing: 0; line-height: 1.08; }
.updated-pill { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; color: var(--muted); background: rgba(255, 255, 255, 0.72); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.filter-button { min-height: 40px; border: 1px solid var(--line); border-radius: 8px; padding: 0 14px; background: #fff; color: var(--muted); cursor: pointer; }
.filter-button.active { border-color: var(--teal); background: var(--teal); color: #fff; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.news-card, .book-card { min-height: 246px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow); }
.news-card { display: flex; flex-direction: column; padding: 22px; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 0.86rem; }
.tag { border-radius: 8px; padding: 5px 9px; background: #eef5f1; color: var(--teal-dark); font-weight: 750; }
.news-card h3 { margin: 18px 0 10px; font-size: 1.22rem; line-height: 1.25; }
.news-card p { margin: 0; color: var(--muted); }
.impact { margin-top: auto; padding-top: 18px; color: var(--coral); font-weight: 750; }
.book-section { padding-top: 24px; }
.text-link { color: var(--teal-dark); font-weight: 750; }
.book-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.book-card { overflow: hidden; }
.book-cover { min-height: 150px; padding: 18px; display: flex; align-items: end; color: #fff; background: var(--book-bg); }
.book-cover span { max-width: 11ch; font-size: 1.3rem; font-weight: 850; line-height: 1.06; }
.book-body { padding: 18px; }
.book-body h3 { margin: 0 0 8px; font-size: 1.04rem; line-height: 1.25; }
.book-body p { margin: 0 0 8px; color: var(--muted); font-size: 0.94rem; }
.calendar-band { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 28px; padding: 64px 0 84px; }
.calendar-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.calendar-grid article { min-height: 120px; border: 1px solid var(--line); border-radius: 8px; padding: 16px; background: #fff; }
.calendar-grid span { display: block; margin-bottom: 14px; color: var(--amber); font-weight: 800; }
.calendar-grid strong { line-height: 1.2; }
.site-footer { display: flex; justify-content: space-between; gap: 16px; padding: 28px 0 34px; border-top: 1px solid var(--line); color: var(--muted); }
@media (max-width: 900px) {
  .news-grid, .book-grid, .calendar-band, .summary-grid { grid-template-columns: 1fr 1fr; }
  .calendar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .topbar { height: auto; min-height: 64px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; padding: 10px 0; }
  .nav-links { width: 100%; justify-content: space-between; gap: 12px; }
  .hero { min-height: 620px; }
  .hero-overlay { background: linear-gradient(0deg, rgba(12, 25, 27, 0.92), rgba(12, 25, 27, 0.44)); }
  .hero-content { padding-top: 86px; }
  .summary-grid, .news-grid, .book-grid, .calendar-band, .calendar-grid { grid-template-columns: 1fr; }
  .section-heading, .site-footer { align-items: flex-start; flex-direction: column; }
  .updated-pill { width: 100%; }
}

.news-card {
  padding: 0;
}

.news-link {
  min-height: 246px;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.read-more {
  display: inline-flex;
  margin-top: 14px;
  color: var(--teal-dark);
  font-weight: 800;
}

.weather-band {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 8px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.weather-copy,
.weather-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.weather-copy {
  padding: 24px;
}

.weather-copy h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.weather-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.weather-main {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 14px;
}

.weather-main strong {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
}

.weather-main span {
  color: var(--teal-dark);
  font-weight: 850;
  font-size: 1.2rem;
}

.weather-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.weather-stats span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--muted);
  background: #f8fbfa;
}

.weather-card p {
  margin: 0;
  color: var(--muted);
}

.detail-main {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 84px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
}

.detail-article,
.detail-aside {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.detail-article {
  padding: clamp(24px, 5vw, 48px);
}

.detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}

.detail-article h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
}

.detail-summary {
  margin: 22px 0 34px;
  color: var(--muted);
  font-size: 1.16rem;
}

.detail-article section {
  margin-top: 30px;
}

.detail-article h2,
.detail-aside h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.detail-article p,
.action-list {
  color: var(--muted);
}

.action-list {
  margin: 0;
  padding-left: 20px;
}

.action-list li + li {
  margin-top: 10px;
}

.detail-aside {
  align-self: start;
  padding: 22px;
  position: sticky;
  top: 92px;
}

.related-book {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.related-book strong,
.related-book span {
  display: block;
}

.related-book span,
.related-book p {
  color: var(--muted);
}

.related-book p {
  margin: 8px 0 0;
}

.back-link {
  display: inline-flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
}

@media (max-width: 900px) {
  .weather-band,
  .detail-main {
    grid-template-columns: 1fr;
  }

  .detail-aside {
    position: static;
  }
}
