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

body {
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #000;
    background-color: #fff;
}

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

a:hover {
    text-decoration: underline;
}

/* Layout */
.container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
}

.sidebar {
    width: 200px;
    padding: 20px;
    background-color: #f9f9f9;
    border-right: 1px solid #ddd;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.main-content {
    flex: 1;
    padding: 20px;
    background-color: #fff;
}

/* Sidebar styles */
.site-header h1 {
    font-size: 18px;
    margin-bottom: 10px;
}

.site-header h1 a {
    color: #000;
    text-decoration: none;
}

.site-description {
    font-size: 12px;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}


.sidebar-nav h3 {
    font-size: 14px;
    margin: 20px 0 10px 0;
    color: #333;
}

.sidebar-nav ul {
    list-style: none;
    margin-bottom: 20px;
}

.sidebar-nav li {
    margin-bottom: 5px;
}

.sidebar-nav a {
    font-size: 12px;
    color: #0066cc;
    display: block;
    padding: 2px 0;
}

/* Content styles */
.content {
    max-width: 800px;
}

.content h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #000;
}

.welcome-message {
    margin-bottom: 30px;
    padding: 15px;
    background-color: #f5f5f5;
    border-left: 4px solid #0066cc;
    font-size: 14px;
}

/* Post styles */
.post-summary {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.post-summary h2 {
    font-size: 18px;
    margin-bottom: 8px;
}

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

.post-meta {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.post-meta a {
    color: #0066cc;
}

.post-summary-text {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

/* Single post styles */
.post-header {
    margin-bottom: 30px;
}

.post-header h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.post-content {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.post-content h2 {
    font-size: 18px;
    margin: 25px 0 15px 0;
}

.post-content h3 {
    font-size: 16px;
    margin: 20px 0 10px 0;
}

.post-content p {
    margin-bottom: 15px;
}

.post-content ul, .post-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 5px;
}

.post-content blockquote {
    margin: 20px 0;
    padding: 15px;
    background-color: #f5f5f5;
    border-left: 4px solid #ccc;
    font-style: italic;
}

.post-content code {
    background-color: #f5f5f5;
    padding: 2px 4px;
    font-family: monospace;
    font-size: 13px;
}

.post-content pre {
    background-color: #f5f5f5;
    padding: 15px;
    overflow-x: auto;
    margin: 15px 0;
}

.post-content pre code {
    background: none;
    padding: 0;
}

.post-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 15px 0;
    border: 1px solid #ddd;
}

.post-content table th,
.post-content table td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    text-align: left;
    vertical-align: top;
}

.post-content table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    display: block;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.post-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #666;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: static;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .sidebar-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .sidebar-nav > div {
        flex: 1;
        min-width: 150px;
    }
}