/* clean — текст в една колона (партида 2, 01.10.2026). В лентата е на цялата ѝ ширина; извън лента — колона от 20vw до 70vw.
   Заглавията H2 са главни (както в лентите на живо); абзац след абзац — 1em; списъците без отстояния; отметки по избор. */
.xp-tx:is(.is-normal, .is-narrow) { max-width: var(--wp--custom--text--width); margin-left: var(--wp--custom--text--left); }
.xp-tx.is-center { text-align: center; }
/* ритъмът на живо (Divi): заглавие — 10 px отдолу, абзац (освен последния) — 1em отдолу, списъците без отстояния */
.xp-tx :is(p, ul, ol, h2, h3, h4) { margin: 0; }
.xp-tx :is(h2, h3, h4) { padding-bottom: var(--wp--custom--space--10); }
.xp-tx p:not(:last-child) { padding-bottom: var(--wp--custom--text--para); }
.xp-tx :is(ul, ol) { padding-left: var(--wp--custom--text--para); }
.xp-tx h2 { font-size: var(--t-sub); text-transform: uppercase; } /* (016, Сашо 10.10) H2 в текста на кейса/подкаста — подзаглавие; H3, H4 — малко заглавие */
.xp-tx :is(h3, h4) { font-size: var(--t-minor); }
.xp-tx :is(strong, b) { font-weight: var(--wp--custom--weight--bold); } /* (04.10.2026, R) „bolder“ от тънкия текст (300) даваше 400 — удебеленото не личеше (копие: 700) */
.xp-tx :is(strong, b):is(.xp-fw-450, .xp-fw-500) { font-weight: var(--wp--custom--weight--medium); }
.xp-tx.has-headings-small :is(h2, h3, h4) { font-weight: var(--wp--custom--weight--bold); }
.xp-tx.has-headings-small h2:not(:first-child) { margin-top: var(--wp--custom--space--40); }
/* кейсовете в копието (03.10.2026, мерено на 8 кейса BG/EN/DE): тежест 800 от таблет нагоре; размерите — стъпките (016).
   (026 ВЛ.12, 22.10.2026) главните букви на H3 — на всяка ширина: пресетът „Case studies“ на Divi (header_3_font |800||on) няма стойност
   за телефон в нито един кейс (П4 xp-038g: 0 модула с header_3_font_phone / _tablet); Велислав 003 (ХИВ, 390): на живо „GOOGLE ADS:“,
   у нас „Google Ads:“. Мярката от 03.10 „от таблет нагоре“ не се потвърждава от данните на Divi. */
.xp-tx.has-headings-small h3 { letter-spacing: var(--t-caps); text-transform: uppercase; }
@media (min-width: 768px) {
	.xp-tx.has-headings-small :is(h2, h3) { font-weight: var(--wp--custom--weight--heavy); }
} /* кейсовете: всяка част беше отделен текстов модул в Divi — ~55–70 px преди заглавието */
/* цитат (кейсовете): черта в цвета на текста отляво, удебелено, главни */
.xp-tx blockquote { margin: var(--wp--custom--space--20) 0 var(--wp--custom--space--30); padding-left: var(--wp--custom--space--20); border-left: var(--wp--custom--border--accent) solid currentColor; font-weight: var(--wp--custom--weight--bold); text-transform: uppercase; }
.xp-tx blockquote p { padding-bottom: 0; }
.xp-tx li { line-height: var(--t-lh-text); } /* (016) точките — междуредието на текста (беше 26 px / 1,1 / 1,55 по вид) */
/* (05.10.2026, машинната проверка; копието 768/1440) номерираният списък на Divi: номерът вътре в колоната, без отстъп, ред 26 px
   (ep. 102/12, Fintrade, SE Israel); в епизодите и отзивите списъкът без is-ul-26 (модулът със своя височина на реда) — ред като текста
   (копието 20.6 px: ep. 16/23/49/166/170, Tombou EN, Kobo; 194 епизода, 4 отзива); кейсовете — без промяна (копието 26 px) */
.xp-tx ol { list-style-position: inside; padding-left: 0; }
.xp-tx figure { margin: var(--wp--custom--space--20) 0; }
.xp-tx img { display: block; max-width: 100%; height: auto; }
.xp-tx.has-links-pink a { color: var(--wp--preset--color--link); } /* (015) един цвят за всички връзки (Сашо 10.10.2026) */
/* отметки: кръгче с отметка в цвета на текста пред всяка точка, текстът се пренася под нея, 3vh под точката (Divi „bullet checklist“ на живо) */
.xp-tx.has-bullets-check ul { padding-left: 0; list-style: none; }
.xp-tx.has-bullets-check ul > li { padding-bottom: var(--wp--custom--text--check-after); }
.xp-tx.has-bullets-check.has-bullets-spaced ul > li { padding-top: var(--wp--custom--text--check-after); } /* и над точката (Divi CSS на страницата — Виесман BG/EN/DE; копието 768: 142 px на точка) */
.xp-tx.has-bullets-check ul > li::before { content: ""; display: inline-block; width: var(--wp--custom--text--check); height: var(--wp--custom--text--check); margin-right: var(--wp--custom--text--check-gap); vertical-align: var(--wp--custom--text--check-lift); background: currentColor; mask: url("../../assets/img/check-circle.svg") center / contain no-repeat; }
@media (max-width: 767px) {
	.xp-tx.is-normal, .xp-tx.is-narrow { max-width: none; margin-left: var(--wp--custom--text--side-phone-normal); margin-right: var(--wp--custom--text--side-phone-normal); }
	.xp-tx.is-narrow { margin-left: var(--wp--custom--text--side-phone); margin-right: var(--wp--custom--text--side-phone); }
	.xp-tx.has-bullets-check ul > li::before { width: var(--wp--custom--text--check-phone); height: var(--wp--custom--text--check-phone); margin-right: var(--wp--custom--text--check-gap-phone); }
}
