/* ─── Продающие блоки в статьях блога (13.10.2026) ───
   Вставляются в body_md как raw-HTML без пустых строк внутри.
   .bcta--course — курс «Как внедрять Савви» (интеграторам), .bcta--pk — Практикум (предпринимателям),
   .bcta-mini — короткая плашка в середине статьи. Отступы — по шкале промо-блоков сайта (замер /praktikum: .pk-panel 64/56, r32; заголовок→лид 16; лид→кнопка 32; плитки 20, зазор 16).
   Ряд: 8/12/16/20/24/32/40/56/64. */
.post-body .bcta { position: relative; overflow: hidden; border-radius: 32px; padding: 64px 56px; margin: 56px 0; font-size: 16px; line-height: 1.5; }
.post-body .bcta a { text-decoration: none; }
.post-body .bcta p { margin: 0; }
.bcta-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .02em; border-radius: 8px; padding: 6px 12px; margin-bottom: 24px; }
.bcta-title { font-size: 38px; line-height: 1.12; font-weight: 700; letter-spacing: -.02em; margin-bottom: 16px; }
.bcta-lead { font-size: 18px; line-height: 1.55; max-width: 560px; }
.bcta-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; font-weight: 600; border-radius: 12px; padding: 16px 24px; transition: transform .15s ease, background .15s ease; }
.bcta-btn:hover { transform: translateY(-1px); }
.bcta-btn::after { content: '→'; font-weight: 600; }
.bcta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 40px; }
.bcta-note { font-size: 14px; }

/* Курс: тёмный блок */
.post-body .bcta--course { background: #11253E; color: #fff; }
.bcta--course::before { content: ''; position: absolute; width: 420px; height: 420px; right: -140px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(58, 61, 212, .9) 0%, rgba(58, 61, 212, 0) 70%); pointer-events: none; }
.bcta--course > * { position: relative; }
.bcta--course .bcta-kicker { background: rgba(255, 255, 255, .1); color: #C9CDFB; }
.bcta--course .bcta-lead { color: #B7C4D6; }
.bcta-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.bcta-stat { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 20px; }
.bcta-stat-n { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: #fff; }
.bcta-stat-t { font-size: 13px; line-height: 1.35; color: #B7C4D6; margin-top: 8px; }
.bcta-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; margin: 32px 0 0 !important; padding: 0; }
.post-body .bcta-list li { position: relative; padding-left: 32px; margin: 0; font-size: 15px; line-height: 1.45; }
.bcta-list li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.bcta--course .bcta-list li { color: #E3E8F0; }
.bcta--course .bcta-list li::before { background: #3A3DD4; color: #fff; }
.bcta--course .bcta-actions { justify-content: space-between; }
.bcta-price { order: -1; display: flex; flex-direction: column; gap: 4px; }
.bcta-price-n { font-size: 34px; font-weight: 700; letter-spacing: -.02em; color: #fff; line-height: 1; }
.bcta--course .bcta-note { color: #B7C4D6; }
.post-body .bcta--course .bcta-btn { background: #3A3DD4; color: #fff; }
.post-body .bcta--course .bcta-btn:hover { background: #4A4DE0; }

/* Практикум: светлый блок с планом на час */
.post-body .bcta--pk { background: #EDEEFC; color: #11253E; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.bcta--pk .bcta-title { font-size: 32px; }
.bcta--pk .bcta-kicker { background: #fff; color: #3A3DD4; }
.bcta--pk .bcta-lead { color: #1A375C; }
.bcta--pk .bcta-note { color: #637180; }
.bcta--pk .bcta-actions { margin-top: 32px; }
.post-body .bcta--pk .bcta-btn { background: #3A3DD4; color: #fff; }
.post-body .bcta--pk .bcta-btn:hover { background: #3739CF; }
.bcta-plan { background: #fff; border: 1px solid #E1E6EC; border-radius: 24px; padding: 24px; box-shadow: 0 24px 50px -30px rgba(17, 37, 62, .45); }
.bcta-plan-h { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; color: #637180; padding: 0 0 16px; }
.bcta-plan-h b { color: #0E9F6E; font-weight: 600; }
.bcta-plan-i { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid #EDF1F7; font-size: 14px; line-height: 1.3; font-weight: 500; }
.bcta-plan-i::before { content: '✓'; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #EEF8F3; color: #0E9F6E; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.bcta-plan-i.is-next::before { content: ''; background: #EDEEFC; box-shadow: inset 0 0 0 2px #3A3DD4; }
.bcta-plan-i span { flex: 1; }
.bcta-plan-i em { font-style: normal; font-size: 13px; color: #8695A7; }

/* Короткая плашка в середине статьи */
.post-body .bcta-mini { display: flex; align-items: center; gap: 24px; background: #fff; border: 1px solid #E1E6EC; border-left: 4px solid #3A3DD4; border-radius: 16px; padding: 24px 32px; margin: 40px 0; font-size: 16px; line-height: 1.45; color: #1A375C; box-shadow: 0 16px 34px -26px rgba(26, 55, 92, .42); }
.bcta-mini-t { flex: 1; }
.bcta-mini-t b { color: #11253E; }
.post-body .bcta-mini a { flex: none; text-decoration: none; font-weight: 600; font-size: 15px; color: #3A3DD4; background: #EDEEFC; border-radius: 10px; padding: 12px 16px; white-space: nowrap; }
.post-body .bcta-mini a:hover { background: #E1E3FA; }

@media (max-width: 760px) {
  .post-body .bcta { padding: 40px 24px; border-radius: 24px; margin: 40px 0; }
  .bcta-title, .bcta--pk .bcta-title { font-size: 28px; }
  .bcta-stats { grid-template-columns: 1fr 1fr; }
  .bcta-stat-n { font-size: 22px; white-space: nowrap; }
  .bcta-list { grid-template-columns: 1fr; }
  .post-body .bcta--pk { grid-template-columns: 1fr; gap: 32px; }
  .post-body .bcta-mini { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; }
  .bcta-btn { width: 100%; }
}
