/* LifeWater Jug migration preview v0.4.0.
 * All selectors are scoped to the designated unpublished shortcode page.
 */

/* Experiment: the Elementor source explicitly uses one row with four
 * illustration/caption columns, separated by three small arrows. Earlier
 * generator CSS gave every nested container 100% width and stacked them. */
body.lwj-migration-page .lwj-migration .elementor-element-13fcbde6 {
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  justify-content:center!important;
  align-items:center!important;
  column-gap:1%!important;
  width:100%!important;
  max-width:1320px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:clamp(16px,3vw,45px)!important;
  padding-right:clamp(16px,3vw,45px)!important;
}
body.lwj-migration-page .lwj-migration .elementor-element-13fcbde6 > .lwj-el-container {
  flex:1 1 0!important;
  width:21%!important;
  max-width:21%!important;
  min-width:0!important;
  align-self:center!important;
  align-items:center!important;
  justify-content:flex-start!important;
  margin:0!important;
  padding:0!important;
}
body.lwj-migration-page .lwj-migration .elementor-element-13fcbde6 > .lwj-el-container .elementor-widget-image,
body.lwj-migration-page .lwj-migration .elementor-element-13fcbde6 > .lwj-el-container .elementor-widget-text-editor {
  width:100%!important;max-width:100%!important;text-align:center!important;
}
body.lwj-migration-page .lwj-migration .elementor-element-13fcbde6 > .lwj-el-container .elementor-widget-image img {
  width:100%!important;max-width:100%!important;height:auto!important;object-fit:contain!important;
}
body.lwj-migration-page .lwj-migration .elementor-element-13fcbde6 > .lwj-el-container .elementor-text-editor {
  text-align:center!important;
  font-size:clamp(12px,1.05vw,16px)!important;
  line-height:1.55!important;
}
body.lwj-migration-page .lwj-migration .elementor-element-13fcbde6 > .lwj-el-widget.elementor-widget-image {
  flex:0 0 2.5%!important;
  width:2.5%!important;
  max-width:2.5%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  align-self:center!important;
}
body.lwj-migration-page .lwj-migration .elementor-element-13fcbde6 > .lwj-el-widget.elementor-widget-image img {
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
}

/* Preserve video aspect ratios while media loads; fixes expanding/collapsing
 * players without affecting the /world/ Elementor page. */
body.lwj-migration-page .lwj-migration :is(.elementor-element-1493619c,.elementor-element-11fdfc0) video {
  width:100%!important;
  height:auto!important;
  aspect-ratio:16 / 9;
  object-fit:cover;
}
body.lwj-migration-page .lwj-migration .elementor-element-76846b2 .elementor-element-23153df {
  width:min(100%,540px)!important;
  max-width:540px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.lwj-migration-page .lwj-migration .elementor-element-76846b2 .elementor-element-23153df video {
  display:block;width:100%!important;max-width:100%!important;
  aspect-ratio:9 / 16;
  object-fit:contain;
  background:#e9edf2;
}

/* Product videos should never spill past the two-column desktop layout. */
body.lwj-migration-page .lwj-migration .elementor-element-7c05b452 .elementor-widget-video {
  min-width:0;max-width:100%;
}
body.lwj-migration-page .lwj-migration .elementor-element-7c05b452 .elementor-widget-video video {
  max-width:100%!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:9 / 16;
  object-fit:contain;
}

/* Keep tables scrollable without resizing text to unreadable size. */
body.lwj-migration-page .lwj-migration .elementor-widget-html .lwj-table-scroll {
  max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;
}

@media (max-width:767px){
  body.lwj-migration-page .lwj-migration .elementor-element-13fcbde6 {
    flex-direction:column!important; flex-wrap:nowrap!important;
    row-gap:18px!important;max-width:100%!important;
    padding-left:18px!important;padding-right:18px!important;
  }
  body.lwj-migration-page .lwj-migration .elementor-element-13fcbde6 > .lwj-el-container {
    flex:0 0 auto!important;width:min(85%,360px)!important;max-width:360px!important;
  }
  body.lwj-migration-page .lwj-migration .elementor-element-13fcbde6 > .lwj-el-widget.elementor-widget-image {
    width:24px!important;max-width:24px!important;flex:0 0 auto!important;
    transform:rotate(90deg);
  }
  body.lwj-migration-page .lwj-migration .elementor-element-13fcbde6 > .lwj-el-container .elementor-text-editor {
    font-size:14px!important;
  }
  body.lwj-migration-page .lwj-migration .elementor-element-11fdfc0 video {
    aspect-ratio:9 / 16;
  }
  body.lwj-migration-page .lwj-migration .elementor-element-76846b2 .elementor-element-23153df {
    max-width:min(100%,360px)!important;
  }
}
