/* Develbyte minimal theme */
html,
body { padding: 0; margin: 0; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
    color: #111;
    background: #fff;
    line-height: 1.7;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container { max-width: 760px; margin: 48px auto; padding: 0 16px; }

.site-header { margin-bottom: 32px; }
.site-header .container { display: flex; align-items: baseline; justify-content: space-between; }
.site-title { font-size: 40px; font-weight: 800; letter-spacing: 0; margin: 0; }
.site-title a { color: inherit; text-decoration: none; }
.site-subnav { font-size: 16px; color: #333; }
.site-subnav a { color: inherit; text-decoration: underline; text-decoration-skip-ink: none; text-underline-offset: 4px; text-decoration-thickness: 1.5px; margin-left: 20px; }
.site-subnav a:first-child { margin-left: 0; }

h1, h2, h3 { line-height: 1.3; margin: 28px 0 12px; font-weight: 600; }
h1 { font-size: 30px; }
h2 { font-size: 40px; font-weight: 800; letter-spacing: 0; }
h3 { }
h3 { font-size: 18px; }
p { margin: 12px 0; }

a { color: inherit; text-decoration: underline; text-decoration-skip-ink: none; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2px; }

ul.year-list { margin: 12px 0 36px 0; padding: 0; list-style: none; font-size: 1.18rem; }
ul.year-list li { padding: 10px 0; display: grid; grid-template-columns: 84px 1fr; column-gap: 24px; align-items: baseline; }
.post-line { display: inline; }
.post-date-inline { color: #666; margin-right: 8px; white-space: nowrap; font-variant-numeric: tabular-nums; font-size: 0.95em; }
ul.year-list a { font-weight: 650; }

.post-header { margin-bottom: 12px; }
.post-title-page { margin: 0 0 6px 0; }
.post-meta { color: #666; font-size: 14px; }
.post-content { margin-top: 20px; }

/* Dark code block theme */
.post-content pre,
pre {
    background: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 14px 16px;
    overflow-x: auto;
    margin: 16px 0;
    color: #d4d4d4;
}

.post-content code,
code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    background: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    padding: 0.15em 0.35em;
    font-size: 0.95em;
    color: #d4d4d4;
}

pre code {
    background: transparent;
    border: 0;
    padding: 0;
    font-size: 0.95em;
}

/* Copy button */
.code-block { position: relative; background: #1e1e1e; border: 1px solid #2a2a2a; border-radius: 8px; overflow: hidden; }
.code-block::before {
    content: attr(data-title);
    display: block;
    background: #2a2a2a;
    color: #f6b73c;
    font-weight: 600;
    padding: 8px 12px;
    border-bottom: 1px solid #3a3a3a;
}
.code-block pre { margin: 0; background: transparent; border: 0; border-radius: 0; }
.copy-code-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 12px;
    line-height: 1;
    background: #2a2a2a;
    color: #ddd;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    padding: 6px 8px;
    cursor: pointer;
}
.copy-code-btn:hover { background: #343434; }

/* Rouge token colors (minimal) */
.highlight, .code-block pre { background: transparent; color: #d4d4d4; }
.highlight .c { color: #6a9955; }
.highlight .k { color: #c792ea; }
.highlight .s { color: #c3e88d; }
.highlight .n, .highlight .p { color: #d4d4d4; }
.highlight .nf { color: #82aaff; }
.highlight .na, .highlight .nt { color: #ffcb6b; }
.highlight .o { color: #89ddff; }
.highlight .mi, .highlight .mf, .highlight .mh { color: #f78c6c; }
.highlight .err { color: #f44747; text-decoration: underline; }

.site-footer { margin-top: 48px; color: #777; font-size: 14px; }
.site-footer a { color: inherit; }

/* About page */
.about { display: flex; gap: 16px; align-items: center; }
.about-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.about-body h2 { margin: 0 0 8px 0; }


