/* clean — текстът на статия (партида 2в, 01.10.2026): сива карта със сянка вляво, 10vw от двата края; текстът от 18vw; заглавията
   в текста малки, удебелени, главни; списъците с точки — отметка в кръгче; картинките излизат 10vw вляво от текста, със заоблени ъгли. */
.xp-art { position: relative; margin: var(--wp--custom--article--margin); padding: var(--wp--custom--article--pad); background: var(--wp--preset--color--grey-light); box-shadow: var(--wp--custom--shadow--drop-l); color: var(--wp--preset--color--black); font-size: var(--t-text); font-weight: var(--wp--custom--weight--light); line-height: var(--t-lh-text); } /* (016) текст и точки — стъпката „текст“ (телефон 16 px, Сашо 10.10) */
.xp-art :is(p, ul, ol, h2, h3, h4, h5) { margin: 0; }
.xp-art p { padding-bottom: var(--wp--custom--text--para); }
.xp-art :is(h2, h3, h4, h5) { padding-bottom: var(--wp--custom--space--10); color: inherit; font-size: var(--t-minor); font-weight: var(--wp--custom--weight--bold); line-height: var(--t-lh-head); text-transform: uppercase; } /* главните остават само в Academy и Instagram (rules.css) */
.xp-art a { color: var(--wp--preset--color--link); text-decoration: underline; }
.xp-art strong { font-weight: var(--wp--custom--weight--bold); }
.xp-art ol { padding: 0 0 0 var(--wp--custom--text--para); }
.xp-art ol > li { padding-bottom: var(--wp--custom--article--li-after); }
/* (04.10.2026, последна партида R; копието на 390–1920, BG/EN/DE) отметката е в реда — 1,2em, 3vw (на телефон 1em и 2vw) до текста,
   пренесеният ред започва под нея; списъкът е с 1em отстъп (на телефон без), 3vh под точката. Беше висящ отстъп 2em и отметка
   20 px: текстът ~37 px навътре, всяка точка с ред по-дълга (DE Twitter: списъкът +45–50 px). */
.xp-art ul { padding: 0 0 0 var(--wp--custom--article--ul-pad); list-style: none; }
.xp-art ul > li { padding: 0 0 var(--wp--custom--article--check-after); line-height: var(--t-lh-text); }
.xp-art ul > li::before { content: ""; display: inline-block; width: var(--wp--custom--article--check-size); height: var(--wp--custom--article--check-size); margin-right: var(--wp--custom--article--check-gap); vertical-align: var(--wp--custom--article--check-lift); background: currentColor; mask: url("../../assets/img/check-circle.svg") center / contain no-repeat; }
.xp-art .wp-block-columns { column-gap: var(--wp--custom--text--cols-gap); margin: var(--wp--custom--article--img-gap) 0; } /* ред от картинки (Divi статиите) — без излизането вляво; разстоянието на Divi (gutter 3, партида Г) */
.xp-art .wp-block-columns.is-gutter-2 { column-gap: var(--wp--custom--text--cols-gap-2); }
.xp-art .wp-block-post-content > .wp-block-image { margin: var(--wp--custom--article--img-gap) 0 var(--wp--custom--article--img-gap) var(--wp--custom--article--img-out); }
.xp-art .wp-block-image img { max-width: 100%; height: auto; border-radius: var(--wp--custom--radius--m); }
.xp-art .wp-block-column .wp-block-image { margin: 0; }
/* (партида Г, 04.10.2026) статия от Divi модули (5+5 дизайн тенденции): самостоятелната картинка е в колоната на текста, половинките —
   50 % (is-w-50); миниатюрите в ред с надписа на източника отдолу — ситен надпис (в копието 0,6vw / 1,5vw / 2,5vw) */
.xp-art .wp-block-post-content > .wp-block-image.is-in-text { margin-left: 0; }
.xp-art .wp-block-image.is-w-50 { max-width: var(--wp--custom--article--img-half); }
.xp-art .wp-block-column p { padding: var(--wp--custom--space--10) 0 0; font-size: var(--t-label); line-height: var(--t-lh-small); }
.xp-art img { max-width: 100%; height: auto; }
/* (04.10.2026, R) всяка картинка в статията на копието (и тази в абзац, и в ред от картинки): заоблени ъгли и сянка (беше без сянка, в абзац — и без ъгли) */
.xp-art img:not(.emoji, .wp-smiley) { border-radius: var(--wp--custom--radius--m); box-shadow: var(--wp--custom--shadow--drop); }
.xp-art iframe { max-width: 100%; }
@media (max-width: 980px) {
	.xp-art { margin-right: var(--wp--custom--layout--side); }
}
@media (max-width: 767px) {
	.xp-art { margin: var(--wp--custom--article--margin-phone); padding: var(--wp--custom--article--pad-phone); padding-left: var(--t-gl); } /* (016) отстъпът 8vw < --t-gl (9vw) на всеки телефон → max() = --t-gl */
	.xp-art ul { padding-left: var(--wp--custom--article--zero); }
	.xp-art ul > li::before { width: var(--wp--custom--article--check-size-phone); height: var(--wp--custom--article--check-size-phone); margin-right: var(--wp--custom--article--check-gap-phone); }
}
main.xp-rec:has(> .xp-art) { padding-bottom: 0; } /* статията: мястото до частта отдолу е отстоянието на картата (10vh), както на живо */
