/*
 * YOKO Kids v3.4.11
 * Rey native Cover Split release.
 *
 * The previous v3.4.10 layer collapsed Rey's multi-viewport runway to one
 * viewport and then attempted to emulate slide changes with a custom wheel
 * listener. Rey Cover Split needs its own generated runway and sticky runtime,
 * so this layer deliberately removes the child-theme box/height/overflow
 * constraints and leaves slide progression entirely to Rey.
 */

/* The shortcode wrapper must not become a clipping, sizing or containing box.
 * display:contents keeps the Global Section in the normal page flow while the
 * native Rey root owns its exact height, sticky panel and 01 -> 02 -> 03 scroll. */
body.yoko-home-php-page .yoko-home-embedded-hero {
  display: contents !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  overscroll-behavior: auto !important;
  contain: none !important;
  transform: none !important;
  filter: none !important;
  perspective: none !important;
}

/* Sticky fails when any outer homepage wrapper clips vertical overflow. Do not
 * touch Rey's internal slider nodes because their transforms/overflow are part
 * of the animation. */
body.yoko-home-php-page .yoko-homepage-v340,
body.yoko-home-php-page .rey-mainContent,
body.yoko-home-php-page .rey-postContent,
body.yoko-home-php-page .rey-siteContent,
body.yoko-home-php-page main.site-main {
  overflow: visible !important;
  overflow-y: visible !important;
  max-height: none !important;
  contain: none !important;
}

/* Neutralise classes left in cached markup by v3.4.10 without altering Rey's
 * native internal dimensions or animation styles. */
body.yoko-home-php-page .yoko-embedded-wheel-hero,
body.yoko-home-php-page .yoko-embedded-hero-chain {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  overscroll-behavior: auto !important;
}

body.yoko-home-php-page .yoko-home-trust {
  margin-top: 0 !important;
}
