.docs-wrapper {
    display: flex;
    width: 100%;
    max-width: 1300px;
    margin: 120px auto 0;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* SIDEBAR */
.docs-sidebar {
    width: 260px;
    flex-shrink: 0;
    border-right: 1px solid #e5e5e5;
    padding-right: 20px;
}

.docs-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.docs-sidebar li {
    margin-bottom: 6px;
}

.docs-sidebar a {
    display: block;
    padding: 12px 14px;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    transition: all .2s ease;
}

.docs-sidebar a:hover {
    background: #f5f5f5;
}

.docs-sidebar a.active {
    background: #ffece8;
    color: #ff3d2e;
    font-weight: 600;
}

/* CONTENT */
.docs-content {
    flex: 1;
    padding-left: 40px;
    width: 100%;
    max-width: none;
    transition: opacity .2s ease;
}

/* paksa semua konten WP di dalam docs */
.docs-content > * {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.docs-inner {
    width: 100%;
    max-width: none;
}

.docs-wrapper * {
    box-sizing: border-box;
}

@media (max-width: 768px) {

    .docs-wrapper {
        flex-direction: column;
        margin-top: 80px;
        padding: 20px 14px;
        gap: 18px;
    }

    /* SIDEBAR JADI TAB HORIZONTAL */
    .docs-sidebar {
        width: 100%;
        padding-right: 0;
        border-right: none;
    }

    .docs-sidebar ul {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 6px;
        scrollbar-width: none;
    }

    .docs-sidebar ul::-webkit-scrollbar {
        display: none;
    }

    .docs-sidebar li {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .docs-sidebar a {
        white-space: nowrap;
        padding: 10px 16px;
        font-size: 14px;
        border-radius: 20px;
        background: #f5f5f5;
    }

    .docs-sidebar a.active {
        background: #ff3d2e;
        color: #fff;
    }

    /* CONTENT */
    .docs-content {
        padding-left: 0;
        padding-top: 10px;
    }
}