:root{--blog-bg:#fff;--blog-bg-secondary:#f5f5f5;--blog-text:#000;--blog-text-secondary:#484a4d;--blog-border:#000;--blog-accent:#484a4d;--blog-hover:#e8e8e8}[data-theme=dark]{--blog-bg:#000;--blog-bg-secondary:#1a1a1a;--blog-text:#fff;--blog-text-secondary:#b0b0b0;--blog-border:#fff;--blog-accent:#484a4d;--blog-hover:#2a2a2a}.blog-container{background-color:var(--blog-bg);min-height:100vh;color:var(--blog-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Segoe UI,SF Pro Display,-apple-system,BlinkMacSystemFont,Helvetica Neue,Arial,sans-serif;overflow:auto}:is(html:has(.blog-container),body:has(.blog-container)){overflow:auto!important}.blog-header{border-bottom:1px solid var(--blog-border);background-color:var(--blog-bg);z-index:100;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background-color:#ffffffe6;padding:2rem;position:sticky;top:0}[data-theme=dark] .blog-header{background-color:#000000e6}.blog-header-content{justify-content:space-between;align-items:center;max-width:1200px;margin:0 auto;display:flex}.blog-logo{color:var(--blog-text);letter-spacing:-.5px;font-size:1.5rem;font-weight:700;text-decoration:none}.blog-nav{align-items:center;gap:2rem;display:flex}.blog-nav a{color:var(--blog-text);text-transform:uppercase;letter-spacing:1px;font-size:.9rem;text-decoration:none;transition:opacity .2s}.blog-nav a:hover{opacity:.6}.blog-main{margin:0 auto;padding:3rem 2rem}.blog-content{max-width:900px;margin:0 auto}.blog-card{border:1px solid var(--blog-border);cursor:pointer;background-color:var(--blog-bg);margin-bottom:2rem;padding:2rem;transition:transform .2s,box-shadow .2s}.blog-card:hover{transform:translateY(-4px);box-shadow:0 4px 12px #0000001a}[data-theme=dark] .blog-card:hover{box-shadow:0 4px 12px #ffffff1a}.blog-card-title{letter-spacing:-.5px;margin:0 0 1rem;font-size:1.75rem;font-weight:600}.blog-card-meta{color:var(--blog-text-secondary);align-items:center;gap:1rem;margin-bottom:1rem;font-size:.85rem;display:flex}.blog-card-excerpt{color:var(--blog-text);margin-bottom:1rem;line-height:1.6}.blog-card-link{text-transform:uppercase;letter-spacing:1px;font-size:.85rem;font-weight:600}.blog-tags{flex-wrap:wrap;gap:.5rem;margin:1rem 0;display:flex}.blog-tag{border:1px solid var(--blog-border);text-transform:uppercase;letter-spacing:.5px;color:var(--blog-text);padding:.25rem .75rem;font-size:.8rem;text-decoration:none;transition:background-color .2s}.blog-tag:hover{background-color:var(--blog-hover)}.blog-tag.active{background-color:var(--blog-text);color:var(--blog-bg)}.blog-search{margin-bottom:2rem}.blog-search-input{background-color:var(--blog-bg);width:100%;color:var(--blog-text);border:1px solid var(--blog-border);padding:1rem;font-family:inherit;font-size:1rem}.blog-search-input:focus{box-shadow:0 0 0 2px var(--blog-text);outline:none}.blog-post{max-width:900px;margin:0 auto}.blog-post-header{border-bottom:1px solid var(--blog-border);margin-bottom:3rem;padding-bottom:2rem}.blog-post-title{letter-spacing:-1px;margin:0 0 1rem;font-size:2.5rem;font-weight:700;line-height:1.2}.blog-post-meta{color:var(--blog-text-secondary);margin-bottom:1rem;font-size:.9rem}.blog-post-content{font-size:1.1rem;line-height:1.8}.blog-post-content h1,.blog-post-content h2,.blog-post-content h3,.blog-post-content h4,.blog-post-content h5,.blog-post-content h6{letter-spacing:-.5px;margin:2.5rem 0 1rem;font-weight:600;line-height:1.3}.blog-post-content h1{border-bottom:1px solid var(--blog-border);padding-bottom:.5rem;font-size:2rem}.blog-post-content h2{font-size:1.75rem}.blog-post-content h3{font-size:1.5rem}.blog-post-content p{margin:1.5rem 0}.blog-post-content a{color:inherit;text-decoration:underline}.blog-post-content ul,.blog-post-content ol{margin:1.5rem 0;padding-left:2rem}.blog-post-content li{margin:.5rem 0}.blog-post-content code{background-color:var(--blog-bg-secondary);border-radius:3px;padding:.2rem .4rem;font-family:Courier New,monospace;font-size:.9em}.blog-post-content pre{background-color:var(--blog-bg-secondary);border:1px solid var(--blog-border);margin:1.5rem 0;padding:1.5rem;overflow-x:auto}.blog-post-content pre code{background-color:#0000;padding:0}.blog-post-content blockquote{border-left:3px solid var(--blog-text);color:var(--blog-text-secondary);margin:1.5rem 0;padding-left:1.5rem;font-style:italic}.blog-loading{text-align:center;color:var(--blog-text-secondary);padding:4rem 2rem;font-size:1.1rem}.blog-empty{text-align:center;color:var(--blog-text-secondary);padding:4rem 2rem}.blog-pagination{justify-content:center;gap:1rem;margin:3rem 0;display:flex}.blog-pagination-button{border:1px solid var(--blog-border);background-color:var(--blog-bg);color:var(--blog-text);cursor:pointer;text-transform:uppercase;letter-spacing:1px;padding:.75rem 1.5rem;font-family:inherit;font-size:.9rem;transition:background-color .2s}.blog-pagination-button:hover:not(:disabled){background-color:var(--blog-hover)}.blog-pagination-button:disabled{opacity:.3;cursor:not-allowed}.blog-pagination-button.active{background-color:var(--blog-text);color:var(--blog-bg)}.blog-admin-container{max-width:900px;margin:0 auto}.blog-admin-container-full{max-width:100%;margin:0 auto;padding:0 2rem}.blog-admin-form{flex-direction:column;gap:1.5rem;display:flex}.blog-admin-form-grid{grid-template-columns:350px 1fr;align-items:start;gap:2rem;display:grid}.blog-admin-left-column{flex-direction:column;gap:1.5rem;padding-right:1rem;display:flex;overflow-y:auto}.blog-admin-right-column{flex-direction:column;gap:1rem;display:flex;overflow-y:auto}.blog-admin-field{flex-direction:column;gap:.5rem;display:flex}.blog-admin-label{text-transform:uppercase;letter-spacing:1px;font-size:.9rem;font-weight:600}.blog-admin-input,.blog-admin-textarea{background-color:var(--blog-bg);color:var(--blog-text);border:1px solid var(--blog-border);padding:.75rem;font-family:inherit;font-size:1rem}.blog-admin-textarea{min-height:400px;font-family:Courier New,monospace;line-height:1.6}.blog-admin-textarea-full{background-color:var(--blog-bg);min-height:600px;color:var(--blog-text);border:1px solid var(--blog-border);resize:both;flex:1;padding:.75rem;font-family:Courier New,monospace;font-size:1rem;line-height:1.6;overflow:auto}.blog-admin-input:focus,.blog-admin-textarea:focus{box-shadow:0 0 0 2px var(--blog-text);outline:none}.blog-admin-button{border:1px solid var(--blog-border);background-color:var(--blog-text);color:var(--blog-bg);cursor:pointer;text-transform:uppercase;letter-spacing:1px;padding:1rem 2rem;font-family:inherit;font-size:1rem;font-weight:600;transition:opacity .2s}.blog-admin-button:hover{opacity:.8}.blog-admin-button-secondary{background-color:var(--blog-bg);color:var(--blog-text)}.blog-admin-dashboard{flex-direction:column;gap:1rem;display:flex}.blog-admin-post-item{border:1px solid var(--blog-border);justify-content:space-between;align-items:center;gap:1rem;padding:1.5rem;display:flex}.blog-admin-post-actions{gap:.5rem;display:flex}.blog-theme-toggle{border:1px solid var(--blog-border);background-color:var(--blog-bg);color:var(--blog-text);cursor:pointer;text-transform:uppercase;letter-spacing:1px;padding:.5rem 1rem;font-size:.8rem;transition:background-color .2s}.blog-theme-toggle:hover{background-color:var(--blog-hover)}@media (max-width:768px){.blog-header{padding:1rem}.blog-header-content{flex-direction:column;gap:1rem}.blog-nav{gap:1rem;font-size:.8rem}.blog-main{padding:2rem 1rem}.blog-card{padding:1.5rem}.blog-card-title{font-size:1.5rem}.blog-post-title{font-size:2rem}.blog-post-content{font-size:1rem}.blog-admin-form-grid{grid-template-columns:1fr;height:auto}.blog-admin-left-column,.blog-admin-right-column{max-height:none;overflow-y:visible}.blog-admin-textarea-full{min-height:500px}}.markdown-body{font-size:1.1rem;line-height:1.8}.markdown-body .code-block{color:#c9d1d9;border:1px solid #30363d;border-radius:4px;margin:1.5rem 0;font-size:.9rem;line-height:1.6;overflow-x:auto;background-color:#0d1117!important;padding:1.5rem!important}[data-theme=light] .markdown-body .code-block{color:#c9d1d9;border-color:#30363d;background-color:#0d1117!important}[data-theme=dark] .markdown-body .code-block{color:#24292e;border-color:#d0d7de;background-color:#f6f8fa!important}.markdown-body .code-block code{font-family:Consolas,Monaco,Courier New,monospace;font-size:inherit;color:inherit;background:0 0!important;padding:0!important}.markdown-body .inline-code{background-color:var(--blog-bg-secondary);border:1px solid var(--blog-border);border-radius:3px;padding:.2rem .5rem;font-family:Consolas,Monaco,Courier New,monospace;font-size:.9em}.markdown-body table{border-collapse:collapse;border:1px solid var(--blog-border);width:100%;margin:1.5rem 0}.markdown-body th,.markdown-body td{border:1px solid var(--blog-border);text-align:left;padding:.75rem 1rem}.markdown-body th{background-color:var(--blog-bg-secondary);font-weight:600}.markdown-body tr:nth-child(2n){background-color:#00000005}[data-theme=dark] .markdown-body tr:nth-child(2n){background-color:#ffffff05}.markdown-body .contains-task-list{padding-left:0;list-style:none}.markdown-body .task-list-item{align-items:center;gap:.5rem;display:flex}.markdown-body .task-list-item input[type=checkbox]{cursor:default;margin:0}.markdown-body del{opacity:.7;text-decoration:line-through}.markdown-body img{border:1px solid var(--blog-border);border-radius:4px;max-width:100%;height:auto;margin:2rem auto;display:block}.markdown-body hr{border:none;border-top:1px solid var(--blog-border);margin:2.5rem 0}.markdown-body a{color:inherit;text-underline-offset:3px;text-decoration:underline;text-decoration-thickness:1px;transition:opacity .2s}.markdown-body a:hover{opacity:.6}.markdown-body blockquote{border-left:3px solid var(--blog-text);color:var(--blog-text-secondary);background-color:var(--blog-bg-secondary);margin:1.5rem 0;padding:1rem 1.5rem;font-style:italic}.markdown-body blockquote p:first-child{margin-top:0}.markdown-body blockquote p:last-child{margin-bottom:0}.markdown-body ul ul,.markdown-body ol ul,.markdown-body ul ol,.markdown-body ol ol{margin:.5rem 0}.markdown-body pre::-webkit-scrollbar{height:8px}.markdown-body pre::-webkit-scrollbar-track{background:#ffffff1a}.markdown-body pre::-webkit-scrollbar-thumb{background:#ffffff4d;border-radius:4px}[data-theme=dark] .markdown-body pre::-webkit-scrollbar-track{background:#0000001a}[data-theme=dark] .markdown-body pre::-webkit-scrollbar-thumb{background:#0000004d}.editor-view-tabs{border:1px solid var(--blog-border);border-radius:4px;gap:.25rem;display:flex;overflow:hidden}.editor-tab{text-transform:uppercase;letter-spacing:1px;color:var(--blog-text);cursor:pointer;background-color:#0000;border:none;padding:.4rem .8rem;font-family:inherit;font-size:.8rem;font-weight:600;transition:background-color .2s}.editor-tab:hover{background-color:var(--blog-hover)}.editor-tab.active{background-color:var(--blog-text);color:var(--blog-bg)}.editor-toolbar{background-color:var(--blog-bg-secondary);border:1px solid var(--blog-border);border-bottom:none;flex-wrap:wrap;gap:.25rem;padding:.5rem;display:flex}.toolbar-button{background-color:var(--blog-bg);color:var(--blog-text);border:1px solid var(--blog-border);cursor:pointer;padding:.4rem .6rem;font-family:Courier New,monospace;font-size:.75rem;font-weight:600;transition:background-color .2s,transform .1s}.toolbar-button:hover{background-color:var(--blog-hover)}.toolbar-button:active{transform:scale(.95)}.editor-preview{border:1px solid var(--blog-border);background-color:var(--blog-bg);flex-direction:column;display:flex;overflow:hidden}.preview-label{text-transform:uppercase;letter-spacing:1px;background-color:var(--blog-bg-secondary);border-bottom:1px solid var(--blog-border);padding:.5rem 1rem;font-size:.8rem;font-weight:600}.preview-content{flex:1;min-height:300px;padding:1.5rem;overflow-y:auto}.blog-admin-right-column .blog-admin-field:last-child{min-height:0}.blog-admin-textarea-full{border-top-left-radius:0;border-top-right-radius:0}.editor-split-container{flex-direction:column;flex:1;gap:1rem;display:flex}@media (min-width:1400px){.editor-split-container{flex-direction:row;gap:1rem}.editor-split-container>div{flex:1;min-width:0}.editor-preview{margin-top:0!important}}@media (max-width:768px){.editor-toolbar{padding:.4rem}.toolbar-button{padding:.35rem .5rem;font-size:.7rem}.preview-content{min-height:400px}.editor-view-tabs{width:100%}.editor-tab{text-align:center;flex:1}}
