/* Five certification marks in one row, inside the page container */
.certs-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.certs-row__item {
  min-width: 0;
  padding: 16px 8px 14px;
  text-align: center;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  transition: border-color 0.4s;
}

.certs-row__item:last-child {
  border-right: 0;
}

.certs-row__item:hover {
  border-color: #0070b0;
}

.certs-row__item img {
  display: block;
  width: auto;
  max-width: 78%;
  height: 72px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.certs-row__item p {
  margin: 0 0 8px;
  line-height: 1.35;
}

.certs-row__arrow {
  display: inline-flex;
  color: #1d1d1d;
}

@media (max-width: 991px) {
  .certs-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .certs-row__item:nth-child(3) {
    border-right: 0;
  }
}

@media (max-width: 575px) {
  .certs-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .certs-row__item:nth-child(3) {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
  }

  .certs-row__item:nth-child(even) {
    border-right: 0;
  }
}
