/* ================================================================
   BLOG - расширения основного дизайна
   Используем максимально существующие переменные и токены из ../css/styles.css
   ================================================================ */

/* ---------- BLOG HERO ---------- */
.blog-hero {
  min-height: 72svh;
  position: relative;
  padding: clamp(28px, 4vh, 42px) 0 clamp(42px, 7vh, 76px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.blog-hero .hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 9vw, 160px);
  line-height: 0.94;
  letter-spacing: -0.05em;
  font-weight: 500;
  margin: clamp(20px, 3vh, 32px) 0 clamp(20px, 3vh, 28px);
  /* Prevent character-by-character line breaks on narrow viewports */
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}
.blog-hero .hero-h1 > span { display: block; }
@media (max-width: 480px) {
  .blog-hero .hero-h1 { font-size: clamp(36px, 12vw, 60px); line-height: 1; }
}
@media (max-width: 360px) {
  .blog-hero .hero-h1 { font-size: 32px; }
}
.blog-hero .hero-h1 .line-2 { color: var(--acid); text-shadow: 0 0 40px rgba(201,255,61,0.28); }
.blog-hero .hero-h1 .line-3 { color: var(--text-primary); }
.blog-hero .hero-subtitle {
  color: var(--text-secondary);
  font-size: clamp(16px, 1.6vw, 20px);
  max-width: 780px;
  margin-bottom: clamp(24px, 4vh, 44px);
}
.blog-hero .trust-bar { margin-top: clamp(28px, 4vh, 44px); }

/* ---------- BLOG FILTER ---------- */
.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-mid);
}
.blog-toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.blog-toolbar-count {
  color: var(--acid);
  font-size: 15px;
  letter-spacing: 0;
}
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.blog-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid var(--line-mid);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.blog-filter:hover { border-color: var(--line-hard); color: var(--text-primary); }
.blog-filter.is-active {
  background: var(--acid);
  color: var(--bg-void);
  border-color: var(--acid);
}
.blog-filter-dot {
  width: 8px; height: 8px;
  background: currentColor;
  border-radius: 0;
}
.blog-filter-count {
  opacity: 0.62;
  font-size: 11px;
}

/* ---------- ARTICLE GRID ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1180px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .blog-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

.blog-card {
  --card-accent: var(--acid);
  position: relative;
  background: var(--bg-surface-1);
  border: 1px solid var(--line-mid);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  overflow: hidden;
  transition: border-color .22s ease, transform .22s ease, background .22s ease;
}
.blog-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.blog-card:hover {
  border-color: var(--card-accent);
  background: var(--bg-surface-2);
  transform: translateY(-2px);
}
.blog-card:hover::before { opacity: 0.35; }
.blog-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.blog-card-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--card-accent);
  letter-spacing: 0.12em;
  padding-top: 2px;
}
.blog-card-layer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 10px;
  border: 1px solid var(--line-mid);
}
.blog-card-layer-dot {
  width: 6px; height: 6px;
  background: var(--card-accent);
}
.blog-card-glyph {
  position: absolute;
  right: -12px;
  top: 12px;
  font-family: var(--font-display);
  font-size: 180px;
  line-height: 1;
  color: var(--card-accent);
  opacity: 0.07;
  pointer-events: none;
  font-weight: 700;
  transition: opacity .32s ease, transform .32s ease;
}
.blog-card:hover .blog-card-glyph { opacity: 0.14; transform: translateY(-4px); }

.blog-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 22px 0 14px;
  position: relative;
  z-index: 1;
  text-wrap: pretty;
}
.blog-card-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}
.blog-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-mid);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.blog-card-cta {
  color: var(--card-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s ease;
}
.blog-card:hover .blog-card-cta { gap: 10px; }

.blog-card-empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  border: 1px dashed var(--line-mid);
  grid-column: 1 / -1;
}

/* Big first card variant for hub row */
.blog-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-mid);
}
.blog-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.blog-section-head .mono { color: var(--text-muted); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.blog-section-block { margin-bottom: 60px; }

/* ================================================================
   ARTICLE PAGE
   ================================================================ */

.article-shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-l) 0 calc(var(--space-l) + 58px);
  position: relative;
}
@media (max-width: 720px) {
  .article-shell { padding: 0 20px; }
}
.article-breadcrumbs {
  padding: 96px 0 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 6px;
  align-items: center;
}
.article-breadcrumbs a { color: var(--text-secondary); }
.article-breadcrumbs a:hover { color: var(--acid); }
.article-breadcrumbs .sep { color: var(--text-dim); padding: 0 2px; }
.article-breadcrumbs .current { color: var(--text-primary); }

