/* Trust Block Cards */
.trust-element-cards {
    font-family: "Open Sans", sans-serif;
}
.trust-element-cards__logo {
    max-width: 85px;
    width: 100%;
}
.trust-element-cards__logo img {
    width: 100%;
    object-fit: cover;
}
.trust-element-cards__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

.trust-element-cards__title {
    font-size: 48px;
    line-height: 60px;
    width: fit-content;
    margin-top: 16px;
}
@media (max-width: 992px) {
    .trust-element-cards__title {
        font-size: 36px;
        line-height: 44px;
    }
}
@media (max-width: 480px) {
    .trust-element-cards__title {
        font-size: 24px;
        line-height: 32px;
    }
}

.trust-element-cards.trust-element-cards--light .trust-element-cards__title {
    max-width: 748px;
    width: 100%;
}
.trust-element-cards.trust-element-cards--light .trust-element-cards__description {
    max-width: 834px;
    width: 100%;
}
.trust-element-cards.trust-element-cards--dark .trust-element-cards__title {
    max-width: 876px;
    width: 100%;
}
.trust-element-cards.trust-element-cards--dark .trust-element-cards__description {
    max-width: 626px;
}
.trust-element-cards__description {
    font-size: 16px;
    line-height: 1.5;
}
.trust-element-cards .trust-element-cards__title,
.trust-element-cards .trust-element-cards__description {
    text-align: center;
}
.trust-element-cards.trust-element-cards--dark {
    background: #f8fafc;
}
.trust-element-cards.trust-element-cards--dark {
    background:
        linear-gradient(rgba(18, 25, 38, 1), rgba(18, 25, 38, 0.9)),
        url("../img/trust-cards-bg.jpg") no-repeat center center;
    background-size: cover;
}

.trust-element-cards.trust-element-cards--light .trust-element-cards__title {
    color: #202939;
}
.trust-element-cards.trust-element-cards--dark .trust-element-cards__title {
    color: #fff;
}
.trust-element-cards.trust-element-cards--dark .trust-element-cards__description {
    color: #cdd5df;
}
.trust-element-cards.trust-element-cards--light .trust-element-cards__description {
    color: #364152;
}

.trust-element__cards-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-top: 80px;
}
@media (max-width: 480px) {
    .trust-element__cards-items {
        gap: 48px;
        margin-top: 48px;
    }
}

.trust-element__cards-items--3 .trust-element__card {
    flex: 0 0 calc(33.333% - 22px);
    max-width: calc(33.333% - 22px);
}

.trust-element__cards-items--4 .trust-element__card {
    flex: 0 0 calc(25% - 24px);
    max-width: calc(25% - 24px);
}

@media (max-width: 992px) {
    .trust-element__cards-items--3 .trust-element__card,
    .trust-element__cards-items--4 .trust-element__card {
        flex: 0 0 calc(50% - 16px);
        max-width: calc(50% - 16px);
    }
}

@media (max-width: 480px) {
    .trust-element__cards-items--3 .trust-element__card,
    .trust-element__cards-items--4 .trust-element__card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.trust-element__card {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}
.trust-element__card-title {
    margin-top: 32px;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 600;
}
.trust-element-cards.trust-element-cards--dark .trust-element__card-title {
    color: #ffffff;
}
.trust-element-cards.trust-element-cards--light .trust-element__card-title {
    color: #202939;
}

.trust-element__card-description {
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
}
.trust-element-cards.trust-element-cards--light .trust-element__card-description {
    color: #364152;
}
.trust-element-cards.trust-element-cards--dark .trust-element__card-description {
    color: #e3e8ef;
}
.trust-element__card-image--default img {
    aspect-ratio: 2;
}

.trust-element__card-image--bordered {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #e3e8ef;
    border-radius: 4px;
    padding: 60px;
    width: 100%;
    height: 200px;
}
@media (max-width: 992px) {
}

.trust-element__card-image--bordered img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
