/* =================================================================
   Widget: SMG Trust Row
   Ported from the original ".trust" section. Defaults use the --smg-*
   tokens so it is pixel-perfect out of the box; Elementor Style
   controls override on top (see class-trust-row.php).
   ================================================================= */

.smg-trust {
  background: var(--smg-porcelain-2);
  border-bottom: 1px solid var(--smg-line);
}

.smg-trust__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-block: clamp(28px, 4vw, 44px);
}

.smg-trust__item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-inline: clamp(12px, 2vw, 28px);
  position: relative;
}

.smg-trust__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 36px;
  width: 1px;
  background: var(--smg-line);
}

.smg-trust__title {
  font-family: var(--smg-ff-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--smg-ink);
}

.smg-trust__sub {
  font-size: 0.88rem;
  color: var(--smg-ink-faint);
}

/* Mobile parity with the original: 2-col layout keeps the mid divider but
   drops the row-end ones. Overridable per device via the Divider control. */
@media (max-width: 880px) {
  .smg-trust__row {
    gap: 1.4rem 0;
  }
  .smg-trust__item {
    padding-block: 0.4rem;
  }
  .smg-trust__item:nth-child(2n)::after,
  .smg-trust__item:last-child::after {
    display: none;
  }
}
@media (max-width: 480px) {
  .smg-trust__item::after {
    display: none;
  }
}
