:root {
    --fg: #1a1a1a;
    --muted: #666;
    --accent: #d6336c;
    --bg: #fafafa;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.65;
    color: var(--fg);
    background: var(--bg);
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.site-header {
    border-bottom: 1px solid #eaeaea;
    background: #fff;
    padding: 1rem 0;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--fg);
    text-decoration: none;
}

.site-nav {
    display: flex;
    gap: 1.25rem;
}

.site-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: .95rem;
}

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

.intro {
    padding: 1rem 0 1.5rem;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 1rem;
}

.intro h1 { margin: 0 0 .25rem; font-size: 2rem; }

.tagline { color: var(--muted); margin: 0; }

.section-title { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }

.breadcrumb {
    font-size: .85rem;
    color: var(--muted);
    margin: 0 0 1rem;
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .current { color: var(--muted); }

.updated { color: var(--accent); }

.related {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 2px solid #eaeaea;
}

.sources {
    margin-top: 2.5rem;
    padding: 1.25rem 1.5rem;
    background: #f4f4f5;
    border-radius: 8px;
    font-size: .9rem;
}

.sources .section-title { margin-top: 0; }
.sources ol { margin: .5rem 0 0; padding-left: 1.25rem; }
.sources li { margin-bottom: .4rem; }
.sources a { color: var(--accent); word-break: break-word; }

main.container { padding-top: 2rem; padding-bottom: 3rem; }

.post-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid #eaeaea;
}

.post-card-thumb {
    flex: 0 0 96px;
}

.post-card-thumb img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #eaeaea;
    display: block;
}

.post-card-body { flex: 1; min-width: 0; }

.post-card h2 { margin: 0 0 .25rem; }

@media (max-width: 480px) {
    .post-card { flex-direction: column; align-items: flex-start; }
}

.post-card a, .post a { color: var(--accent); text-decoration: none; }
.post-card a:hover, .post a:hover { text-decoration: underline; }

.meta { color: var(--muted); font-size: .875rem; margin: 0 0 .5rem; }

.post-body { margin: 1.5rem 0; }

.post-figure {
    margin: 2rem 0;
}

.post-figure img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    display: block;
}

.post-figure figcaption {
    color: var(--muted);
    font-size: .8125rem;
    text-align: center;
    margin-top: .5rem;
}

.site-footer {
    border-top: 1px solid #eaeaea;
    color: var(--muted);
    font-size: .875rem;
    padding: 1.5rem 0;
}
