/* Single journal post. Viewport is title hero + body + footer. */

.post-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  padding: 10px;
  background: var(--color-charcoal);
}

.post-hero h1 {
  max-width: var(--wrap-max);
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-serif);
  font-size: var(--text-display-size);
  font-weight: 300;
  line-height: var(--text-display-line);
  color: var(--color-cream);
}

.post-body {
  padding: 80px 20px;
  background: var(--color-paper);
  text-align: center;
}

.post-body p {
  max-width: var(--wrap-max);
  margin: 0 auto 0.9rem;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 25px;
  color: var(--color-text);
}

@media (max-width: 1024px) {
  .post-hero {
    padding: 40px 10px;
  }

  .post-body {
    padding: 50px 20px;
  }
}

@media (max-width: 767px) {
  .post-hero {
    padding: 30px 10px;
  }

  .post-body {
    padding: 40px 20px;
  }
}
