/* =====================================
   ОБЁРТКА ВСЕГО ЮРИДИЧЕСКОГО КОНТЕНТА
===================================== */

.legal-wrapper {
    margin-top: 20px;
}

/* =====================================
   БЛОК ОДНОГО ДОКУМЕНТА (Privacy / Cookie / Terms)
===================================== */

.legal-section {
    text-align: left;
}

/* =====================================
   ПРОНУМЕРОВАННЫЙ ПОДЗАГОЛОВОК (1., 2., 3. …)
===================================== */

.legal-heading {
    margin-top: 34px;
    margin-bottom: 10px;

    font-size: 16px;
}

.legal-heading:first-of-type {
    margin-top: 0;
}

/* =====================================
   АБЗАЦЫ ВНУТРИ РАЗДЕЛА
===================================== */

.legal-section p {
    margin-bottom: 12px;
    line-height: 1.6;
}

.legal-section p:last-of-type {
    margin-bottom: 0;
}

/* =====================================
   ДАТА ОСТАННЬОГО ОНОВЛЕННЯ
===================================== */

.legal-updated {
    margin-bottom: 20px;

    font-size: 12px;
    font-style: italic;
    color: #777;
}

/* =====================================
   ССЫЛКА-EMAIL (по образцу Контактов)
===================================== */

.invisible-link {
    color: inherit;
    font: inherit;
    text-decoration: none;
}

/* =====================================
   МАРКОВАНІ СПИСКИ ВСЕРЕДИНІ РОЗДІЛУ
===================================== */

.legal-list {
    margin: 0 0 12px;
    padding-left: 20px;
}

.legal-list li {
    margin-bottom: 6px;
    line-height: 1.1;
    font-size: 14px;
}

.legal-list li:last-child {
    margin-bottom: 0;
}

/* =====================================
   БАГ ПРЫЖКА СТРАНИЦЫ ВВЕРХ НА 40 РХ
===================================== */

.card {
    width: 100%;
    max-width: 960px;
    margin: 40px auto;
    padding: 20px;

    background-color: white;

    text-align: center;
}


/* =====================================
   COOKIE POLICY — CONSENT MANAGEMENT
===================================== */

.legal-consent-button {
    display: inline-block;
    margin: 8px 0 20px;
    padding: 11px 20px;

    font: inherit;
    font-size: 14px;
    font-weight: 600;

    color: #176c37;
    background: transparent;
    border: 1px solid #176c37;
    border-radius: 7px;

    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.legal-consent-button:hover {
    color: #ffffff;
    background-color: #176c37;
}

.legal-consent-button:focus-visible {
    outline: 2px solid #159447;
    outline-offset: 3px;
}

/* Dark theme */

body.dark-theme .legal-consent-button {
    color: #7de69e;
    border-color: #7de69e;
}

body.dark-theme .legal-consent-button:hover {
    color: #142019;
    background-color: #7de69e;
}
