:root {
  --red: #b30d1f;
  --red-dark: #8f0a18;
  --red-deep: #6f0812;
  --red-soft: #fff3f3;
  --ink: #252832;
  --muted: #747b86;
  --line: #eadfdd;
  --soft-line: #f1e8e5;
  --bg: #f7f4f1;
  --paper: #fff;
  --pale: #fbf7f5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.58;
}

a { color: inherit; text-decoration: none; }

.site {
  max-width: 1180px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  box-shadow: 0 0 0 1px rgba(120, 74, 64, .08);
}

.header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.nav {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--red-dark);
  font-weight: 900;
  font-size: 20px;
  white-space: nowrap;
}

.brand-mark {
  width: 20px;
  height: 20px;
  border: 3px solid var(--red);
  transform: rotate(45deg);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--red);
}

.links {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.links a {
  min-width: 58px;
  text-align: center;
  padding: 19px 10px 16px;
  border-bottom: 3px solid transparent;
  color: #424650;
  font-size: 13px;
  font-weight: 700;
}

.links a.active,
.links a:hover {
  color: var(--red-dark);
  border-color: var(--red);
}

.page {
  padding: 22px 26px 34px;
}

.home-lead {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 18px;
  margin-bottom: 18px;
}

.lead-card {
  min-height: 186px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #8f0a18 0%, #c9192d 60%, #df4b4f 100%);
  color: #fff;
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}

.lead-card.secondary {
  background: #fff;
  color: var(--ink);
}

.label {
  display: inline-block;
  color: inherit;
  opacity: .78;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 9px;
}

.lead-card h1,
.lead-card h2 {
  max-width: 510px;
  margin: 0 0 10px;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: 0;
}

.lead-card p {
  max-width: 560px;
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  opacity: .94;
}

.lead-card.secondary p {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  min-height: 32px;
  padding: 6px 12px;
  background: #fff;
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 800;
  border-radius: 2px;
  margin-top: 14px;
}

.btn.red {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}

.btn.disabled,
.topic-card .btn.disabled {
  color: var(--red-dark);
  background: #fff;
  border-color: #e9cfcc;
  cursor: default;
}

.quick-months {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  background: var(--pale);
  padding: 10px 12px;
  margin-bottom: 18px;
  overflow-x: auto;
}

.quick-months strong {
  color: var(--red-dark);
  font-size: 14px;
  white-space: nowrap;
}

.quick-months a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  height: 26px;
  border: 1px solid #e3c8c6;
  background: #fff;
  color: #7a3036;
  font-size: 12px;
  font-weight: 800;
}

.home-columns {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 18px;
}

.panel {
  border: 1px solid var(--line);
  background: #fff;
  min-width: 0;
}

.panel-title {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 14px;
}

.panel-title h2,
.panel-title h3 {
  margin: 0;
  color: var(--red-dark);
  font-size: 15px;
  font-weight: 900;
}

.panel-title a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.news-list {
  padding: 4px 14px 8px;
}

.news-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 48px;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid var(--soft-line);
}

.news-item:last-child { border-bottom: 0; }

.date-pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 24px;
  color: #fff;
  background: var(--red);
  font-size: 11px;
  font-weight: 900;
  padding: 3px 6px;
  white-space: nowrap;
}

.date-pill.light {
  color: var(--red-dark);
  background: var(--red-soft);
  border: 1px solid #efcaca;
}

.news-title {
  margin: 0 0 3px;
  color: #222630;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
}

.news-summary {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-more {
  align-self: center;
  justify-self: end;
  color: var(--red-dark);
  border: 1px solid #efcaca;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 7px;
}

.sub-list {
  padding: 8px 14px 12px;
}

.sub-list a,
.sub-list div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--soft-line);
  font-size: 12px;
}

.sub-list a:last-child,
.sub-list div:last-child { border-bottom: 0; }

.sub-list b {
  color: var(--red-dark);
}

.sub-list span {
  color: #4b515c;
}

.sub-list .topic-empty,
.topic-empty {
  display: block;
  padding: 12px 0;
  border-bottom: 0;
}

.topic-empty b {
  display: block;
  color: var(--red-dark);
  font-size: 14px;
  margin-bottom: 6px;
}

.topic-empty span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.topic-empty.wide {
  padding: 18px 14px;
}

.page-title {
  border-bottom: 2px solid var(--red);
  padding: 18px 0 12px;
  margin-bottom: 18px;
}

.page-title .label {
  color: var(--red-dark);
  opacity: 1;
}

.page-title h1 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.2;
}

