/*-----------------------------------*\
  #BLOG POST PAGE
\*-----------------------------------*/

.post-page {
  max-width: 820px;
  margin: 15px auto 40px;
  padding: 0 12px;
}

.post-back {
  display: inline-block;
  margin-bottom: 15px;
  color: var(--light-gray-70);
  font-size: var(--fs-6);
  transition: var(--transition-1);
}

.post-back:hover { color: var(--orange-yellow-crayola); }

.post { width: 100% !important; padding: 20px; }

.post-header .article-title { margin-bottom: 25px; line-height: 1.3; text-transform: none; }

.post-hero {
  margin-bottom: 30px;
  border-radius: 16px;
  overflow: hidden;
}

.post-hero img { width: 100%; height: auto; }

.post-body {
  color: var(--light-gray);
  font-size: var(--fs-5);
  font-weight: var(--fw-300);
  line-height: 1.8;
}

.post-body > * + * { margin-top: 16px; }

.post-body h3,
.post-body h4 {
  color: var(--white-2);
  font-weight: var(--fw-500);
  line-height: 1.4;
}

.post-body h3 { font-size: var(--fs-2); margin-top: 36px; }

.post-body h4 { font-size: var(--fs-4); margin-top: 28px; }

.post-body strong { color: var(--white-2); font-weight: var(--fw-500); }

.post-body a {
  display: inline;
  color: var(--orange-yellow-crayola);
  word-break: break-word;
}

.post-body a:hover { text-decoration: underline; }

.post-body ul,
.post-body ol { padding-left: 22px; }

.post-body ul li { list-style: disc; }

.post-body ol li { list-style: decimal; }

.post-body li + li { margin-top: 6px; }

.post-body li::marker { color: var(--orange-yellow-crayola); }

.post-body figure {
  display: flex;
  justify-content: center;
  margin: 28px 0;
}

.post-body figure img,
.post-body figure video {
  display: block;
  max-width: 100%;
  max-height: 520px;
  height: auto;
  border-radius: 12px;
}

.post-body blockquote {
  padding: 12px 18px;
  background: var(--eerie-black-1);
  border-left: 3px solid var(--orange-yellow-crayola);
  border-radius: 0 12px 12px 0;
}

.post-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  padding: 2px 6px;
  background: var(--onyx);
  border-radius: 6px;
  color: var(--white-2);
}

.post-body pre {
  padding: 16px 18px;
  background: var(--smoky-black);
  border: 1px solid var(--jet);
  border-radius: 12px;
  overflow-x: auto;
  line-height: 1.6;
}

.post-body pre code {
  padding: 0;
  background: none;
  font-size: var(--fs-7);
  white-space: pre;
}

.post-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--jet);
  color: var(--light-gray-70);
  font-size: var(--fs-6);
}

.post-footer a { display: inline; color: var(--orange-yellow-crayola); }

@media (min-width: 580px) {
  .post { padding: 40px; }
  .post-page { margin-top: 40px; }
}
