/* Fix: client logos overflowing + not centered on mobile */
.tg-client-card {
  align-items: center !important;
  justify-content: flex-start !important;
}
.tg-client-logo-box {
  flex: 0 0 112px !important;
  width: 112px !important;
  height: 112px !important;
  min-width: 112px !important;
  max-width: 112px !important;
  min-height: 112px !important;
  max-height: 112px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  align-self: center !important;
  margin-inline: auto !important;
  justify-self: center !important;
}
.tg-client-logo-box img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  margin: 0 auto !important;
}
.tg-clients-page .tg-client-card { overflow: hidden; }
.tg-clients-page .tg-client-body {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  background: var(--surface);
  align-items: center !important;
  text-align: center !important;
}
@media (max-width: 900px) {
  .tg-client-logo-box {
    flex: 0 0 88px !important;
    width: 88px !important;
    height: 88px !important;
    min-width: 88px !important;
    max-width: 88px !important;
    min-height: 88px !important;
    max-height: 88px !important;
  }
  .tg-client-card:hover { transform: none !important; }
  .tg-client-card:hover .tg-client-logo-box,
  .tg-client-card:hover .tg-client-logo-box img { transform: none !important; }
}
@media (hover: none) {
  .tg-client-card:hover { transform: none !important; }
  .tg-client-card:hover .tg-client-logo-box { transform: none !important; }
  .tg-client-card:hover .tg-client-logo-box img { transform: none !important; }
  .tg-client-card:hover .tg-client-logo-box::before,
  .tg-client-card:hover .tg-client-logo-box::after { opacity: 0 !important; }
}