/* /clients/ — centred heading + intro, then a logo grid on the light grey used on the home page:
   thin lines only BETWEEN logos (no outer border). The 40 logos fill complete rows at 5, 4 and 2 columns. */
html body.system-page main .cl-hero { padding: 80px 0 120px; background: #f8f9fa; }
html body.system-page main .cl-hero h1 { margin: 0 0 24px; }
html body.system-page main .cl-hero .cl-intro { max-width: 620px; margin: 0 auto 64px; text-align: center; font-size: 20px; line-height: 28px; font-weight: 500; color: #404040; }
.cl-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.cl-grid li { position: relative; aspect-ratio: 275 / 200; display: flex; align-items: center; justify-content: center; border-right: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; transition: background var(--dur-base, 350ms) var(--ease, ease), box-shadow var(--dur-base, 350ms) var(--ease, ease), transform var(--dur-base, 350ms) var(--ease, ease); }
.cl-grid li:nth-child(5n) { border-right: 0; }
.cl-grid li:nth-last-child(-n+5) { border-bottom: 0; }
.cl-grid img { display: block; width: auto; height: auto; max-width: 75%; max-height: 56px; object-fit: contain; mix-blend-mode: multiply; }   /* same cap as the homepage grid; white-backed logos blend into the grey */
@media (max-width: 1100px) {
  .cl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cl-grid li { border-right: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; }
  .cl-grid li:nth-child(5n) { border-right: 1px solid #e5e5e5; }
  .cl-grid li:nth-last-child(-n+5) { border-bottom: 1px solid #e5e5e5; }
  .cl-grid li:nth-child(4n) { border-right: 0; }
  .cl-grid li:nth-last-child(-n+4) { border-bottom: 0; }
}
@media (max-width: 900px) {
  html body.system-page main .cl-hero { padding: 56px 0 80px; }
  html body.system-page main .cl-hero .cl-intro { margin-bottom: 40px; }
  .cl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cl-grid li { border-right: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; }
  .cl-grid li:nth-child(3n) { border-right: 0; }
  .cl-grid li:nth-last-child(-n+1) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .cl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cl-grid li { border-right: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; }
  .cl-grid li:nth-child(3n) { border-right: 1px solid #e5e5e5; }
  .cl-grid li:nth-child(2n) { border-right: 0; }
  .cl-grid li:nth-last-child(-n+2) { border-bottom: 0; }
  html body.system-page main .cl-hero .cl-intro { font-size: 18px; line-height: 26px; }
}
@media (prefers-reduced-motion: reduce) { .cl-grid li:hover { transform: none; } }
