/* Мелкие графические элементы в тексте статей блога (заказчик, 25.11.2026: «сделай какие то мелкие графические
   элементы по тексту, чтобы улучшить визуальную читаемость»). Первая статья — «Как оценить эффективность
   офлайн-рекламы клиники». Подключается отдельно от styles.css (EXTRA_CSS в scripts/blog-md-to-html.py). */

/* Схема «бренд + звонки + записи + выручка = картина» */
.pe-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 7px; margin: 6px 0 30px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.pe-sum > i { font-style: normal; font-weight: 800; color: var(--muted); font-size: 16px; }
.pe-sum__i { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px;
  background: var(--mint-soft); color: var(--green-ink); font-weight: 700; font-size: 14px; line-height: 1.2; }
.pe-sum__i svg { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pe-sum__res { background: var(--yellow); color: var(--ink); }

/* Карточка «Медиакит обещает» */
.pe-kit { max-width: 420px; margin: 4px 0 24px; padding: 18px 20px 16px; border-radius: 16px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow); }
.pe-kit__h { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.pe-kit ul { list-style: none; margin: 0; padding: 0; }
.pe-kit li { position: relative; padding: 5px 0 5px 30px; font-weight: 600; color: var(--ink); }
.pe-kit li::before { content: ""; position: absolute; left: 0; top: 7px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.pe-kit__q { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); color: var(--muted); font-weight: 600; }
.pe-kit__q b { display: inline-block; min-width: 30px; text-align: center; border-radius: 8px; background: var(--yellow); color: var(--ink); font-size: 18px; }

/* Чек-лист подготовки: абзацы с галочками */
.pe-check { margin: 4px 0 18px; }
.pe-check p { position: relative; padding: 14px 16px 14px 54px; margin: 0 0 10px; border-radius: 14px; background: var(--mint-soft); }
.pe-check p::before { content: ""; position: absolute; left: 16px; top: 16px; width: 24px; height: 24px; border-radius: 7px;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* Жёлтые плашки «Важно» и «Перед выводом проверьте» */
.pe-note { position: relative; margin: 8px 0 26px; padding: 16px 18px 16px 58px; border-radius: 14px; background: #fff8d6; border: 1px solid #f5e39a; }
.pe-note::before { content: "!"; position: absolute; left: 16px; top: 15px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 17px; line-height: 28px; text-align: center; }
.pe-note > b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #7a6400; margin-bottom: 4px; }
.pe-note p { margin: 0; }
.pe-note ul { margin: 4px 0 0; padding-left: 20px; }
.pe-note li { margin: 2px 0; }

/* Заголовки «Способ N» — номер в кружке */
.pe-h { display: flex; align-items: center; gap: 12px; }
.pe-num { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 20px; font-weight: 800; box-shadow: 0 6px 16px rgba(0, 148, 132, .25); }

/* Три типа запросов — цветные метки, как линии на графике */
.pe-types ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pe-types li { margin: 0; padding: 10px 14px 10px 34px; border-radius: 12px; background: #fff; border: 1px solid var(--line); position: relative; flex: 1 1 200px; }
.pe-types li::before { content: ""; position: absolute; left: 14px; top: 17px; width: 12px; height: 12px; border-radius: 50%; }
.pe-types li:nth-child(1)::before { background: #1e7d3a; }
.pe-types li:nth-child(2)::before { background: #f08a24; }
.pe-types li:nth-child(3)::before { background: #1f5f8b; }

/* «Что ещё добавить к картине» — карточки 2×2 */
.pe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 6px 0 24px; }
.pe-grid p { margin: 0; padding: 54px 16px 16px; border-radius: 16px; border: 1px solid var(--line); background: #fff; position: relative; font-size: 16px; }
.pe-grid p::before { content: ""; position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 9px; background-color: var(--mint-soft);
  background-position: center; background-repeat: no-repeat; background-size: 18px; }
.pe-grid p:nth-child(1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-6.5-6-6.5-11a6.5 6.5 0 0 1 13 0c0 5-6.5 11-6.5 11z' fill='none' stroke='%23009484' stroke-width='2'/%3E%3Ccircle cx='12' cy='10' r='2.5' fill='none' stroke='%23009484' stroke-width='2'/%3E%3C/svg%3E"); }
.pe-grid p:nth-child(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4l14 6-6 2-2 6z' fill='none' stroke='%23009484' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pe-grid p:nth-child(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='8' height='14' rx='2' fill='none' stroke='%23009484' stroke-width='2'/%3E%3Crect x='13' y='5' width='8' height='14' rx='2' fill='%23cef7f2' stroke='%23009484' stroke-width='2'/%3E%3C/svg%3E"); }
.pe-grid p:nth-child(4)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 11l8-6 8 6v8H4z' fill='none' stroke='%23009484' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M10 19v-5h4v5' fill='none' stroke='%23009484' stroke-width='2'/%3E%3C/svg%3E"); }
@media (max-width: 640px) { .pe-grid { grid-template-columns: 1fr; } }

/* Метка «дополнение» у ситуативных способов */
.pe-tag { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 9px; border-radius: 999px; background: #eef2f2;
  color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }

/* Анонс следующей статьи */
.pe-next { display: flex; gap: 16px; align-items: flex-start; margin: 18px 0 8px; padding: 18px 20px; border-radius: 18px;
  background: linear-gradient(135deg, var(--dark), var(--dark-2)); color: #e6f4f2; }
.pe-next__i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--yellow); }
.pe-next__i svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pe-next b { display: block; color: var(--yellow); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.pe-next p { margin: 0; color: #e6f4f2; }

/* ---- Элементы для остальных статей (25.11.2026) ---- */

/* Три группы (статья 1): карточки-ссылки на разделы */
.pe-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 4px 0 28px; }
.pe-trio__i { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 16px; border: 1px solid var(--line);
  background: #fff; color: var(--text); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.pe-trio__i:hover { border-color: var(--green); box-shadow: var(--shadow); }
.pe-trio__i .pe-num { width: 32px; height: 32px; font-size: 16px; }
.pe-trio__i b { color: var(--ink); font-size: 18px; }
.pe-trio__i span:last-child { font-size: 14.5px; line-height: 1.45; color: var(--muted); }
@media (max-width: 640px) { .pe-trio { grid-template-columns: 1fr; } }

/* Ступени приоритетов (статья 1): абзацы с номерами */
.pe-steps { counter-reset: pe-step; margin: 6px 0 22px; }
.pe-steps p { counter-increment: pe-step; position: relative; margin: 0 0 10px; padding: 14px 16px 14px 62px; border-radius: 14px; background: var(--mint-soft); }
.pe-steps p::before { content: counter(pe-step); position: absolute; left: 16px; top: 13px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 800; font-size: 16px; line-height: 32px; text-align: center; }

/* Итоговая мысль */
.pe-quote { margin: 22px 0 8px; padding: 18px 22px 18px 58px; position: relative; border-radius: 16px; background: var(--dark); color: #e6f4f2;
  font-size: 18px; font-weight: 600; line-height: 1.5; }
.pe-quote::before { content: "“"; position: absolute; left: 16px; top: 4px; font-size: 56px; line-height: 1; color: var(--yellow); font-weight: 800; }

/* Цифры канала под заголовком (статья 3) */
.pe-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 16px; }
.pe-stats span { padding: 6px 12px; border-radius: 999px; background: var(--mint-soft); color: var(--green-ink); font-size: 14px; }
.pe-stats b { color: var(--ink); }

/* Три показателя (статья 3): список карточками */
.pe-cards ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pe-cards li { margin: 0; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); border-top: 4px solid var(--green); background: #fff; font-size: 15.5px; }
@media (max-width: 640px) { .pe-cards ul { grid-template-columns: 1fr; } }

/* Типы запросов абзацами (статья 3) — те же цвета, что в статье об оценке офлайн-рекламы */
.pe-types--p p { position: relative; margin: 0 0 10px; padding: 12px 16px 12px 36px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.pe-types--p p::before { content: ""; position: absolute; left: 15px; top: 20px; width: 11px; height: 11px; border-radius: 50%; }
.pe-types--p p:nth-child(1)::before { background: #1e7d3a; }
.pe-types--p p:nth-child(2)::before { background: #f08a24; }
.pe-types--p p:nth-child(3)::before { background: #1f5f8b; }

/* «Читайте также» — светлая карточка со ссылками */
.pe-next--read { background: var(--mint-soft); color: var(--text); border: 1px solid #c7ece6; }
.pe-next--read b { color: var(--green-dark); }
.pe-next--read p { margin: 2px 0; color: var(--text); }
.pe-next--read a { color: var(--green-ink); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(0, 148, 132, .4); text-underline-offset: 3px; }
.pe-next--read .pe-next__i { background: var(--green); }
.pe-next--read .pe-next__i svg { stroke: #fff; }

/* Плашка-обёртка вокруг обычного абзаца */
div.pe-note > p { margin: 0; }
.post-content a.pe-trio__i, .post-content a.pe-trio__i * { text-decoration: none; }
.post-content a.pe-trio__i { color: var(--text); }

/* Картинка-персонаж в тексте: справа, текст обтекает; на телефоне — по центру (статья 9, лев «царь зверей») */
.pe-lion { float: right; width: 170px; margin: 2px 0 12px 28px; text-align: center; }
.pe-lion img { display: block; width: 170px; height: auto; margin: 0 auto; border-radius: 0; box-shadow: none; }
.pe-lion figcaption { margin-top: 4px; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .pe-lion { float: none; margin: 0 auto 14px; } }

/* Компактная таблица-сводка (статья 9, заказчик: «сократи по высоте») */
.pe-compact .post-table table { font-size: 15px; }
.pe-compact .post-table th, .pe-compact .post-table td { padding: 7px 14px; line-height: 1.35; }
.pe-compact .post-table th { font-size: 14px; }
@media (max-width: 640px) { .pe-compact .post-table th, .pe-compact .post-table td { padding: 6px 10px; } }

/* Звери «зоопарка» у разделов о профессиях (статья 9): как .pe-lion, чуть меньше; цветные блоки не заходят под картинку */
.pe-mascot { float: right; width: 130px; margin: 0 0 10px 24px; }
.pe-mascot img { display: block; width: 130px; height: auto; border-radius: 0; box-shadow: none; margin: 0; }
@media (max-width: 640px) { .pe-mascot { width: 96px; margin: 0 0 6px 14px; } .pe-mascot img { width: 96px; } }
.post-content .pe-note, .post-content .pe-check, .post-content .pe-stats, .post-content .pe-sum, .post-content .pe-quote,
.post-content .pe-next, .post-content .pe-compact, .post-content .post-table, .post-content .post-fig, .post-content h2 { clear: both; }

/* Все таблицы в статьях блога — компактнее по высоте (заказчик, 26.11.2026: «на других страницах… тоже сократи по высоте») */
.post-content .post-table table { font-size: 15px; }
.post-content .post-table th, .post-content .post-table td { padding: 8px 14px; line-height: 1.4; }
.post-content .post-table th { font-size: 14px; }
@media (max-width: 640px) { .post-content .post-table th, .post-content .post-table td { padding: 7px 10px; } }

/* «До / после» — две карточки рядом: богато и бедно (статья 9, программисты; заказчик 26.11.2026) */
.pe-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 6px 0 24px; }
.pe-vs__i { position: relative; padding: 18px 20px 16px 20px; border-radius: 16px; }
.pe-vs__i b { display: block; font-size: 17px; margin: 8px 0 6px; }
.pe-vs__i p { margin: 0; font-size: 15.5px; line-height: 1.5; }
.pe-vs__ico { display: inline-flex; width: 40px; height: 40px; border-radius: 12px; align-items: center; justify-content: center; }
.pe-vs__ico svg { width: 24px; height: 24px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pe-vs__i--rich { background: linear-gradient(135deg, #fff6c9, #ffe27a); border: 1px solid #f2cf1c; box-shadow: 0 8px 22px rgba(242, 207, 28, .28); color: var(--ink); }
.pe-vs__i--rich .pe-vs__ico { background: #fff; }
.pe-vs__i--rich .pe-vs__ico svg { stroke: #c99a00; fill: #f2cf1c; }
.pe-vs__i--poor { background: #eef1f2; border: 1px dashed #b9c3c6; color: #5d6b6e; filter: grayscale(1); transform: rotate(-1deg); }
.pe-vs__i--poor b { color: #4a5658; }
.pe-vs__i--poor .pe-vs__ico { background: #dfe4e6; }
.pe-vs__i--poor .pe-vs__ico svg { stroke: #7d8a8d; }
@media (max-width: 640px) { .pe-vs { grid-template-columns: 1fr; } .pe-vs__i--poor { transform: none; } }
.post-content .pe-vs { clear: both; }

/* Первая колонка таблиц — с переносом: длинные подписи не растягивают таблицу вбок (статья 8, заказчик: «что-то съехало») */
.post-content .post-table td:first-child { white-space: normal; min-width: 120px; }
@media (max-width: 640px) { .post-content .post-table td:first-child { min-width: 0; } }

/* До/после списком (статья «Какие профессии в маркетинге заменит ИИ», программисты; заказчик, 26.11.2026) */
.pe-vs__list { list-style: none; margin: 4px 0 0; padding: 0; }
.pe-vs__list li { position: relative; margin: 0; padding: 5px 0 5px 18px; font-size: 15.5px; line-height: 1.4; border-bottom: 1px dashed rgba(0, 0, 0, .12); }
.pe-vs__list li:last-child { border-bottom: 0; }
.pe-vs__list li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .55; }

/* Статья 10, раздел «Клиника решает вопросы с потенцией…» (заказчик, 26.11.2026: «обязательно выдели») */
.pe-ad { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 6px 0 22px; }
.pe-ad__i { position: relative; padding: 18px 20px; border-radius: 16px; overflow: hidden; }
.pe-ad__i small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.pe-ad__i b { display: block; font-size: 22px; line-height: 1.25; }
.pe-ad__ok { background: var(--mint-soft); border: 1px solid #bfe9e2; color: var(--green-ink); }
.pe-ad__ok small { color: var(--green); }
.pe-ad__ok small::before { content: "✓ "; }
.pe-ad__no { background: #fff1f0; border: 1px dashed #f0a8a1; color: #7a2a23; }
.pe-ad__no small { color: #c83a2f; }
.pe-ad__no small::before { content: "✗ "; }
.pe-ad__no b { text-decoration: line-through; text-decoration-color: #d8463a; text-decoration-thickness: 3px; font-size: 26px; }
.pe-ad__stamp { position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border: 2.5px solid #d8463a; border-radius: 8px; color: #d8463a;
  font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-8deg); opacity: .85; background: rgba(255, 255, 255, .6); }
@media (max-width: 640px) { .pe-ad { grid-template-columns: 1fr; } .pe-ad__i b { font-size: 20px; } .pe-ad__no b { font-size: 23px; } }


.pe-ad__no { padding-bottom: 50px; }

/* Кружка с лавандой у абзаца про Котлера (статья 10; заказчик: «не так глобально») */
.post-content .pe-mug { float: right; width: 92px; margin: 4px 0 8px 18px; }
.pe-mug svg { width: 100%; height: auto; display: block; }
@media (max-width: 640px) { .post-content .pe-mug { width: 70px; margin-left: 12px; } }

/* ~~текст~~: тонко зачёркнуто красным (статья 10: «+5 см за две недели» в заголовке; заказчик: «менее заметно») */
.pe-strike { text-decoration: line-through; text-decoration-color: #d8463a; text-decoration-thickness: 2px; }

/* Каналы по стоимости — монетки (статья 10; заказчик: «обыграть иконками денег») */
.pe-cost { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 20px; }
.pe-cost__i { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 9px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--ink); }
.pe-cost__coins { display: inline-flex; }
.pe-cost__coins svg { width: 20px; height: 20px; }
.pe-cost__coins svg + svg { margin-left: -7px; }
.pe-cost--1 { background: var(--mint-soft); border-color: #c7ece6; }
.pe-cost--3 { background: #fff8d6; border-color: #f5e39a; }

/* Оценка канала в заголовке «… — 7 из 10» (статья 10) */
.pe-score { display: inline-flex; align-items: center; gap: 7px; margin-left: 12px; padding: 4px 10px; border-radius: 999px; background: var(--mint-soft);
  color: var(--green-ink); font-size: 14px; font-weight: 800; vertical-align: middle; white-space: nowrap; }
.pe-score i { width: 54px; height: 7px; border-radius: 4px; background: linear-gradient(90deg, var(--green) calc(var(--s) * 10%), #d6e7e4 0); }
/* Маленький номер в кружке у подзаголовков «1. …» */
.pe-num--sm { width: 28px; height: 28px; font-size: 14px; box-shadow: none; }
h3.pe-h { display: flex; align-items: center; gap: 10px; }
/* Шкала «рабочий диапазон 3–9 месяцев» */
.pe-range { margin: 4px 0 24px; padding: 14px 16px 10px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.pe-range__bar { position: relative; height: 30px; border-radius: 8px; background: linear-gradient(90deg, #eaf4f2 0 25%, transparent 25% 75%, #eef1f2 75%); }
.pe-range__warm { position: absolute; left: 25%; width: 50%; top: 0; bottom: 0; display: grid; place-items: center; border-radius: 8px;
  background: var(--green); color: #fff; font-size: 13px; font-weight: 800; text-align: center; padding: 0 6px; }
.pe-range__ticks { position: relative; height: 20px; margin-top: 4px; font-size: 12px; color: var(--muted); }
.pe-range__ticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.pe-range__ticks span:first-child { transform: none; }
.pe-range__ticks span:last-child { transform: translateX(-100%); }
.pe-range__ends { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
@media (max-width: 640px) { .pe-range__warm { font-size: 11.5px; } .pe-score { margin-left: 8px; } }
@media (max-width: 640px) { .pe-range__more { display: none; } }

/* Статья 11 «Продвижение в Яндекс Картах» (27.11.2026): афиша-лозунг, рюмка, плитка кабинета, цепочка цифр,
   несуществующая кнопка, карточки обещаний, полоски «люди / боты» */
.pe-poster { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 10px 0 24px; padding: 18px 20px;
  border-radius: 16px; background: linear-gradient(135deg, #fff3b0, #f2cf1c); border: 2px dashed #c99a00;
  box-shadow: 0 10px 24px rgba(242, 207, 28, .3); text-align: center; font-weight: 800; font-size: 19px; line-height: 1.35;
  letter-spacing: .01em; color: #3a2a00; }
.pe-poster__star { flex: none; color: #e0453a; font-size: 22px; }
.pe-poster--off { background: #f4f1e3; border-color: #cbbf8a; box-shadow: none; color: #6d6650; }
.pe-poster--off .pe-strike { text-decoration-thickness: 2px; }
@media (max-width: 640px) { .pe-poster { font-size: 16px; gap: 8px; padding: 14px 12px; } .pe-poster__star { font-size: 16px; } }
.post-content .pe-glass { width: 84px; }
@media (max-width: 640px) { .post-content .pe-glass { width: 64px; } }
.pe-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 6px 0 22px; clear: both; }
.pe-tiles p { margin: 0; padding: 14px 14px 13px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-size: 14.5px; line-height: 1.4; color: var(--muted); }
.pe-tiles b { display: block; margin: 8px 0 3px; color: var(--ink); font-size: 15.5px; }
.pe-tiles__i { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--mint-soft); }
.pe-tiles__i svg { width: 20px; height: 20px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .pe-tiles { grid-template-columns: repeat(2, 1fr); } }
.pe-chain { align-items: center; margin: 2px 0 18px; }
.pe-chain > i { font-style: normal; font-weight: 800; color: var(--muted); }
.pe-chain span:last-child { background: var(--yellow); color: var(--ink); }
.pe-stats--money span:last-child { background: var(--yellow); color: var(--ink); }
.pe-nobtn { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: -4px 0 22px; }
.pe-nobtn__b { position: relative; padding: 10px 18px; border-radius: 12px; background: #e9eeee; color: #8a9799; font-weight: 800;
  border: 1px solid #d3dcdc; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .06); }
.pe-nobtn__b::after { content: ""; position: absolute; left: -6px; right: -6px; top: 50%; height: 3px; background: #e0453a; transform: rotate(-8deg); border-radius: 2px; }
.pe-nobtn__x { padding: 4px 10px; border: 2px solid #e0453a; border-radius: 8px; color: #e0453a; font-weight: 800; font-size: 13px;
  text-transform: uppercase; letter-spacing: .05em; transform: rotate(-4deg); }
.pe-promise { margin: 0 0 14px; padding: 16px 18px 6px; border-radius: 16px; border: 1px solid var(--line); background: #fff; clear: both; }
.pe-promise__h { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.pe-promise__h .pe-num { width: 34px; height: 34px; font-size: 15px; }
.pe-promise__h b { flex: 1; font-size: 16.5px; line-height: 1.45; font-style: italic; }
.pe-promise__r { flex: none; font-size: 24px; line-height: 1; padding: 6px 8px; border-radius: 12px; background: #fdecea; }
.pe-promise--ok { border-color: #9fe0d4; background: #f3fbf9; }
.pe-promise--ok .pe-promise__r { background: var(--mint-soft); }
.pe-promise--meh .pe-promise__r { background: #fff6c9; }
.pe-promise p { margin: 0 0 10px; }
@media (max-width: 640px) { .pe-promise { padding: 14px 14px 4px; } .pe-promise__h b { font-size: 15.5px; } .pe-promise__r { font-size: 20px; } }
.pe-bars { margin: 4px 0 22px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.pe-bars__r { display: grid; grid-template-columns: 190px 1fr 120px; align-items: center; gap: 12px; margin: 6px 0; }
.pe-bars__l { font-size: 14px; color: var(--muted); font-weight: 600; }
.pe-bars__b { display: flex; height: 22px; border-radius: 6px; overflow: hidden; background: transparent; }
.pe-bars__b i { display: block; height: 100%; background: var(--green); }
.pe-bars__b s { display: block; flex: 1; height: 100%; text-decoration: none;
  background: repeating-linear-gradient(135deg, #c9d6d4 0 6px, #e6eeed 6px 12px); }
.pe-bars__r b { font-size: 15px; }
.pe-bars__r--bot b { color: #e0453a; }
@media (max-width: 640px) { .pe-bars__r { grid-template-columns: 1fr auto; gap: 4px 10px; } .pe-bars__l { grid-column: 1 / -1; } }
.pe-trick { max-width: 380px; margin: 6px auto 24px; text-align: center; clear: both; }
.pe-trick svg { display: block; width: 100%; height: auto; }
.pe-trick figcaption { margin-top: 4px; font-size: 13.5px; color: var(--muted); }

/* Крупная фраза-удар посреди текста (статья 8, Р-428): вводная строка и выделенная развязка */
.pe-punch { margin: 30px 0; padding: 22px 0 22px 24px; border-left: 6px solid var(--yellow); font-size: 20px; line-height: 1.45; font-weight: 600; color: var(--ink); }
.pe-punch b { display: block; margin-top: 10px; font-size: 34px; line-height: 1.15; font-weight: 800; }
@media (max-width: 640px) { .pe-punch { font-size: 18px; padding-left: 18px; } .pe-punch b { font-size: 27px; } }

/* Ссылка на страницу автора (Р-444) */
.post-hero__meta a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.post-author b a { color: inherit; text-decoration: none; }
.post-author b a:hover { color: var(--green); }
img.post-author__ava { object-fit: cover; padding: 0; }

/* Статья 12: пять вариантов — пятая карточка во всю ширину; широкая таблица сравнения на 6 столбцов */
.pe-tiles--five p:last-child { grid-column: 1 / -1; border-color: var(--green); background: var(--mint-soft); }
.pe-wide .post-table table { font-size: 13.5px; }
.pe-wide .post-table th, .pe-wide .post-table td { padding: 7px 8px; line-height: 1.35; }
.pe-wide .post-table th { font-size: 13px; }
.post-content .pe-wide .post-table td:first-child { min-width: 0; }
/* Значки в тексте {ico:…}: крыло, пропеллер, «Боинг», кофе, авокадо, валидол, ракета (статья 12) */
.pe-ic { display: inline-block; width: 1.3em; height: 1.3em; margin: 0 0 0 .15em; vertical-align: -.28em; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pe-ic--plane { fill: var(--green); stroke: none; transform: rotate(45deg); }
.pe-ic--coffee, .pe-ic--rocket { stroke: #b8860b; }
.pe-ic--avocado { stroke: #5a8a1e; }
.pe-ic--stop { width: 1.6em; height: 1.6em; vertical-align: -.42em; margin-left: .25em; }
/* Статья 12: три вида денег — приносит / забирает / можно потерять */
.pe-trio--money .pe-trio__i { gap: 4px; }
.pe-trio--money .pe-trio__i:hover { box-shadow: none; }
.pe-trio__s { font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -.5px; }
.pe-trio__i--plus { border-color: #9fd9c4; background: #eefaf5; } .pe-trio__i--plus .pe-trio__s { color: var(--green); }
.pe-trio__i--minus { border-color: #ecd38a; background: #fdf8e8; } .pe-trio__i--minus .pe-trio__s { color: #b8860b; }
.pe-trio__i--loss { border-color: #f0b4ae; background: #fdf0ef; } .pe-trio__i--loss .pe-trio__s { color: #d93025; }

/* Полезность для маркетолога и бизнеса — 10 квадратиков (заказчик, 29.11.2026) */
.pe-use { display: inline-grid; gap: 8px; margin-top: 22px; padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.pe-use__h { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); }
.pe-use__row { display: grid; grid-template-columns: 140px auto auto; align-items: center; gap: 12px; }
.pe-use__l { font-size: 15px; color: #fff; font-weight: 600; }
.pe-use__sq { display: inline-flex; gap: 4px; }
.pe-use__sq i { width: 16px; height: 16px; border-radius: 4px; background: rgba(255,255,255,.16); }
.pe-use__sq i.is-on { background: #45e3c2; }
.pe-use__n { font-size: 14px; color: rgba(255,255,255,.75); font-weight: 700; }
@media (max-width: 640px) { .pe-use__row { grid-template-columns: 100px auto auto; gap: 8px; } .pe-use__sq i { width: 13px; height: 13px; } }

/* Статья 13 (заказчик, 30.11.2026, Р-466): H2 подчёркнуты кривой полукруглой линией под стиль логотипа —
   бирюзовая дуга и жёлтая точка на конце, как у значка сайта. Включается классом post--wave на <article>. */
.post--wave .post-sec > h2, .post--wave .post-faq > h2 { display: table; padding: 12px 0 16px; margin-bottom: 20px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Ccircle cx='5' cy='5' r='5' fill='%23f2cf1c'/%3E%3C/svg%3E") right 0 bottom 6px / 9px 9px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cpath d='M3 13C70 3 190 0 291 9' fill='none' stroke='%23009484' stroke-width='3' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") left bottom / calc(100% - 6px) 16px no-repeat; }

/* Раскрывающийся чек-лист «126 пунктов» — как на странице «Сайт для клиники» */
.pe-req { margin: 6px 0 26px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.pe-req > summary { display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; list-style: none; }
.pe-req > summary::-webkit-details-marker { display: none; }
.pe-req > summary::after { content: ""; margin-left: auto; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.pe-req[open] > summary::after { transform: rotate(-135deg); }
.pe-req__n { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--green);
  color: #fff; font-weight: 800; font-size: 20px; }
.pe-req__t { display: flex; flex-direction: column; gap: 2px; }
.pe-req__t b { font-size: 17px; color: var(--ink); }
.pe-req__t span { color: var(--green); font-weight: 700; font-size: 15px; }
.pe-req__list { padding: 4px 18px 18px; columns: 2 300px; column-gap: 28px; }
.pe-req__list h4 { break-after: avoid; margin: 14px 0 6px; font-size: 15px; color: var(--green-ink); }
.pe-req__list h4 span { display: inline-block; min-width: 26px; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--mint-soft);
  color: var(--green); font-size: 13px; text-align: center; }
.pe-req__list ul { margin: 0; padding: 0; list-style: none; }
.pe-req__list li { break-inside: avoid; position: relative; padding: 3px 0 3px 20px; font-size: 15px; line-height: 1.4; }
.pe-req__list li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
/* Статья 14: доля пациентов → доля выручки по числу визитов (заказчик, 30.11.2026, Р-471) */
.pe-split { margin: 8px 0 28px; padding: 18px 20px 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.pe-split__h, .pe-split__r { display: grid; grid-template-columns: 130px 1fr 1fr; gap: 14px; align-items: center; }
.pe-split__h { padding-bottom: 8px; border-bottom: 1px dashed var(--line); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.pe-split__h small { display: block; margin-top: 2px; text-transform: none; letter-spacing: 0; font-size: 11.5px; }
.pe-split__r { padding: 11px 0; border-bottom: 1px dashed var(--line); }
.pe-split__l b { display: block; font-size: 16px; color: var(--ink); }
.pe-split__l span { font-size: 13px; color: var(--muted); }
.pe-split__bar { position: relative; height: 30px; border-radius: 8px; background: #f1f5f4; }
.pe-split__bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 8px; }
.pe-split__bar em { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-style: normal; font-weight: 800; font-size: 14px; color: var(--ink); }
.pe-split__bar em.is-in { color: #fff; }
.pe-split__bar--p i { background: #c9d6d4; }
.pe-split__bar--r i { background: #7fd3c4; }
.pe-split__r--hl { margin: 0 -20px; padding: 11px 20px; background: linear-gradient(90deg, rgba(242, 207, 28, .16), transparent); }
.pe-split__r--top { border-bottom: 0; }
.pe-split__r--top .pe-split__bar--r i { background: var(--green); }
.pe-split__note { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.pe-split__note p { margin: 0; padding: 12px 14px; border-radius: 12px; font-size: 15px; line-height: 1.4; }
.pe-split__note p:first-child { background: #fff7d6; }
.pe-split__note p:last-child { background: var(--mint-soft); }
.pe-split__note b { display: block; font-size: 22px; color: var(--ink); }
.pe-split__src { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) {
  .pe-split { padding: 14px 14px 12px; }
  .pe-split__h, .pe-split__r { grid-template-columns: 78px 1fr 1fr; gap: 8px; }
  .pe-split__r--hl { margin: 0 -14px; padding: 11px 14px; }
  .pe-split__l b { font-size: 14px; } .pe-split__l span { font-size: 11.5px; }
  .pe-split__bar em { font-size: 12.5px; left: 6px; }
  .pe-split__note { grid-template-columns: 1fr; }
}
