.documents-section {
    padding: 48px 0 64px;
}

.documents-section__container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.documents-section__header {
    display: flex;
    width: 100%;
    min-height: 44px;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

.documents-section__header > span {
    color: #919ba7;
    font-family: "Geist", Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
}

.documents-list {
    display: flex;
    width: 100%;
    padding: 0;
    flex-direction: column;
    overflow: hidden;
}

.document-row {
    display: grid;
    width: 100%;
    min-height: 114px;
    padding: 24px 40px;
    grid-template-columns: 44px minmax(12rem, 300px) minmax(0, 1fr) 170px;
    gap: 8px;
    align-items: center;
}

.document-row--lead {
    min-height: 126px;
}

.document-row__icon {
    width: 44px;
    height: 44px;
}

.document-row__meta {
    display: flex;
    width: 290px;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
}

.document-row__meta h3 {
    margin: 0;
    color: #272d37;
    font-family: "Geist", Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
}

.document-row__meta span,
.document-row__download > span {
    color: #919ba7;
    font-family: "Inter", "Geist", Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

.document-row__description {
    width: 100%;
    padding-inline-end: 32px;
    overflow-wrap: anywhere;
}

.document-row__download {
    display: flex;
    width: 170px;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

.document-row__download .button {
    width: 170px;
}

@media (max-width: 75rem) {
    .documents-section {
        padding-bottom: var(--space-12);
    }

    .documents-list {
        height: auto;
    }

    .document-row,
    .document-row--lead {
        min-height: 114px;
        grid-template-columns: 44px 220px minmax(0, 1fr) 170px;
    }

    .document-row__meta,
    .document-row__description {
        width: 100%;
    }
}

@media (max-width: 48rem) {
    .documents-section {
        padding-block-start: var(--space-8);
    }

    .documents-section__header {
        height: auto;
        align-items: flex-start;
        flex-direction: column;
        gap: var(--space-2);
    }

    .document-row,
    .document-row--lead {
        padding: 24px;
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 16px;
    }

    .document-row__meta {
        align-self: center;
    }

    .document-row__description,
    .document-row__download {
        width: 100%;
        padding: 0;
        grid-column: 1 / -1;
    }

    .document-row__download {
        align-items: stretch;
    }

    .document-row__download .button {
        width: 100%;
    }
}

@media (max-width: 36rem) {
    .document-row,
    .document-row--lead {
        padding: 20px;
    }
}
