.supported-documents {
    background-color: var(--color-white);
    color: var(--color-ink);
    padding: clamp(4.5rem, 7vw, 6.5rem) 1.5rem;
}

.supported-documents--bg-white {
    background-color: var(--color-white);
}

.supported-documents--bg-soft {
    background-color: var(--color-surface-soft);
}

.supported-documents--bg-surface {
    background-color: var(--color-surface);
}

.supported-documents__inner {
    width: min(100%, var(--container-width));
    margin: 0 auto;
}

.supported-documents__title {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35em;
    margin: 0 0 clamp(2.75rem, 5vw, 3.5rem);
    color: var(--color-ink);
    font-size: var(--section-title-font-size);
    font-weight: var(--section-title-font-weight);
    font-style: normal;
    line-height: var(--section-title-line-height);
    letter-spacing: 0;
    text-align: center;
}

.supported-documents__title-accent {
    color: var(--color-highlight);
}

.supported-documents__items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 2.4vw, 2rem);
    width: min(100%, var(--container-width));
    margin: 0 auto;
}

.supported-documents__item {
    display: flex;
    min-width: 0;
    min-height: clamp(6rem, 6.25vw, 7.5rem);
    align-items: center;
    justify-content: center;
    gap: clamp(1.25rem, 2.2vw, 2rem);
    padding: 1.25rem clamp(1.5rem, 3vw, 3rem);
    border: 2px solid rgba(6, 8, 29, 0.12);
    border-radius: var(--radius-pill);
    background-color: var(--color-white);
}

.supported-documents__icon {
    flex: 0 0 auto;
    width: clamp(4rem, 5vw, 5.25rem);
    height: clamp(4rem, 5vw, 5.25rem);
    object-fit: contain;
}

.supported-documents__name {
    min-width: 0;
    margin: 0;
    color: var(--color-ink);
    font-size: clamp(1.25rem, 1.45vw, 1.75rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
    .supported-documents__items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .supported-documents {
        padding-inline: 1rem;
    }

    .supported-documents__title {
        justify-content: flex-start;
        text-align: left;
    }

    .supported-documents__items {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .supported-documents__item {
        justify-content: flex-start;
        min-height: 5.5rem;
        padding-inline: 1.25rem;
    }

    .supported-documents__icon {
        width: 3.5rem;
        height: 3.5rem;
    }
}
