/* Additions to the original theme: blog article pages and footer. Uses the theme's own variables. */

/* navbar links rendered as <a> on article pages */
a.navbar-link { display: inline-block; }

/* article pages */
.post-crumbs { color: var(--light-gray-70); font-size: var(--fs-7); margin-bottom: 15px; }
.post-crumbs a { color: var(--light-gray-70); }
.post-crumbs a:hover { color: var(--orange-yellow-crayola); }

/* article title size set below */
.post-meta { flex-wrap: wrap; margin-bottom: 20px; color: var(--light-gray-70); font-size: var(--fs-6); }

.post-banner { height: auto; margin-bottom: 25px; }
.post-banner img { width: 100%; height: auto; }

.post-body { color: var(--light-gray); font-size: var(--fs-6); font-weight: var(--fw-300); line-height: 1.7; }
.post-body h2 { color: var(--white-2); font-size: var(--fs-2); font-weight: var(--fw-500); margin: 28px 0 12px; text-transform: none; }
.post-body h3 { color: var(--white-2); font-size: var(--fs-3); font-weight: var(--fw-500); margin: 22px 0 10px; }
.post-body p { margin-bottom: 15px; }
.post-body ul, .post-body ol { margin: 0 0 15px; padding-left: 22px; }
.post-body ul li { list-style: disc; margin-bottom: 8px; }
.post-body ol li { list-style: decimal; margin-bottom: 8px; }
.post-body li::marker { color: var(--orange-yellow-crayola); }
.post-body strong { color: var(--white-2); font-weight: var(--fw-500); }
.post-body a, .post-note a, .inline-link { color: var(--orange-yellow-crayola); }
.post-body a:hover, .post-note a:hover { text-decoration: underline; }
.post-body blockquote {
  margin: 20px 0; padding: 5px 0 5px 18px; border-left: 3px solid var(--orange-yellow-crayola);
  color: var(--light-gray-70); font-style: italic;
}
.post-body .callout, .post-note {
  background: var(--border-gradient-onyx); position: relative; border-radius: 14px; padding: 15px 18px;
  color: var(--light-gray-70); font-size: var(--fs-7); margin: 25px 0; box-shadow: var(--shadow-2); z-index: 1;
}
.post-body .callout::before, .post-note::before {
  content: ""; position: absolute; inset: 1px; background: var(--bg-gradient-jet); border-radius: inherit; z-index: -1;
}

.post-nav {
  display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap;
  padding-top: 20px; border-top: 1px solid var(--jet); font-size: var(--fs-6);
}
.post-nav a { color: var(--orange-yellow-crayola); max-width: 48%; }
.post-nav a:hover { text-decoration: underline; }
@media (max-width: 580px) { .post-nav a { max-width: 100%; } }

/* footer */
.site-footer { text-align: center; color: var(--light-gray-70); font-size: var(--fs-7); padding: 10px 15px 30px; }
.site-footer p { margin-bottom: 6px; }
.site-footer .disclaimer { font-size: var(--fs-8); max-width: 700px; margin: 0 auto; }
@media (max-width: 1024px) { .site-footer { padding-bottom: 90px; } }

/* keep the avatar's natural proportions */
.avatar-box img { height: auto; }

/* falling snow behind the page content */
.snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }

/* the theme makes links/spans/time block-level; keep them inline inside text on article pages */
.post-crumbs a, .post-crumbs span, .post-meta span span, .post-meta span time,
.post-body a, .post-body span, .post-note a, .about-text .inline-link { display: inline; }
.post-page .post-crumbs { position: relative; z-index: 1; }

/* calmer heading sizes for blog cards and article pages */
.blog-item-title { font-size: 17px; line-height: 1.35; }
.post-page .article-title { font-size: 22px; line-height: 1.3; }
@media (min-width: 580px) {
  .blog-item-title { font-size: 19px; }
  .post-page .article-title { font-size: 26px; }
}
