/* =============================================================================
   Trust row (redesign batch 3, P4): four still items on the light grey, thin orange icons.
   4 across from 990px, 2x2 below; with three items (no card payment) 3 across from 750px.
   ============================================================================= */

.dpl-trust-row {
  margin-top: var(--dpl-section-padding);
  padding: 32px 0;
  background: var(--dpl-surface-grey);
}

.dpl-trust-row__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dpl-trust-row__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}

.dpl-trust-row__icon {
  display: flex;
  align-items: center;
  color: var(--dpl-accent);
  margin-bottom: 4px;
}

.dpl-trust-row__title {
  margin: 0;
  font-size: 16px;
  font-weight: var(--dpl-weight-heading);
  line-height: 1.3;
  color: var(--dpl-text);
}

.dpl-trust-row__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--dpl-text-muted);
}

/* Three items on a phone: one column reads better than a lone item in a 2x2. */
@media screen and (max-width: 749px) {
  .dpl-trust-row--3 .dpl-trust-row__list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media screen and (min-width: 750px) {
  .dpl-trust-row {
    padding: 40px 0;
  }

  .dpl-trust-row--3 .dpl-trust-row__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (min-width: 990px) {
  .dpl-trust-row__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
  }

  .dpl-trust-row--3 .dpl-trust-row__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
