/**
 * section-documents — какие документы переходят на ЭПД.
 * Это отдельная секция для /epd (ниже main-30sec).
 */

.section-documents {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    width: 100%;
    height: fit-content;
    max-width: 81.25rem; /* 1300px */
    margin: 0 auto;
    padding: 0 0 var(--site-section-gap);
    box-sizing: border-box;
}

.section-documents .section-content {
    display: flex;
    flex-direction: column;
    gap: 1.875rem;
    align-self: stretch;
    height: fit-content;
}

.section-documents .heading {
    width: 66.5rem; /* 1064px */
    max-width: 100%;
    margin: 0;
    font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--site-text);
}

.section-documents .description {
    width: 69.125rem; /* 1106px */
    max-width: 100%;
    margin: 0;
    font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: normal;
    color: var(--site-text-body);
}

.section-documents .section-cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.25rem; /* 20px */
    align-self: stretch;
    height: fit-content;
}

.section-documents .card,
.section-documents .card-2,
.section-documents .card-3,
.section-documents .card-4,
.section-documents .card-5,
.section-documents .card-6 {
    display: flex;
    flex-direction: column;
    gap: 0.9375rem; /* 15px */
    box-sizing: border-box;
    width: 26.25rem; /* 420px */
    height: fit-content;
    padding: 1.25rem; /* 20px */
    background: var(--site-surface);
    border-radius: 1.25rem; /* 20px */
    box-shadow: inset 0 0 0 0.0625rem var(--site-card-ring);
}

.section-documents .card-header,
.section-documents .card-header-2,
.section-documents .card-header-3,
.section-documents .card-header-4,
.section-documents .card-header-5,
.section-documents .card-header-6 {
    display: flex;
    flex-direction: column;
    gap: 0.9375rem; /* 15px */
    align-self: stretch;
    height: fit-content;
}

.section-documents .heading-2,
.section-documents .heading-3,
.section-documents .heading-4,
.section-documents .heading-5,
.section-documents .heading-6,
.section-documents .heading-7 {
    align-self: stretch;
    margin: 0;
    font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--site-text);
}

.section-documents .description-2,
.section-documents .description-3,
.section-documents .description-4,
.section-documents .description-5,
.section-documents .description-6,
.section-documents .description-7 {
    align-self: stretch;
    margin: 0;
    font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: normal;
    color: var(--site-text);
}

.section-documents .card-image,
.section-documents .card-image-2,
.section-documents .card-image-3,
.section-documents .card-image-4,
.section-documents .card-image-5,
.section-documents .card-image-6 {
    align-self: stretch;
    height: 6.25rem; /* 100px */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0.5rem; /* 8px */
    box-shadow: inset 0 0 0 0.0625rem var(--site-image-ring);
}

.section-documents .alert-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.9375rem; /* 15px */
    flex: 1 1 0;
    box-sizing: border-box;
    height: fit-content;
    padding: 1.25rem; /* 20px */
    background: var(--site-surface);
    border-radius: 1.25rem; /* 20px */
    box-shadow: inset 0 0 0 0.0625rem var(--site-card-ring);
    margin-top: 0.75rem;
}

.section-documents .alert-icon {
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    width: 1.875rem;
    height: 1.875rem;
}

.section-documents .text {
    margin: 0;
    font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--site-accent);
}

.section-documents .alert-content {
    display: flex;
    flex-direction: row;
    gap: 0.9375rem;
    flex: 1 1 0;
    height: fit-content;
}

.section-documents .alert-description {
    flex: 1 1 0;
    margin: 0;
    font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: normal;
    color: var(--site-text-body);
}

/* Tablet */
@media (max-width: 63.9375rem) {
    .section-documents .section-cards {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 1.25rem;
    }

    .section-documents .card,
    .section-documents .card-2,
    .section-documents .card-3,
    .section-documents .card-4,
    .section-documents .card-5,
    .section-documents .card-6 {
        width: 100%;
    }

    .section-documents .card-image,
    .section-documents .card-image-2,
    .section-documents .card-image-3,
    .section-documents .card-image-4,
    .section-documents .card-image-5,
    .section-documents .card-image-6 {
        height: 9.6875rem; /* 155px */
    }
}

/* Phone */
@media (max-width: 47.9375rem) {
    .section-documents .heading {
        font-size: 1.875rem;
    }

    .section-documents .description {
        font-size: 0.875rem;
    }

    .section-documents .card-image,
    .section-documents .card-image-2,
    .section-documents .card-image-3,
    .section-documents .card-image-4,
    .section-documents .card-image-5,
    .section-documents .card-image-6 {
        height: 4.875rem; /* 78px */
    }

    .section-documents .alert-description {
        font-size: 0.875rem;
    }
}
