body {
  background-color: #e9e9e7;
  background-image:
    url('/static/paper.jpg');
  margin: 0;
}

.post {
  max-width: 800px;
  margin: 0 auto 70px;
  padding: 0 16px;
}

.postimg {
  width: 100%;
  height: auto;
  cursor: zoom-in;
  border: 1px solid #000;
}

h1 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(48px, 12vw, 140px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.9;
  margin: 40px 16px 16px;
}

hr {
  border: none;
  border-top: 3px solid #000;
  margin: 0 16px 60px;
}

.title {
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 10px;
}

footer {
  margin: 0 16px 40px;
  border-top: 3px solid #000;
  padding-top: 12px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

footer a {
  color: #000;
}

#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  z-index: 10;
}

#lightbox[hidden] {
  display: none;
}

#lb-frame {
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

#lb-img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

#lb-dl {
  align-self: flex-end;
  margin-top: 12px;
  color: #fff;
  text-decoration: underline;
}

#lb-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 12px;
}

.post > figcaption {
  display: flex;
  justify-content: space-between;
}
