/* LifeWater Jug v0.5.0: shortcode-page-only refinements.
   Does not change the /world/ Elementor site or the existing advertising LPs. */

/* News strips from original Elementor: prevent the right-hand CTA from
   collapsing to a tiny, unreadable rectangle in the Astra wrapper. */
body.lwj-migration-page .lwj-migration :is(.elementor-element-1c0927f5,.elementor-element-5d7de52d) {
  display:flex!important; align-items:center!important; flex-wrap:nowrap!important;
  gap:12px!important; padding:8px clamp(12px, 3vw, 28px)!important;
}
body.lwj-migration-page .lwj-migration :is(.elementor-element-1c0927f5,.elementor-element-5d7de52d) > .lwj-el-column:first-child {
  flex:1 1 auto!important; min-width:0;
}
body.lwj-migration-page .lwj-migration :is(.elementor-element-1c0927f5,.elementor-element-5d7de52d) > .lwj-el-column:last-child {
  flex:0 0 auto!important; width:auto!important; min-width:132px; max-width:33%;
}
body.lwj-migration-page .lwj-migration :is(.elementor-element-1c0927f5,.elementor-element-5d7de52d) .elementor-heading-title {
  margin:0!important; font-size:clamp(12px,1.1vw,16px)!important;
  line-height:1.5!important; overflow-wrap:anywhere;
}
body.lwj-migration-page .lwj-migration :is(.elementor-element-1c0927f5,.elementor-element-5d7de52d) .elementor-button {
  display:flex; align-items:center; justify-content:center; min-height:32px;
  width:100%; white-space:normal; text-align:center;
  font-size:clamp(11px,1vw,14px)!important; line-height:1.35;
}
/* Keep prominent text readable while preserving source color and typography. */
body.lwj-migration-page .lwj-migration :is(.elementor-element-73b9a504,.elementor-element-682cfe84) .elementor-heading-title {
  overflow-wrap:normal; word-break:normal;
}

/* Manual carousel controls: enhancement to the scroll-snap fallback.
   Native horizontal swiping works even without JavaScript. */
body.lwj-migration-page .lwj-migration .lwj-carousel-tools {
  display:flex; align-items:center; justify-content:flex-end; gap:10px;
  margin:8px clamp(10px,3vw,30px) 4px;
}
body.lwj-migration-page .lwj-migration .lwj-carousel-tools[hidden] {display:none!important}
body.lwj-migration-page .lwj-migration .lwj-carousel-tools button {
  display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:999px; padding:0;
  font:600 20px/1 system-ui,sans-serif; cursor:pointer;
  border:1px solid rgba(37,65,93,.22); background:#fff; color:#284865;
  box-shadow:0 1px 4px rgba(0,0,0,.10);
}
body.lwj-migration-page .lwj-migration .lwj-carousel-tools button:disabled {opacity:.35;cursor:default}
body.lwj-migration-page .lwj-migration .lwj-carousel-tools button:focus-visible {outline:3px solid #228bb6;outline-offset:2px}

/* A video uses an MOV-only source in this section. If the browser cannot
   play it, show a useful non-empty fallback instead of a broken player. */
body.lwj-migration-page .lwj-migration .lwj-mov-fallback {
  width:min(100%,420px); min-height:260px; aspect-ratio:9 / 12;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:15px; padding:24px; margin:0 auto;
  border-radius:14px; background:linear-gradient(160deg,#eaf4f9,#c3d6e4);
  color:#243d51; text-align:center; box-shadow:0 5px 24px rgba(26,55,80,.09);
}
body.lwj-migration-page .lwj-migration .lwj-mov-fallback[hidden] {display:none!important}
body.lwj-migration-page .lwj-migration .lwj-mov-fallback-icon {font-size:42px;line-height:1}
body.lwj-migration-page .lwj-migration .lwj-mov-fallback p {margin:0;font-size:15px;line-height:1.65}
body.lwj-migration-page .lwj-migration .lwj-mov-fallback a {
  display:inline-flex;align-items:center;justify-content:center; padding:10px 18px;
  background:#2495c0;color:#fff;border-radius:999px; text-decoration:none;font-weight:700;
}
body.lwj-migration-page .lwj-migration .lwj-mov-fallback a:hover {background:#187ca4;color:#fff}
body.lwj-migration-page .lwj-migration .lwj-mov-fallback small {display:block;max-width:280px;font-size:12px;line-height:1.6}

@media (max-width:767px) {
  body.lwj-migration-page .lwj-migration :is(.elementor-element-1c0927f5,.elementor-element-5d7de52d) {gap:8px!important;padding:8px 10px!important}
  body.lwj-migration-page .lwj-migration :is(.elementor-element-1c0927f5,.elementor-element-5d7de52d) > .lwj-el-column:last-child {
    flex:0 0 36%!important; width:36%!important; min-width:0;max-width:36%;
  }
  body.lwj-migration-page .lwj-migration :is(.elementor-element-1c0927f5,.elementor-element-5d7de52d) .elementor-heading-title {font-size:12px!important}
  body.lwj-migration-page .lwj-migration :is(.elementor-element-1c0927f5,.elementor-element-5d7de52d) .elementor-button {font-size:11px!important;padding:7px 6px}
  body.lwj-migration-page .lwj-migration .lwj-mov-fallback {min-height:260px;aspect-ratio:3 / 4;width:min(100%,360px)}
}
