/* One story's own page (design rule 21; built by scripts/build_story_pages.py). Matches /news:
 * the same paper sheet, labels and badges; the site's own view sits in a labeled Analysis /
 * opinion block, visibly apart from the reported facts above it. */
:root { color-scheme: light dark; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--ground); font-family: Georgia, "Times New Roman", serif; }
main { width: min(860px, calc(100% - 32px)); margin: 24px auto; padding: clamp(20px, 5vw, 52px); background: var(--paper); box-shadow: 0 16px 36px rgba(52, 43, 29, 0.16); }
.utility, nav, .story-meta, .story-badge, .story-context-label, .story-locator, .story-back { font-family: Arial, Helvetica, sans-serif; }
.utility { display: flex; justify-content: space-between; gap: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); color: var(--muted); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
nav { display: flex; gap: 22px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
nav a { color: inherit; text-decoration: none; }
.story-head { padding: 26px 0 20px; border-bottom: 4px double var(--ink); }
.story-head.is-fresh { padding-left: 16px; }
.story-badge { display: inline-block; margin: 0 0 10px; padding: 4px 7px; border: 1px solid currentColor; color: var(--tone-external); font-size: 0.68rem; font-weight: 700; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; }
.story-badge.local-record { color: var(--tone-record); }
.story-badge.iowa-record { color: #4f691d; }
.story-badge.analysis { color: var(--tone-analysis); }
.story-meta { margin: 0 0 10px; color: var(--accent); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
.story-head h1 { margin: 0; font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.05; overflow-wrap: anywhere; }
.story-byline { margin: 12px 0 0; color: var(--muted); font: 0.8rem/1.4 Arial, Helvetica, sans-serif; }
.story-deck { max-width: 66ch; margin: 16px 0 0; color: var(--ink); font-size: 1.08rem; line-height: 1.6; }
.story-opinion, .story-archived { margin: 12px 0 0; color: var(--muted); line-height: 1.5; }
.story-page h2 { margin: 28px 0 10px; font-size: 1.35rem; }
.story-sources ul { margin: 0; padding-left: 20px; line-height: 1.55; }
.story-sources li + li { margin-top: 8px; }
.story-locator { display: block; color: var(--muted); font-size: 0.78rem; line-height: 1.45; }
.story-people { margin: 12px 0 0; color: var(--muted); }
.story-back { margin: 30px 0 0; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
footer a { color: inherit; }
footer { margin-top: 32px; padding-top: 14px; border-top: 1px solid var(--rule); color: var(--muted); font: 0.72rem Arial, Helvetica, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 520px) { main { width: 100%; margin: 0; box-shadow: none; } }
.story-compare-list { margin: 0; padding: 0; list-style: none; }
.story-compare-list > li { margin-top: 14px; padding: 12px 16px; border: 1px solid var(--rule); background: var(--surface); }
.story-compare-who { margin: 0; font: 700 0.8rem/1.4 Arial, Helvetica, sans-serif; }
.story-compare-list blockquote { margin: 10px 0 0; padding-left: 12px; border-left: 3px solid var(--rule); }
.story-compare-list blockquote p { margin: 0; line-height: 1.55; }
.story-compare-court { margin: 10px 0 0; line-height: 1.55; }
.story-compare-intro, .story-compare-none { color: var(--muted); line-height: 1.55; }
/* Comments (editor-approved only; see src/news/comments.js and build_story_pages.py). */
.story-comments { margin-top: 32px; padding-top: 4px; border-top: 1px solid var(--rule); }
.story-comments-note, .story-comments-none { color: var(--muted); line-height: 1.55; }
.story-comment-list { margin: 0; padding: 0; list-style: none; }
.story-comment-list > li { margin-top: 12px; padding: 10px 14px; border: 1px solid var(--rule); background: var(--surface); }
.story-comment-list p { margin: 0; line-height: 1.55; overflow-wrap: anywhere; }
.story-comment-by { font: 0.8rem/1.4 Arial, Helvetica, sans-serif; color: var(--muted); }
.story-comment-form { display: grid; gap: 8px; max-width: 560px; margin-top: 16px; font-family: Arial, Helvetica, sans-serif; }
.story-comment-form[hidden] { display: none; }
.story-comment-form label { font-size: 0.85rem; font-weight: 700; }
.story-comment-form label span { font-weight: 400; color: var(--muted); }
.story-comment-form input[type=text], .story-comment-form textarea { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font: inherit; }
.story-comment-form button { justify-self: start; min-height: 44px; padding: 8px 16px; border: 1px solid var(--accent-dark); background: var(--accent); color: var(--paper); font: 700 0.85rem Arial, Helvetica, sans-serif; cursor: pointer; }
.story-comment-form button:disabled { opacity: 0.6; cursor: wait; }
.story-comment-trap { position: absolute; left: -9999px; }
.story-comment-status { margin: 0; min-height: 1.2em; color: var(--muted); }
