/* Home section: strategic partners */
.az9s-home-partners {
  background: #fff;
  padding: 30px 0 42px;
}

.az9s-home-partners__inner {
  margin: 0 auto;
  max-width: 1360px;
  padding: 0 16px;
  width: 100%;
}

.az9s-home-partners__title {
  align-items: center;
  background: #f7f7f7;
  border-bottom: 2px solid #4fc24f;
  border-left: 2px solid #4fc24f;
  border-right: 2px solid #4fc24f;
  display: flex;
  gap: 10px;
  justify-content: center;
  min-height: 44px;
  text-align: center;
}

.az9s-home-partners__title i {
  color: #ff6666;
  font-size: 20px;
}

.az9s-home-partners__title h2 {
  color: #f01818;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}

.az9s-home-partners__grid {
  border-bottom: 1px dashed #ddd;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  margin-top: 34px;
}

.az9s-home-partners__item {
  align-items: center;
  border-left: 1px dashed #ddd;
  display: flex;
  justify-content: center;
  min-height: 62px;
  padding: 12px;
}

.az9s-home-partners__item:last-child {
  border-right: 1px dashed #ddd;
}

.az9s-home-partners__item a {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.az9s-home-partners__item img {
  display: block;
  height: auto;
  max-height: 34px;
  max-width: 130px;
  object-fit: contain;
  width: auto;
}

.az9s-home-partners__item span {
  color: #444;
  display: block;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  opacity: 0.92;
  text-align: center;
}

.az9s-home-partners__item:nth-child(1) span {
  color: #9a9a9a;
  font-size: 16px;
}

.az9s-home-partners__item:nth-child(2) span {
  color: #333;
}

.az9s-home-partners__item:nth-child(4) span {
  color: #d71920;
  font-family: Georgia, serif;
}

.az9s-home-partners__item:nth-child(5) span {
  color: #ff7a00;
  font-size: 14px;
}

.az9s-home-partners__item:nth-child(6) span {
  color: #1f79c8;
  font-size: 18px;
}

.az9s-home-partners__item:nth-child(7) span {
  color: #e30613;
  font-style: italic;
}

.az9s-home-partners__item:nth-child(8) span {
  color: #222;
  font-size: 19px;
  text-transform: lowercase;
}

@media (max-width: 1024px) {
  .az9s-home-partners__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .az9s-home-partners__item:nth-child(4n) {
    border-right: 1px dashed #ddd;
  }
}

@media (max-width: 640px) {
  .az9s-home-partners {
    padding: 24px 0 34px;
  }

  .az9s-home-partners__title h2 {
    font-size: 18px;
  }

  .az9s-home-partners__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
  }

  .az9s-home-partners__item:nth-child(2n) {
    border-right: 1px dashed #ddd;
  }
}
