/* Seeq Engineering Blog Styles */

:root {
    --primary-color: #0066cc;
    --secondary-color: #333;
    --background-color: #ffffff;
    --text-color: #333;
    --border-color: #e0e0e0;
    --code-bg: #f5f5f5;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 1.5rem 0;
    border-bottom: 4px solid var(--primary-color);
}

.site-title a {
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
}

.site-nav {
    margin-top: 1rem;
}

.site-nav a {
    color: white;
    text-decoration: none;
    margin-right: 1.5rem;
    font-weight: 500;
}

.site-nav a:hover {
    color: var(--primary-color);
}

/* Main Content */
.site-content {
    min-height: calc(100vh - 300px);
    padding: 3rem 0;
}

/* Posts */
.post-list {
    margin-top: 2rem;
}

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

.post-preview h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

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

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

.post-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-author {
    margin-left: 1rem;
}

.post-excerpt {
    margin: 1rem 0;
    color: #555;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

/* Individual Post */
.post {
    max-width: 800px;
}

.post-header {
    margin-bottom: 2rem;
}

.post-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.post-categories {
    margin-top: 0.5rem;
}

.category {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.post-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
}

.post-content p {
    margin-bottom: 1.25rem;
}

.post-content ul, .post-content ol {
    margin-left: 2rem;
    margin-bottom: 1.25rem;
}

.post-content code {
    background-color: var(--code-bg);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.post-content pre {
    background-color: var(--code-bg);
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 1.25rem;
}

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

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

.post-tags .tag {
    background-color: #f0f0f0;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    margin-right: 0.5rem;
    font-size: 0.85rem;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.post-navigation a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

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

/* Footer */
.site-footer {
    background-color: #f8f8f8;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: #666;
}

.site-footer p {
    margin: 0.5rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .site-title a {
        font-size: 1.4rem;
    }

    .post-title {
        font-size: 2rem;
    }

    .post-navigation {
        flex-direction: column;
        gap: 1rem;
    }
}