.article-topmeta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
  padding: 10px 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-mid);
}
.article-topmeta .layer-chip {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--line-mid);
}
.article-topmeta .layer-chip .dot { width: 6px; height: 6px; }
.article-topmeta .divider { width: 1px; height: 12px; background: var(--line-mid); }
@media (max-width: 640px) {
  .article-topmeta { gap: 8px 14px; font-size: 10px; letter-spacing: 0.1em; }
  .article-topmeta .divider { display: none; }
  .article-topmeta .back-to-blog { margin-left: 0; }
}

.article-header {
  padding: 36px 0 40px;
  border-bottom: 1px solid var(--line-mid);
}
.article-eyebrow {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.article-h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.8vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  max-width: 1080px;
  text-wrap: balance;
  font-weight: 500;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
@media (max-width: 640px) {
  .article-h1 { font-size: 26px; line-height: 1.12; letter-spacing: -0.02em; }
  .article-header { padding: 24px 0 28px; }
}

/* Author card */
.article-author {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 32px 0 0;
  padding: 18px 22px;
  background: var(--bg-surface-1);
  border: 1px solid var(--line-mid);
}
@media (max-width: 640px) {
  .article-author {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 16px;
  }
  .article-author-avatar { width: 56px; height: 56px; }
  .article-author-dates {
    grid-column: 1 / -1;
    text-align: left;
    padding-top: 4px;
    border-top: 1px dashed var(--line-mid);
  }
}
.article-author-avatar {
  width: 64px;
  height: 64px;
  background: var(--bg-surface-2);
  border: 1px solid var(--line-hard);
  object-fit: cover;
  overflow: hidden;
}
.article-author-name {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 4px;
}
.article-author-name a { color: inherit; border-bottom: 1px dotted var(--line-hard); }
.article-author-name a:hover { color: var(--acid); border-color: var(--acid); }
.article-author-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.article-author-dates {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-align: right;
  line-height: 1.6;
}

/* Article body layout: content + sticky TOC on the right */
.article-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 60px;
  padding: 60px 0 40px;
  align-items: start;
}
@media (max-width: 1024px) {
  .article-body { grid-template-columns: 1fr; gap: 40px; }
}

