:root {
    --gap: 24px;
    --content-gap: 20px;
    --nav-width: 1024px;
    --main-width: 650px;
    --header-height: 60px;
    --footer-height: 60px;
    --radius: 0;
    --theme: #fff;
    --entry: #fff;
    --primary: rgba(0, 0, 0, 0.88);
    --secondary: rgba(0, 0, 0, 0.56);
    --tertiary: rgba(0, 0, 0, 0.16);
    --content: rgba(0, 0, 0, 0.88);
    --hljs-bg: #f6f8fa;
    --code-bg: #f6f8fa;
    --border: #e1e4e8;
}

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--primary);
    background: var(--theme);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Reset margins and clean up */
.header, .footer, .post-header, .post-content {
    margin: 0;
    padding: 0;
}

/* Header styling */
.header {
    max-width: var(--main-width);
    margin: 0 auto;
    padding: 40px 20px 20px;
}

.header .logo {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.header .logo a {
    color: var(--primary);
    text-decoration: none;
}

.header .menu {
    margin-top: 10px;
}

.header .menu a {
    color: var(--secondary);
    text-decoration: none;
    font-size: 16px;
}

.header .menu a:hover {
    color: var(--primary);
}

/* Main content area */
.main {
    max-width: var(--main-width);
    margin: 0 auto;
    padding: 20px;
    min-height: calc(100vh - 200px);
}

/* Home page post list */
.post-entry {
    margin-bottom: 40px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
}

.post-entry .entry-header {
    margin: 0;
}

.post-entry .entry-header h2 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.post-entry .entry-header h2 a {
    color: var(--primary);
    text-decoration: none;
}

.post-entry .entry-header h2 a:hover {
    text-decoration: underline;
}

.post-entry .entry-content {
    font-size: 16px;
    color: var(--secondary);
    margin: 0;
}

.post-entry .entry-footer {
    font-size: 14px;
    color: var(--secondary);
    margin-top: 8px;
}

/* Hide all the extra stuff */
.post-entry .entry-cover,
.paginav,
.share-buttons,
.post-tags,
.post-nav,
.toc,
#menu-trigger,
#theme-toggle,
.top-link,
.post-meta .translations,
.breadcrumbs,
.post-info {
    display: none !important;
}

/* Single post styling */
.post-single {
    padding: 0;
}

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

.post-title {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 16px 0;
}

.post-meta {
    font-size: 14px;
    color: var(--secondary);
}

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

.post-content h1 {
    font-size: 24px;
    font-weight: 600;
    margin: 32px 0 16px;
}

.post-content h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 28px 0 14px;
}

.post-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 24px 0 12px;
}

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

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

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

.post-content blockquote {
    border-left: 3px solid var(--tertiary);
    padding-left: 20px;
    margin: 20px 0;
    color: var(--secondary);
}

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

.post-content a:hover {
    text-decoration: underline;
}

.post-content code {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 0.9em;
    padding: 2px 4px;
    background: var(--code-bg);
    border-radius: 3px;
}

.post-content pre {
    background: var(--hljs-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 16px;
    overflow-x: auto;
    margin: 0 0 20px;
}

.post-content pre code {
    background: none;
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* Footer */
.footer {
    max-width: var(--main-width);
    margin: 60px auto 0;
    padding: 20px;
    font-size: 14px;
    color: var(--secondary);
    text-align: center;
}

.footer a {
    color: var(--secondary);
}

/* About page */
.page-single .post-content {
    font-size: 16px;
}

/* Remove theme toggle and other UI elements */
.theme-toggle,
.scroll-to-top {
    display: none !important;
}

/* Responsive images */
.post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 4px;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
    .main {
        padding: 16px;
    }
    
    .post-title {
        font-size: 24px;
        line-height: 1.2;
    }
    
    .post-content {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .post-content img {
        margin: 16px auto;
        max-width: 100%;
        width: 100%;
    }
    
    .header {
        padding: 20px 16px 16px;
    }
    
    .post-header {
        margin-bottom: 24px;
    }
}