:root {
    /* Light Mode Colors */
    --bg-color: #eceef2;
    --text-color: #727476;
    --primary-color: #0460e5;
    --secondary-color: #11d5ff;
    --box-color: #0460e5;
    --counter-color: #0e0e0e;
    --counter-text: #11d5ff;
    --icon-text: #0460e5;
    --heading-text: #000;

  }
  
  [data-theme="dark"] {
    /* Dark Mode Colors */
    --bg-color: #121212;
    --text-color: #727476;
    --primary-color: #0460e5;
    --secondary-color: #11d5ff;
    --box-color: #11d5ff;
    --counter-color: #2e2f2f;
    --counter-text: #0460e5;
    --icon-text: #11d5ff;
    --heading-text: #fff;

  }


/* blog detail  */

.blog-detail{
    width: 80%;
    margin: 3px auto; 
}

.blog-detail a{
    cursor: pointer;
}

.blog-detail-header{
    width: 80%;
    margin: auto;
}

.blog-detail-header img{
    width: 100%;
    max-height: 40%;
}

.blog-detail-header-data{
    display: flex;
    justify-content: space-between;
}

.blog-detail-header-data p{
    color: green;
    font-weight: 700;
    font-size: 14px;
}





/* blogdetail body  */

.blog-detail-body{
    width: 100%;
    margin: 1rem auto;
}

.blog-detail-body h1{
    font-size: 40px;
    font-weight: 500;
    text-align: center;
    transition: 1s;
    color: var(--secondary-color);
}

.blog-detail-body h1:hover{
    color: var(--heading-text);
    cursor: pointer;
}

.blog-detail-metadesc{
    display: flex;
    box-shadow: 0px 5px 10px var(--heading-text);
    margin-top: 1.3rem;
    border-radius: 10px;
    padding-right: 10px;
    padding: 10px 0;
    box-sizing: border-box;
}

.blog-detail-metadesc .line{
    width: 180px;
    height: 5px;
    background-color: var(--counter-text);
    margin-top: 1rem;
    margin-right: 5px;
    margin-left: 5px;
}

.blog-detail-metadesc h3{
    font-weight: 300;
    font-size: 25px;
    color: var(--icon-text);
}

article>span{
    text-align: left;
    color: var(--heading-text);
}

article>p{
    text-align: left;
    color: var(--heading-text);
}
article>h1{
    text-align: left;
    font-size: 25px;
    color: var(--heading-text);
    font-weight: 600;
}

article>h2{
    text-align: left;
    font-size: 22px;
    color: var(--heading-text);
    font-weight: 500;
}
article>h3{
    text-align: left;
    font-size: 21px;
    color: var(--heading-text);
    font-weight: 500;
}

article>h4{
    text-align: left;
}
article>h5{
    text-align: left;
}

article>a{
    color: var(--icon-text);
    font-weight: 500;
    cursor: pointer;
}



article{
    color: var(--heading-text);

}

.article{
    width: 80%;
    margin: auto;
}













.blog-admin{
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 0 auto;
}

.blog-admin-col{
    width: 100%;
    box-shadow: 0 4px 6px var(--text-color); /* Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    padding: 10px 0;
}
.blog-admin-col:hover{
    transform: translateY(-5px);
    box-shadow: 0px 8px 15px var(--secondary-color);
}


.blog-card-body h5, p{
    text-align: center;
}

.blog-card-body h5{
    font-size: 16px;
}
.blog-card-body p{
    font-size: 13px;
}

.blog-latest-post{
    display: flex;
    padding: 7px 6px;
}


.blog-latest-post-body{
    text-align: center;
    padding-left: 4%;
}

.blog-latest-post-body span, a{
    text-decoration: none;
    color: var(--text-color);
}



@media(max-width: 1300px){

    .blogs{
        flex-direction: column;
        gap: 2rem;
    }

    .blog-list{
        width: 90%;
    }
    
    .blog-admin{
        width: 90%;
    }

    .blog-detail-body h1{
        font-size: 30px;
        padding-bottom: 1rem;

    }

    article{
        text-align: center;
    }
    

}


