/**
 * Homepage Trust Factors block
 *
 * Unified card strip: horizontal row on desktop, wraps on smaller screens.
 * Consistent typography, spacing, and card style for a modern look.
 */

 .trust-factors-block {
    background-color: #fafafa;
    padding-bottom: 0
 }

.trust-factors-block .trust-factors__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1.25rem;
}

@media (min-width: 48rem) {
  .trust-factors-block .trust-factors__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.trust-factors__card-wrapper {
  min-width: 0;
}

.trust-factors__card,
.trust-factors__card--linked {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  justify-content: center;;
  padding: 1.5rem 1.25rem;
  background: linear-gradient(180deg, #f8f9fa 0%, #f1f3f5 100%);
  border: 1px solid #e9ecef;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  min-height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.trust-factors__card--linked {
  text-decoration: none;
  color: inherit;
}

.trust-factors__card--linked:hover,
.trust-factors__card--linked:focus {
  border-color: #dee2e6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  outline: 0;
}

.trust-factors__card--linked:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.trust-factors__card-icon {
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}

.trust-factors__card-icon img {
  display: block;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.trust-factors__card-headline {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.25rem;
  color: #212529;
}

.trust-factors__card-subline {
  font-size: 0.875rem;
  line-height: 1.4;
  margin: 0;
  color: #495057;
}

@media (min-width: 48rem) {
  .trust-factors__card-headline {
    font-size: 1.25rem;
  }

  .trust-factors__card-subline {
    font-size: 17px;
  }
}
