body {
    background-color: var(--light);
}

.blog-view-container {
    display: flex;
    flex-direction: row;
    padding: 20px 0;
    width: 100%;
    height: 100%;
}

.blog-view-content {
    width: 60%;
    height: 100%;
    padding: 30px 50px;
    margin: 0 2.5%;
    background-color: var(--white);
    border-radius: 10px;
}

.blog-view-content-header {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.blog-view-content-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--skyblue);
    margin: 0;
    padding: 0;
}
.sidebar-view {
    width: 25%;
    height: 100%;
    margin-right: 3%;
}
.content-container{
    text-align: unset;
    overflow: hidden;
}
.content-container *{
    font-family: 'iransans' !important;
}
.blog-view-content-header img.cover-image{
    width: 90%;
    margin: auto;
    /* height: 300px; */
    object-fit: cover;
    border-radius: 10px;
    margin-top: 20px;
    margin-bottom: 40px;

}
p.short_description {
    text-align: justify;
    font-size: 14px;
}
@media (max-width: 768px) {
    .blog-view-container {
        flex-direction: column-reverse;
        padding: 10px 0;
    }
    .sidebar-view,
    .blog-view-content {
        width: 100%;
        margin: 0 0 20px 0;
        padding: 15px 10px;
        box-sizing: border-box;
    }
    .blog-view-content-header img.cover-image {
        /* height: 180px; */
        margin-bottom: 20px;
    }
    .content-container img{
        width: 100% !important;
        height: auto !important;
    }

}

/* Add this to your blog-view.css file */

/* Code block styling */
.content-container pre {
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 16px;
    margin: 16px 0;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.4;
    direction: ltr; /* Keep code LTR even in RTL layout */
    text-align: left;
}

.content-container pre code {
    background: none;
    border: none;
    padding: 0;
    font-size: inherit;
    color: inherit;
    white-space: pre;
}

.content-container code {
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 2px 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 90%;
    color: #d14;
}

/* Syntax highlighting colors */
.content-container .hljs-keyword,
.content-container .hljs-selector-tag,
.content-container .hljs-built_in {
    color: #007020;
    font-weight: bold;
}

.content-container .hljs-string,
.content-container .hljs-title {
    color: #4070a0;
}

.content-container .hljs-comment,
.content-container .hljs-quote {
    color: #60a0b0;
    font-style: italic;
}

.content-container .hljs-number,
.content-container .hljs-literal {
    color: #40a070;
}

.content-container .hljs-meta {
    color: #4c8317;
}

.content-container .hljs-emphasis {
    font-style: italic;
}

.content-container .hljs-strong {
    font-weight: bold;
}

/* Dark theme alternative */
@media (prefers-color-scheme: dark) {
    .content-container pre {
        background-color: #2d3748;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .content-container code {
        background-color: #2d3748;
        border-color: #4a5568;
        color: #e2e8f0;
    }
}