:root {
    --bg-color: #0a0a0a;
    --text-main: #e0e0e0;
    --text-muted: #888888;
    --accent: #e45c28;
    --border: #222222;
    --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 760px;
    width: 100%;
    padding: 5rem 2rem;
}

h1 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 0.2rem;
}

.subtitle {
    display: block;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    margin-bottom: 2.5rem;
}

p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

ul {
	padding: 0;
}

.log-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

a {
    color: var(--text-main);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: all 0.2s ease;
}

a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.section-header {
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    margin-top: 4rem;
}

.log-entry {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.log-meta {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.log-title {
    font-size: 1.05rem;
    font-weight: 500;
    border: none;
}

.post-header {
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
}

.post-title {
    margin-bottom: 0.5rem;
}

.post-meta {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Markdown Content Styling */
.post-content h2 {
    font-size: 1.4rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.post-content h3 {
    font-size: 1.2rem;
    margin-top: 2rem;
}

.post-content p {
    color: var(--text-main);
}

/* The critical part: Code Blocks */
.post-content code {
    font-family: var(--font-mono);
    background-color: #1a1a1a;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.85em;
    color: var(--accent);
}

.post-content pre {
    background-color: #111111;
    padding: 1.5rem;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 4px;
    margin: 2rem 0;
}

.post-content pre code {
    background-color: transparent;
    padding: 0;
    color: var(--text-main);
}

.post-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.back-link {
    font-family: var(--font-mono);
    font-size: 0.9rem;
}
