/* Lactofiltrum Classic — сумісність блоків WordPress зі старою розміткою сайту */
.elementor figure.wp-block-image { margin: 0; }
.elementor figure.wp-block-image img { vertical-align: middle; }
.elementor :where(.wp-block-group) { box-sizing: border-box; }
.elementor .wp-block-list { box-sizing: border-box; }

/* Акордеон (інструкція): старий вигляд на <details> */
.elementor-accordion details.elementor-accordion-item > summary { list-style: none; cursor: pointer; display: flex; align-items: center; outline: none; }
.elementor-accordion details.elementor-accordion-item > summary::-webkit-details-marker { display: none; }
.elementor-accordion details.elementor-accordion-item .elementor-tab-content { display: block; }

/* Заголовок пункту акордеону (h2 всередині summary) — вигляд як у summary */
.elementor-accordion details.elementor-accordion-item > summary > .lfc-acc-title { margin: 0; padding: 0; font: inherit; color: inherit; line-height: inherit; letter-spacing: inherit; text-transform: inherit; text-align: inherit; flex: 1 1 auto; clear: none; }

/* Закріплена шапка */
.lfc-sticky-on { position: fixed !important; top: 0; left: 0; right: 0; width: 100% !important; z-index: 99; }
body.admin-bar .lfc-sticky-on { top: 32px; }
@media (max-width: 782px) { body.admin-bar .lfc-sticky-on { top: 46px; } }

.lfc-404 { max-width: 1140px; margin: 80px auto; padding: 0 20px; text-align: center; font-family: Rubik, sans-serif; }