.page-title p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.topic-meta,
.topic-date {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-top: 9px;
  padding: 3px 8px;
  border-left: 3px solid var(--red);
  background: var(--pale);
  color: #7a3036;
  font-size: 12px;
  font-weight: 800;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: start;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--pale);
}

.filter-row label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7a3036;
  font-size: 12px;
  font-weight: 900;
}

.filter-row select {
  height: 30px;
  min-width: 106px;
  border: 1px solid #e3c8c6;
  background: #fff;
  color: #4b2026;
  padding: 0 28px 0 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  border-radius: 0;
}

.filter-row span {
  padding: 4px 10px;
  border: 1px solid #e9cfcc;
  background: #fff;
  color: #7a3036;
  font-size: 12px;
  font-weight: 800;
}

.filter-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.month-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
}

.month-card,
.topic-card,
.service-row {
  border: 1px solid var(--line);
  background: #fff;
  padding: 14px;
}

.month-card b,
.topic-card h3,
.service-row h3 {
  color: var(--red-dark);
  margin: 0 0 8px;
  font-size: 17px;
}

.month-card p,
.topic-card p,
.service-row p {
  color: var(--muted);
  margin: 0;
  font-size: 13px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
}

.topic-card {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-list {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.article {
  border: 1px solid var(--line);
  background: #fff;
  padding: 20px 22px;
}

.article h2 {
  color: var(--red-dark);
  border-left: 4px solid var(--red);
  padding-left: 10px;
  font-size: 18px;
  margin: 20px 0 10px;
}

.article p {
  color: #4f5661;
  font-size: 14px;
}

.topic-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.topic-brief,
.topic-points {
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px 20px;
  margin-bottom: 14px;
}

.topic-brief {
  border-top: 4px solid var(--red);
}

.topic-brief h2,
.topic-points h2 {
  margin: 0 0 10px;
  color: var(--red-dark);
  font-size: 18px;
}

.topic-brief p {
  margin: 0;
  color: #3e444f;
  font-size: 15px;
  line-height: 1.85;
  font-weight: 700;
}

.topic-points ul {
  margin: 0;
  padding-left: 20px;
}

.topic-points li {
  color: #4f5661;
  font-size: 14px;
  line-height: 1.75;
  margin: 6px 0;
}

.topic-article {
  padding: 20px 24px 24px;
}

.topic-article p {
  color: #3f4650;
  font-size: 15px;
  line-height: 1.9;
  text-align: justify;
}

.source-list {
  margin: 0;
  padding-left: 22px;
}

.source-list li {
  color: #4f5661;
  font-size: 13px;
  line-height: 1.8;
  margin: 5px 0;
}

.source-list a {
  color: var(--red-dark);
  border-bottom: 1px solid #e9cfcc;
}

.topic-card-link {
  color: inherit;
}

.topic-card-link:hover {
  border-color: #d6aaa5;
  background: #fffdfc;
}

.policy-card-link {
  display: block;
  color: inherit;
}

.policy-card-link:hover {
  border-color: #d6aaa5;
  background: #fffdfc;
}

.policy-card-link p {
  margin-top: 10px;
  line-height: 1.7;
}

.topic-article-card {
  border-left: 4px solid var(--red);
}

.topic-article-card h3 {
  font-size: 18px;
}

.topic-card-link p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.topic-side {
  position: sticky;
  top: 12px;
}

.topic-nav-list a.active {
  background: var(--red-soft);
}

.topic-nav-list a.active b {
  color: var(--red-deep);
}

.footer {
  border-top: 1px solid var(--line);
  color: #878088;
  text-align: center;
  font-size: 12px;
  padding: 14px 12px 20px;
}

.empty {
  padding: 18px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 920px) {
  .nav { height: auto; align-items: flex-start; flex-direction: column; padding: 14px 16px; }
  .links { justify-content: flex-start; }
  .links a { padding: 8px 9px; min-width: auto; }
  .home-lead, .home-columns, .two-col { grid-template-columns: 1fr; }
  .month-grid, .topic-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .site { box-shadow: none; }
  .page { padding: 14px 12px 26px; }
  .lead-card { padding: 18px; min-height: 170px; }
  .lead-card h1, .lead-card h2 { font-size: 22px; }
  .news-item { grid-template-columns: 1fr 42px; }
  .news-item .date-pill { grid-column: 1 / -1; width: max-content; }
  .filter-row label, .filter-row select { width: 100%; }
  .filter-count { width: 100%; margin-left: 0; }
  .month-grid, .topic-grid { grid-template-columns: 1fr; }
}
