body {
    margin: 0;
    font-family: var(--font-titels), sans-serif;
    background-color:  var(--backmain-color);
    color: hsl(282.46deg 8% 15%);
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}


.blog-layout {
    display: flex;
    gap: 20px;
    flex-direction: row-reverse;
}

.blog-sidebar {
    width: 25%;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgb(0 0 0 / 9%);
    margin-bottom: 20px;
    border: 1px solid #ececec;
}

.posts-list {
    width: 75%;
}

.blog-post {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgb(0 0 0 / 9%);
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #ececec;
}

.post-main {
    display: flex;
    align-items: stretch;
    flex-direction: row-reverse;
    gap: 15px;
    padding: 15px;
}

.post-thumbnail {
    width: 100%;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.post-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.post-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    margin-block-start: 0em;
    margin-block-end: 0em;
}

.post-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.post-title a:hover {
    color: #0073aa;
}

.post-excerpt {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 10px;
    margin-block-start: 5px;
    margin-block-end: 1em;
}

.post-meta-container {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #777;
    padding-top: 10px;
    border-top: 1px solid #eee;
    align-items: center;
}


.sidebar-content{padding:10px}

@media (max-width: 992px) {
    .blog-layout {
        flex-direction: column;
    }

    .blog-sidebar {
        width: auto;
        order: 2;
        padding: 10px;
    }

    .posts-list {
        width: 100%;
        order: 1;
    }


    .blog-container {
        margin-top: 3rem;
    }


}

@media (max-width: 768px) {
    .post-main {
        flex-direction: column;
        text-align: center;
        gap: 0;
    }

    .post-thumbnail {
        width: 100%;
        margin-bottom: 15px;
    }

    .post-content {
        width: 100%;
    }

    .post-meta-container {
        gap: 15px;
    }
}


/*navbari*/

.post-viewcomment {
    display: flex;
}

.post-views {
    display: flex;
    align-items: center;
    margin-left: 8px;
}

.post-comments{
    display: flex;
    align-items: center;
}



.post-comments img,
.post-views img {
    width: 25px;
    height: 25px;
}


.f-comment{font-family: var(--font-titels);
    font-family: var(--font-titels);
    line-height: 0;
    font-size: 1rem;}

.f-view{font-family: var(--font-titels);
    line-height: 0;
    font-size: 1rem;}









.menunavr{width: 75%;display: flex;align-items: center;font-family: var(--font-titels);}
.menunavb{width:25%;}
@media (max-width: 992px) {
    .menunavb{width:240px;}
}






.post-thumbnail {
    width: 100%;
    overflow: hidden; 
    border-radius: 12px; 
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform 1s ease;
    transform-origin: center center; 
}

.post-thumbnail img:hover {
    transform: scale(1.05); 
}