/* Article detail: warm paper, generous spacing, and a focused reading column. */
.story-page { --story-ink: #263f36; --story-muted: #64736b; --story-line: #e0e6de; --story-accent: #337259; background: #fafbf7; color: var(--story-ink); padding: 0 24px 72px; }
.story-page a { color: inherit; }
.story-header { max-width: 860px; margin: auto; padding: 40px 0 36px; }
.story-back { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 700; text-decoration: none; }
.story-back:hover { color: var(--story-accent); text-decoration: underline; text-underline-offset: 5px; }
.story-header h1 { margin-top: 30px; color: var(--story-ink); font-size: clamp(2rem, 4.6vw, 3.65rem); letter-spacing: -.045em; line-height: 1.13; font-weight: 800; margin: 30px 0 28px; overflow-wrap: anywhere; }
.story-meta { display: flex; gap: 12px; align-items: center; font-size: .9rem; }
.story-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #e8efe1; color: #426348; font-size: .8rem; font-weight: 800; flex-shrink: 0; }
.story-meta strong { font-weight: 800; }
.story-details { display: flex; gap: 9px; flex-wrap: wrap; color: var(--story-muted); font-size: .8rem; margin-top: 3px; }
.story-cover { max-width: 1100px; margin: 0 auto 52px; }
.story-cover a { position: relative; display: block; border-radius: 24px; overflow: hidden; background: #e8ede5; }
.story-cover img { display: block; width: 100%; height: 260px; max-height: 260px; object-fit: contain; }
.story-image-hint { position: absolute; bottom: 18px; right: 18px; padding: 9px 15px; border-radius: 24px; background: #fff; color: #263f36; font-size: .75rem; font-weight: 800; box-shadow: 0 2px 12px #0001; }
.story-reading-layout { max-width: 740px; margin: 0 auto; padding-top: 12px; }
.story-aside-label { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; color: var(--story-muted); }
.story-main { min-width: 0; }
.story-prose { font-size: 1.075rem; line-height: 1.9; color: #3e4d45; overflow-wrap: anywhere; overflow-x: auto; }
.story-prose > :first-child { margin-top: 0; }
.story-prose p { margin: 0 0 1.5em; }
.story-prose h2, .story-prose h3, .story-prose h4 { color: var(--story-ink); line-height: 1.3; letter-spacing: -.025em; margin: 1.8em 0 .7em; }
.story-prose h2 { font-size: 1.65rem; }
.story-prose h3 { font-size: 1.3rem; }
.story-prose ul, .story-prose ol { padding-left: 1.5em; margin: 1.4em 0; }
.story-prose li { margin: .5em 0; }
.story-prose li::marker { color: var(--story-accent); }
.story-prose a { color: var(--story-accent); text-underline-offset: 4px; }
.story-prose img, .story-prose video { max-width: 100%; max-height: 320px; object-fit: contain; height: auto; border-radius: 14px; }
.story-prose iframe { max-width: 100%; }
.story-prose blockquote { margin: 2em 0; border-left: 3px solid #98b18a; background: #eef3e8; padding: 22px 28px; border-radius: 0 16px 16px 0; font-size: 1.15rem; }
.story-prose blockquote p:last-child { margin-bottom: 0; }
.story-prose table { border-collapse: collapse; margin: 24px 0; width: 100%; font-size: .9rem; }
.story-prose th, .story-prose td { padding: 12px; border: 1px solid var(--story-line); text-align: left; }
.story-prose th { background: #eef3e8; }
.story-photos { margin-top: 44px; }
.story-section-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.story-section-title h2 { font-size: 1.3rem; margin: 0; }
.story-section-title span { font-size: .8rem; color: var(--story-muted); }
.story-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.story-photo-grid a { overflow: hidden; border-radius: 14px; background: #e8ede5; }
.story-photo-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .25s; }
.story-photo-grid a:hover img { transform: scale(1.035); }
.story-actions { margin-top: 44px; border-top: 1px solid var(--story-line); padding-top: 24px; display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.story-share { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .72rem; }
.story-share > span { color: var(--story-muted); margin-right: 4px; }
.story-share a, .story-share button { font: inherit; font-weight: 700; border: 1px solid var(--story-line); padding: 8px 11px; border-radius: 8px; background: #fff; text-decoration: none; color: var(--story-ink); cursor: pointer; }
.story-share a:hover, .story-share button:hover { border-color: var(--story-accent); background: #eef3e8; }
#storyCopyStatus { width: 100%; font-size: .8rem; color: var(--story-accent); }
#storyCopyStatus:empty { display: none; }
.story-end { max-width: 1100px; margin: 64px auto 0; padding: 34px 40px; border-radius: 20px; background: #eaf0e3; display: flex; gap: 24px; justify-content: space-between; align-items: center; }
.story-end h2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); letter-spacing: -.025em; line-height: 1.3; max-width: 470px; margin: 10px 0 0; }
.story-end > a { display: inline-flex; align-items: center; gap: 22px; background: #2d5c47; color: #fff; padding: 14px 20px; border-radius: 12px; white-space: nowrap; font-size: .85rem; font-weight: 800; text-decoration: none; }
.story-end > a:hover { background: #204634; }
.story-page a:focus-visible, .story-page button:focus-visible { outline: 3px solid #b78338; outline-offset: 5px; }
@media (max-width: 600px) { .story-page { padding: 0 20px 40px; } .story-header { padding-top: 24px; } .story-header h1 { letter-spacing: -.035em; } .story-cover { margin-bottom: 30px; } .story-cover a { border-radius: 16px; } .story-image-hint { bottom: 10px; right: 10px; padding: 7px 11px; } .story-prose { font-size: 1rem; line-height: 1.8; } .story-photo-grid { gap: 10px; } .story-end { flex-direction: column; align-items: flex-start; padding: 26px; margin-top: 40px; } .story-actions { align-items: flex-start; flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { .story-photo-grid img { transition: none; } }

@media (max-width: 600px) { .story-cover img { height: 180px; } .story-prose img { max-height: 240px; } }
