/**
 * News Code Block Styling
 * VS Code Dark (vs2015) theme styling
 */

/* Code block container - VS Code style */
.news-body pre {
    background: #1e1e1e !important;
    padding: 1.25rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid #333;
}

/* Code element within pre */
.news-body pre code {
    display: block;
    white-space: pre;
    color: #d4d4d4 !important;
    background: transparent !important;
    padding: 0;
}

/* Ensure hljs class inherits dark background */
.news-body pre code.hljs {
    background: #1e1e1e !important;
    color: #d4d4d4;
}

/* Inline code (not in pre blocks) - VS Code style */
.news-body :not(pre) > code {
    background: #2d2d30;
    color: #ce9178;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    border: 1px solid #3e3e42;
}

