/* corp。{$theme_path}/style.css → /static/corp/style.css */
:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --link: #2563eb;
  --link-hover: #1e40af;
  --accent: #2563eb;
  --header: #ffffff;
  --header-text: #0f172a;
  --nav-border: #e2e8f0;
  --nav-hover: #eff6ff;
}
* { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "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: var(--header-text);
  padding: 22px 0 0;
  position:sticky;top:0;z-index:40;border-bottom:1px solid var(--line);box-shadow:0 4px 20px rgba(15,23,42,.04);backdrop-filter:blur(10px);
}
.site-header a { color: var(--header-text); }
.site-header .brand {
  display: block;
  font-size: 1.35rem;
  margin: 0 0 14px;
  text-decoration: none;
  letter-spacing:-0.03em;font-weight:800;
}
.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  border-top: 1px solid var(--nav-border);
}
.site-header nav a {
  display: inline-block;
  padding: 10px 16px;
  text-decoration: none;
}
.site-header nav a:hover { background: var(--nav-hover); text-decoration: none; }
.hero {
  margin: 20px 0 0;
  padding: 28px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.hero .kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: .8rem;
  letter-spacing: .18em;
}
.hero h1 { margin: 0 0 10px; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.25; }
.crumb {
  color: var(--muted);
  font-size: .9rem;
  margin: 16px 0 8px;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: start;
  margin: 20px 0 40px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px;
}
.card h1 { margin: 0 0 12px; font-size: 1.45rem; line-height: 1.35; }
.card h2 { margin: 0 0 12px; font-size: 1.1rem; }
.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: var(--muted); 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; }
article .content img { max-width: 100%; height: auto; display: block; }
.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, body.m .hero { 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, .hero { padding: 14px; }
  .site-header .brand { font-size: 1.2rem; }
}
@media (max-width: 400px) {
  html { font-size: 15px; }
  .card h1, .hero h1 { font-size: 1.25rem; }
}
body.corp .brand {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body.corp .hero { box-shadow: 0 10px 30px rgba(37,99,235,.08); }
