/* =================================================================
   Стили для страницы правил розыгрыша
   Подключается ПОСЛЕ основного lenzk-giveaway-v3.css
   ================================================================= */

.doc-hero {
    background: var(--bg-soft);
    padding: 56px 0;
    border-bottom: 1px solid var(--border);
}
.doc-hero__eyebrow {
    display: inline-block;
    background: var(--green-soft);
    color: var(--green-text);
    padding: 7px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.doc-hero__title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 18px;
    max-width: 880px;
}
.doc-hero__sub {
    font-size: 16px;
    color: var(--text-soft);
    max-width: 720px;
    line-height: 1.55;
    margin-bottom: 18px;
}
.doc-hero__meta {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: var(--text-light);
    flex-wrap: wrap;
}

/* Двухколоночная раскладка: содержание + текст */
.doc {
    padding: 56px 0 80px;
    background: var(--bg);
}
.doc__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    align-items: flex-start;
}
@media (max-width: 900px) {
    .doc__container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Оглавление слева */
.doc__toc {
    position: sticky;
    top: 24px;
}
@media (max-width: 900px) {
    .doc__toc {
        position: static;
    }
}
.doc__toc-inner {
    background: var(--bg-soft);
    border-radius: 14px;
    padding: 22px 24px;
}
.doc__toc-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 14px;
}
.doc__toc-list {
    list-style: none;
    padding: 0;
    counter-reset: toc;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.doc__toc-list li {
    counter-increment: toc;
    position: relative;
    padding-left: 26px;
}
.doc__toc-list li::before {
    content: counter(toc);
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    color: var(--text-light);
    width: 20px;
}
.doc__toc-list a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    transition: color 150ms ease;
    line-height: 1.4;
}
.doc__toc-list a:hover {
    color: var(--green);
}

/* Основной текст */
.doc__article {
    min-width: 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    max-width: 760px;
}
.doc__section {
    margin-bottom: 40px;
    scroll-margin-top: 24px;
}
.doc__section:last-of-type {
    margin-bottom: 0;
}
.doc__section h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--green-soft);
}
.doc__section h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    margin-top: 22px;
    margin-bottom: 10px;
    color: var(--text);
}
.doc__section p {
    margin-bottom: 12px;
}
.doc__section ul,
.doc__section ol {
    margin-bottom: 16px;
    padding-left: 24px;
}
.doc__section li {
    margin-bottom: 6px;
}
.doc__section li ul {
    margin-top: 6px;
    margin-bottom: 6px;
}
.doc__section a {
    color: var(--green);
    text-decoration: underline;
}
.doc__section a:hover {
    color: var(--green-dark);
}

/* Выделенный блок реквизитов */
.doc__callout {
    background: var(--bg-soft);
    border-left: 4px solid var(--green);
    padding: 16px 20px;
    border-radius: 6px;
    margin: 12px 0 16px;
    font-size: 14px;
    line-height: 1.7;
}
.doc__callout strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text);
}

/* Подпись внизу документа */
.doc__signature {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.7;
}
.doc__signature strong {
    display: block;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 15px;
    margin-bottom: 8px;
}

/* CTA внизу */
.doc__cta {
    margin-top: 40px;
    text-align: center;
}

@media (max-width: 600px) {
    .doc-hero { padding: 36px 0; }
    .doc { padding: 36px 0 56px; }
    .doc__section h2 { font-size: 20px; }
    .doc__section { margin-bottom: 32px; }
}
