/*
Theme Name:ThinkBase by WayoLabs
Description:tutorials, articles, elearning theme
Author:wayolabs.com
Author URI: https://wayolabs.com
Version 1.1 

*/

body{
    position:relative; float:left;
    padding: 0px !important;
    margin: 0px !important;
    line-height: 1.5;    
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    /*  
    font-weight: 700;
    font-style: normal;
    */
   background:rgb(243, 243, 231);
   border-top:#000 solid 4px;
   
}
h2 a{
    font-family: "Oswald", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size:45px;
  color:#454545;
}

/**
header{
    position: relative;
    float:left;
    width:100%;    
    box-sizing: border-box;
    background-color: #efefef;
}
**/
.site-header{
    position: fixed;
    top:0px;
    float:left;
    width:100%;     
    box-sizing: border-box;   
    height:60px;
    background-color: #fff;
    z-index: 2000;
    /*background-color: #000000;*/
     border-top:solid 1px #000;
    border-bottom:solid 1px #000;
    overflow: hidden;
}

.explore-icon-wrap{
    position: relative;float:left;
    width:60px; height:100%;
    box-sizing: border-box;
    border-right: solid 1px #1a1a1a;
}


.explore-icon {
  margin-top:20px;margin-left:20px;
  position: relative;
  float: left;
  width: 20px;
  height: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  cursor: pointer;
}

.explore-icon span {
  background: #302f30;
    
  border-radius: 2px;
}

.global-logo-wrap{
    position: relative;float:left;
    width:auto; height:100%;
    box-sizing: border-box;
    border-right: solid 1px #ffff0000;
    padding-left:10px;
    
}


.global-logo-wrap a{
    position: relative;
    float:left;
    width:auto;
    height:100%;  
    display:block;
    background-color: #000;
    }

.global-logo-wrap a img{
  
    height: 100% !important;
    width: auto !important;
   
    
    } 

.logo{
    position: relative;
    float:left;
    width:auto;
    height:100%;    
    box-sizing: border-box;
   
    }

.logo a{
    position: relative;
    float:left;
    width:auto;
    height:100%;  
    display:block;
    background-color: #000;
    }

.logo a img{
  
    height: 100% !important;
    width: auto !important;
   
    
    }   


/***************************menu flap************/


/* ===== global Menu ===== */

/* ===== Overlay ===== */
.global-menu-overlay{
    position: fixed;
    inset: 0;
    background: rgba(8, 0, 255, 0.1);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 2500;
}

.global-menu-overlay.active{
    opacity: 1;
    pointer-events: all;
}

.global-menu-flap{
    position: fixed;
    float:left;
    top:0px;
    left: -200%; 
    width:20%;
    height:100%;  
    box-sizing: border-box;
    z-index:3000;
    background: rgba(241, 241, 238, 0.9);
    background: rgba(255, 255, 0, 0.9);
    backdrop-filter: blur(8px);
    
}
/* ===== Responsive ===== */

/* Tablets */
@media (max-width: 1024px){
    .global-menu-flap{
        width: 30%;
    }
}

/* Mobile */
@media (max-width: 768px){
    .global-menu-flap{
        width: 100%;
    }
}

.global-menu-flap.active {
        left: 0;
    }

.global-menu-close-btn{
    position: relative;
    float: right;
    font-size: 32px;
    cursor: pointer;
    font-weight: bold;    
    width:50px;
    height: 50px;
    text-align: center;
    box-sizing: border-box;
    display: block;
    margin-bottom:10px;
    z-index:3500;
}

.global-menu-flap-container{
            position: relative;            
            width: 100%;            
            height: auto;
            background: none;
            box-sizing: border-box;
            
           
}

