/* cms-trust-badges v1.0.3 */

.cms-trust-badges-outer {
    width: 100%;
}

.cms-trust-badges {
    padding: 30px 15px;
}

.cms-trust-badges__section-heading {
    text-align: center;
    font-family: "Crimson Text", serif;
    font-size: 28px;
    color: #d7b364;
    margin: 0 0 20px 0;
}

.cms-trust-badges__row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 35px;
}

.cms-trust-badges__row--wrap {
    flex-wrap: wrap;
}

.cms-trust-badges__row--row {
    flex-wrap: nowrap;
}

.cms-trust-badges__badge {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.cms-trust-badges__row--divider-lines .cms-trust-badges__badge {
    position: relative;
    padding-right: 35px;
}

.cms-trust-badges__row--divider-lines .cms-trust-badges__badge:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 32px;
    background-color: #d1d3d4;
}

.cms-trust-badges__icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
}

.cms-trust-badges__icon svg {
    width: 100%;
    height: 100%;
}

.cms-trust-badges__text {
    display: flex;
    flex-direction: column;
}

.cms-trust-badges__label {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
}

.cms-trust-badges__sublabel {
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    color: #767676;
    margin-top: 2px;
}

/* 768-1199px: allow wrapping to avoid crowding even in Row mode */
@media (min-width: 768px) and (max-width: 1199px) {
    .cms-trust-badges__row--row {
        flex-wrap: wrap;
        row-gap: 20px;
    }
}

/* 480-767px: wrap to a 2-column-ish layout */
@media (max-width: 767px) {
    .cms-trust-badges__row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        row-gap: 20px;
    }

    .cms-trust-badges__row--divider-lines .cms-trust-badges__badge {
        padding-right: 0;
    }

    .cms-trust-badges__row--divider-lines .cms-trust-badges__badge::after {
        display: none;
    }
}

/* <=479px: single column, stacked */
@media (max-width: 479px) {
    .cms-trust-badges__row {
        flex-direction: column;
        align-items: center;
    }

    .cms-trust-badges__badge {
        justify-content: center;
    }
}
