/* Mobile Popular Activities carousel: keep every visible card fully opaque.
   The desktop edge-fade mask is intentionally disabled on phone screens. */
@media (max-width:760px){
  html body.btb-site .btb-home-popular .btb-home-horizontal,
  html body.btb-site .btb-home-popular .btb-home-horizontal[data-btb-fade-left="true"],
  html body.btb-site .btb-home-popular .btb-home-horizontal[data-btb-fade-right="true"],
  html body.btb-site .btb-home-popular .btb-home-horizontal[data-btb-fade-left="true"][data-btb-fade-right="true"]{
    -webkit-mask-image:none!important;
    mask-image:none!important;
    -webkit-mask:none!important;
    mask:none!important;
  }
  html body.btb-site .btb-home-popular .btb-home-horizontal>.btb-card,
  html body.btb-site .btb-home-popular .btb-home-horizontal>.btb-home-product-card{
    opacity:1!important;
    filter:none!important;
  }
}


/* Homepage About section: force a true single-column mobile layout.
   A later duplicate desktop declaration was restoring the two-column grid
   after the original mobile breakpoint and squeezing the copy into a sliver. */
@media (max-width:760px){
  html body.btb-site main .btb-home-about .btb-home-about-card{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    grid-auto-flow:row!important;
    align-items:stretch!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  html body.btb-site main .btb-home-about .btb-home-about-card>.btb-home-stats,
  html body.btb-site main .btb-home-about .btb-home-about-card>.btb-home-about-copy{
    grid-column:1!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  html body.btb-site main .btb-home-about .btb-home-about-card>.btb-home-stats{
    grid-row:1!important;
    min-height:220px!important;
    height:auto!important;
    padding:28px 18px!important;
  }
  html body.btb-site main .btb-home-about .btb-home-about-card>.btb-home-about-copy{
    grid-row:2!important;
    align-self:stretch!important;
    padding:26px 20px 28px!important;
    overflow-wrap:anywhere!important;
  }
  html body.btb-site main .btb-home-about .btb-home-about-copy h2{
    max-width:18ch!important;
    font-size:clamp(25px,7.2vw,32px)!important;
    line-height:1.12!important;
    text-wrap:balance!important;
  }
  html body.btb-site main .btb-home-about .btb-home-about-copy>p:not(.btb-eyebrow){
    max-width:none!important;
    font-size:13px!important;
    line-height:1.7!important;
  }
  html body.btb-site main .btb-home-about .btb-home-stats>div{
    display:flex!important;
    flex-flow:row wrap!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px 9px!important;
    width:100%!important;
    max-width:100%!important;
    margin-top:18px!important;
  }
  html body.btb-site main .btb-home-about .btb-home-stats>div b{
    flex:0 0 auto!important;
    font-size:17px!important;
  }
  html body.btb-site main .btb-home-about .btb-home-stats>div small{
    flex:0 1 auto!important;
    font-size:9px!important;
    white-space:nowrap!important;
  }
  html body.btb-site main .btb-home-about .btb-home-stats>div i{
    flex:0 0 1px!important;
  }
}
@media (max-width:380px){
  html body.btb-site main .btb-home-about .btb-home-about-copy{
    padding:23px 17px 25px!important;
  }
  html body.btb-site main .btb-home-about .btb-home-stats{
    min-height:205px!important;
    padding:25px 14px!important;
  }
  html body.btb-site main .btb-home-about .btb-home-stats>div{
    column-gap:7px!important;
  }
  html body.btb-site main .btb-home-about .btb-home-stats>div small{
    font-size:8px!important;
  }
}


/* Homepage blog cards: force a stacked image-over-content layout on phones.
   The legacy max-width:700px rule sets display:flex in a row; grid-template
   declarations alone cannot change that flex direction. */
@media (max-width:760px){
  html body.btb-site main .btb-home-blog .btb-home-blog-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-auto-flow:row!important;
    gap:14px!important;
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
    padding:0!important;
  }
  html body.btb-site main .btb-home-blog .btb-home-blog-grid>article{
    display:flex!important;
    flex-direction:column!important;
    flex:0 0 auto!important;
    width:100%!important;
    min-width:0!important;
    min-height:0!important;
    height:auto!important;
    margin:0!important;
    overflow:hidden!important;
    border:1px solid #F6B7C4!important;
    border-radius:17px!important;
    background:#fff!important;
    box-shadow:0 5px 16px rgba(0,0,0,0.045)!important;
  }
  html body.btb-site main .btb-home-blog .btb-home-blog-grid>article>.btb-home-blog-image{
    display:block!important;
    position:relative!important;
    flex:0 0 auto!important;
    width:100%!important;
    min-width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:16/9!important;
    overflow:hidden!important;
  }
  html body.btb-site main .btb-home-blog .btb-home-blog-grid>article>.btb-home-blog-image img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    object-fit:cover!important;
  }
  html body.btb-site main .btb-home-blog .btb-home-blog-grid>article>div{
    display:flex!important;
    flex:1 1 auto!important;
    flex-direction:column!important;
    align-items:stretch!important;
    width:100%!important;
    min-width:0!important;
    padding:15px 16px 16px!important;
    box-sizing:border-box!important;
  }
  html body.btb-site main .btb-home-blog .btb-home-blog-grid>article>div h3{
    margin:0 0 8px!important;
    font-size:14px!important;
    line-height:1.38!important;
    font-weight:850!important;
    overflow-wrap:anywhere!important;
  }
  html body.btb-site main .btb-home-blog .btb-home-blog-grid>article>div p{
    display:-webkit-box!important;
    margin:0 0 11px!important;
    overflow:hidden!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:3!important;
    font-size:12px!important;
    line-height:1.55!important;
  }
  html body.btb-site main .btb-home-blog .btb-home-blog-grid>article>div small{
    display:block!important;
    margin-top:auto!important;
    font-size:10px!important;
    line-height:1.45!important;
  }
}

