/* =================================================================
   TRUST SECTION - Dynamic Grid
   ================================================================= */
/* Single item - centered with max-width */
.trust-grid--single {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* 2 items - 2 columns on tablet+ */
.trust-grid--two {
    grid-template-columns: 1fr;
}

/* 3 items - 2 columns (2+1 centered) */
.trust-grid--three {
    grid-template-columns: 1fr;
}

/* 4 items - 2x2 grid */
.trust-grid--four {
    grid-template-columns: 1fr;
}

/* 5+ items - 2 columns */
.trust-grid--multi {
    grid-template-columns: 1fr;
}

/* =================================================================
   TABLET (md: 768px+)
   ================================================================= */
@media (min-width: 768px) {
    .trust-grid--two,
    .trust-grid--four,
    .trust-grid--multi {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-grid--three {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Center the 3rd item in 3-item grid */
    .trust-grid--three .trust-item:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 50%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* =================================================================
   DESKTOP (lg: 992px+)
   Maximum 2 items per row as requested
   ================================================================= */
@media (min-width: 992px) {
    
    .trust-grid--two,
    .trust-grid--three,
    .trust-grid--four,
    .trust-grid--multi {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Keep 3rd item centered for 3-item layout */
    .trust-grid--three .trust-item:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 45%;
    }
}

/* =================================================================
   TRUST ITEM STYLES (preserve existing)
   ================================================================= */
.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white, #ffffff);
    border-radius: var(--radius-lg, 12px);
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.1));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trust-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 4px 12px rgba(0,0,0,0.15));
}

.trust-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light, rgba(13, 110, 253, 0.1));
    border-radius: var(--radius-md, 8px);
    color: var(--primary, #0d6efd);
    font-size: 1.5rem;
}

.trust-content {
    flex: 1;
}

.trust-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--text-dark, #1a1a1a);
}

.trust-description {
    font-size: 0.95rem;
    color: var(--text-muted, #6c757d);
    margin: 0;
    line-height: 1.5;
}