/* Base styles */
body {
    font-family: Garamond, Georgia, serif;
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 20px;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

/* Headers */
h1, h2 {
    font-family: Garamond, Georgia, serif;
    color: #2c3e50;
}

h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #34495e;
}

/* Posts list */
.posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.posts-list li {
    display: flex;
    align-items: baseline;
    /* margin-bottom: 0.8rem; */
    line-height: 1.2;
}

.post-date {
    font-family: 'Courier New', Courier, monospace;
    color: #666;
    flex-shrink: 0;
    width: 100px;
}

.post-separator {
    margin: 0 0.5rem;
    color: #999;
}

.post-title {
    font-family: Garamond, Georgia, serif;
    text-decoration: none;
    color: #2c3e50;
}

.post-title:hover {
    text-decoration: underline;
    color: #3498db;
}

/* Article metadata */
.post-metadata {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #eee;
}

.post-metadata h1 {
    margin-bottom: 0.5rem;
}

.metadata {
    font-size: 0.9rem;
    color: #666;
}

.date {
    margin: 0;
    font-style: italic;
}

.author {
    margin: 0.2rem 0;
    font-weight: 600;
}

.tags {
    margin: 1rem 0;
}

.tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    margin-right: 0.5rem;
    background-color: #e9ecef;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #495057;
}

.summary {
    margin: 1rem 0;
    padding: 1rem;
    background-color: #f8f9fa;
    border-left: 4px solid #3498db;
}

.summary p {
    margin: 0;
    font-style: italic;
}

.footnote {
    text-align: center;
}

/* Topics section */
.topics {
    text-align: center;
    margin: 2rem 0;
}

/* Responsive tags section */
.topics-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem;
    border: 1px dashed #ccc;
    border-radius: 6px;
    background-color: #f9f9f9;
    list-style: none;
}

.topics-list li {
    margin: 0.5rem;
}

.topics-list a {
    text-decoration: none;
    color: #3498db;
    font-weight: bold;
}

.topics-list a:hover {
    color: #2c3e50;
}

/* Code blocks styling */
pre {
    margin: 1.5rem 0;
    padding: 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

code {
    font-family: 'Inconsolata', 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

pre code {
    display: block;
    padding: 1rem;
    overflow-x: auto;
}

/* Inline code styling */
:not(pre) > code {
    background-color: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    color: #e83e8c;
}