/* Story pages: an easy-reading column with the original post's formatting. */
.narrow { max-width: 820px; }
.story-head { padding: 36px 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.story-head h1 { font-size: clamp(34px, 6vw, 60px); }
.draft-note { border-left: 6px solid var(--watch); margin-bottom: 20px; }
.story-body { font-size: 19px; line-height: 1.7; }
.story-body p { margin: 0 0 1.05em; }
.story-body h2, .story-body h3, .story-body h4 { margin: 1.4em 0 .5em; }
.story-body a { color: var(--green); }
.story-body blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 5px solid var(--green); background: rgba(0, 0, 0, .25); border-radius: 0 10px 10px 0; }
.story-body blockquote p:last-child { margin-bottom: 0; }
.story-body pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 14px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: #0b0f1c; color: #e8ecf8; padding: 16px 18px; border-left: 5px solid var(--warn); border-radius: 0 10px 10px 0; margin: 1.4em 0; }
.story-body figure { margin: 1.6em 0; text-align: center; }
.story-body figure img { margin: 0 auto; border-radius: 8px; box-shadow: 0 10px 28px rgba(0, 0, 0, .4); }
.story-body figcaption { font-size: 15px; color: var(--dim); font-style: italic; margin-top: 8px; }
.story-body .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 1.6em 0; }
.story-body .gallery figure { margin: 0; }
.story-body .gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story-body ul, .story-body ol { padding-left: 1.4em; }
/* Pictures that still need to be re-added are hidden on the public page. */
.story-body figure.needs-image { display: none; }

/* ---------- Weather Stories ---------- */
.ws-page .story-head { margin-bottom: 22px; }
.ws-date { font: 700 15px var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.ws-title { font-size: clamp(30px, 5vw, 46px); margin: 4px 0 18px; }
.ws-lead { padding-bottom: 8px; }
.ws-more-h { font-size: 26px; margin: 34px 0 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.ws-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin: 0 0 12px; overflow: hidden; }
.ws-item summary { display: flex; align-items: center; gap: 14px; padding: 12px 14px; cursor: pointer; list-style: none; }
.ws-item summary::-webkit-details-marker { display: none; }
.ws-item summary:hover { background: rgba(255, 255, 255, .04); }
.ws-item summary:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.ws-item summary img, .ws-nothumb { flex: none; width: 112px; height: 63px; object-fit: cover; border-radius: 8px; background: rgba(0, 0, 0, .3); }
.ws-sum { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.ws-sum b { font: 700 22px/1.15 var(--head); text-transform: uppercase; color: #fff; }
.ws-sum small { font-size: 14px; color: var(--dim); }
.ws-chev { flex: none; width: 14px; height: 14px; border-right: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(45deg); margin: 0 6px 6px; transition: transform .18s; }
.ws-item[open] .ws-chev { transform: rotate(-135deg); margin-bottom: -6px; }
.ws-item[open] summary { border-bottom: 1px solid var(--line); }
.ws-item .story-body { padding: 18px 20px 6px; font-size: 18px; }
@media (max-width: 560px) { .ws-item summary img, .ws-nothumb { width: 84px; height: 48px; } .ws-sum b { font-size: 18px; } .ws-item .story-body { padding: 14px 14px 4px; font-size: 17px; } }
.ws-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 30px 0 10px; }
.ws-pager .nums { display: flex; gap: 6px; }
.pg { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: #fff; text-decoration: none; font: 700 17px var(--head); text-transform: uppercase; letter-spacing: .04em; box-sizing: border-box; }
a.pg:hover { border-color: var(--green); color: var(--green); }
.pg[aria-current] { background: var(--green); color: #06123f; border-color: var(--green); }
.pg.off:not([aria-current]) { opacity: .4; }
.pg.gap { border: 0; background: none; min-width: 20px; padding: 0; }
@media (max-width: 560px) { .ws-pager .nums { order: -1; width: 100%; justify-content: center; } .pg.end, .pg.step { flex: 1; } }
