/* Trustindex can occasionally inherit theme widths and flatten all reviews into one long row. */
body:not(.avpm-landing-active) .ti-widget{
  width:100% !important;
  max-width:100% !important;
}

body:not(.avpm-landing-active) .ti-widget .ti-widget-container,
body:not(.avpm-landing-active) .ti-widget .ti-reviews-container-wrapper,
body:not(.avpm-landing-active) .ti-widget .ti-reviews-container{
  max-width:min(1180px,calc(100vw - 64px)) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  transform:none !important;
}

@media (min-width:900px){
  body:not(.avpm-landing-active) .ti-widget .ti-reviews-container-wrapper{
    overflow:visible !important;
  }

  body:not(.avpm-landing-active) .ti-widget .ti-reviews-container{
    display:grid !important;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr)) !important;
    gap:20px !important;
    overflow:visible !important;
    transform:none !important;
    width:100% !important;
    height:auto !important;
  }

  body:not(.avpm-landing-active) .ti-widget .ti-review-item,
  body:not(.avpm-landing-active) .ti-widget .ti-reviews-container > *{
    display:block !important;
    position:relative !important;
    left:auto !important;
    right:auto !important;
    top:auto !important;
    bottom:auto !important;
    width:auto !important;
    min-width:0 !important;
    max-width:100% !important;
    margin:0 !important;
    transform:none !important;
    float:none !important;
  }
}

@media (max-width:899px){
  body:not(.avpm-landing-active) .ti-widget .ti-reviews-container{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:16px !important;
    transform:none !important;
    width:100% !important;
    height:auto !important;
  }

  body:not(.avpm-landing-active) .ti-widget .ti-review-item,
  body:not(.avpm-landing-active) .ti-widget .ti-reviews-container > *{
    display:block !important;
    position:relative !important;
    left:auto !important;
    right:auto !important;
    top:auto !important;
    bottom:auto !important;
    width:auto !important;
    max-width:100% !important;
    margin:0 !important;
    transform:none !important;
    float:none !important;
  }
}

/* The shared network logo bar should stay compact on mobile and avoid tall empty bands. */
@media (max-width:782px){
  #avnb-bar{
    min-height:54px !important;
    padding-top:2px !important;
    padding-bottom:2px !important;
  }

  #avnb-inner{
    gap:8px !important;
  }

  #avnb-bar .avnb-site{
    padding:2px 4px !important;
  }

  #avnb-bar .avnb-icon-wrap{
    width:48px !important;
    height:48px !important;
  }

  #avnb-bar .avnb-icon-wrap img{
    width:46px !important;
    height:46px !important;
    object-fit:contain !important;
  }

  #avnb-bar .avnb-label{
    display:none !important;
  }
}