.global-menu-wrap{
    position: relative;
    padding: 20px;
    width: 100%;
    height:auto;
    background: none;
    box-sizing: border-box;
}
.global-menu{
    position: relative;
    float:left;
    width:100%;
    height:auto;     
    box-sizing: border-box;
    font-size:30px;
    font-weight: 600;
    color:black;
    margin-bottom:5px;
    cursor:pointer;
}
.global-menu a{
    position: relative;
    float:left;
    width:100%;
    height:auto;
    box-sizing: border-box;
    text-decoration: none;
    display: block;
    color:rgb(22, 22, 22);
}
.global-menu a:hover{
    color:rgb(0, 42, 255);
}

.global-menu-text{
   position: relative;
    float:left;
    width:auto;
    height:auto;    
    box-sizing: border-box;    
    margin-top:10px;
    margin-bottom:5px;    
    text-decoration: dashed underline;
    font-size:20px;
    
    cursor: default;
}


.global-menu .wlj-community{
    position: relative;
    float:left;
    width:auto;
    height:180px;
    box-sizing: border-box;
    border-radius: 15px;
    border: 2px solid #15ff00;
    cursor:  default;
}

/***************************global menu flap************/




/***************************menu flap************/
.menu-flap{
    position: fixed;
    float:left;
    width:100%;
    height:100%;  
    box-sizing: border-box;
    z-index:3000;
    background:#fafafa;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    display: none;
}
.menu-flap.active {
        display: flex;
    }
.menu-flap-container{
            position: relative;
            padding: 20px;
            width: 100%;top:50px;
            left:50px;
            background: none;
            box-sizing: border-box;
            /*
            border-radius: 10px;
            text-align: center;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
            */
}
.flap-close-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 30px;
            height: 30px;
            background-color: #ff4d4d;
            color: white;
            border: none;
            border-radius: 50%;
            font-size: 20px;
            font-weight: bold;
            text-align: center;
            line-height: 30px;
            cursor: pointer;
            transition: 0.3s;
        }

        .flap-close-btn:hover {
            background-color: #cc0000;
        }
/***************************menu flap************/


 
.mob-menu-wrap{
    position: fixed;
    right:10px;
    width:auto;
    height:auto;
    box-sizing: border-box;
}
.menu-icon {
            width: 35px;
            height: 30px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            cursor: pointer;
            position: relative;
            float:left;
            top: 15px;left:0px;
            
            
        }
        
        .menu-icon div {
            width: 100%;
            height: 4px;
            background-color: black;
            border-radius: 2px;
            transition: 0.4s;
        }

  .desk-menu{
    position: relative;float:left;
    top:0px;
    left:10px;
    width:70%;
    height:100%;    
    box-sizing: border-box;
    overflow:hidden;
  }
  /* Responsive Styles */
        @media (max-width: 768px) {
            .desk-menu {
                
               
             display: none;
                
                
            }

           
        }  


nav{
    position: relative;float:left;
    top:0px;
    width:90%;
    height:auto;    
    box-sizing: border-box;
    
    
    
}

 
.main-menu{ 
    position: relative;
    float:left;
    width:100%;
    height:auto;     
    box-sizing: border-box;
  
   
}
.menu-items{ 
    position: relative;
    float:left;
    width:auto;
    height:auto;    
    box-sizing: border-box;
    
    list-style: none;
    padding:0px !important;margin: 0px !important;
    text-align: center;
}
.menu-items li{ 
    position: relative;
    float:left;
    width:auto;
    height:auto;    
    box-sizing: border-box;
    /*background-color: #000000;*/
        border: solid 1px #000000;
    
   
}
.menu-items li a{ 
    position: relative;
    float:left;
    width:auto;
    height:58px;    
    box-sizing: border-box;    
    border-right: solid 1px #efefef;
    padding:10px;padding-top:15px;
   
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    display: block;
    text-decoration: none;
}
.menu-items li a:hover{ 
   
    background-color: #000000;
    color: rgb(255, 255, 255);
   
}

.menu-items .sub-menu {
    display: none;
    position: absolute;
    top:60px;
    background: #ffffff;
    list-style: none;
    padding: 10px;
    width: auto;
    border: solid 1px black;
}

