/* Adipose - Static Site Styles */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: 'PT Sans', 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    background-color: #fff;
}

a {
    color: #801818;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: #f8f8f8;
    border-bottom: 1px solid #e0e0e0;
    padding: 30px 0;
}

.site-header .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-family: 'PT Sans Narrow', Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.site-title a {
    color: #333;
}

.site-title a:hover {
    text-decoration: none;
}

.site-tagline {
    font-family: 'PT Serif', Georgia, serif;
    font-style: italic;
    color: #666;
    margin-top: 5px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.main-nav a {
    font-weight: 600;
    padding: 5px 0;
}

.main-nav a.active {
    border-bottom: 2px solid #801818;
}

/* Main Content */
.main-content {
    min-height: 60vh;
    padding: 40px 0;
}

/* Blog List */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-post {
    padding-bottom: 20px;
}

.post-header {
    margin-bottom: 15px;
}

.post-title {
    font-family: 'PT Sans Narrow', Arial, sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.post-title a {
    color: #333;
}

.post-title a:hover {
    color: #801818;
    text-decoration: none;
}

.post-meta {
    font-size: 0.9rem;
    color: #888;
}

.post-excerpt p {
    margin-bottom: 15px;
}

.post-excerpt pre {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
    border: 1px solid #e0e0e0;
    margin-bottom: 15px;
}

.post-excerpt code {
    background-color: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
}

.post-excerpt img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
    border-radius: 4px;
}

/* About Page */
.about-page h1 {
    font-family: 'PT Sans Narrow', Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-page p {
    margin-bottom: 15px;
}

.about-page blockquote {
    border-left: 4px solid #801818;
    padding-left: 20px;
    margin: 25px 0;
    font-style: italic;
}

.about-page blockquote footer {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

/* Post Full */
.blog-post-full {
    max-width: 700px;
}

.blog-post-full h1 {
    font-family: 'PT Sans Narrow', Arial, sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.blog-post-full .post-meta {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.blog-post-full .post-categories {
    display: inline-block;
    margin-left: 15px;
}

.blog-post-full .category {
    display: inline-block;
    background-color: #f0f0f0;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-left: 5px;
}

.blog-post-full .post-content {
    margin-bottom: 30px;
}

.blog-post-full .post-content p {
    margin-bottom: 15px;
}

.blog-post-full .post-content pre {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
    border: 1px solid #e0e0e0;
    margin-bottom: 15px;
}

.blog-post-full .post-content blockquote {
    border-left: 4px solid #801818;
    padding-left: 20px;
    margin: 25px 0;
    font-style: italic;
}

.blog-post-full .post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
    border-radius: 4px;
}

.blog-post-full .post-footer {
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    margin-top: 30px;
}

.post-navigation {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.back-link {
    font-weight: 600;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #666;
}

.nav-links a {
    color: #801818;
    font-weight: 500;
}

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

.nav-separator {
    color: #ccc;
}

/* Footer */
.site-footer {
    background-color: #f8f8f8;
    border-top: 1px solid #e0e0e0;
    padding: 30px 0;
    font-size: 0.9rem;
}

.site-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.pagination a {
    color: #801818;
    font-weight: 500;
}

.pagination a:hover {
    text-decoration: underline;
}

.pagination-separator {
    color: #ccc;
}

.pagination-prev.disabled,
.pagination-next.disabled {
    color: #ccc;
    pointer-events: none;
}

.copyright {
    color: #666;
}

/* Responsive */
@media (max-width: 600px) {
    html {
        font-size: 15px;
    }

    .site-header .container {
        flex-direction: column;
        text-align: center;
    }

    .main-nav ul {
        justify-content: center;
        margin-top: 15px;
    }

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

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

    .pagination {
        flex-direction: column;
        gap: 5px;
    }
}

/* Print Styles */
@media print {
    .site-header, .site-footer {
        display: none;
    }

    .main-content {
        padding: 0;
    }
}
