/* Base Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

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

a:hover {
    text-decoration: underline;
}

/* Header */
.site-header {
    background-color: #333;
    color: white;
    padding: 20px 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header h1 {
    margin: 0;
    font-size: 1.8em;
}

.user-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.user-menu a,
.logout-btn {
    color: white;
    background-color: #0066cc;
    padding: 8px 16px;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 1em;
}

.user-menu a:hover,
.logout-btn:hover {
    background-color: #0052a3;
    text-decoration: none;
}

/* Categories */
.categories {
    margin: 15px 0;
}

.category {
    display: inline-block;
    background: #f0f0f0;
    padding: 3px 8px;
    margin-right: 5px;
    border-radius: 3px;
    font-size: 0.85em;
}

.meta {
    color: #666;
    font-size: 0.9em;
}

/* Post List Page */
.post-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.post {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.post h2 {
    margin-top: 0;
}

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

.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination a {
    margin: 0 5px;
}

/* Post Detail Page */
.post-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.back-link {
    margin-bottom: 20px;
}

h1 {
    margin-top: 0;
}

.content {
    line-height: 1.6;
    margin: 20px 0;
}

.updated {
    font-size: 0.85em;
    color: #999;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ccc;
}

.post-detail .meta {
    margin-bottom: 20px;
}
