.site-footer__bottom__inner {
    align-items: flex-start;
    column-gap: var(--space--m, 1.5rem);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: var(--space--s, 1rem);
}

.site-footer__bottom-text {
    flex: 1 1 0;
    min-width: 0;
    text-align: left;
}

.site-footer__bottom-text:only-child {
    flex-basis: 100%;
}

.site-footer__credentials {
    flex: 0 1 auto;
    margin-left: auto;
    max-width: 100%;
    min-width: 0;
    width: auto;
}

.site-footer__credentials:only-child {
    width: 100%;
}

.site-footer__credentials-logos {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space--s, 1rem) var(--space--m, 1.5rem);
    justify-content: flex-end;
    max-width: 100%;
    min-width: 0;
}

.site-footer__bottom__inner + .site-footer__bottom-wgd-section {
    margin-top: var(--space--m, 1.5rem);
}

.site-footer__bottom-wgd-section__inner {
    width: 100%;
}

.site-footer__bottom-wgd {
    max-width: 100%;
    text-align: center;
    width: 100%;
}

.site-footer__bottom-wgd__line {
    margin: 0;
}

.site-footer__bottom-wgd__line + .site-footer__bottom-wgd__line {
    margin-top: 0.25em;
}

.site-footer__credentials-image {
    align-items: center;
    display: inline-flex;
    flex: 0 1 auto;
    justify-content: center;
    line-height: 0;
    max-width: 100%;
    min-width: 0;
}

.site-footer__credentials-image img {
    display: block;
    height: auto;
    max-height: 3.75rem;
    max-width: min(11.25rem, 100%);
    object-fit: contain;
    width: auto;
}

@media (max-width: 767px) {
    .site-footer__bottom__inner {
        flex-direction: column;
    }

    .site-footer__credentials {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 515px) {
    .site-footer__credentials-logos {
        flex-wrap: nowrap;
        gap: var(--space--xs, 0.5rem);
        justify-content: center;
    }

    .site-footer__credentials-image {
        flex: 1 1 0;
    }

    .site-footer__credentials-image img {
        max-height: 2.5rem;
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 1155px) {
    .site-footer__bottom__inner {
        flex-direction: column;
    }

    .site-footer__credentials {
        align-self: center;
        margin-left: 0;
        order: 2;
        width: 100%;
    }

    .site-footer__bottom-text {
        order: 1;
        width: 100%;
    }

    .site-footer__credentials-logos {
        justify-content: center;
        width: 100%;
    }

    .site-footer__credentials-image {
        max-width: 100%;
    }

    .site-footer__credentials-image img {
        max-height: 3rem;
        max-width: min(11.25rem, 100%);
        width: auto;
    }
}

@media (min-width: 1440px) {
    .site-footer__credentials-image img {
        max-height: 3.5rem;
    }
}
