
/* SECURIX homepage — category cards fix */
@media (min-width:1024px){
  .home-categories-grid{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:12px!important;
  }

  .home-category-card{
    display:grid!important;
    grid-template-columns:36% minmax(0,64%)!important;
    align-items:center!important;
    min-width:0!important;
    min-height:148px!important;
    height:148px!important;
    padding:12px 14px!important;
    overflow:hidden!important;
  }

  .home-category-media{
    width:100%!important;
    min-width:0!important;
    height:98px!important;
    padding:0 10px 0 0!important;
    justify-content:center!important;
  }

  .home-category-media img{
    display:block!important;
    max-width:100%!important;
    max-height:92px!important;
    object-fit:contain!important;
  }

  .home-category-copy{
    min-width:0!important;
    width:100%!important;
    overflow:visible!important;
  }

  .home-category-copy strong{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    font-size:15px!important;
    line-height:1.18!important;
    letter-spacing:-.015em!important;
  }

  /* The longest UA category name has no spaces; allow a clean break only if truly needed. */
  .home-category-card:first-child .home-category-copy strong{
    overflow-wrap:anywhere!important;
  }

  .home-category-copy p{
    margin-top:5px!important;
    font-size:10.5px!important;
    line-height:1.34!important;
  }
}

@media (min-width:1280px){
  .home-category-card{
    grid-template-columns:34% minmax(0,66%)!important;
  }
  .home-category-copy strong{
    font-size:15.5px!important;
  }
}

@media (max-width:1023px){
  .home-category-copy strong{
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    overflow-wrap:anywhere!important;
  }
}
