/* RON WILBUR STORY PAGES
   EDIT COLORS, TYPOGRAPHY, WIDTH AND SPACING HERE.
   These styles apply only to the story pages in this package. */
:root {
  --cream: #f7f0df;
  --ink: #17151c;
  --orange: #ff694b;
  --white: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Arial, Helvetica, sans-serif; }
a { color: #234c78; text-underline-offset: 3px; }
a:hover { color: #9c2f16; }
a:focus-visible { outline: 3px solid #274df4; outline-offset: 5px; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 20; background: white; padding: 12px; }
.skip-link:focus { top: 12px; }
.site-header, .site-footer { background: var(--ink); color: #fff4db; }
.nav-wrap { max-width: 1280px; margin: auto; padding: 22px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 23px; font-weight: 900; letter-spacing: -.04em; color: #fff4db; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--orange); }
nav { display: flex; flex-wrap: wrap; gap: 16px 24px; }
nav a { color: #fff8e7; text-decoration: none; font-size: 12px; font-weight: bold; }
nav a:hover { color: #d9ef49; }
main { max-width: 1100px; margin: auto; padding: 28px 32px 64px; }
.story-banner { background: var(--orange); border: 3px solid var(--ink); padding: 30px 42px 36px; }
.eyebrow { margin: 0 0 20px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow a { color: var(--ink); }
h1 { margin: 0; max-width: 880px; font-family: Arial, Helvetica, sans-serif; font-size: clamp(34px, 5.5vw, 66px); font-weight: 900; line-height: 1.04; letter-spacing: -.035em; overflow-wrap: break-word; }
.byline { margin: 20px 0 0; font-size: 15px; font-weight: bold; }
.story-paper { background: var(--white); border: 2px solid var(--ink); border-top: 0; }
.story-body { max-width: 790px; margin: auto; padding: 44px 52px 30px; font-family: Georgia, 'Times New Roman', serif; font-size: 18px; line-height: 1.78; overflow-wrap: break-word; }
.story-body p { margin: 0 0 1.15em; }
.story-body figure { margin: 0 auto 32px; text-align: center; }
.story-body img { display: block; width: auto; max-width: 100%; max-height: 560px; height: auto; margin: auto; object-fit: contain; }
.story-body .verse { line-height: 1.65; }
.story-end { padding: 24px 28px 30px; text-align: center; border-top: 1px solid #ddd7cd; font-size: 13px; line-height: 1.6; }
.back-link { display: inline-block; margin-bottom: 14px; font-size: 15px; font-weight: bold; }
.story-end p { margin: 5px 0; }
.site-footer { padding: 30px 32px; }
.footer-inner { max-width: 1216px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-brand { font-weight: 900; font-size: 24px; letter-spacing: -.05em; }
.footer-copy { font-size: 12px; }
@media (max-width: 700px) {
  .nav-wrap { flex-direction: column; align-items: flex-start; padding: 20px; gap: 18px; }
  nav { gap: 12px 18px; }
  main { padding: 20px 14px 40px; }
  .story-banner { padding: 25px 24px 30px; }
  .story-body { padding: 30px 24px 20px; font-size: 17px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media print {
  body { background: white; }
  .site-header, .site-footer, .back-link, .skip-link { display: none; }
  main { max-width: none; padding: 0; }
  .story-banner { background: white; border: 0; padding: 0 0 24px; }
  h1 { font-size: 32px; }
  .story-paper { border: 0; }
  .story-body { max-width: none; padding: 0; font-size: 12pt; }
  figure { break-inside: avoid; }
}
