/* Balanced alphabetical brand rows: 7+6 on desktop, without an orphan card. */
html .balanced-brand-grid {
  display:flex!important;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px!important;
}
html .balanced-brand-grid > a {
  flex:0 0 calc((100% - 72px)/7);
  min-width:0;
  box-sizing:border-box;
}
html .balanced-brand-grid > a img { object-fit:contain; max-width:100%!important; }
html .balanced-brand-grid > a strong { font-size:15px; line-height:1.3; }
@media (max-width:1200px) {
  html .balanced-brand-grid > a { flex-basis:calc((100% - 48px)/5); }
}
@media (max-width:800px) {
  html .balanced-brand-grid > a { flex-basis:calc((100% - 24px)/3); }
  html .balanced-brand-grid > a:nth-last-child(-n+4) { flex-basis:calc((100% - 12px)/2); }
}
@media (max-width:480px) {
  html .balanced-brand-grid > a,
  html .balanced-brand-grid > a:nth-last-child(-n+4) { flex-basis:calc((100% - 12px)/2); }
  html .balanced-brand-grid > a:nth-last-child(-n+3) { flex-basis:calc((100% - 24px)/3); padding-inline:5px; }
  html .balanced-brand-grid > a:nth-last-child(-n+3) img { max-width:100%; }
  html .balanced-brand-grid > a strong { font-size:13px; overflow-wrap:anywhere; }
}
