/* Тема default — светлая карточная */
:root {
  --bg: #eef1f5;
  --card: #fff;
  --text: #1e293b;
  --text-muted: #64748b;
  --link: #2563eb;
  --link-hover: #1d4ed8;
  --border: #e2e8f0;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.08);
  --shadow-card: 0 4px 12px rgba(0,0,0,.06);
}

* { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-name { font-weight: 600; font-size: 1.1rem; color: var(--text); text-decoration: none; }
.site-name:hover { color: var(--link); }
nav a { color: var(--text-muted); text-decoration: none; margin-left: 1.25rem; font-size: 0.95rem; }
nav a:hover { color: var(--link); }
nav a.nav-cta { color: var(--link); font-weight: 500; }
nav a.nav-cta:hover { color: var(--link-hover); }

.site-main { flex: 1; max-width: 820px; margin: 0 auto; padding: 1.75rem 1.5rem; width: 100%; }

.page-home {
  background: var(--card);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.page-title, .article-title { margin: 0 0 1rem; font-size: 1.6rem; font-weight: 600; line-height: 1.3; color: var(--text); }
.intro { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.02rem; }
.intro p { margin: 0 0 0.6rem; }

.articles-section { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.section-title { font-size: 0.95rem; font-weight: 600; color: var(--text-muted); margin: 0 0 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; }
.articles-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.25rem; }
.articles-list a { color: var(--link); text-decoration: none; padding: 0.5rem 0; display: block; border-bottom: 1px solid var(--border); font-size: 0.98rem; transition: color .15s ease; }
.articles-list a:hover { color: var(--link-hover); }

.article { padding: 1.5rem 1.75rem; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.article-hero { width: 100%; max-width: 100%; height: auto; border-radius: var(--radius); margin-bottom: 1.25rem; display: block; box-shadow: var(--shadow); }
.breadcrumb { font-size: 0.875rem; color: var(--text-muted); margin: 0 0 0.75rem; }
.breadcrumb a { color: var(--link); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.article-body { margin-top: 1rem; }
.content p { margin: 0 0 1rem; font-size: 1.02rem; line-height: 1.7; }
.content p:last-child { margin-bottom: 0; }
.content h3 { margin: 1.5rem 0 0.75rem; font-size: 1.15rem; font-weight: 600; color: var(--text); }
.content h3:first-child { margin-top: 0; }

.site-footer { background: var(--card); border-top: 1px solid var(--border); margin-top: auto; }
.footer-inner { max-width: 820px; margin: 0 auto; padding: 1rem 1.5rem; font-size: 0.875rem; color: var(--text-muted); }
.footer-link { color: var(--link); text-decoration: none; margin-right: 1.25rem; }
.footer-link:hover { text-decoration: underline; }
.footer-copy { color: var(--text-muted); }
