/* ============================================================
   Blog Post — Single Post Page Styles
   Used by all blog/*/index.html pages
   ============================================================ */

/* ── Post container ────────────────────────────────────── */
.post-container {
  max-width: 760px;
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

/* ── Blog post title in Epic Ride ─────────────────────── */
.post-container h1 {
  font-family: var(--font-display);
  font-weight: normal;
  font-size: clamp(2.4rem, 5.5vw, 3.5rem);
  line-height: 1.15;
}

/* Epic Ride: consecutive capitals need letter-spacing */
.epic-kern { letter-spacing: 0.08em; }

/* Epic Ride: punctuation that doesn't render well (colons, apostrophes) */
h1 .epic-punct,
.epic-punct {
  font-family: var(--font-sans) !important;
  font-style: italic;
  font-size: 0.7em;
  position: relative;
  top: -0.05em;
  display: inline-block;
  transform: rotate(-8deg);
}

/* ── Breadcrumb navigation — coral bar ────────────────── */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--white);
  background: var(--coral);
  margin: 0 calc(-50vw + 50%);
  padding: 0.6rem calc(50vw - 50%);
  margin-bottom: 2rem;
}
.breadcrumb a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.85;
}
.breadcrumb a:hover { opacity: 1; }
.breadcrumb-sep {
  margin: 0 0.5rem;
  color: var(--white);
  opacity: 0.5;
}

/* ── Post meta author avatar (small, in post header) ───── */
.post-meta__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--coral);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Hero image figure ─────────────────────────────────── */
.post-hero-figure {
  margin: 2rem 0 2.5rem;
  padding: 0;
}
.post-hero-figure img {
  width: 100%;
  border-radius: 8px;
  display: block;
}
.post-content figure {
  margin: 2rem 0;
  padding: 0;
}
.post-content figure img {
  width: 100%;
  border-radius: 8px;
  display: block;
}
.post-hero-figure figcaption,
.post-content figcaption {
  font-size: 0.8rem;
  color: var(--ink-light);
  margin-top: 0.5rem;
  text-align: center;
  font-style: italic;
}

/* ── Post navigation (prev / all / next) ───────────────── */
.post-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.post-nav__link {
  color: var(--coral);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.post-nav__link:hover { text-decoration: underline; }
.post-nav__all {
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1.5px solid var(--coral);
  border-radius: 999px;
  padding: 0.4rem 1.2rem;
  transition: background 0.2s, color 0.2s;
}
.post-nav__all:hover {
  background: var(--coral);
  color: var(--white);
}
.post-nav__spacer { flex: 1; }
