/* Статьи /article/ */
:root {
  --brand: #1e3a8a;
  --accent: #f97316;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e2e8f0;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: #fff;
}
.container { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.site-header .container.header-inner,
.header-inner { max-width: 1100px; }
.site-header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--brand);
  text-decoration: none;
}
.logo i { color: var(--accent); margin-right: 0.3rem; }
.main-nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.main-nav a {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a.active,
.main-nav a:hover { color: var(--brand); }
.btn {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #ea580c; }
.breadcrumbs {
  background: #f8fafc;
  padding: 0.85rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.breadcrumbs a { color: var(--brand); text-decoration: none; }
.breadcrumbs span { color: var(--muted); }
.article-page { padding: 2.5rem 0 4rem; }
.list-title {
  font-size: 2.2rem;
  color: var(--brand);
  margin-bottom: 0.5rem;
}
.list-lead { color: var(--muted); margin-bottom: 2rem; }
.article-grid {
  display: grid;
  gap: 1.2rem;
}
.article-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 8px 20px rgba(15,23,42,0.04);
  transition: 0.2s;
}
.article-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.article-card h2 {
  font-size: 1.25rem;
  color: var(--brand);
  margin-bottom: 0.4rem;
}
.article-card p { color: #4b5563; font-size: 0.95rem; margin-bottom: 0.6rem; }
.article-card .more { color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.article-date { color: var(--muted); font-size: 0.88rem; margin-bottom: 0.5rem !important; }
.article-head { margin-bottom: 1.8rem; }
.article-head h1 {
  font-size: 2rem;
  color: var(--brand);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.article-content h2,
.article-content h3 { color: var(--brand); margin: 1.6rem 0 0.7rem; }
.article-content p { margin-bottom: 1rem; }
.article-content ul,
.article-content ol { margin: 0 0 1rem 1.3rem; }
.article-content li { margin-bottom: 0.35rem; }
.article-content img { max-width: 100%; height: auto; border-radius: 12px; }
.article-content a { color: var(--brand); }
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
.article-content th,
.article-content td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.7rem;
  text-align: left;
}
.article-content th { background: #eef2ff; }
.article-back { margin-top: 2.5rem; }
.article-back a { color: var(--brand); font-weight: 600; text-decoration: none; }
.empty { color: var(--muted); padding: 2rem 0; }
footer {
  background: var(--brand);
  color: #fff;
  text-align: center;
  padding: 1.5rem;
}
footer a { color: var(--accent); text-decoration: none; }
.footer-legal { font-size: 0.85rem; line-height: 1.65; opacity: 0.92; margin-bottom: 0.85rem; }
.footer-legal p { margin: 0.2rem 0; }
@media (max-width: 640px) {
  .article-head h1,
  .list-title { font-size: 1.65rem; }
}
