/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    max-width: 650px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: #333;
    letter-spacing: -0.07em;
}

header h1 .ent {
    font-weight: 700;
}

header h1 .pm {
    font-weight: 300;
}

.tagline {
    font-size: 0.95rem;
    color: #8e8e8e;
    font-weight: 400;
}

/* Main content */
main {
    margin-bottom: 3rem;
}

.post-preview {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

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

.post-meta {
    margin-bottom: -6px;
}

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

.post-number {
    font-size: 1.0rem;
    color: #0066cc;
    font-weight: 600;
}

.post .post-number {
    font-size: 1.4rem;
}

.post-preview h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.post-preview h2 a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-preview h2 a:hover {
    color: #0066cc;
}

.excerpt {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 0.75rem;
}

.read-more {
    font-size: 0.9rem;
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

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


/* Individual post styles */
.post {
    margin-bottom: 3rem;
}

.post h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #000;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 2rem;
}

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

.post-content p:last-child {
    margin-bottom: 0;
}

.hashtags {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.hashtag {
    display: inline-block;
    font-size: 0.9rem;
    color: #666;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}

/* Post navigation */
.post-nav {
    margin-bottom: 2rem;
}

.post-nav-bottom {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.back-link {
    display: inline-block;
    font-size: 0.95rem;
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
}

.back-link:hover {
    text-decoration: underline;
}

/* Header link styles */
header h1 a {
    color: inherit;
    text-decoration: none;
}

header h1 a:hover {
    color: #0066cc;
    transition: color 0.2s ease;
}

/* Footer */
footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 0.85rem;
}

footer a {
    color: #0066cc;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    body {
        padding: 1rem 0.75rem;
        line-height: 1.5;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .post-preview h2 {
        font-size: 1.3rem;
    }
    
    .post-content {
        line-height: 1.5;
    }
}