@font-face {
    font-family: "Menlo New";
    src: url("./fonts/Menlo-Regular.ttf");
}

body {
    font-family: "Menlo New", "Courier New", monospace;
    line-height: 1.7;
    max-width: 1200px; /* Precise width for readability */
    margin: 50px auto;
    padding: 0 30px;
    color: #e6dab2;
    background-color: #2b2b2b;
    -webkit-font-smoothing: antialiased;
}

/* Headers - The "Serif" touch for that classic blog look */
h1, h2, h3, h4 {
    font-family: "Menlo New", "Courier New", monospace;
    font-weight: 700;
    color: #ffb400;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    line-height: 1.2;
}

h1 { font-size: 2.2rem; border-bottom: 2px solid #ffb400; padding-bottom: 10px; }
h2 { font-size: 1.6rem; border-bottom: 1px solid #b6b51a; }


/* Links - High contrast blue, no underline until hover */
a {
    color: #b6b51a;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #003d7a;
}

/* The Devlog Signature: Code Blocks */
pre {
    background: #fdfdfd;
    border: 1px solid #d9dee850;
    border-left: 4px solid #b6b51a; /* Dark accent on the left */
    padding: 0.5rem;
    overflow-x: auto;
    white-space: wrap;
    font-size: 0.9rem;
    line-height: 1.45;
}

/* Blockquotes - Clean and distinct */
blockquote {
    margin: 2rem 0;
    /* background: #323840; */
    /* background: #fdfdfd; */
    border: 1px solid #d9dee850;
    border-left: 4px solid #b6b51a; /* Dark accent on the left */
    padding-left: 1.5rem;
    font-style: italic;
    color: #d9dee8;
}

code {
    color: #d9dee8;
    background: #323840;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    padding: 0.2em 0.4em;
    border-radius: 4px;
}

pre code {
    background: none;
    padding: 0.5em 0;
}

/* Images - Full width with a simple border */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto;
    /* border: 1px solid #ddd; */
    /* box-shadow: 2px 2px 0px #eee;  */
}

/* Metadata (Dates, Tags) */
time {
    color: #ff2222;
    font-style: italic;
    font-size: 0.9rem;
}



p.summary {
    color: #b6b51a;
    font-style: italic;
}

.language-switcher a {
    margin-right: 10px;
    text-decoration: none;
    color: gray;
}

.language-switcher a:hover {
    margin-right: 10px;
    text-decoration: underline;
    color: #b6b51a;
}

.language-switcher a.active {
    font-weight: bold;
    color: #b6b51a;
    pointer-events: none; /* Disables clicking the language you're already on */
}

#comment-list {
    margin-left: 10px;
}

.comment-name { 
    font-size: 80%;
    color: #ffb400;
}

.comment-time { 
    font-size: 80%;
    color: #ff2222;
}

.comment-content { 
    font-size: 80%;
}

