/* Blog-specific styles, layered on the shared theme in application.css. */
.site-header { display: flex; align-items: baseline; gap: 1rem; padding: 0.5rem 0 0.75rem; margin-bottom: 1rem; border-bottom: 2px solid var(--accent); }
.site-header .site-name { font-weight: 700; font-size: 1.35rem; text-decoration: none; color: var(--accent); letter-spacing: 0.02em; }
.site-header nav { display: flex; gap: 0.9rem; margin-left: auto; }
.author-bar { font-size: 0.92em; }
.author-bar form { display: inline; }

.post-summary { margin-bottom: 1.5rem; }
.post-summary h2 { margin: 0 0 0.15rem; }
.post-summary h2 a { text-decoration: none; }
.post-meta { margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.25rem 0.6rem; align-items: center; }
.tag { text-decoration: none; }
.tag-list { columns: 2; }

.post h1 { margin-bottom: 0.25rem; }
.post-body { font-size: 1.05rem; line-height: 1.65; }
.post-body img { max-width: 100%; height: auto; }
.post-body blockquote { margin: 1rem 0; padding: 0.1rem 1rem; border-left: 3px solid var(--line); color: var(--muted); }
.post-body code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.9em; background: #f2f2ef; padding: 0.05rem 0.3rem; border-radius: 4px; }
.post-body pre { white-space: pre; overflow-x: auto; font-size: 0.85em; line-height: 1.45; }
.post-body pre code { background: none; padding: 0; font-size: inherit; }
.post-body table { width: auto; margin: 1rem 0; }

.pager { display: flex; margin-top: 2rem; padding-top: 0.75rem; border-top: 1px solid var(--line); }
.pager .spacer { flex: 1; }

.post-form { display: grid; gap: 0.9rem; }
.post-form label { display: grid; gap: 0.25rem; font-weight: 600; }
.post-form label .muted { font-weight: normal; }
.post-form input[type=text], .post-form input[type=datetime-local], .post-form select, .post-form textarea { font: inherit; font-weight: normal; padding: 0.4rem; box-sizing: border-box; width: 100%; }
.post-form .body-field { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.92em; line-height: 1.5; }
.post-form .row { display: flex; flex-wrap: wrap; gap: 1rem; }
.post-form .row label { flex: 1; min-width: 12rem; }
.post-form input[type=submit] { justify-self: start; }

.image-list { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.image-list li { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.image-list .thumb { width: 6rem; height: 4rem; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
.image-list code { font-size: 0.85em; word-break: break-all; }
.danger { color: var(--err-ink); border-color: var(--err-ink); }