.article-content {
  min-width: 0;
  font-size: 17px;
  line-height: 1.68;
  color: var(--text-primary);
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}
@media (max-width: 640px) {
  .article-content { font-size: 16px; line-height: 1.65; }
  .article-content h2 { font-size: 22px; margin: 32px 0 14px; }
  .article-content h3 { font-size: 19px; }
  .article-content ul li, .article-content ol li { padding-left: 22px; }
  .article-body { padding: 30px 0 20px; gap: 28px; }
  .article-lead { padding: 22px 18px; }
  .article-callout { padding: 22px 18px; }
  .article-sources { padding: 20px 16px; }
  .article-sources li { padding-left: 36px; }
  .article-bottom-disclaimer { padding: 18px 16px; }
}
.article-content p {
  margin-bottom: 18px;
  color: var(--text-primary);
  max-width: 820px;
}
.article-content h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 48px 0 22px;
  padding-top: 8px;
  scroll-margin-top: 24px;
  text-wrap: balance;
  font-weight: 500;
}
.article-content h2 .h2-num {
  font-family: var(--font-mono);
  color: var(--acid);
  font-size: 0.62em;
  vertical-align: middle;
  margin-right: 14px;
  letter-spacing: 0;
}
.article-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 30px 0 14px;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.article-content ul, .article-content ol {
  padding-left: 0;
  margin-bottom: 22px;
  list-style: none;
}
.article-content ul li,
.article-content ol li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--text-primary);
  max-width: 820px;
}
.article-content ul li::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 12px;
  width: 8px;
  height: 8px;
  background: var(--acid);
}
.article-content ol { counter-reset: art-ol; }
.article-content ol li { counter-increment: art-ol; }
.article-content ol li::before {
  content: counter(art-ol, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
  letter-spacing: 0.04em;
}
.article-content strong, .article-content b { color: var(--text-primary); font-weight: 700; }
.article-content a { color: var(--acid); border-bottom: 1px solid rgba(201,255,61,0.35); transition: color .18s, border-color .18s; }
.article-content a:hover { color: var(--text-primary); border-color: var(--text-primary); }

/* LEAD block (TL;DR / "главное за 30 секунд") */
.article-lead {
  position: relative;
  padding: 30px 32px 30px 32px;
  background: linear-gradient(135deg, rgba(201,255,61,0.06), rgba(0,240,255,0.04));
  border: 1px solid var(--line-hard);
  border-left: 3px solid var(--acid);
  margin: 30px 0 40px;
}
.article-lead::before {
  content: '';
  position: absolute;
  top: -1px; right: -1px;
  width: 12px; height: 12px;
  background: var(--acid);
  box-shadow: var(--glow-acid);
}
.article-lead-head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-lead-head .arr { color: var(--cyan); }
.article-lead ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.article-lead li {
  position: relative;
  padding: 8px 0 8px 26px;
  border-top: 1px dashed var(--line-mid);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.55;
}
.article-lead li:first-child { border-top: none; }
.article-lead li::before {
  content: '→';
  position: absolute;
  left: 4px;
  top: 8px;
  color: var(--acid);
  font-family: var(--font-mono);
}

/* Disclaimer */
.article-disclaimer {
  padding: 16px 22px;
  margin: 26px 0 20px;
  background: var(--bg-surface-1);
  border: 1px solid var(--line-mid);
  display: grid;
  grid-template-columns: minmax(140px, 180px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.article-disclaimer .mark {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-top: 2px;
  min-width: 0;
}
.article-disclaimer > span:last-child { min-width: 0; }
@media (max-width: 640px) {
  .article-disclaimer {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 16px;
  }
  .article-disclaimer .mark {
    padding-bottom: 6px;
    border-bottom: 1px solid var(--line-mid);
  }
}

/* Callout blocks */
.article-callout {
  --cl-color: var(--acid);
  position: relative;
  padding: 24px 28px 22px;
  margin: 32px 0;
  background: var(--bg-surface-1);
  border: 1px solid var(--line-mid);
  border-left: 3px solid var(--cl-color);
}
.article-callout::before {
  content: attr(data-label);
  position: absolute;
  top: -10px;
  left: 22px;
  background: var(--bg-base);
  padding: 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cl-color);
}
.article-callout--red { --cl-color: var(--red); background: color-mix(in oklab, var(--red) 5%, var(--bg-surface-1)); }
.article-callout--yellow { --cl-color: var(--yellow); background: color-mix(in oklab, var(--yellow) 5%, var(--bg-surface-1)); }
.article-callout--green { --cl-color: var(--acid); background: color-mix(in oklab, var(--acid) 5%, var(--bg-surface-1)); }
.article-callout h2 {
  font-size: 22px;
  margin: 0 0 14px;
  color: var(--cl-color);
  padding: 0;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.article-callout ul li::before { background: var(--cl-color); }
.article-callout p { color: var(--text-primary); }

/* Myth table */
.article-myths {
  margin: 32px 0;
}
.article-myths h2 { margin-bottom: 18px; }
.myth-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-surface-1);
  border: 1px solid var(--line-mid);
}
.myth-table thead th {
  padding: 14px 18px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--line-mid);
  background: var(--bg-surface-2);
}
.myth-table thead th:first-child { color: var(--red); }
.myth-table thead th:last-child  { color: var(--acid); }
.myth-table td {
  padding: 16px 18px;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.55;
  width: 50%;
}
.myth-table td:first-child { color: var(--text-secondary); }
.myth-table tr:last-child td { border-bottom: none; }

