/* 默认资讯模型样式。{$theme_path}/style.css → /static/style.css */
:root {
  --bg: #f3f4f6;
  --card: #fff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --link: #1e3a5f;
  --link-hover: #0f2744;
  --accent: #b45309;
  --header: #132337;
}
* { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.site-header {
  background: var(--header);
  color: #e5e7eb;
  padding: 18px 0 0;
}
.site-header a { color: #f9fafb; }
.site-header .brand {
  display: block;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: .04em;
  margin: 0 0 12px;
  text-decoration: none;
}
.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  border-top: 1px solid #24364d;
}
.site-header nav a {
  display: inline-block;
  padding: 10px 16px;
  text-decoration: none;
}
.site-header nav a:hover { background: #1c334d; text-decoration: none; }
.crumb {
  color: var(--muted);
  font-size: .9rem;
  margin: 16px 0 8px;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
  margin: 20px 0 40px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px 22px;
}
.card h1 { margin: 0 0 12px; font-size: 1.5rem; line-height: 1.35; }
.card h2 { margin: 0 0 12px; font-size: 1.15rem; }
.list { list-style: none; margin: 0; padding: 0; }
.list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.list li:last-child { border-bottom: 0; }
.list .title { font-size: 1.05rem; font-weight: 600; overflow-wrap: anywhere; }
.list .meta { display: block; color: var(--muted); font-size: .85rem; margin-top: 4px; }
.list .info { margin: 6px 0 0; color: #374151; font-size: .95rem; }
.side .list li { padding: 8px 0; }
.pager { margin-top: 16px; }
.pager a { margin-right: 16px; }
article .lead { color: var(--muted); margin: 0 0 16px; font-size: .9rem; }
article .content { font-size: 1.05rem; }
article .content p { margin: 0 0 1em; }
.related { margin-top: 28px; }
.site-footer {
  border-top: 1px solid var(--line);
  padding: 20px 0 32px;
  color: var(--muted);
  font-size: .9rem;
}
.site-footer nav { margin-bottom: 8px; }
.site-footer nav a { margin-right: 14px; color: var(--muted); }
.city:empty { display: none; }
.city { margin-right: .35em; }
body.m .side { display: none; }
body.m .layout { display: block; }
body.m { overflow-x: hidden; }
body.m .wrap { padding: 0 12px; }
body.m .card { padding: 14px; }
body.m .site-header nav a { padding: 12px 10px; }
@media (max-width: 800px) {
  .layout { grid-template-columns: 1fr; }
  .wrap { padding: 0 12px; }
  .card { padding: 14px; }
  .site-header .brand { font-size: 1.2rem; }
}
@media (max-width: 400px) {
  html { font-size: 15px; }
  .card h1 { font-size: 1.25rem; }
}
