/*
 * WebXtent v0.8.115 — Home mobile featured-project card.
 *
 * Keeps the desktop Hero featured-project card viable on phones without
 * changing the accepted desktop/tablet composition. The card stays compact,
 * horizontal and fully readable beneath the Hero actions.
 */

@media (max-width:767px){
  body.wxt-scene-home .wxt-home-hero__promo{
    display:grid!important;
    grid-template-columns:clamp(78px,23vw,94px) minmax(0,1fr)!important;
    align-items:stretch!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    min-height:104px!important;
    gap:10px!important;
    margin:0!important;
    padding:10px!important;
    border-radius:min(var(--wxt-hero-promo-radius,20px),20px)!important;
    overflow:hidden!important;
  }

  body.wxt-scene-home .wxt-home-hero-story[style*="--wxt-hero-promo-mobile:0"] .wxt-home-hero__promo{
    display:none!important;
  }

  body.wxt-scene-home .wxt-home-hero__promo-media{
    width:100%!important;
    height:auto!important;
    min-height:84px!important;
    align-self:stretch!important;
    border-radius:13px!important;
  }

  body.wxt-scene-home .wxt-home-hero__promo-media .wxt-home-image-slot,
  body.wxt-scene-home .wxt-home-hero__promo-media img{
    width:100%!important;
    height:100%!important;
    min-height:84px!important;
  }

  body.wxt-scene-home .wxt-home-hero__promo-body{
    min-width:0!important;
    gap:5px!important;
    justify-content:space-between!important;
  }

  body.wxt-scene-home .wxt-home-hero__promo-kicker{
    margin:0 0 2px!important;
    font-size:7px!important;
    line-height:1.2!important;
    letter-spacing:.15em!important;
  }

  body.wxt-scene-home .wxt-home-hero__promo-title{
    margin:0!important;
    font-size:clamp(14px,4vw,16px)!important;
    line-height:1.08!important;
  }

  body.wxt-scene-home .wxt-home-hero__promo-text{
    display:-webkit-box!important;
    overflow:hidden!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    margin:2px 0 0!important;
    font-size:10px!important;
    line-height:1.32!important;
  }

  body.wxt-scene-home .wxt-home-hero__promo-footer{
    min-width:0!important;
    gap:6px!important;
    margin-top:2px!important;
  }

  body.wxt-scene-home .wxt-home-hero__promo-nav{
    gap:3px!important;
  }

  body.wxt-scene-home .wxt-home-hero__promo-nav span{
    width:22px!important;
    height:22px!important;
    font-size:11px!important;
  }

  body.wxt-scene-home .wxt-home-hero__promo-action{
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    min-height:32px!important;
    font-size:14px!important;
  }
}

@media (max-width:359px){
  body.wxt-scene-home .wxt-home-hero__promo{
    grid-template-columns:72px minmax(0,1fr)!important;
    min-height:96px!important;
    gap:8px!important;
    padding:8px!important;
  }

  body.wxt-scene-home .wxt-home-hero__promo-media,
  body.wxt-scene-home .wxt-home-hero__promo-media .wxt-home-image-slot,
  body.wxt-scene-home .wxt-home-hero__promo-media img{
    min-height:78px!important;
  }

  body.wxt-scene-home .wxt-home-hero__promo-text{
    -webkit-line-clamp:1!important;
  }
}
