/* Simple Dark Mode Blog Style */

body {
    background-color: #1a1a1a;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    padding: 2em;
    max-width: 800px;
    margin: 0 auto;
}

h1, h2, h3 {
    color: #ffffff;
    border-bottom: 1px solid #444;
    padding-bottom: 0.3em;
}

a {
    color: #8ab4f8; /* A light blue that works well on dark backgrounds */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin-bottom: 1em;
}

/* Code blocks */
pre {
    background-color: #2b2b2b;
    padding: 1.5em;
    border-radius: 8px;
    border: 1px solid #444;
    overflow-x: auto; /* Allow horizontal scrolling for wide code */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
    font-size: 0.95em;
    color: #f0c674; /* A soft yellow for code text */
}

/* Specific colors for code elements if needed */
code .keyword { color: #c39dd7; } /* Soft purple for keywords */
code .comment { color: #7f8c8d; } /* Grey for comments */
code .string { color: #b5bd68; } /* Soft green for strings */

/* Blog index list styling */
.blog-list h2 {
    border-bottom: none;
}
.blog-list ul {
    margin-top: 1em;
}
.blog-list li {
    background-color: #252525;
    padding: 1em;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.blog-list li:hover {
    background-color: #333;
}
