/* Minimalist CSS */
/* Minimalist CSS */
:root {
    --text-color: #ececec;
    --bg-color: #000000;
    --accent-color: #07294b;
    --border-color: #6b6969;
    --max-width: 700px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue"; 
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    padding: 20px;
}

header {
    max-width: var(--max-width);
    margin: 0 auto 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
}

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

main {
    max-width: var(--max-width);
    margin: 0 auto 40px;
    min-height: calc(100vh - 300px);
}

main h2 {
    margin-bottom: 20px;
    font-weight: 600;
}

main p {
    margin-bottom: 16px;
}

footer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Home page specific */
.home {
    text-align: center;
    padding: 40px 0;
}

.home h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta {
    margin-top: 40px;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.button:hover {
    background-color: #0052a3;
}

/* Posts list */
.posts-list {
    margin-top: 30px;
}

.post-preview {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.post-preview:last-child {
    border-bottom: none;
}

.post-preview h3 {
    margin-bottom: 8px;
}

.post-preview h3 a {
    color: var(--text-color);
    text-decoration: none;
}

.post-preview h3 a:hover {
    color: var(--accent-color);
}

.post-preview time {
    color: #666;
    font-size: 0.9rem;
}

.post-preview p {
    margin-top: 10px;
}

/* Tags */
.tags {
    margin-top: 10px;
}

.tag {
    display: inline-block;
    padding: 4px 8px;
    background-color: #2a2a2a;
    border-radius: 3px;
    font-size: 0.85rem;
    margin-right: 8px;
}

/* Single post */
.post-header {
    margin-bottom: 40px;
}

.post-header h1 {
    margin-bottom: 10px;
}

.post-content {
    line-height: 1.8;
}

.post-content h1,
.post-content h2,
.post-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content pre {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    margin-bottom: 20px;
}

.post-content code {
    background-color: #f5f5f5;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: monospace;
}

.post-content pre code {
    background-color: transparent;
    padding: 0;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

.post-nav {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.post-nav a {
    color: var(--accent-color);
    text-decoration: none;
}

.post-nav a:hover {
    text-decoration: underline;
}