/* 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: #f8f9fa;
}

.container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #2c3e50;
    padding: 20px 0;
    color: white;
}

header h1 {
    margin-bottom: 10px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Main content area */
main {
    padding: 40px 0;
}

.posts {
    margin-bottom: 40px;
}

.post-preview {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.post-preview h3 {
    margin-bottom: 10px;
}

.post-preview .date {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
}

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

.post-preview .read-more {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
}

.post-preview .read-more:hover {
    background-color: #2980b9;
}

/* Individual post page */
.post-content {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.post-header h2 {
    margin-bottom: 10px;
}

.post-header .date {
    color: #666;
    font-size: 0.9em;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 20px 0;
    text-align: center;
}
