/* General Styling */
body {
    font-family: "Consolas", "Courier New", Courier, monospace;
    line-height: 1.6;
    background-color: #0d0d0d; /* Dark background */
    color: #00ff00; /* Green text */
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
}

a {
    color: #00ffff; /* Cyan links */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    background-color: #1a1a1a;
}

/* Header */
header {
    padding: 20px;
    border-radius: 0;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #00ff00;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    color: #00ff00;
}

/* Link on the blog post page header */
.header-link {
    color: #00ff00;
    text-decoration: none;
}
.header-link:hover {
    color: #00ffff;
    background-color: transparent;
}

.subtitle {
    font-size: 1.1em;
    color: #00cc00; /* Slightly dimmer green */
    margin: 10px 0 0;
}

/* Main Content */
main {
    padding: 20px;
    border-radius: 0;
    border: 1px solid #00ff00;
}

/* Post Preview (index.html) */
.post-preview {
    border-bottom: 1px dashed #008000; /* Darker green dash */
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.post-preview:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.post-preview h3 {
    margin: 0 0 5px 0;
}

.post-preview h3 a {
    color: #00ffff; /* Cyan */
}

.post-preview h3 a:hover {
    color: #ffffff; /* White on hover */
    text-decoration: none;
}

.post-meta {
    font-size: 0.9em;
    color: #009900; /* Darker green */
    margin: 0 0 10px 0;
}

/* Full Blog Post (blog-post-1.html) */
.blog-post h2 {
    margin-top: 0;
    color: #ffffff;
}

/* New Return Link Style */
.return-link {
    margin-top: 20px;
    font-size: 1.1em;
}

.return-link a {
    color: #00ffff; /* Cyan */
}

.return-link a:hover {
    color: #ffffff; /* White */
}


/* New: Link style for links inside a blog post */
.blog-post a.post-link {
    color: #00ffff; /* Cyan */
    text-decoration: underline;
}
.blog-post a.post-link:hover {
    color: #ffffff;
    background-color: #1a1a1a;
}

/* New: List styles */
.blog-post ul, .blog-post ol {
    margin-left: 20px;
    margin-bottom: 15px;
}
.blog-post ul li {
    list-style-type: disc;
    margin-bottom: 8px;
}
.blog-post ol li {
    list-style-type: decimal;
    margin-bottom: 8px;
}

/* New: Horizontal Rule style */
hr.post-divider {
    border: 0;
    border-top: 1px dashed #008000; /* Darker green dash */
    margin: 25px 0;
}

/* Code Blocks */
pre {
    background-color: #000000; /* Pure black background */
    border: 1px solid #00ff00; /* Green border */
    padding: 15px;
    overflow-x: auto;
    font-family: "Consolas", "Courier New", Courier, monospace;
    font-size: 0.9em;
    color: #f8f8f2; /* Default code text (light grey) */
}

code {
    font-family: inherit;
}

/* jdBasic Syntax Highlighting */
.code-comment {
    color: #888888; /* Grey for comments */
}
.code-keyword {
    color: #00ffff; /* Cyan for keywords */
}
.code-number {
    color: #ff9900; /* Orange for numbers */
}
.code-string {
    color: #ffff00; /* Yellow for strings */
}
.code-function {
    color: #99ccff; /* Light blue for functions */
}


/* Footer */
footer {
    text-align: center;
    padding: 20px 10px;
    margin-top: 20px;
}
footer p {
    margin: 0;
    color: #888; /* Dim color for copyright */
}

/* New footer link style */
a.footer-link {
    color: #888; /* Same dim color */
    text-decoration: none;
}

a.footer-link:hover {
    color: #00ffff; /* Brighten on hover */
    text-decoration: underline;
}