/* FAQ */
.article-faq { margin: 40px 0; }
.article-faq h2 { margin-bottom: 20px; }
.faq-item {
  border-top: 1px solid var(--line-mid);
  padding: 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line-mid); }
.faq-question {
  width: 100%;
  padding: 20px 0;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.25;
  color: var(--text-primary);
  cursor: pointer;
  letter-spacing: -0.01em;
}
.faq-question:hover { color: var(--acid); }
.faq-toggle {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--acid);
  transition: transform .2s ease;
  line-height: 1;
  flex-shrink: 0;
}
.faq-item.is-open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}
.faq-item.is-open .faq-answer { max-height: 800px; }
.faq-answer-inner { padding: 0 0 22px; }
.faq-answer p { margin-bottom: 12px; max-width: 780px; }

/* Sources */
.article-sources {
  margin: 40px 0 24px;
  padding: 26px 28px;
  background: var(--bg-surface-1);
  border: 1px solid var(--line-mid);
}
.article-sources h2 {
  font-size: 18px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.article-sources ol {
  padding-left: 0;
  counter-reset: src;
  list-style: none;
}
.article-sources li {
  position: relative;
  padding: 6px 0 6px 44px;
  counter-increment: src;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  border-bottom: 1px dashed var(--line-soft);
}
.article-sources li:last-child { border-bottom: none; }
.article-sources li::before {
  content: '[' counter(src, decimal-leading-zero) ']';
  position: absolute;
  left: 0;
  top: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
}

/* Bottom disclaimer */
.article-bottom-disclaimer {
  margin: 30px 0 40px;
  padding: 22px 26px;
  background: var(--bg-surface-1);
  border: 1px solid var(--line-mid);
  border-top: 2px solid var(--text-dim);
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.article-bottom-disclaimer strong {
  color: var(--text-secondary);
  font-weight: 600;
}

/* TABLE OF CONTENTS (sticky right rail) */
.article-toc {
  position: sticky;
  top: 24px;
  align-self: start;
  padding: 22px 22px 20px;
  background: var(--bg-surface-1);
  border: 1px solid var(--line-mid);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line-hard) transparent;
}
.article-toc-head {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-mid);
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-toc-head .dot { width: 6px; height: 6px; background: var(--acid); box-shadow: var(--glow-acid); }
.article-toc ol {
  list-style: none;
  padding: 0;
  counter-reset: toc;
}
.article-toc li {
  counter-increment: toc;
  position: relative;
  padding: 8px 0 8px 34px;
  border-top: 1px dashed var(--line-soft);
}
.article-toc li:first-child { border-top: none; }
.article-toc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0;
}
.article-toc a {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
  display: block;
  transition: color .16s ease;
}
.article-toc a:hover { color: var(--text-primary); }
.article-toc li.is-active a { color: var(--acid); }
.article-toc li.is-active::before { color: var(--acid); }
@media (max-width: 1024px) {
  .article-toc {
    position: static;
    max-height: none;
    order: -1;
    margin-bottom: 8px;
  }
}

/* Data tables inside article */
.article-content .table-wrap {
  margin: 24px 0;
  border: 1px solid var(--line-mid);
  background: var(--bg-surface-1);
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line-hard) transparent;
  position: relative;
}
.article-content .table-wrap::before {
  content: '← листайте →';
  display: none;
  position: absolute;
  top: 6px; right: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--bg-surface-2);
  padding: 4px 8px;
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 720px) {
  .article-content .table-wrap::before { display: block; }
  .article-content .table-wrap { padding-top: 26px; }
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.article-content table thead th {
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acid);
  background: var(--bg-surface-2);
  border-bottom: 1px solid var(--line-mid);
  white-space: nowrap;
}
.article-content table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-primary);
  vertical-align: top;
}
.article-content table tr:last-child td { border-bottom: none; }

