/* Journal articles (/journal/<slug>). Also loaded by the admin's article
   editor, so writers see the article as it will be published. */

.post {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 24px 40px;
  font-family: var(--sans);
  color: var(--ink);
}
.post-head {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}
.post-crumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8a8a8a;
  margin-bottom: 28px;
}
.post-crumbs a {
  color: inherit;
  text-decoration: none;
}
.post-crumbs a:hover {
  color: var(--ink);
}
.post-eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
}
.post-head h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
}
.post-lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.6;
  color: #4a4a4a;
  margin-bottom: 22px;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: #777;
}
.post-cover {
  margin: 0 0 56px;
}
.post-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: cover;
}

/* The text: a comfortable reading column. */
.post-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.85;
  color: #2b2b2b;
  font-weight: 300;
}
.post-body > * + * {
  margin-top: 1.25em;
}
.post-body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.25;
  color: var(--ink);
  margin-top: 1.9em;
}
.post-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.3;
  color: var(--ink);
  margin-top: 1.6em;
}
.post-body h4 {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 1.6em;
}
.post-body strong,
.post-body b {
  font-weight: 600;
  color: var(--ink);
}
.post-body a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}
.post-body a:hover {
  color: var(--gold);
}
.post-body ul,
.post-body ol {
  padding-left: 1.4em;
}
.post-body ul {
  list-style: disc;
}
.post-body ol {
  list-style: decimal;
}
.post-body li + li {
  margin-top: 0.45em;
}
.post-body li::marker {
  color: var(--gold);
}
.post-body blockquote {
  margin: 2em 0;
  padding: 6px 0 6px 28px;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 23px;
  line-height: 1.55;
  color: var(--ink);
}
.post-body img {
  display: block;
  width: 100%;
  height: auto;
}
.post-body figure {
  margin: 2.2em 0;
}
.post-body figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: #777;
  text-align: center;
  font-style: italic;
}
.post-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5em auto;
  width: 40%;
}

/* After the text: tags and the call to action. */
.post-foot {
  max-width: 720px;
  margin: 56px auto 0;
}
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}
.post-tags li {
  font-size: 11px;
  letter-spacing: 1px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  color: #555;
}
.post-cta {
  background: var(--linen);
  padding: 40px 44px;
  text-align: center;
}
.post-cta .post-cta-title {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 400;
}
.post-cta p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  font-weight: 300;
}
.post-cta-btn {
  display: inline-block;
  margin-top: 22px;
  padding: 14px 36px;
  border: 1px solid var(--ink);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}
.post-cta-btn:hover {
  background: var(--ink);
  color: var(--cream);
}

/* Related articles. */
.post-related {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 96px;
}
.post-related h2 {
  text-align: center;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 36px;
}
.rel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.rel-card {
  display: block;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid #ede8e0;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.rel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.07);
}
.rel-img {
  display: block;
  height: 200px;
  background: #e8e2da;
  overflow: hidden;
}
.rel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rel-tag {
  display: block;
  margin: 20px 22px 8px;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.rel-title {
  display: block;
  margin: 0 22px 10px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.3;
}
.rel-img + .rel-title {
  margin-top: 20px;
}
.rel-date {
  display: block;
  margin: 0 22px 22px;
  font-size: 12px;
  color: #8a8a8a;
}

@media (max-width: 900px) {
  .rel-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .post {
    padding-top: 44px;
  }
  .post-body {
    font-size: 17px;
  }
  .post-body h2 {
    font-size: 27px;
  }
  .post-cta {
    padding: 32px 24px;
  }
}
