/* === Base styles (same as index.html) === */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont,
                 "Segoe UI", sans-serif;
    background: #faf9f6;
    color: #2d2d2d;
    line-height: 1.6;
    overflow-x: hidden;
}

/* === Navigation (identical to index.html) === */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(197, 62, 29, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 300;
    color: #2d2d2d;
    letter-spacing: 2px;
    text-decoration: none;
}

.logo-accent { color: #c73e1d; }

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: #666;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s;
    letter-spacing: 1px;
}

.nav-links a:hover { color: #c73e1d; }
.nav-links a.active { color: #c73e1d; }

/* === Article content === */
.article-wrapper {
    max-width: 760px;
    margin: 0 auto;
    padding: 8rem 5% 4rem;
}

.article-header {
    margin-bottom: 3rem;
}

.article-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: #2d2d2d;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.article-meta {
    color: #888;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.zen-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, #d4a574, transparent);
    margin: 2rem 0;
}

/* === Prose styles === */
.article-content h2 {
    font-size: 1.6rem;
    font-weight: 400;
    color: #2d2d2d;
    margin: 2.5rem 0 1rem;
}

.article-content h3 {
    font-size: 1.3rem;
    font-weight: 400;
    color: #2d2d2d;
    margin: 2rem 0 0.75rem;
}

.article-content p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.article-content a {
    color: #c73e1d;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content a:hover {
    color: #a03218;
}

.article-content ul, .article-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: #444;
    line-height: 1.9;
    font-size: 1.1rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 3px solid #c73e1d;
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: rgba(197, 62, 29, 0.03);
    color: #555;
    font-style: italic;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
}

/* === Code blocks === */
.article-content code {
    font-family: "SF Mono", "Fira Code", "Consolas", monospace;
    font-size: 0.9em;
    background: rgba(197, 62, 29, 0.06);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    color: #c73e1d;
}

.article-content pre {
    margin: 1.5rem 0;
    border: 1px solid rgba(197, 62, 29, 0.1);
    border-radius: 0;
    overflow-x: auto;
}

.article-content pre code {
    display: block;
    padding: 1.5rem;
    background: #fff;
    color: #2d2d2d;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* === Back link === */
.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: #c73e1d;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.back-link:hover { color: #a03218; }

/* === Footer (identical to index.html) === */
footer {
    padding: 4rem 5%;
    background: white;
    border-top: 1px solid rgba(197, 62, 29, 0.1);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: #666;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.social-links a:hover { color: #c73e1d; }

/* === Responsive === */
@media (max-width: 768px) {
    nav { padding: 1.5rem 5%; }
    .nav-links { display: none; }
    .article-wrapper, .blog-wrapper { padding: 6rem 5% 3rem; }
    .footer-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* === Blog listing specific === */
.blog-wrapper {
    max-width: 760px;
    margin: 0 auto;
    padding: 8rem 5% 4rem;
}

.blog-header {
    margin-bottom: 4rem;
}

.blog-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 300;
    color: #2d2d2d;
    margin-bottom: 1rem;
}

.blog-subtitle {
    color: #666;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.zen-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, #d4a574, transparent);
    margin: 2rem 0;
}

.post-list {
    list-style: none;
}

.post-item {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(197, 62, 29, 0.1);
}

.post-item:first-child {
    padding-top: 0;
}

.post-item-date {
    color: #c73e1d;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.post-item-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.post-item-title a {
    color: #2d2d2d;
    text-decoration: none;
    transition: color 0.3s;
}

.post-item-title a:hover {
    color: #c73e1d;
}

.post-item-description {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

.empty-state {
    color: #888;
    font-size: 1.1rem;
    text-align: center;
    padding: 4rem 0;
}

