.document-page {
    background: #fff;
    color: #101e31;
    font-family: Cygre, Arial, sans-serif;
}

.document-container {
    width: min(1160px, calc(100% - 40px));
    max-width: 1160px !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}


/* ============================================================
   Заголовок — Tilda rec1930587441
   ============================================================ */

.document-hero {
    /* У Tilda 150px, но общий header.php у нас занимает место
       в нормальном потоке; как и на /information, компенсируем
       высоту общей шапки. */
    padding-top: 34px;
}

.document-breadcrumb {
    height: 20px;

    display: flex;
    align-items: center;
    gap: 4px;

    color: #a7acba;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;

    opacity: .6;
}

.document-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.document-breadcrumb a:hover {
    text-decoration: underline;
}

.document-hero h1 {
    height: 50px;

    margin: 30px 0 0;

    color: #101e31;

    font-size: 42px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}


/* ============================================================
   Списки документов
   Tilda rec1930593991 / rec1930603191
   ============================================================ */

.document-main-list {
    padding-top: 90px;
}

.document-list {
    width: 1160px;
    max-width: 100%;
}

.document-list__item {
    width: 100%;
    min-height: 48px;

    box-sizing: border-box;

    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 0;
    align-items: start;

    margin: 0 0 16px;

    border-bottom: 1px solid #97a5b5;

    color: #101e31;
    text-decoration: none;
}

.document-list__item:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.document-list__number {
    padding-top: 3px;

    color: #537294;

    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    font-style: italic;
}

.document-list__title {
    min-height: 31px;

    color: #101e31;

    font-size: 20px;
    font-weight: 400;
    line-height: 1.55;

    transition: color .18s ease;
}

.document-list__item:hover .document-list__title,
.document-list__item:focus-visible .document-list__title {
    color: #537294;
}

.document-list__item:focus-visible {
    outline: 2px solid #537294;
    outline-offset: 4px;
}


/* ============================================================
   Локальные нормативные акты
   Tilda rec1930601581 + rec1930603191
   ============================================================ */

.document-local {
    padding-top: 120px;
    padding-bottom: 150px;
}

.document-local h2 {
    width: 1160px;
    max-width: 100%;

    margin: 0;

    color: #101e31;

    font-size: 26px;
    font-weight: 400;
    line-height: 1.4;
}

.document-list--local {
    margin-top: 60px;
}


/* ============================================================
   960–1199
   ============================================================ */

@media (min-width: 960px) and (max-width: 1199px) {

    .document-container {
        width: min(940px, calc(100% - 20px));
        max-width: 940px !important;
    }

    .document-list,
    .document-local h2 {
        width: 940px;
    }

    .document-list__item {
        grid-template-columns: 34px minmax(0, 1fr);
    }
}


/* ============================================================
   Mobile — Tilda 320-grid
   ============================================================ */

@media (max-width: 959px) {

    .document-container {
        width: min(300px, calc(100% - 20px));
        max-width: 300px !important;
    }

    .document-hero {
        padding-top: 20px;
    }

    .document-breadcrumb {
        height: auto;
        min-height: 14px;

        flex-wrap: wrap;

        font-size: 10px;
        line-height: 1.4;
    }

    .document-hero h1 {
        height: 24px;

        margin-top: 30px;

        font-size: 20px;
        line-height: 1.2;
    }

    .document-main-list {
        padding-top: 90px;
    }

    .document-list {
        width: 300px;
    }

    .document-list__item {
        min-height: 33px;

        grid-template-columns: 26px minmax(0, 1fr);

        margin-bottom: 32px;
    }

    .document-list__number {
        padding-top: 0;

        font-size: 14px;
        line-height: 1.4;
    }

    .document-list__title {
        min-height: 22px;

        font-size: 14px;
        line-height: 1.55;
    }

    .document-local {
        padding-top: 120px;
        padding-bottom: 150px;
    }

    .document-local h2 {
        width: 300px;

        font-size: 18px;
        line-height: 1.35;
    }

    .document-list--local {
        margin-top: 60px;
    }

    /*
     * Во втором списке длинные строки у Tilda увеличивают
     * высоту ряда; auto-height делает это естественно.
     */
    .document-list--local .document-list__item {
        min-height: 55px;
        margin-bottom: 32px;
    }
}
