:root {
    --primary-color: #2D3748;
    --secondary-color: #718096;
    --accent-color: #4299E1;
    --background-color: #FFFFFF;
    --text-color: #1A202C;
    --light-gray: #EDF2F7;
    --border-color: #E2E8F0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 0;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 800;
}

.site-title {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.header p {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Blog Content Styles */
.blog-container {
    margin-bottom: 4rem;
}

.blog-post {
    margin-bottom: 4rem;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.blog-post:hover {
    transform: translateY(-2px);
}

.post-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.post-meta {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.post-content {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.post-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
}

.post-content ul, .post-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content code {
    background-color: var(--background-color);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
}

.post-content pre {
    background-color: var(--background-color);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.post-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--secondary-color);
}

.post-content a {
    color: var(--accent-color);
    text-decoration: none;
}

.post-content a:hover {
    text-decoration: underline;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.page-link {
    padding: 8px 16px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: #fff;
    font-size: 14px;
    min-width: 40px;
    text-align: center;
}

.page-link:hover:not(.disabled):not(.active) {
    background-color: #f5f5f5;
    border-color: #ccc;
}

.page-link.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    cursor: default;
}

.page-link.disabled {
    color: #999;
    pointer-events: none;
    background-color: #f8f9fa;
    border-color: #ddd;
}

/* Share Buttons Styles */
.share-buttons {
    margin: 2rem 0;
    text-align: center;
}

.share-button {
    padding: 10px 20px;
    margin: 0 5px;
    border: none;
    border-radius: 4px;
    background: #007bff;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.share-button:hover {
    background: #0056b3;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.footer a {
    color: var(--accent-color);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .header h1 {
        font-size: 2rem;
    }

    .blog-post {
        padding: 1.5rem;
    }

    .post-title {
        font-size: 1.5rem;
    }

    .post-content {
        font-size: 1rem;
    }

    .page-link {
        padding: 6px 12px;
        font-size: 13px;
        min-width: 35px;
    }
    
    .share-button {
        padding: 8px 16px;
        margin: 0 3px;
        font-size: 13px;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .pagination {
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8rem;
    }

    .post-title {
        font-size: 1.3rem;
    }

    .blog-post {
        padding: 1rem;
    }

    .page-link {
        padding: 5px 10px;
        font-size: 12px;
        min-width: 30px;
    }
    
    .share-button {
        padding: 6px 12px;
        margin: 0 2px;
        font-size: 12px;
    }
    
    .pagination {
        gap: 5px;
    }
} 