/* The writing page's real content is a long personal poem/diary text
   (missed entirely in the first pass of this rebuild, which only looked at
   <media-item> tags and discarded surrounding text - see README). Original
   is rendered over a moody WebGL-painted backdrop; approximated here the
   same way as the homepage backdrop (see effects.css). */
html:has(body.writing-page) {
  background: #060608;
}
body.writing-page {
  background: transparent;
}

.writing-shell {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 90px 24px 80px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.6;
  text-align: center;
}

.writing-shell h1 {
  font-family: var(--font-sans);
  font-weight: 700;
}

.writing-shell h1:first-of-type {
  color: rgb(255, 189, 230);
  font-size: 44px;
  font-style: italic;
}

.writing-shell h1 u {
  color: #fff;
  font-size: 32px;
  text-decoration: none;
  border-bottom: 2px solid rgba(255,255,255,0.4);
  padding-bottom: 4px;
}

.writing-shell .bodycopy-copy {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 17px;
  text-align: left;
}

.writing-shell .gallery-slideshow {
  max-width: 500px;
  margin: 20px auto;
}
