/* Блог playparty.live (/blog/*) — поверх /play/landing.css.
   Генератор страниц: scripts/gen-blog.mjs */

.bl-body { background: #0a0912; }

.bl-topnav { display: flex; gap: 14px; margin-left: auto; margin-right: 14px; }
.bl-topnav a {
  color: #b8b4c8; text-decoration: none; font-size: .9rem; font-weight: 600;
  padding: 4px 2px; border-bottom: 2px solid transparent;
}
.bl-topnav a:hover { color: #fff; }
.bl-topnav a.on { color: #fff; border-bottom-color: #7c3aed; }

.bl-main { padding-bottom: 8px; }

.bl-crumbs { font-size: .8rem; color: #6f6b85; padding: 6px 0 2px; }
.bl-crumbs a { color: #8a86a0; text-decoration: none; }
.bl-crumbs a:hover { color: #a78bfa; }

/* ── хиро статьи ───────────────────────────────────────────────── */
.bl-hero { display: flex; gap: 28px; align-items: flex-start; padding: 18px 0 6px; }
.bl-hero-text { flex: 1 1 58%; min-width: 0; }
.bl-hero h1 {
  font-size: clamp(1.55rem, 4.2vw, 2.35rem); line-height: 1.2;
  color: #fff; letter-spacing: -.01em; margin-bottom: 12px;
}
.bl-cover {
  flex: 0 0 210px; width: 210px; height: auto; max-width: 100%;
  border-radius: 16px; border: 1px solid #2a2740;
  box-shadow: 0 10px 40px rgba(109, 40, 217, .25);
}
.bl-meta { font-size: .82rem; color: #8a86a0; margin-bottom: 14px; }
.bl-tag {
  display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px;
  background: #191630; border: 1px solid #2f2b4a; color: #b8b4c8; font-size: .74rem;
}
.bl-lead { color: #cfccdd; font-size: 1.05rem; line-height: 1.6; max-width: 62ch; }

/* ── тело статьи: читабельная колонка ──────────────────────────── */
.bl-content { max-width: 70ch; padding: 8px 0 4px; }
.bl-content h2 {
  font-size: clamp(1.2rem, 2.6vw, 1.5rem); line-height: 1.3; color: #fff;
  margin: 32px 0 12px; letter-spacing: -.01em;
}
.bl-content h3 { font-size: 1.08rem; color: #efedf7; margin: 22px 0 8px; }
.bl-content p { color: #cfccdd; margin-bottom: 16px; font-size: 1.02rem; }
.bl-content ul, .bl-content ol { margin: 0 0 18px; padding-left: 24px; }
.bl-content li { color: #cfccdd; margin-bottom: 8px; }
.bl-content li::marker { color: #7c3aed; }
.bl-content b { color: #fff; font-weight: 700; }
.bl-content a { color: #a78bfa; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.bl-content a:hover { color: #c4b5fd; }

.bl-note {
  margin: 20px 0 22px; padding: 14px 18px;
  background: linear-gradient(135deg, rgba(124, 58, 237, .14), rgba(219, 39, 119, .08));
  border: 1px solid #35305a; border-left: 3px solid #7c3aed; border-radius: 12px;
  color: #ddd9ea; font-size: .97rem;
}
.bl-note a { color: #c4b5fd; }

/* ── CTA-блок ──────────────────────────────────────────────────── */
.bl-cta {
  margin: 34px 0 8px; padding: 26px 24px; text-align: center;
  background: #14121f; border: 1px solid #2a2740; border-radius: 18px;
}
.bl-cta h2 { font-size: 1.25rem; color: #fff; margin-bottom: 8px; }
.bl-cta > p { color: #b8b4c8; font-size: .92rem; margin-bottom: 18px; }
.bl-cta-links { margin-top: 14px; font-size: .87rem; color: #6f6b85; }
.bl-cta-links a { color: #b8b4c8; text-decoration: none; }
.bl-cta-links a:hover { color: #a78bfa; text-decoration: underline; }

/* ── карточки статей ───────────────────────────────────────────── */
.bl-related { padding: 32px 0 0; }
.bl-related > h2 { font-size: 1.15rem; color: #fff; margin-bottom: 16px; }

.bl-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.bl-grid-index { padding: 6px 0 4px; }

.bl-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #14121f; border: 1px solid #2a2740; border-radius: 16px;
  text-decoration: none; transition: border-color .15s, transform .15s;
}
.bl-card:hover { border-color: #6d28d9; transform: translateY(-2px); }
.bl-card img {
  width: 100%; height: 150px; object-fit: cover; object-position: 50% 0;
  display: block; background: #0f0d1a;
}
.bl-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 7px; }
.bl-card-body h3 { font-size: 1rem; line-height: 1.35; color: #fff; }
.bl-card-body p {
  font-size: .87rem; color: #b8b4c8; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bl-card-meta { font-size: .78rem; color: #7d7995; margin-top: auto; }

.bl-back { padding: 22px 0 4px; font-size: .9rem; }
.bl-back a { color: #b8b4c8; text-decoration: none; }
.bl-back a:hover { color: #a78bfa; }

/* ── индекс блога ──────────────────────────────────────────────── */
.bl-index-hero { padding: 20px 0 22px; max-width: 70ch; }
.bl-index-hero h1 {
  font-size: clamp(1.6rem, 4.5vw, 2.4rem); line-height: 1.2;
  color: #fff; margin-bottom: 12px; letter-spacing: -.01em;
}

@media (max-width: 720px) {
  .ld-head { flex-wrap: wrap; gap: 8px 12px; }
  .bl-topnav { margin: 0; order: 3; width: 100%; }
  .bl-hero { flex-direction: column-reverse; gap: 16px; align-items: flex-start; }
  .bl-cover { flex-basis: auto; width: 170px; align-self: center; }
  .bl-content { max-width: 100%; }
  .bl-content p, .bl-content li { font-size: 1rem; }
  .bl-cta .ld-cta { display: block; }
  .bl-grid { grid-template-columns: 1fr; }
  .bl-card img { height: 165px; }
}
