/* Why Trust Widget Styles */
.why-trust-widget {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.why-trust-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    color: #ffffff;
}

.why-trust-description {
    text-align: center;
    margin-bottom: 30px;
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.5;
}

.why-trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

/* Centrar columnas cuando hay 2 o 3 items */
.why-trust-items.two-items {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.why-trust-items.three-items {
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    margin: 0 auto 30px auto;
}

.why-trust-item {
    text-align: center;
    padding: 15px;
}

.why-trust-item-image {
    margin-bottom: 15px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-trust-item-image img {
    height: 90px;
    width: 90px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
    padding: 1rem;
    filter: brightness(0) invert(1);
}

.why-trust-item-subtitle {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffffff;
}

.why-trust-item-description {
    color: #ffffff;
    line-height: 1.4;
    margin: 0;
}

.why-trust-cta {
    text-align: center;
    margin-top: 30px;
}

.why-trust-cta-link {
    display: inline-block;
    background: var(--accent-color);
    color: var(--text-inverse);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.why-trust-cta-link:hover {
    background: var(--accent-hover);
    color: var(--text-inverse);
}

/* Responsive Design */
@media (max-width: 768px) {
    .why-trust-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .why-trust-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .why-trust-items {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .why-trust-widget {
        padding: 15px;
    }
}

/* Admin Styles */
.why-trust-widget-admin .why-trust-item {
    background: #f1f1f1;
    border: 1px solid #ddd;
    margin: 10px 0;
    padding: 15px;
}

.why-trust-widget-admin h4,
.why-trust-widget-admin h5 {
    margin-top: 0;
    color: var(--text-primary);
}

.why-trust-image-preview img {
    border: 1px solid #ddd;
    border-radius: 4px;
}
