*{
    margin:0;
    padding:0;
    box-sizing:border-box;
  
}

body{
    font-family:Inter, sans-serif;
    background:#f7f7f7;
    color:#1e293b;
    
}

/* Topbar */

.topbar{
    height:70px;
    background:#ffffff;
    border-bottom:1px solid #e2e8f0;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:0 25px;

    position:sticky;
    top:0;
    z-index:999;
}



.menu-btn{
    display:none;
    border:none;
    background:none;
    font-size:22px;
    cursor:pointer;
    
}

/* Layout */

.container{
    display:grid;
    grid-template-columns:280px 1fr 300px;
    min-height:calc(100vh - 70px);
}

/* Sidebar */

.sidebar{
    width:280px;
    background:#2a2a2a;
    border-right:1px solid #434343;
    padding:20px 12px;
    overflow-y:auto;
}

.sidebar h3{
    font-size:13px;
    font-weight:600;
    color:#f0f0f0;
    text-transform:uppercase;
    letter-spacing:.5px;
    margin-bottom:12px;
    padding:5px 12px;
    background-color: #343434;
    text-align: center;
}

.sidebar ul{
    list-style:none;
}

.sidebar li{
    display:flex;
    align-items:center;
    min-height:32px;
    padding:5px 12px;
    border-radius:3px;
    font-size:14px;
    font-weight:500;
    color:#dedede;
    cursor:pointer;
    transition:all .2s ease;
    border-bottom: 1px solid #bebebe;
}

.sidebar li:hover{
    background:#f3f4f6;
    color:#111827;
}

.sidebar li.active{
    background:#9b9b9b;
    color:#64748b;
    font-weight:600;

    border-left:3px solid #2563eb;
    border-radius:0 8px 8px 0;
}
/* Content */

.content{
    padding:50px;
    width:100%;
}

.breadcrumb{
    color:#64748b;
    margin-bottom:5px;
    font-size:14px;
}

.meta{
    color:#64748b;
    margin-bottom:30px;
}

.content p{
    line-height:1.9;
    margin-bottom:20px;
    font-size:17px;
}

.code-block{
    background:#0f172a;
    color:white;
    padding:20px;
    border-radius:12px;
    margin:25px 0;
    overflow:auto;
    font-family:monospace;
}

/* Navigation */

.navigation{
    margin-top:40px;

    display:flex;
    justify-content:space-between;
}

.navigation button{
    padding:12px 22px;
    border:none;
    border-radius:10px;

    background:#2563eb;
    color:white;

    cursor:pointer;
}

/* Responsive */

.overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.4);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:998;
}

.overlay.show{
    opacity:1;
    visibility:visible;
}

@media(max-width:768px){

    .menu-btn{
        display:block;
    }

    .container{
        display:block;
    }
	 .ads-sidebar{
        display:none;
    }

    .sidebar{
        position:fixed;
        top:70px;
        left:-280px;

        width:280px;
        height:calc(100vh - 70px);

        background:#2f2f2f;

        box-shadow:0 10px 30px rgba(0,0,0,.15);

        transition:left .3s ease;

        z-index:999;

        overflow-y:auto;
    }

    .sidebar.show{
        left:0;
    }

    .content{
        max-width:100%;
        padding:20px;
    }

    .content h1{
        font-size:28px;
        line-height:1.3;
    }

    .navigation{
        gap:10px;
    }

    .navigation button{
        flex:1;
    }
}


.ads-sidebar{
    padding:20px;
    border-left:1px solid #e5e7eb;
    background:#fff;
}

.ad-box{
    width:100%;
    min-height:250px;

    border:2px dashed #cbd5e1;
    border-radius:12px;

    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;

    color:#64748b;
    font-size:14px;

    margin-bottom:20px;
}



.sidebar li a{
    display:block;
    width:100%;

    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;

    text-decoration:none;
    color:inherit;
}

.tutorial-body img{
    max-width:100%;
    height:auto;
    border-radius:12px;
}

.tutorial-body iframe{
    max-width:100%;
}

.tutorial-body h2,
.tutorial-body h3,
.tutorial-body h4{
    margin:25px 0 15px;
}

.tutorial-body ul,
.tutorial-body ol{
    padding-left:25px;
    margin-bottom:20px;
}



.content{
    padding:20px;
    width:100%;

    opacity:1;
    transform:translateY(0);
    transition:all .35s ease;
}

.content.loading{
    opacity:0;
    transform:translateY(20px);
}

.navigation{
    margin-top:40px;
    display:flex;
    justify-content:space-between;
    gap:15px;
}

.nav-btn{
    background:#2563eb;
    color:#fff;
    text-decoration:none;
    padding:12px 22px;
    border-radius:10px;
    transition:.3s;
}

.nav-btn:hover{
    background:#1d4ed8;
}

.nav-btn.disabled{
    background:#cbd5e1;
    cursor:not-allowed;
    pointer-events:none;
}

.blog-widget{
    background:#fff;
    margin-bottom: 3px;

}

.blog-widget h3{
    background-color: #313131;
    color:#d9d9d9;
    font-size:16px;
    font-weight:600;
    padding: 5px;
    text-align: center;
}

.blog-widget ul{
    list-style:none;
    margin:0;
    padding:0;
}

.blog-widget li{
    border-bottom:1px solid #f1f5f9;
    border-bottom-style: dashed.
}

.blog-widget li:last-child{
    border-bottom:none;
}

.blog-widget a{
    display:block;
    text-decoration:none;
    color:#334155;
    font-size:14px;
    line-height:1.6;
    transition:.3s;
    padding: 5px;
}

.blog-widget a:hover{
    background:#f8fafc;
    color:#64748b;
    padding-left:10px;
}

