

/* Start:/bitrix/templates/NK_FITNES/css/page-document.css?17775943985478*/
/* =========================================================
 * Документы — Согласия / Политики / Соглашения
 * Общий шаблон: одна белая «карточка» по центру,
 * рукописный заголовок-картинка сверху, текст внизу.
 * ========================================================= */

.document {
    padding-top: 24px;
    padding-bottom: 64px;
}

.document__wrapper {
    background: #F4F4FB;
    border-radius: 32px;
    padding: 32px 48px 48px 48px;
    box-sizing: border-box;
}

/* ── Шапка документа ──
 * Десктоп: визуально внутри карточки (общий фон + верхнее скругление),
 *           отрицательный margin-bottom стыкует её с .document__wrapper.
 * Мобила:   на чистом фоне страницы (см. @media max-width: 768px).
 */
.document__header {
    background: #F4F4FB;
    padding: 56px 48px 0;
    border-radius: 32px 32px 0 0;
    margin: 0 0 -32px;
    box-sizing: border-box;
}

/* Карточка сразу после шапки не должна скруглять верх */
.document__header + .document__wrapper {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* ── Заголовок ── */
.document__title {
    /* Визуально скрыт, оставлен для SEO/доступности.
       На экран показывается картинка-каллиграфия (.document__heading). */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.document__heading {
    margin: 0 0 8px;
    line-height: 0;
}

.document__heading-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.document__subtitle {
    font-family: 'Montserrat', sans-serif;
    color: #282828;
    margin: 0 0 32px 32px;
    font-weight: 500;
    font-size: 22px;
    line-height: 110.00000000000001%;
    letter-spacing: 0%;
}

/* ── Текст / параграфы ── */
.document__intro,
.document__paragraph {
    font-family: 'Montserrat', sans-serif;
    color: #282828;
    margin: 0 0 12px;
    font-weight: 500;
    font-size: 16px;
    line-height: 125%;
    letter-spacing: 0%;
    text-align: justify;
}

.document__intro {
    margin-bottom: 12px;
}

.document__section {
    margin: 0 0 24px;
}

.document__section:last-child {
    margin-bottom: 0;
}

.document__section-title {
    font-family: 'Montserrat', sans-serif;
    color: #282828;
    margin: 0 0 16px;
    font-weight: 600;
    font-size: 18px;
    line-height: 125%;
    letter-spacing: 0%;
}

.document__list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.document__list-item {
    font-family: 'Montserrat', sans-serif;
    color: #282828;
    padding-left: 16px;
    position: relative;
    font-weight: 500;
    font-size: 16px;
    line-height: 125%;
    letter-spacing: 0%;
}

.document__list-item::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 0;
}

/* ── Таблица (используется в положении о программе лояльности) ── */
.document__table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    line-height: 150%;
    color: #282828;
}

.document__table th,
.document__table td {
    padding: 12px 16px;
    border: 1px solid #E1E1E6;
    vertical-align: top;
    text-align: left;
}

.document__table th {
    background: #F4F4FB;
    font-weight: 600;
    width: 30%;
}

/* ── Адаптив ── */
@media (max-width: 1024px) {
    .document__wrapper {
        padding: 40px 32px;
        border-radius: 32px;
    }
}

@media (max-width: 768px) {
    .document {
        padding-top: 16px;
        padding-bottom: 48px;
    }

    /* Шапка выходит из карточки на мобиле:
       сбрасываем фон/паддинг/скругление и отрицательный margin
       (которые на десктопе склеивали её с карточкой ниже). */
    .document__header {
        background: transparent;
        padding: 0 4px;
        border-radius: 0;
        margin: 0 0 16px;
    }

    /* Карточке после шапки на мобиле возвращаем верхнее скругление */
    .document__header + .document__wrapper {
        border-top-left-radius: 32px;
        border-top-right-radius: 32px;
    }

    .document__wrapper {
        padding: 24px 20px;
        border-radius: 32px;
    }

    .document__heading {
        margin-bottom: 8px;
    }

    .document__subtitle {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .document__section {
        margin-bottom: 20px;
    }

    .document__section-title {
        font-size: 17px;
    }

    .document__intro,
    .document__paragraph,
    .document__list-item {
        font-size: 16px;
    }

    .document__table th,
    .document__table td {
        padding: 8px 12px;
        font-size: 16px;
    }

    .document__table th {
        width: 40%;
    }
}


a {
    color: #282828;
    text-decoration: none !important;
}
/* End */
/* /bitrix/templates/NK_FITNES/css/page-document.css?17775943985478 */
