/*
 * WebXtent v0.8.121 — Home mobile annotated layout + subscription reliability.
 *
 * Phone-only visual corrections from the 2026-10-04 annotated iPhone references:
 * - restore the Home feature interlude from the v0.8.87 compacted 220px effective
 *   height to the canonical mobile interlude height (250px default);
 * - slightly narrow the Editorial highlight card and give it enough vertical
 *   depth for the full title/meta copy;
 * - make the inline subscription card visible by default so content cannot
 *   disappear when route-time enhancement JavaScript has not run yet.
 */

@media (max-width:767px){

  /* HOME FEATURE INTERLUDE
   * v0.8.87 subtracted 30px from the authorable mobile height. The new phone
   * reference asks for that visual panel to be taller again, so consume the
   * canonical mobile height directly. */
  body.wxt-scene-home .wxt-home-design-baseline__interlude,
  body.wxt-scene-home .wxt-home-design-baseline__interlude-media,
  body.wxt-scene-home .wxt-home-design-baseline__interlude-media .wxt-home-image-slot{
    height:var(--wxt-baseline-mobile-interlude-height,250px)!important;
    min-height:var(--wxt-baseline-mobile-interlude-height,250px)!important;
  }

  /* WELCOME / EDITORIAL HIGHLIGHT
   * Keep the existing canonical width variable as the upper bound while
   * narrowing the phone card slightly and restoring enough height for all text. */
  body.wxt-scene-home .wxt-home-editorial__feature-card{
    width:min(var(--wxt-editorial-feature-width,360px),calc(100% - 52px))!important;
    min-height:140px!important;
    height:auto!important;
    align-content:center!important;
  }

  body.wxt-scene-home .wxt-home-editorial__feature-title,
  body.wxt-scene-home .wxt-home-editorial__feature-text{
    overflow:visible!important;
  }
}

/* SUBSCRIPTION PROGRESSIVE-ENHANCEMENT SAFETY
 * The form is core content, so its default state must be visible. JavaScript may
 * add the pending class for the optional entrance animation, but a routed page
 * can never be left permanently transparent if an initializer is missed. */
body.wxt-scene-home .wxt-home-subscription--inline-card{
  opacity:1!important;
  transform:none!important;
}

body.wxt-scene-home .wxt-home-subscription--inline-card.is-wxt-subscription-pending{
  opacity:0!important;
  transform:translate3d(0,18px,0)!important;
}

body.wxt-scene-home .wxt-home-subscription--inline-card.is-entered{
  opacity:1!important;
  transform:none!important;
}

@media (prefers-reduced-motion:reduce){
  body.wxt-scene-home .wxt-home-subscription--inline-card,
  body.wxt-scene-home .wxt-home-subscription--inline-card.is-wxt-subscription-pending{
    opacity:1!important;
    transform:none!important;
  }
}
