.document-page {
    max-width: 1660px;
    width: 100%;
    margin: 0 auto;
    padding: 0 10px 70px;
    box-sizing: border-box;
}

.document-page__breadcrumbs {
    display: flex;
    gap: 5px;
    font-size: 12px;
    line-height: 21px;
    margin: 15px 0 40px;
    opacity: 0.6;
}

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

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

.document-page__main-title {
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 50px 0;
}

.document-page__container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 80px;
}

/* Sidebar Menu */
.document-page__sidebar {
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.document-menu {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.document-menu__item {
    display: inline-block;
    width: fit-content;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: #6B6B6B;
    text-decoration: none;
    text-transform: uppercase;
    background: transparent;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.document-menu__item:hover {
    color: #FF4713;
}

.document-menu__item--active {
    color: #2A2A2A;
    border-bottom-color: #2A2A2A;
    border-bottom-width: 1px;
    font-weight: 600;
}

/* Content */
.document-page__content {
    /* max-width: 900px; */
}

.document-section {
    margin-bottom: 40px;
}

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

.document-section__title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 15px 0;
    letter-spacing: 0.5px;
}

.document-section__subtitle {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    letter-spacing: 0.3px;
}

.document-section__text {
    font-size: 15px;
    line-height: 1.7;
    color: #2A2A2A;
    margin: 0 0 15px 0;
}

.document-section__text a {
    text-decoration: underline;
}

.document-section__text--bold {
    font-weight: 700;
    margin: 0 0 15px 0;
}

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

.document-section__list {
    padding-left: 0;
    list-style: none;
}

.document-section__list li {
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.7;
    color: #2A2A2A;
    margin-bottom: 15px;
}

.document-section__list li::before {
    content: '•';
    position: absolute;
    left: 5px;
    color: #2A2A2A;
}

.document-section__list li:last-child {
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 1024px) {
    .document-page__container {
        grid-template-columns: 250px 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .document-page {
        padding: 0 0 50px;
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    .document-page__breadcrumbs {
        font-size: 11px;
        margin: 10px 10px 20px;
        padding-right: 10px;
    }

    .document-page__main-title {
        font-size: 20px;
        margin: 0 10px 30px;
        padding-right: 10px;
    }

    .document-page__container {
        display: flex;
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }

    .document-page__sidebar {
        position: static;
        width: 100vw;
        margin-left: -10px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .document-page__sidebar::-webkit-scrollbar {
        display: none;
    }

    .document-menu {
        flex-direction: row;
        gap: 30px;
        padding: 0 10px 10px 20px;
        min-width: min-content;
    }

    .document-menu__item {
        white-space: nowrap;
        font-size: 12px;
        flex-shrink: 0;
    }

    .document-page__content {
        max-width: 100%;
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .document-section {
        margin-bottom: 40px;
    }

    .document-section__title {
        font-size: 12px;
        margin-bottom: 15px;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .document-section__text {
        font-size: 12px;
        margin-bottom: 15px;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .document-section__list {
        width: 100%;
    }

    .document-section__list li {
        font-size: 12px;
        margin-bottom: 15px;
        overflow-wrap: break-word;
        word-break: break-word;
    }
}

@media (max-width: 480px) {
    .document-page {
        padding: 0 0 40px;
    }

    .document-page__breadcrumbs {
        font-size: 10px;
        margin: 10px 10px 15px;
    }

    .document-page__main-title {
        font-size: 16px;
        margin: 0 10px 20px;
    }

    .document-menu {
        gap: 20px;
    }

    .document-menu__item {
        font-size: 12px;
    }

    .document-section__title {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .document-section__text {
        font-size: 12px;
    }

    .document-section__list li {
        font-size: 12px;
    }
}
