/* Trust strip under the hero. */

.gyla-trust-strip {
  width: 100%;
  background: #ffffff;
  border-top: 1px solid var(--gyla-color-border);
  border-bottom: 1px solid var(--gyla-color-border);
}

.gyla-trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  max-width: var(--gyla-container);
  margin: 0 auto;
  padding: 30px 24px;
  list-style: none;
}

.gyla-trust-item {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 78px;
  padding: 4px 28px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
}

.gyla-trust-item:not(:first-child)::before {
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: 0;
  width: 2px;
  background: var(--gyla-color-teal);
  content: "";
}

.gyla-trust-item strong {
  color: var(--gyla-color-ink);
  font-size: var(--gyla-text-lead);
  font-weight: 700;
  line-height: 1.25;
}

.gyla-trust-item span {
  max-width: 240px;
  color: var(--gyla-color-text-muted);
  font-size: var(--gyla-text-small);
  line-height: 1.45;
}

/* Tablet */
@media (max-width: 900px) {
  .gyla-trust-strip__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gyla-trust-item {
    padding: 24px;
  }

  .gyla-trust-item:nth-child(odd)::before {
    display: none;
  }

  .gyla-trust-item:nth-child(n + 3) {
    border-top: 1px solid var(--gyla-color-border);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .gyla-trust-strip__inner {
    grid-template-columns: 1fr;
    padding: 12px 20px;
  }

  .gyla-trust-item {
    min-height: 0;
    padding: 22px 8px;
  }

  .gyla-trust-item:not(:first-child)::before {
    display: none;
  }

  .gyla-trust-item + .gyla-trust-item {
    border-top: 1px solid var(--gyla-color-border);
  }

  .gyla-trust-item:nth-child(n + 3) {
    border-top: 1px solid var(--gyla-color-border);
  }
}
