/* Клиентские HTML-блоки (tochka-core/html-blocks.php). Оболочка ограничивает влияние
   содержимого на страницу: contain — fixed/absolute-элементы и перерисовка остаются внутри. */
.tochka-html { display: block; contain: layout paint style; }
.tochka-html--grid { padding: var(--section-py) 0; }
.tochka-html--bleed, .tochka-html--full,
main > section.tochka-html--bleed, main > section.tochka-html--full,
.page-header + section.tochka-html--bleed, .page-header + section.tochka-html--full,
main > section.tochka-html--bleed:last-child, main > section.tochka-html--full:last-child { padding: 0 !important; }
.tochka-html--bleed > .tochka-html__host, .tochka-html--full > .tochka-html__host { width: 100%; }
.tochka-html__host { display: block; min-width: 0; }
.tochka-html__host--plain { overflow-wrap: anywhere; }
.tochka-html__host--plain img, .tochka-html__host--plain video, .tochka-html__host--plain iframe { max-width: 100%; }
