/*
 * About us client grid. Layout matches pages/about-us/clients.css.
 * Card fill is white. Border #f5f3fb and the soft shadow are the current page values.
 */

.about-page.clients-section-container {
  width: 85%;
  margin: auto auto 8.75rem;
}

.about-page .clients-title {
  width: 610px;
}

html:lang(en) .about-page .clients-title {
  width: 500px;
}

.about-page .clients-cards-container {
  padding-top: 3.75rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-gap: 2.5rem;
}

.about-page .clients-card {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem;
  height: 100%;
  max-width: 100%;
  background: var(--neutral-white);
  border: 1px solid #f5f3fb;
  box-shadow: 0 3px 5px rgba(99, 52, 200, 0.05);
  border-radius: var(--radius-card);
}

.about-page .clients-card > img {
  width: 80%;
}

@media (max-width: 1020px) {
  .about-page .clients-cards-container {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, 1fr);
  }
}

@media (max-width: 768px) {
  .about-page.clients-section-container {
    width: 100%;
    padding-left: 0.938rem;
    padding-right: 0.938rem;
    margin: 0 0 5rem;
  }

  :lang(en) .about-page .clients-title,
  .about-page .clients-title {
    width: 80%;
  }
}

@media (max-width: 450px) {
  .about-page .clients-cards-container {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(12, 1fr);
  }

  html:lang(en) .about-page .clients-title,
  .about-page .clients-title {
    width: 100%;
  }
}
