.wp-block-template-part.payment-methods,
.payment-methods {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    align-items: center;
    flex-direction: column;
    color: var(--color-text-high-emphasis);
    gap: 3em;
}

.payment-methods>.section-title,
.payment-methods>.payment-methods__logos {
    position: relative;
    z-index: 1;
}

.payment-methods>.section-title {
    width: min(100%, 48rem);
    align-items: center;
    text-align: center;
}



.payment-methods__logos {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 5em;

}

.payment-methods__logos>figure {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.2;
}

@media (max-width: 900px) {

    .wp-block-template-part.payment-methods,
    .payment-methods {
        min-height: auto;
        padding: 6rem var(--spacing-500) 8rem;
    }

    .payment-methods__logos {
        width: min(100%, 34rem);
        grid-template-columns: repeat(2, minmax(0, 14.125rem));
    }

    .payment-methods__logo:last-child {
        width: 50%;
        grid-column: 1 / -1;
        justify-self: center;
    }
}

@media (max-width: 520px) {

    .wp-block-template-part.payment-methods,
    .payment-methods {
        padding: 5rem var(--spacing-300) 6rem;
    }

    .payment-methods>.section-title h2 {
        font-size: var(--font-size-400);
    }

    .payment-methods__logos {
        margin-top: var(--spacing-600);
        grid-template-columns: repeat(2, minmax(0, 10rem));
    }
}