/* Minimal stylesheet for edunham.net */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 42em;
    margin: 0 auto;
    padding: 1em;
}

header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5em;
    margin-bottom: 2em;
}

header nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5em;
}

.site-title {
    font-size: 1.4em;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.tagline {
    color: #666;
    font-size: 0.9em;
}

header nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8em;
    margin-left: auto;
    align-items: center;
}

a {
    color: #0066cc;
}

a:visited {
    color: #551a8b;
}

h1, h2, h3, h4 {
    margin-top: 1.2em;
    margin-bottom: 0.4em;
    line-height: 1.3;
}

h1 { font-size: 1.6em; }
h2 { font-size: 1.3em; }
h3 { font-size: 1.1em; }

article.post-summary {
    margin-bottom: 1.5em;
}

article.post-summary h2 {
    margin-top: 0;
    margin-bottom: 0.1em;
}

article.post-summary time {
    color: #666;
    font-size: 0.9em;
}

.byline {
    color: #666;
    font-size: 0.9em;
    font-style: italic;
}

.summary {
    margin-top: 0.3em;
}

.content {
    margin-top: 1em;
}

.content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1em auto;
}

.content p {
    margin-bottom: 1em;
}

.content ul, .content ol {
    margin-bottom: 1em;
    padding-left: 2em;
}

.content li {
    margin-bottom: 0.3em;
}

.content blockquote {
    border-left: 3px solid #ddd;
    padding-left: 1em;
    margin: 1em 0;
    color: #555;
}

pre, code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.9em;
}

code {
    background: #f5f5f5;
    padding: 0.15em 0.3em;
    border-radius: 3px;
}

pre {
    background: #f5f5f5;
    padding: 1em;
    overflow-x: auto;
    margin: 1em 0;
    border-radius: 4px;
}

pre code {
    background: none;
    padding: 0;
}

.tags {
    margin-top: 2em;
    padding-top: 1em;
    border-top: 1px solid #ddd;
    font-size: 0.9em;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em 1em;
}

.pagination {
    margin-top: 2em;
    padding-top: 1em;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer {
    margin-top: 3em;
    padding-top: 1em;
    border-top: 1px solid #ddd;
    font-size: 0.85em;
    color: #666;
}

time {
    display: block;
}

/* Co-authored posts: Claude voice markers
   ◆ = Claude's first draft lines
   ◇ = Claude's later-pass/revision lines
   Lines without markers are the human author's.
   The markers get stripped from display and replaced with a subtle left border. */

.content .claude-draft {
    border-left: 2px solid #7c6faa;
    padding-left: 0.6em;
    margin-left: -0.8em;
}

.content .claude-revise {
    border-left: 2px dashed #7c6faa;
    padding-left: 0.6em;
    margin-left: -0.8em;
}

@media (max-width: 600px) {
    body {
        padding: 0.5em;
    }

    header nav {
        flex-direction: column;
        align-items: flex-start;
    }

    header nav ul {
        margin-left: 0;
    }
}