.menu-items li:hover .sub-menu {
    display: block;
}


main{

    position: relative;
    float:left;
    width:100%;
    height:auto;
    box-sizing: border-box;
   
      

}
.cat-page-wrap{
   position:relative;
    float:left;
    width:100%;
    height:auto;
    box-sizing: border-box; 
    overflow:hidden;
     
}

/**************************index.php********************/
.top-banner-wrap{ 
 position: relative;
 top:0px;left:0px;
 float:left;
 width:100% ;
 height:auto;
 box-sizing: border-box;
  z-index:200;
 background:black; 
 background: linear-gradient(135deg, #3d0075, #6a0dad, #b4009e, #ff0080);
 background: linear-gradient(135deg, #001eff, #100dad, #d9ff00, #fbff00);
 background: linear-gradient(135deg, #001eff, #100dad, #0800ff, #0008ff);
 
 box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
 padding-bottom:80px;
 margin-top:60px;
}
.sticky {
    position: fixed;
    top: 60px;
    left: 0;
   background: linear-gradient(135deg, #3d0075, #6a0dad, #b4009e, #ff0080);
    background: linear-gradient(135deg, #001eff, #100dad, #0800ff, #0008ff);
   
}
.top-title-wrap{
   position: relative;float:left;
    width:100%;height:auto;
  padding-left:60px; box-sizing: border-box;
}


.top-title{
position: relative;float:left;
    color:black;
    width:auto;height:auto;
    font-size:80px;font-size:400%;
   text-shadow: 1px 1px 0px #fbfbfb;
    font-family: "Anton", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-optical-sizing: auto;
  background: linear-gradient(90deg, #ffff00, #ffff00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
   
}
.top-subtitle-wrap{
   position: relative;float:left;
    width:100%;height:auto;
  padding-left:60px; box-sizing: border-box;
}

.top-sub-title{
    position: relative;float:left;
    color:black;
    width:100%;height:auto;
    font-size:25px;
  text-shadow: 1px 1px 0px #fafafa;
    font-family: "Anton", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-optical-sizing: auto;
 background: linear-gradient(0deg, #fff, #2b2b2a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
   text-align: left;
   
}
.sub-cat-btn-scroller{
 position: absolute;bottom:0px;
    width:95%;height:50px;padding:5px;
   
}
@media only screen and (max-width: 330px) {
    .sub-cat-btn-scroller {
        display: none;
    }
}
.scroll-container {
    display: flex;
    align-items: center;
    gap: 10px;
   
    width:100%;height:auto;
   
}
.scroll-btn {
    position: relative;float:left;
    background: black;
    color: white;
    border: none;
    padding: 0px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-weight:600;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.scroll-btn:hover {
    background: #222;
}
.top-sub-cat-btns{
/**
position: relative;float:left;
    
    width:100%;height:auto;
    **/
   display: flex;
    height:50px;
    overflow-x: auto;
    
    white-space: nowrap;
    scroll-behavior: smooth;
    max-width: 90%; /* Adjust width as needed */
    
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
   
}
.top-sub-cat-btns::-webkit-scrollbar {
    display: none;
}


.sub-cat-btn{
position: relative;float:left;
    background:black; color:white;padding:5px;cursor:pointer;margin:5px;
    width:auto;height:auto;
     background-color: #6200ea;
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    border-radius: 10px; /* Rounded corners */
    cursor: pointer;
}
/*
.infinity {
    font-size: 200px; 
    font-weight: bold;
    background: linear-gradient(45deg, #ff00ff, #6a0dad, #00f0ff, #ff0080);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    color: transparent;
    animation: gradientAnimation 3s infinite linear;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
*/

.infinity {position: relative;float:left; width:auto;
    font-size: 150px; /* Large text */
    font-weight: bold;
    background-image: linear-gradient(45deg, #ff00ff, #6a0dad, #00f0ff, #ff0080);
    background-image: linear-gradient(45deg, #ff00ff, #6a0dad, #b4009e, #ff0080);
    background-image: linear-gradient(45deg, #0400ff, #0004ff, #fbff00, #fffb00);
    background-size: 300% 300%;
    color: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientAnimation 3s infinite linear;line-height:100px;
    transform: scaleX(-1) rotate(5deg);
    font-size: 40px;
   
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.top-cats-wrapper{
position:relative;float:left;top:0px;
width:100%;
height:auto;
border:solid 0px black;
border-radius:5px;


}
.top-cat-item{
position:relative;float:left;width:150px;height:150px;
margin-right:10px;
margin-bottom:10px;
list-style:none;

}

.cat-link{
position:relative;float:left;width:100%;min-height:100%;height:auto;display:block;
border:solid 1px #0004ff;
border-radius:5px;
box-shadow: 1px 1px 1px rgb(1, 1, 255);background: #ffff00;
background:#fafafa;
justify-content: center;
}
.cat-link:hover{

 box-shadow: 2px 2px 2px rgb(1, 1, 255);
    .cat-link-heading{
    color:rgb(1, 1, 255);
    }
}
.cat-link-heading{
position:relative;float:left;width:100%;text-align:center;
font-size:25px;color:#343434;font-weight:600;
}
.cat-img-wrap{position:relative;box-sizing: border-box;width:100px;height:100px;}
.cat-link-img{position:relative;float:left;width:auto;height:80px;padding:10% 40%;}

.content-area{   
      position: relative;float:left;width:100%;height:auto;
      color:white;   
      padding:30px;  padding-top:50px;    
      box-sizing: border-box;     
      margin-bottom:10px;

    }
.category-name{ 
    position: relative;
    float:left;
    width:100%;
    height:auto;
    color:black; 
    font-size:40px;
    line-height: 1.8;
    box-sizing: border-box;
    padding-left:10px;    
    font-weight: 600;
}
/* hand drawn underline */
.category-name::after{
    content:'';
    position:absolute;
    left:10px;
    bottom:4px;
     width:70%;              
    height:12px;
    /*
    background: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'>\
<path d='M2 6 Q20 2 40 6 T78 6 T118 6' \
stroke='blue' stroke-width='4.0' fill='none' stroke-linecap='round'/>\
</svg>") no-repeat;
*/
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M2 6 Q20 2 40 6 T78 6 T118 6' stroke='blue' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
 background-size: contain;
 background-repeat: no-repeat;
 background-position: left center;  
}
.category-desc{
    position: relative;float:left;width:100%;height:auto;
    color:rgb(50, 50, 48); 
    text-align:left;
    line-height: .1;
    box-sizing: border-box ;
    padding-left:10px;
   
}

.subcategory-group{
 position: relative;float:left;width:100%;height:auto;
 margin-top:20px;margin-bottom:20px;
 box-sizing: border-box;

}    
.subcat-title{
 position: relative;float:left;width:100%;height:auto;
 margin-top:20px;box-sizing: border-box;
 font-size:20px;color:black;
 padding-left:15px;
 
}
.subcat-title a{
 position: relative;float:left;width:auto;height:auto;
 box-sizing: border-box;display: block;
 font-size:20px;padding:5px;background:rgb(255, 255, 255);
 color:black;border:solid 1px blue;
}

.post-loop{
    /*
    position: relative;float:left;width:100%;height:auto;
    background-color: #e7a30400;
    box-sizing: border-box; 
    */
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap:20px;
}

/* Default width for larger screens */
.post-loop article{
    /*
    position:relative;float:left;
    width:20%;
    height:auto;
    background:white;
    color:black;
    margin: 1%;
    padding-top:0px;
    box-sizing: border-box;
    border-radius: 4px; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
   */
    position:relative;    
    width:100%;              
    background:white;
    color:black;
    box-sizing:border-box;
    border-radius:6px;
    box-shadow:0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
    transition: transform .25s ease, box-shadow .25s ease;
    display:flex;             
    flex-direction:column;

}



/* For tablets and small desktops */
@media only screen and (max-width: 1024px) {
    .post-loop article {
        width: 30%;
    }
}



/* For small mobile screens */
@media only screen and (max-width: 600px) {
    .post-loop article {
        width: 48%;
    }
}

/* For extra small screens */
@media only screen and (max-width: 400px) {
    .post-loop article {
        width: 100%;
    }
}

  .post-loop article:hover{
    box-shadow: 0 8px 8px rgba(0,0,0,0.25), 0 8px 8px rgba(0,0,0,0.22);
  }
  .post-loop article img{
   /*
    position:relative;float:left;
    width:100%;
    height:auto;
    border-radius:4px 4px 0px 0px;
    margin-top:0px;
    */
     width:100%;
    height:160px;
    object-fit:cover;
    border-radius:6px 6px 0 0;
    
}
.entry-header{
 position: relative;float: left;
    width:100%;height: auto;
}

.entry-header a{
    position: relative;float: left;
    width:100%;height: auto;
    padding:0px;
    display:block;
    padding-left: 5px;
    text-align: left;
    font-family: "Quicksand", sans-serif;
    font-size:20px;
    font-weight:500;
    color:black;
    text-decoration: none;
    line-height:1.2;
    padding:5px;box-sizing: border-box;
}
.entry-header h2 a:hover{
    text-decoration: none;
    

}
.entry-content{
    position: relative;float: left;
    width:100%;height: auto;
    box-sizing: border-box;
    
}
.entry-content a{
    position: relative;float: left;
    width:100%;height: auto;
    padding:10px; box-sizing: border-box;
    line-height:1.2;display: block;
    text-decoration: none;
    color:black;
    font-size: 16px;
}

.container{   
    margin: 0 auto;
    width:60% ;
    height:auto;
    max-width: 100%;
    box-sizing: border-box;
    }
/* Mobile responsiveness */
@media (max-width: 1000px) {
    .container {
        width: 90%; /* Make it wider on smaller screens */
    }
}

@media (max-width: 480px) {
    .container {
        width: 90%; /* Almost full width for very small screens */
    }
}
.single-post{
        position:relative;
        float:left;
        width:100%;
        height:auto;
        box-sizing: border-box;
        padding: 2%;
        padding-bottom:300px;
       
}

    .single-post article{
        position:relative;
        float:left;
        width:100%;
        height:auto;
        box-sizing: border-box;
        padding-top:30px;
        
    }

 
    
      
      .single-post article img{
        width:100%;
        height:auto;
        border-radius:4px 4px 0px 0px;
    }

    

.post-content{
 position:relative;
        float:left;
        width:100%;
        height:auto;
         box-sizing: border-box;
         font-size:20px;
}


.post-navigation{ 
    position:relative;
    float:left;
    width:100%;
    height:auto;
    box-sizing: border-box;   
    margin-top:30px;   
    margin-bottom:50px;
}

.post-navigation .prev{ 
    position: relative;float: left;
    width:40%;
    height:auto;
     box-sizing: border-box;
    }
.post-navigation .next{ 
    position: relative;float: right;
    width:40%;
    height:auto;
    box-sizing: border-box;

}
.post-navigation .prev a{ 
    position: relative;float: left;
    width:100%;
    height:auto;
    background-color: #0004ff;
    color:wheat;
    box-sizing: border-box;
    padding:10px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
}
.post-navigation .prev a:hover{color:yellow;}
 .post-navigation .next a{ 
    position: relative;float: left;
    width:100%;
    height:auto;
    background-color: #0004ff;
    color:wheat;
    box-sizing: border-box;
    padding:10px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
}     
.post-navigation .next a:hover{color:yellow;}


.post-title{
font-size:35px;
font-weight:bold;
line-height:1.2;
margin-top:40px;
margin-bottom:20px;
}
   
/****code hightlighter**/
/* In your theme's style.css or header.php */
/* VS Code-like theme for preformatted blocks 
.wp-block-preformatted {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 16px;
    border-radius: 4px;
    overflow: auto;
    font-family: 'Consolas', 'Monaco', 'Andale Mono', monospace;
    font-size: 14px;
    line-height: 1.5;
    margin: 20px 0;
    tab-size: 4;
}

.wp-block-preformatted code {
    display: block;
    white-space: pre;
}


.wp-block-preformatted .php-tag { color: #569cd6; }
.wp-block-preformatted .keyword { color: #569cd6; }
.wp-block-preformatted .string { color: #ce9178; }
.wp-block-preformatted .function { color: #dcdcaa; }
.wp-block-preformatted .operator { color: #d4d4d4; }*/
/** */
.wp-block-preformatted{
background-color: #fafafa;
    padding: 15px;
    border-right: 4px solid #0073aa;
    border-bottom: 4px solid #0073aa;
    font-family: monospace;
    white-space: pre-wrap;
    font-size:18px;
    border: 2px solid;
    border-image-source: linear-gradient(to right, rgb(255, 255, 0), blue);
    border-image-slice: 1;
    background-color: #0f0f0f;
    color:rgb(20, 20, 20);

    code{   

        background:none;color:#f1f1f1;font-size: 18px;padding:2px;
    }
}

code{ background:#f7f6f6;color:#111111;font-size: 16px;padding:2px;}



/* If you need to set a specific width and height */
.site-header .logo img {
    width: 100px;  /* Adjust width as needed */
    height: auto;
}


/*******************sidebar****************/
.sidebar_0{
  
}


.toggle-sidebar_1-btn {
   position: fixed;
    left: 0px;
    top: 80px;
    z-index: 1000;
    background: black;
    color: white;
    border: none;
    padding: 5px 9px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 0px 5px 5px 0px;
    z-index:1600;
    display: none;
}
/* show toggle  on small screens */
@media (max-width: 1000px) {
    .toggle-sidebar_1-btn {
        display: flex;
    }
    
   
}

.sidebar_1{
  position: fixed;
   left:0px;
   top:0px;
    width:20%;
    height:100%;
    padding-top:75px;
   
    box-sizing: border-box;
     overflow-y: scroll;
     overflow-x:hidden;
       
        border-right:solid 2px black;
       z-index:1500;
     
       backdrop-filter: blur(18px);
}

/* Hide sidebar on small screens */
@media (max-width: 1000px) {
    .sidebar_1 {
        transform: translateX(-100%); /* Moves sidebar off-screen */
    }
    
    .sidebar_1.active_sidebar {
        transform: translateX(0); /* Brings sidebar back */
         width:100%;
         padding-left:50px;
    }
}


/* Target the scrollbar inside .your-element */
.sidebar_1::-webkit-scrollbar {
    width: 6px;
}

.sidebar_1::-webkit-scrollbar-thumb {
    background: #007bff; /* Blue */
    border-radius: 5px;
}

.sidebar_1::-webkit-scrollbar-thumb:hover {
    background: #0056b3; /* Darker blue */
}



#sidebar {
position:relative;float:left;
    width: 100%;
   
    padding: 5px;
    border: 1px solid #000;
}

.sidebar-widget {
    margin-bottom: 10px;
}

.widget-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}


.related-posts {
   position:relative;float:left;width:100%;height:auto;
   box-sizing: border-box;padding:5px;
}

.related-posts .category_subtitle {
    position:relative;float:left;width:auto;height:auto;
    font-size: 20px;
    margin-bottom: 10px;
    box-sizing: border-box;
    font-weight:500;
    
    
    
}
.subcategory_posts_wrapper{
  position:relative;float:left;width:100%;height:auto;
  background:none;margin-bottom:15px;
  box-sizing: border-box;
  
}
.subcategory_name{
   position:relative;float:left;width:100%;height:auto; color: #000;  font-size: 18px;
   box-sizing: border-box; font-weight:700;
}
.subcategory_posts_list{
  position:relative;float:left;left:1%;width:98%;height:auto; color: #000;  font-size: 18px;
  border-left:solid 1px #0d00ff;padding-left:10px;
  padding:15px;
  box-sizing: border-box;
 
}
.subcategory_posts_list ul {
 position:relative;float:left;width:100%;
    list-style: none;
    padding: 0px;margin:0px;
}

.related-posts ul li {
 position:relative;float:left;width:100%;
  border-bottom:solid 1px none;
}

.related-posts ul li a {
    text-decoration: none;
    color: #0073aa;
    display:block;
    padding:2px;
      color: #000; font-size: 16px;
}

.related-posts ul li a:hover {
    color: #005177;background:#fafafa;
    cursor:pointer;
}
.related-posts ul li a:visited {
  color:#000;
}
.current_post a{

background:black;color:white !important;

}
.current_post a:hover{
background:black !important;cursor:default;
color:white;
 
}
.current_post a:visited{

color:white !important;
  cursor:none;
}
/*******************sidebar****************/



.toggle-toc_container-btn{
   position: fixed;
    right: -10px;
    top: 80px;
    
   
    color: white;
    border: none;
    padding: 5px 9px;
    cursor: pointer;
    font-size: 16px;
   z-index: 1000;
    display: none;
    transform: rotate(90deg);
     background: linear-gradient(45deg, violet, blue);
   
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}
/* show toggle  on small screens */
@media (max-width: 1000px) {
    .toggle-toc_container-btn {
        display: flex; 
    }
    
   
}


.toc_container{
position:fixed;float:right;top:80px;right:0px;
width:20%;height:auto;

 box-sizing: border-box;
 padding:10px;

 transition: left 0.3s ease-in-out;
}


/* Hide sidebar on small screens */
@media (max-width: 1000px) {
    .toc_container {
        transform: translateX(101%); /* Moves sidebar off-screen */
       
    }
    
    .toc_container.active_toc {
        transform: translateX(0); /* Brings sidebar back */
        /* width:100%;
         padding-left:50px;*/
         
          background: rgba(255, 255, 255, 0.9);
         
         backdrop-filter: blur(8px);
         border-radius:5px;
         box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
         width:40%;
         
    }
}
/* Hide sidebar on small screens */
@media (max-width: 400px) {
    .toc_container {
        transform: translateX(101%); /* Moves sidebar off-screen */
       
    }
    
    .toc_container.active_toc {
        transform: translateX(0); /* Brings sidebar back */
        /* width:100%;
         padding-left:50px;*/
         
          background: rgba(255, 255, 255, 0.9);
         
         backdrop-filter: blur(8px);
         border-radius:5px;
         box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
         width:60%;
         
    }
}


//kaka
.toc-widget{
position:relative;float:left;width:95%;margin:2px;height:auto;
 box-sizing: border-box;
  padding:5px;
  border:solid 1px #efefef;
border-radius:5px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
      transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}
.toc-widget ul{ 
list-style: none;
    padding: 0;}



.toc-widget ul li {
    margin-bottom: 2px;
}


.toc-link {
    font-size:15px;
    text-decoration: none;
    color: #343434;
    
    display:block;
    padding:2px;    
    transition: color 0.3s ease;
}

.toc-link:hover {
    color: #000 !important;
   
    cursor:pointer;
}
.toc-link:visited {
 color: #343434;
}

.active {
    font-weight: bold;
    color: #0073aa !important; /* WordPress blue */
    border-left: 3px solid #0073aa;
    padding-left: 8px;
}



footer{
    position: relative;
    float:left;
    width:100%;
    height:auto;
    background-color: #000;
    box-sizing: border-box;
}


.wp-block-code{background:gray;padding:10px;}
