.story { background: var(--baltu-pale); color: var(--baltu-plum) }
.story :is(h1,h2,p,ul,ol) { margin: 0 }
.story-cover { position: relative; isolation: isolate; height: 530px }
.story-intro { position: relative; display: grid; gap: var(--space-16); margin: -190px var(--gutter) 0; padding: var(--space-48) min(var(--gutter), var(--space-80)); background: var(--baltu-white) }
.story-intro time { display: flex; align-items: center; gap: var(--space-16); font: var(--font-nav); line-height: var(--leading-small-box); letter-spacing: var(--tracking-nav); color: var(--baltu-mauve); text-transform: uppercase }
.story-intro time::after { content: ''; height: var(--size-20); border-inline-end: 1px solid var(--divider) }
/* Composite the lettering over the overlapping photo panel in grayscale. */
.story-intro > * { transform: translateZ(0) }
.story-intro h1 { font: var(--font-inner-subheading); letter-spacing: var(--tracking-copy); text-wrap: pretty }
.story-intro p { margin-top: var(--space-8); font: var(--font-inner-intro); letter-spacing: var(--tracking-copy) }
.story-body { padding: var(--space-48) var(--gutter) var(--space-section) }
.story-column { max-width: var(--content-width-medium); margin-inline: auto; display: grid; gap: var(--space-32) }
.story-section { display: grid; gap: var(--space-16) }
.story-section :is(ul,ol), .story-references { font: var(--font-body); letter-spacing: var(--tracking-copy); color: var(--dark-body-text); display: grid; gap: var(--space-8) }
.story-section ul { padding: 0; list-style: none }
.story-section ul li { padding-left: var(--space-24); background-image: url(/assets/article-bullet.svg); background-repeat: no-repeat; background-position: left .55em }
.story-section ol { padding-left: var(--space-32) }
.story-section ol li::marker, .story-section strong, .story-references strong { color: var(--baltu-plum); font-weight: var(--weight-medium) }
.story-references img { vertical-align: middle }
.article-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--space-16) }
.article-gallery a:first-child { grid-column: 1 / -1 }
.article-gallery img { width: 100%; height: auto }
.article-gallery a:not(:first-child) img { aspect-ratio: 407 / 195; object-fit: cover }
.photo-viewer { border: 0; max-width: 95vw; max-height: 95svh; padding: var(--space-16); background: var(--baltu-plum); color: var(--baltu-white) }
.photo-viewer::backdrop { background: var(--ink) }
.photo-viewer img { display: block; max-width: 100%; max-height: 72svh; margin: auto; object-fit: contain }
.viewer-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-8); margin-bottom: var(--space-16) }
.viewer-tools button { border: 0; cursor: pointer }
@media (max-width: 800px) {
  .story-cover .shade { background: var(--inner-shade) }
  .story-cover { height: clamp(240px,45vw,420px) }
  .story-intro { margin-top: -60px; padding: var(--space-24) }
  .story-intro h1 { font-size: var(--size-hero-mobile); line-height: var(--leading-tight) }
  .story-intro p { font: var(--font-body) }
  .story-body { padding-block: var(--space-32) var(--space-64) }
  .article-gallery { gap: var(--space-8) }
}
.wp-story .story-intro:first-child { margin-top: 0 }
.wp-story .story-column figure { margin: 0 }
.wp-story .story-column img { display: block; max-width: 100%; height: auto }
.wp-story .story-column figcaption { font: var(--font-small); color: var(--dark-body-text) }
.wp-story .story-section :is(h2,h3,h4,h5,h6) { font: var(--font-inner-subheading); color: var(--baltu-plum) }
