:root{
  --bg: #f7f7f7;
  --sidebar: #f2f2f4;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --border: #e5e5e5;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", "PingFang SC", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.page {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  max-width: 1050px;
  margin: 40px auto;
  padding: 0 20px;
}
.sidebar {
  background: #f7f7f7;
  border-right: 1px solid #e5e5e5;
  padding: 20px;
  position: sticky;
  top: 0;
  align-self: start;
}
.brand { font-weight: 700; font-size: 22px; margin-bottom: 10px; }
.nav ul { list-style: none; padding: 0; margin: 0; color: #555; }
.nav li { padding: 6px 0; }

.content {
  background: #fff;
  padding: 24px 40px;
  border-radius: 6px;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  min-height: 600px;
}
.post { padding: 18px 0; border-bottom: 1px solid var(--border); }
.date { color: #9b9b9b; font-size: 12px; margin-bottom: 6px; }
.post h2 {
  font-size: 28px;
  line-height: 1.25;
  margin: 6px 0 10px;
  font-weight: 700;
}
.post p { color: #555; line-height: 1.6; }
.readmore { color: #333; font-weight: 600; font-size: 14px; cursor: pointer; }

.divider { border: none; height: 1px; background: #eee; margin: 8px 0 18px; }

.hero { width: 100%; height: auto; display: block; margin: 12px 0; border-radius: 4px; }

.footer {
  padding: 30px 0 40px;
  margin-top: 20px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
  color: #999;
}
.footer-row:first-child {
  padding-bottom: 16px;
}
.copyright { color: #999; }
.back-to-top {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}
.back-to-top:hover { color: #333; }
.icp, .police, .address, .contact, .phone { color: #999; }

@media (max-width: 900px) {
  .page { grid-template-columns: 1fr; padding: 0 12px; }
  .sidebar { display: none; }
  .footer-row { flex-direction: column; gap: 8px; text-align: center; }
}
