/* Стили блога. Базовые токены, шапка, кнопки, вкладки и плеер Reels — из ../styles.css */

.nav a.is-current { color: var(--accent); }

/* ===== Шапка списка ===== */
.blog-hero { padding: 130px 0 40px; position: relative; }
.blog-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 50% 70% at 20% 20%, rgba(200,255,46,.16), transparent 70%);
}
.blog-hero__title { font-size: clamp(34px, 6vw, 60px); max-width: 18ch; }
.blog-hero__text { margin-top: 16px; color: var(--muted); max-width: 560px; font-size: clamp(16px, 2vw, 18px); }

.blog-list { padding: 8px 0 96px; }
.blog-list .tabs { margin-bottom: 28px; }

/* ===== Карточки статей ===== */
.posts { display: grid; gap: 18px; }
.post-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.post-card:hover { border-color: rgba(200,255,46,.55); transform: translateY(-5px); box-shadow: 0 18px 50px rgba(0,0,0,.4), 0 0 40px rgba(200,255,46,.08); }
.post-card__body { display: grid; gap: 10px; padding: 22px; flex: 1; }
.post-card h3 { font-size: 21px; line-height: 1.2; }
.post-card__excerpt { color: var(--muted); font-size: 15px; }
.post-card__more { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 14px; color: var(--accent); }
.post-meta { font-size: 13px; color: var(--muted); }

/* Обложка: картинка или фирменный лаймовый градиент */
.cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0d1108; }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .cover img { transform: scale(1.05); }
.cover--gen { display: flex; align-items: flex-end; padding: 18px 20px; }
.cover--gen span {
  position: relative; z-index: 1;
  font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; color: var(--text);
}
.cover--gen::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(200,255,46,.08) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(200,255,46,.08) 1px, transparent 1px);
  background-size: 32px 32px;
}
.cover--gen::after {
  content: ''; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,255,46,.55), rgba(200,255,46,0) 65%);
  transition: transform .8s var(--ease);
}
.cover--v0::after { top: -30%; right: -15%; }
.cover--v1::after { top: -40%; left: 10%; }
.cover--v2::after { bottom: -45%; right: 5%; }
.post-card:hover .cover--gen::after { transform: scale(1.15); }

/* ===== Статья ===== */
.article-page { padding: 110px 0 0; }
.container--article { max-width: 760px; }
.article__back { display: inline-block; margin-bottom: 28px; font-size: 14px; color: var(--muted); transition: color .2s; }
.article__back:hover { color: var(--accent); }
.chip {
  display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(200,255,46,.3);
}
.article__title { font-size: clamp(30px, 5vw, 48px); margin: 16px 0 12px; }
.article .cover { border-radius: var(--radius); margin: 24px 0 8px; }

.prose { margin-top: 28px; font-size: 17px; line-height: 1.75; color: #e3e9dc; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(24px, 3.4vw, 30px); margin-top: 44px; color: var(--text); }
.prose h3 { font-size: 21px; margin-top: 32px; color: var(--text); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 40px; counter-increment: n; }
.prose ol li::before {
  content: counter(n); position: absolute; left: 0; top: .15em;
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; background: var(--accent); color: var(--accent-ink);
}
.prose blockquote {
  margin: 28px 0; padding: 18px 22px; border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent); background: var(--accent-soft); color: var(--text);
}
.prose figure { margin: 28px 0; }
.prose figure img { border-radius: var(--radius); width: 100%; }
.prose figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); text-align: center; }
.prose .reel { margin: 32px auto; }

/* Призыв в конце статьи */
.post-cta {
  margin: 56px 0 0; padding: 32px 24px; text-align: center; border-radius: 22px;
  border: 1px solid rgba(200,255,46,.3);
  background: radial-gradient(ellipse 70% 90% at 50% 0%, rgba(200,255,46,.2), transparent 70%), var(--surface);
}
.post-cta h2 { font-size: clamp(22px, 3.4vw, 30px); }
.post-cta p { margin-top: 10px; }
.post-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }

/* Другие статьи */
.related { padding: 80px 0 96px; }
.related__title { font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 24px; }

@media (min-width: 700px) {
  .posts { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .blog-hero { padding: 150px 0 48px; }
}
@media (min-width: 1000px) {
  .posts { grid-template-columns: repeat(3, 1fr); }
  .posts--two { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
}
