/* Витрина: системные шрифты, без внешних ресурсов. Переменные цвета — из base.html. */
.site-header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin: 0 0 28px; }
.site-header .brand { font-weight: 600; font-size: 18px; color: var(--text); text-decoration: none; }
.site-header .tagline { color: var(--muted); font-size: 14px; }
.hero { margin: 0 0 28px; }
.hero h1 { font-size: 30px; line-height: 1.2; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 0 0 24px; }
.card { display: flex; flex-direction: column; margin: 0; }
.card h2 a { color: var(--text); text-decoration: none; }
.card h2 a:hover { color: var(--accent); }
.card .summary { color: var(--muted); flex: 1; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 4px; }
.button.secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.crumbs { font-size: 14px; margin: 0 0 14px; }
.parts { list-style: none; padding: 0; margin: 0; }
.parts li { padding: 10px 0; border-top: 1px solid var(--line); }
.parts li:first-child { border-top: 0; }
.role { display: inline-block; font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0 8px; margin-left: 6px; vertical-align: 2px; }
.prose h2 { margin-top: 20px; }
.prose ul { margin: 0 0 12px; }
.prose li { margin: 4px 0; }
.note { color: var(--muted); font-size: 14px; }
.site-footer { margin-top: 32px; color: var(--muted); font-size: 14px; }
@media (max-width: 480px) {
  main { padding: 24px 14px 40px; }
  .hero h1 { font-size: 24px; }
  .button { display: block; text-align: center; width: 100%; box-sizing: border-box; }
}
