.documentation-page {
    background: #f5faf9;
    color: #1f3434;
    padding: 0.4rem 3rem 4rem;
}

.documentation-layout {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
    margin: 0 auto;
    max-width: 1280px;
}

.documentation-toc {
    align-self: start;
    background: #ffffff;
    border-left: 4px solid #5bb6a3;
    border-radius: 5px;
    box-shadow: 0 8px 18px rgba(23, 64, 60, 0.08);
    padding: 1rem 1rem 1.1rem;
    position: sticky;
    top: 1rem;
}

.documentation-toc a {
    color: #235451;
    display: block;
    font-weight: 600;
    line-height: 1.35;
    padding: 0.55rem 0.35rem;
}

.documentation-toc a:hover {
    color: #339690;
}

.documentation-toc a.active {
    background: #e8f6f3;
    border-radius: 5px;
    color: #0f6f66;
}

.documentation-content {
    background: #ffffff;
    border: 1px solid #dfe9e7;
    border-radius: 5px;
    box-shadow: 0 8px 18px rgba(23, 64, 60, 0.08);
    padding: 2.2rem 2.7rem;
}

.documentation-content section {
    border-bottom: 1px solid #dfe9e7;
    padding: 0 0 2rem;
    scroll-margin-top: 1rem;
}

.documentation-content section + section {
    padding-top: 2rem;
}

.documentation-content section:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.documentation-content h2 {
    color: #163f3c;
    font-size: 1.7rem;
    line-height: 1.3;
    margin: 0 0 1rem;
}

.documentation-content h3 {
    color: #2b6964;
    font-size: 1.18rem;
    line-height: 1.35;
    margin: 1.35rem 0 0.65rem;
}

.documentation-content p,
.documentation-content li {
    color: #2f4444;
    font-size: 1rem;
    line-height: 1.78;
}

.documentation-content p {
    margin: 0 0 1rem;
}

.documentation-content ol {
    margin: 0 0 1rem 1.35rem;
    padding-left: 1rem;
}

.documentation-content li {
    margin-bottom: 0.55rem;
    padding-left: 0.25rem;
}

.documentation-content .lower-alpha {
    list-style: lower-alpha;
    margin-top: 0.55rem;
}

@media (max-width: 992px) {
    .documentation-page {
        padding: 0.4rem 1.2rem 3rem;
    }

    .documentation-layout {
        grid-template-columns: 1fr;
    }

    .documentation-toc {
        position: static;
    }

    .documentation-content {
        padding: 1.7rem 1.4rem;
    }
}

@media (max-width: 560px) {
    .documentation-content h2 {
        font-size: 1.42rem;
    }
}
