:root {
  --blue: #2f6bff;
  --orange: #ff7a1a;
  --text: #1c2430;
  --muted: #8b95a6;
  --bg: #f5f7fb;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
}
a { color: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0);
}
header {
  position: sticky; top: 0; z-index: 20; background: #fff;
  box-shadow: 0 1px 0 rgba(22, 40, 80, .06);
}
.bar {
  max-width: 1200px; margin: 0 auto; height: 72px;
  display: flex; align-items: center; gap: 24px; padding: 0 20px;
}
.logo { display: flex; align-items: center; text-decoration: none; flex: none; }
.logo img { height: 48px; width: 48px; border-radius: 10px; display: block; object-fit: cover; }
nav { display: flex; gap: 26px; margin-right: auto; }
nav a { text-decoration: none; font-size: 15px; color: #333; }
nav a:hover { color: var(--blue); }
.actions { display: flex; gap: 10px; flex: none; }
.btn {
  height: 40px; padding: 0 18px; border: 0; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; cursor: pointer;
}
.btn.blue { background: var(--blue); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 28px 20px 10px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: #fff; border-radius: 16px; padding: 26px 22px 20px; min-height: 248px;
  display: flex; flex-direction: column;
  box-shadow: 0 8px 24px rgba(32, 56, 100, .045);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(32, 56, 100, .08); }
.icon {
  width: 52px; height: 52px; border-radius: 50%; background: #e8f1ff; color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.icon svg { width: 26px; height: 26px; }
.card h3 { margin: 16px 0 8px; font-size: 16px; line-height: 1.45; }
.card p {
  margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.75; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.more {
  margin-top: 16px; color: var(--blue); font-weight: 600; font-size: 14px; text-decoration: none;
}
.detail { padding-top: 8px; }
.detail-box { background: #fff; border-radius: 16px; padding: 22px 24px; border-left: 4px solid var(--blue); }
.detail-box h3 { margin: 0 0 8px; font-size: 18px; }
.detail-box p { margin: 0; color: #3c4858; line-height: 1.8; }
.block { margin-top: 18px; }
.block h2 { margin: 0 0 8px; font-size: 26px; }
.desc { margin: 0 0 20px; color: #3c4858; line-height: 1.9; font-size: 15px; }
.mini { min-height: 0; }
.mini p { -webkit-line-clamp: 4; }
.news { background: #fff; border-radius: 16px; padding: 4px 22px; }
.news ul { list-style: none; margin: 0; padding: 0; }
.news li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid #eef2f7;
}
.news li:last-child { border-bottom: 0; }
.news time { color: var(--muted); flex: none; }
.cta {
  margin: 36px 0 20px; background: #eaf2ff; border-radius: 16px; padding: 28px 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.cta h2 { margin: 0 0 6px; font-size: 22px; }
.cta p { margin: 0; color: #5c6778; }
.cta div { display: flex; gap: 10px; flex: none; }
footer { background: #fff; border-top: 1px solid #eef1f6; margin-top: 20px; }
.foot {
  max-width: 1200px; margin: 0 auto; padding: 22px 20px 28px;
  display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 13px;
}
.foot a { color: #5c6778; text-decoration: none; margin-right: 14px; }
section { scroll-margin-top: 84px; }
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  nav { gap: 14px; }
}
@media (max-width: 860px) {
  .bar { height: auto; flex-wrap: wrap; padding: 12px 16px; gap: 12px; }
  nav { width: 100%; order: 3; margin-right: 0; flex-wrap: wrap; gap: 12px 16px; padding-bottom: 6px; }
  .cta, .foot, .news li { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
}
