/* clean — допълненията на текста на статия (поправки A, 05.10.2026; мерено в копието на 1920/1440/1024/768/390):
   кутията на Xplora Academy (13 статии за GA4) — преливащ зелено-син фон от левия ръб до 80vw, текстът вляво, логото и бутонът вдясно,
   илюстрацията извън кутията горе вдясно (на таблет в копието е извън екрана); видеото от YouTube — цялата колона, 16:9; публикациите
   от Instagram — карти 335 px (две една до друга на компютър), самата публикация се зарежда при натискане (site.js); розовите връзки
   на статиите с Divi модули (is-links-pink). */
.xp-art.is-links-pink a { color: var(--wp--preset--color--link); } /* (015) розовото на Divi статиите → един цвят за всички връзки (Сашо 10.10.2026) */
.xp-art.is-row-80 > .wp-block-post-content { width: var(--wp--custom--art-x--row); margin-right: auto; margin-left: auto; } /* Divi ред без ширина: 80 % в средата (5 статии) */
.xp-art .is-academy { position: relative; display: grid; grid-template-columns: var(--wp--custom--art-x--cols); align-items: start; box-sizing: border-box; width: var(--wp--custom--art-x--w); margin: var(--wp--custom--art-x--top) 0 var(--wp--custom--art-x--after) var(--wp--custom--art-x--out); padding: var(--wp--custom--art-x--pad); background: var(--wp--custom--art-x--bg); box-shadow: var(--wp--custom--art-x--shadow); color: var(--wp--preset--color--white); }
.xp-art .is-academy > *, .xp-art .is-academy__cta > *, .xp-art .is-academy__text > * { margin: 0; }
.xp-art .is-academy__text p:last-child { padding-bottom: 0; }
.xp-art .is-academy__cta { display: flex; flex-direction: column; align-items: center; gap: var(--wp--custom--art-x--logo-gap); height: 0; } /* на компютър височината е от текста; бутонът слиза в долното отстояние, както в копието */
.xp-art .is-academy img { border-radius: 0; box-shadow: none; }
.xp-art .is-academy__logo { width: var(--wp--custom--art-x--logo-w); }
.xp-art .is-academy__logo img { display: block; width: 100%; }
.xp-art .is-academy .wp-block-button__link { padding: var(--wp--custom--art-x--btn-pad); border: var(--wp--custom--art-x--btn-border) solid var(--wp--preset--color--white); background: transparent; color: var(--wp--preset--color--white); font-size: var(--t-button); font-weight: var(--wp--custom--weight--light); text-decoration: none; }
.xp-art .is-academy__deco { position: absolute; top: var(--wp--custom--art-x--deco-top); left: var(--wp--custom--art-x--deco-left); width: var(--wp--custom--art-x--deco-w); }
.xp-art .is-academy__deco img { display: block; width: 100%; }
.xp-art .xp-vid { width: 100%; margin: 0 0 var(--wp--custom--text--para); border-radius: 0; box-shadow: none; }
.xp-art .instagram-media { display: inline-block; box-sizing: border-box; width: var(--wp--custom--art-x--ig-w); min-height: var(--wp--custom--art-x--ig-h); margin: 0 0 var(--wp--custom--text--para); padding: var(--wp--custom--art-x--ig-pad); vertical-align: top; border-radius: var(--wp--custom--art-x--ig-radius); background: var(--wp--preset--color--white); box-shadow: var(--wp--custom--art-x--ig-shadow); font-size: var(--t-label); text-align: center; cursor: pointer; }
.xp-art .instagram-media > div > a:first-child { display: grid; place-content: center; aspect-ratio: 1; background: var(--wp--preset--color--grey-light); color: var(--wp--preset--color--blue); font-weight: var(--wp--custom--weight--semi); text-decoration: none; }
.xp-art .instagram-media p { padding: var(--wp--custom--art-x--ig-cap-gap) 0 0; }
.xp-art .instagram-media p a { color: inherit; }
.xp-art .instagram-media:has(+ .instagram-media) { margin-left: var(--wp--custom--art-x--ig-left); margin-right: var(--wp--custom--art-x--ig-gap); }
@media (max-width: 980px) {
	.xp-art .is-academy { grid-template-columns: var(--wp--custom--art-x--cols-tablet); align-items: end; width: var(--wp--custom--art-x--w-tablet); padding: var(--wp--custom--art-x--pad-tablet); }
	.xp-art .is-academy__cta { height: auto; }
	.xp-art .is-academy__logo { width: var(--wp--custom--art-x--logo-w-small); }
	.xp-art .is-academy .wp-block-button__link { padding: var(--wp--custom--art-x--btn-pad-tablet); }
	.xp-art .is-academy__deco { top: var(--wp--custom--art-x--deco-top-tablet); left: var(--wp--custom--art-x--deco-left-tablet); width: var(--wp--custom--art-x--deco-w-tablet); }
	.xp-art .instagram-media, .xp-art .instagram-media:has(+ .instagram-media) { display: block; margin-right: auto; margin-left: auto; }
}
@media (max-width: 767px) {
	.xp-art .is-academy { grid-template-columns: var(--wp--custom--art-x--cols-phone); width: var(--wp--custom--art-x--w-phone); margin: var(--wp--custom--art-x--top-phone) 0 var(--wp--custom--art-x--after-phone) var(--wp--custom--art-x--out-phone); padding: var(--wp--custom--art-x--pad-phone); }
	.xp-art .is-academy__text { max-width: var(--wp--custom--art-x--text-w-phone); }
	.xp-art .is-academy__cta { margin-top: var(--wp--custom--art-x--cta-top-phone); gap: var(--wp--custom--art-x--logo-gap-phone); }
	.xp-art .is-academy .wp-block-button__link { padding: var(--wp--custom--art-x--btn-pad-phone); }
	.xp-art .is-academy__deco { top: var(--wp--custom--art-x--deco-top-phone); left: var(--wp--custom--art-x--deco-left-phone); width: var(--wp--custom--art-x--deco-w-phone); }
	.xp-art .instagram-media, .xp-art .instagram-media:has(+ .instagram-media) { width: 100%; }
}
