/**
 * DiyYarn Elementor Widgets - Trust Badges
 */

.dyew-trust-badges {
    --dyew-trust-primary: #2ab9cc;
    box-sizing: border-box;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: none;
}

.dyew-trust-badges *,
.dyew-trust-badges *::before,
.dyew-trust-badges *::after {
    box-sizing: border-box;
}

.dyew-trust-list {
    display: grid;
    grid-template-columns: repeat(var(--dyew-trust-columns, 4), minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

.dyew-trust-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    color: inherit;
    text-decoration: none !important;
    box-shadow: none;
    transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.dyew-trust-item:hover,
.dyew-trust-item:focus {
    text-decoration: none !important;
    color: inherit;
}

.dyew-trust-layout-card .dyew-trust-item {
    background: transparent;
}

.dyew-trust-layout-strip .dyew-trust-list {
    gap: 0;
}

.dyew-trust-layout-strip .dyew-trust-item {
    border-radius: 0;
    justify-content: center;
}

.dyew-trust-layout-strip .dyew-trust-item + .dyew-trust-item {
    border-left: 1px solid rgba(42, 185, 204, .18);
}

.dyew-trust-layout-minimal {
    background: transparent;
    padding: 0;
}

.dyew-trust-layout-minimal .dyew-trust-item {
    padding-left: 0;
    padding-right: 0;
}

.dyew-trust-align-center .dyew-trust-item {
    justify-content: center;
    text-align: center;
}

.dyew-trust-align-center .dyew-trust-copy {
    align-items: center;
}

.dyew-trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 30px;
    min-width: 30px;
    line-height: 1;
    color: var(--dyew-trust-primary);
    font-size: 30px;
}

.dyew-trust-icon svg,
.dyew-trust-icon i {
    display: block;
    width: 30px;
    height: 30px;
    color: currentColor;
    fill: currentColor;
}

.dyew-trust-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    line-height: 1.25;
}

.dyew-trust-title {
    display: block;
    color: var(--dyew-trust-primary);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
}

.dyew-trust-text {
    display: block;
    margin-top: 2px;
    color: var(--dyew-trust-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
}

@media (max-width: 767px) {
    .dyew-trust-badges {
        border-radius: 10px;
    }

    .dyew-trust-list {
        gap: 10px;
    }

    .dyew-trust-item {
        align-items: center;
        padding: 10px;
    }

    .dyew-trust-layout-strip .dyew-trust-list {
        gap: 8px;
    }

    .dyew-trust-layout-strip .dyew-trust-item {
        border-left: 0 !important;
        border-radius: 10px;
    }

    .dyew-trust-title {
        font-size: 13px;
    }

    .dyew-trust-text {
        font-size: 12px;
    }
}
