/* Markdown Content Styles */
.post-content {
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.6;
}

/* Headings */
.post-content h1 {
    font-size: 2.5em;
    margin: 1.5em 0 0.8em;
}

.post-content h2 {
    font-size: 2em;
    margin: 1.3em 0 0.7em;
    padding-bottom: 0.3em;
    border-bottom: 1px solid var(--nav-border);
}

.post-content h3 {
    font-size: 1.5em;
    margin: 1.2em 0 0.6em;
}

.post-content h4 {
    font-size: 1.25em;
    margin: 1.1em 0 0.5em;
}

/* Paragraphs and Lists */
.post-content p {
    margin: 1em 0;
}

.post-content ul,
.post-content ol {
    margin: 1em 0;
    padding-left: 2em;
}

.post-content li {
    margin: 0.5em 0;
}

.post-content li > ul,
.post-content li > ol {
    margin: 0.3em 0;
}

/* Code Blocks */
.post-content pre {
    background: var(--nav-bg);
    border: 1px solid var(--nav-border);
    border-radius: 4px;
    padding: 1em;
    overflow-x: auto;
    margin: 1.5em 0;
}

.post-content code {
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.9em;
    padding: 0.2em 0.4em;
    background: var(--nav-bg);
    border-radius: 3px;
}

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

/* Blockquotes */
.post-content blockquote {
    margin: 1.5em 0;
    padding: 0.5em 1em;
    border-left: 4px solid var(--link-color);
    background: var(--nav-bg);
    font-style: italic;
}

.post-content blockquote p {
    margin: 0.5em 0;
}

/* Links */
.post-content a {
    color: var(--link-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.post-content a:hover {
    color: var(--link-hover);
    border-bottom-color: var(--link-hover);
}

/* Images */
.post-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5em 0;
    border-radius: 4px;
}

/* Tables */
.post-content table {
    width: 100%;
    margin: 1.5em 0;
    border-collapse: collapse;
}

.post-content th,
.post-content td {
    padding: 0.75em;
    border: 1px solid var(--nav-border);
}

.post-content th {
    background: var(--nav-bg);
    font-weight: 600;
}

/* Horizontal Rule */
.post-content hr {
    margin: 2em 0;
    border: none;
    border-top: 1px solid var(--nav-border);
}

/* Syntax Highlighting */
.highlight {
    margin: 1.5em 0;
    border-radius: 4px;
}

.highlight pre {
    margin: 0;
    padding: 1em;
}

/* Dark Mode Adjustments */
[data-theme="dark"] .post-content {
    color: var(--text-color);
}

[data-theme="dark"] .post-content code {
    background: var(--toggle-bg);
}

[data-theme="dark"] .post-content pre {
    background: var(--toggle-bg);
}

[data-theme="dark"] .post-content blockquote {
    background: var(--toggle-bg);
}

[data-theme="dark"] .post-content th {
    background: var(--toggle-bg);
} 