.ms-trust-bar-section {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 32px;
    background: #FFFFFF;
    border-bottom: 1px solid #F1F5F9;
    width: 100%;
}

.ms-trust-bar-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    max-width: 1216px;
    width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
}

.ms-trust-item {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 16px;
    gap: 16px;
    width: 280px;
    background: rgba(244, 246, 252, 0.6);
    border: 1px solid #F1F5F9;
    border-radius: 12px;
    flex: 1;
    min-width: 240px; /* To allow wrap */
}

.ms-trust-icon-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(11, 37, 69, 0.1); /* Default bg, changeable in elementor */
    flex-shrink: 0;
}

.ms-trust-icon-wrapper svg, 
.ms-trust-icon-wrapper i {
    width: 20px;
    height: 20px;
    font-size: 20px;
    fill: #0B2545; /* Default color */
    color: #0B2545;
}

.ms-trust-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ms-trust-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
    color: #0B2545;
    margin: 0;
}

.ms-trust-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.33;
    color: #64748B;
    margin: 0;
}

/* Specific colors for default items just to match the visual if not changed in Elementor */
.ms-trust-item:nth-child(1) .ms-trust-icon-wrapper { background: rgba(11, 37, 69, 0.1); }
.ms-trust-item:nth-child(2) .ms-trust-icon-wrapper { background: #D1FAE5; }
.ms-trust-item:nth-child(3) .ms-trust-icon-wrapper { background: #FFDDB8; }
.ms-trust-item:nth-child(4) .ms-trust-icon-wrapper { background: #E0F2FE; }

.ms-trust-item:nth-child(2) .ms-trust-icon-wrapper i, .ms-trust-item:nth-child(2) .ms-trust-icon-wrapper svg { color: #065F46; fill: #065F46; }
.ms-trust-item:nth-child(3) .ms-trust-icon-wrapper i, .ms-trust-item:nth-child(3) .ms-trust-icon-wrapper svg { color: #855300; fill: #855300; }
.ms-trust-item:nth-child(4) .ms-trust-icon-wrapper i, .ms-trust-item:nth-child(4) .ms-trust-icon-wrapper svg { color: #075985; fill: #075985; }


@media (max-width: 1024px) {
    .ms-trust-bar-container {
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .ms-trust-bar-section {
        padding: 40px 16px; /* 16px min mobile padding rule */
    }
    
    .ms-trust-item {
        width: 100%;
        min-width: unset;
    }
}
