/* Modern Blog Styling */
:root {
    --primary-color: #0077b5; /* LinkedIn Blue */
    --text-color: #333;
    --bg-color: #fff;
    --border-color: #e0e0e0;
    --secondary-bg: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    margin-bottom: 40px;
}

.site-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.site-nav {
    float: right;
    margin-top: 5px;
}

.site-nav a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

.site-nav a:hover {
    color: var(--primary-color);
}

/* Main Content */
.page-content {
    min-height: calc(100vh - 200px);
    padding-bottom: 40px;
}

/* Post List */
.post-list {
    list-style: none;
    margin-top: 30px;
}

.post-list li {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.post-list li:last-child {
    border-bottom: none;
}

.post-meta {
    color: #666;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.post-link {
    font-size: 28px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
}

.post-link:hover {
    color: var(--primary-color);
}

.post-excerpt {
    margin-top: 10px;
    color: #555;
}

/* Tags */
.post-tags {
    margin-top: 10px;
}

.tag {
    display: inline-block;
    background: var(--secondary-bg);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    margin-right: 8px;
    margin-top: 5px;
    color: #555;
    border: 1px solid var(--border-color);
}

/* Post Content */
.post-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

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

.post-content {
    font-size: 18px;
    line-height: 1.8;
}

.post-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 28px;
}

.post-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 22px;
}

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

.post-content ul, .post-content ol {
    margin-bottom: 20px;
    margin-left: 30px;
}

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

.post-content code {
    background: var(--secondary-bg);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 16px;
}

.post-content pre {
    background: var(--secondary-bg);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
}

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

.post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 20px 0;
    color: #555;
    font-style: italic;
}

/* LinkedIn Box */
.linkedin-box {
    background: var(--secondary-bg);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 20px;
    margin-top: 40px;
}

.linkedin-box h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.linkedin-summary {
    background: white;
    padding: 15px;
    border-radius: 5px;
    margin-top: 10px;
    white-space: pre-wrap;
    font-family: monospace;
    font-size: 14px;
}

/* Post Footer */
.post-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: #666;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    margin-top: 40px;
    text-align: center;
    color: #666;
}

.site-footer a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 10px;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .site-nav {
        float: none;
        margin-top: 15px;
    }
    
    .site-nav a {
        margin-left: 0;
        margin-right: 15px;
    }
    
    .post-title {
        font-size: 28px;
    }
    
    .post-content {
        font-size: 16px;
    }
}

