/* Transitional, opt-in mobile cleanup. Direct editorial children only; no widget/form/calendar internals. */
@media (max-width: 767px) {
  body.epic-legacy-mobile-cleanup :is(.gdl-page-content,.blog-content,.package-content) > :is(p,ul,ol) { margin-bottom: 0.9em; line-height: 1.6; }
  body.epic-legacy-mobile-cleanup :is(.gdl-page-content,.blog-content,.package-content) > :is(h2,h3,h4) { margin-top: 1.15em; margin-bottom: 0.45em; line-height: 1.25; overflow-wrap: break-word; }
  body.epic-legacy-mobile-cleanup :is(.gdl-page-content,.blog-content,.package-content) > :is(.wp-block-image,figure.wp-block-table) { max-width: 100%; margin-top: 0.9em; margin-bottom: 0.9em; }
  body.epic-legacy-mobile-cleanup :is(.gdl-page-content,.blog-content,.package-content) > .wp-block-image img,
  body.epic-legacy-mobile-cleanup :is(.gdl-page-content,.blog-content,.package-content) > p > img { max-width: 100%; height: auto; }
  body.epic-legacy-mobile-cleanup :is(.gdl-page-content,.blog-content,.package-content) > .wp-block-table { overflow-x: auto; }
  body.epic-legacy-mobile-cleanup :is(.gdl-page-content,.blog-content,.package-content) > :is(.ez-toc-container,#ez-toc-container,.wp-block-kadence-tableofcontents) { max-width: 100%; box-sizing: border-box; margin-top: 0.75em; margin-bottom: 1em; }
  body.epic-legacy-mobile-cleanup.epic-modern-banner .header-outer-wrapper.no-top-slider > .page-header-wrapper > .page-header-container { padding-bottom: 12px; }
}