/* "Что почитать дальше" - related links */
.article-related-inline {
  margin: 30px 0;
  padding: 22px 26px;
  background: var(--bg-surface-1);
  border: 1px solid var(--line-mid);
}
.article-related-inline h2 {
  font-size: 20px !important;
  margin: 0 0 14px !important;
  color: var(--cyan) !important;
  font-family: var(--font-mono) !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.article-related-inline ul { padding: 0 !important; list-style: none !important; }
.article-related-inline li {
  padding: 8px 0 8px 26px !important;
  border-top: 1px dashed var(--line-soft);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.5;
  position: relative;
}
.article-related-inline li:first-child { border-top: none; }
.article-related-inline li::before {
  content: '↗' !important;
  position: absolute !important;
  left: 4px !important;
  top: 8px !important;
  color: var(--cyan) !important;
  background: none !important;
  width: auto !important;
  height: auto !important;
  font-family: var(--font-mono);
}
.article-related-inline .rel-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-right: 8px;
}

/* "Интересно почитать" section (bottom of article) */
.article-read-more {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.article-read-more::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(201, 255, 61, 0.05), transparent 55%),
    radial-gradient(ellipse at 85% 70%, rgba(0, 240, 255, 0.06), transparent 55%),
    linear-gradient(180deg, transparent, var(--bg-surface-1) 40%, transparent);
  z-index: 0;
  pointer-events: none;
}
.article-read-more-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-l) 0 calc(var(--space-l) + 58px);
}
@media (max-width: 720px) { .article-read-more-inner { padding: 0 20px; } }
.article-read-more-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-mid);
}
.article-read-more-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1;
  font-weight: 500;
}
.article-read-more-head h2 em {
  font-style: normal;
  color: var(--acid);
  text-shadow: 0 0 24px rgba(201,255,61,0.28);
}
.article-read-more-head .mono { color: var(--text-muted); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }

.article-read-more-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1180px) { .article-read-more-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .article-read-more-grid { grid-template-columns: 1fr; } }

/* Back-to-blog link in article page */
.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 14px;
  border: 1px solid var(--line-mid);
  transition: color .18s ease, border-color .18s ease;
}
.back-to-blog:hover {
  color: var(--acid);
  border-color: var(--acid);
}

/* Simplified footer for blog pages */
.blog-footer {
  border-top: 1px solid var(--line-mid);
  padding: 60px 0 40px;
  margin-top: 80px;
}
.blog-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-l) 0 calc(var(--space-l) + 58px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .blog-footer-inner { grid-template-columns: 1fr; padding: 0 20px; }
}
.blog-footer-brand p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; margin-top: 12px; max-width: 560px; }
.blog-footer-brand .title {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.blog-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}
.blog-footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: color .18s;
}
.blog-footer-links a:hover { color: var(--acid); }
.blog-footer-bottom {
  max-width: 1400px;
  margin: 40px auto 0;
  padding: 30px var(--space-l) 0 calc(var(--space-l) + 58px);
  border-top: 1px solid var(--line-mid);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .blog-footer-bottom { padding: 30px 20px 0; flex-wrap: wrap; }
}

/* Simplified top navigation for blog pages */
.blog-topnav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 14, 11, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-mid);
}
.blog-topnav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px var(--space-l) 14px calc(var(--space-l) + 58px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .blog-topnav-inner { padding: 12px 20px; }
}
.blog-topnav-left {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-secondary);
}
.blog-topnav-left .brand {
  color: var(--text-primary);
  letter-spacing: 0.1em;
}
.blog-topnav-left .brand em {
  font-style: normal;
  color: var(--acid);
}
.blog-topnav-right {
  display: flex;
  gap: 8px;
  align-items: center;
}
.blog-topnav-right a {
  color: var(--text-secondary);
  padding: 6px 10px;
  border: 1px solid transparent;
  transition: color .18s, border-color .18s;
}
.blog-topnav-right a:hover, .blog-topnav-right a.is-active {
  color: var(--acid);
  border-color: var(--line-hard);
}
@media (max-width: 640px) {
  .blog-topnav-right a:not(.blog-topnav-cta) { display: none; }
}

/* Fine-tune long list handling */
.article-content li b, .article-content li strong { color: var(--text-primary); }
