/*
Theme Name: NodeKite Blog
Theme URI: 
Author: Shahriar Shovon
Author URI: 
Description: A blog theme designed for my NodeKite blog
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nodekite-blog
Tags: 
*/



/* Sidebar style */
.wp-block-categories-list {
    list-style-type: none;
    padding-left: 1rem;
}

.wp-block-categories-list li {
    line-height: 1.6;
}

.current-cat {
    font-weight: bold;
}

.wp-block-categories-list li a {
    text-decoration: none;
}



/* Blog post category/tags style */
.wp-block-post-terms a {
    display: inline-block;
    border: 1px solid var(--wp--preset--color--vivid-red);
    border-radius: 5px;
    padding: 0.2rem;
    margin: 0.1em;
    text-decoration: none;
}

.wp-block-post-terms a:hover {
    background-color: var(--wp--preset--color--vivid-red);
    color: var(--wp--preset--color--white);
}



/* Blog post content */
.blog-post-content .wp-block-heading {
    margin-top: 4rem;
}

.blog-post-content figure {
    margin-bottom: 3rem;
}


.blog-post-content .wp-block-code {
    padding: 1rem;
    border-left: 2px solid var(--wp--preset--color--vivid-red);
    background-color: var(--wp--preset--color--custom-light-gray-01);
}

.blog-post-content .wp-block-code + p {
    margin-top: 3rem;
}















/* Adjust the website for mobile devices */
@media (max-width:800px) {
    .blog-container {
        flex-direction: column-reverse;
    }

    .wp-block-query-pagination {
        padding: 3em 0;
        margin: 0;
        border-bottom: 1px solid var(--wp--preset--color--custom-light-gray-02);
    }
    
    .blog-container > .wp-block-template-part {
        width: 100%;
        margin-top: 2rem;
        padding-top: 2rem;
        padding-bottom: 1rem;
    }


    .blog-container > .wp-block-template-part ul {
        font-size: 1.2em !important;
    }


    .wp-block-group {
        max-width: 100%;
    }
}



@media (max-width:550px) {
    .wp-block-group {
        max-width: 100%;
    }
}