/* ============================================
   Blog Article Styles
   Shared across all blog post pages
   ============================================ */

/* ── Article Hero ─────────────────────────── */
.article-hero {
  padding: calc(var(--nav-h) + 32px) 0 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  min-height: auto;
}
.article-hero__category {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
  display: inline-block;
}
.article-hero__title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
  max-width: 720px;
  margin: 0 auto 20px;
}
.article-hero__meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

/* ── Article Image ────────────────────────── */
.article-image {
  max-width: 960px;
  margin: 24px auto 0;
  padding: 0 48px;
}
.article-image img {
  width: 100%;
  border-radius: 2px;
}

/* ── Article Body ─────────────────────────── */
.article-body {
  max-width: 680px;
  margin: 48px auto 0;
  padding: 0 48px;
}
.article-body p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 24px;
}
.article-body h2 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 500;
  color: var(--text);
  margin: 48px 0 16px;
  line-height: 1.25;
}
.article-body h3 {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 500;
  color: var(--text);
  margin: 32px 0 12px;
  line-height: 1.3;
}
.article-body ul, .article-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
  list-style: disc;
}
.article-body li {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.article-body blockquote {
  border-left: 3px solid var(--sage);
  padding-left: 24px;
  margin: 32px 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
}

/* ── Inline Image ─────────────────────────── */
.article-inline-image {
  margin: 40px 0;
  border-radius: 2px;
  overflow: hidden;
}
.article-inline-image img {
  width: 100%;
  border-radius: 2px;
}
.article-inline-image figcaption {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-soft);
  text-align: center;
  margin-top: 10px;
}

/* ── Author Box ───────────────────────────── */
.author-box {
  max-width: 680px;
  margin: 64px auto 0;
  padding: 32px 48px;
  border-top: 1px solid var(--border);
}
.author-box__inner {
  display: flex;
  gap: 20px;
  align-items: center;
}
.author-box__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.author-box__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.author-box__info {
  flex: 1;
}
.author-box__name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}
.author-box__bio {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── Article CTA ──────────────────────────── */
.article-cta {
  max-width: 680px;
  margin: 48px auto 0;
  padding: 40px 48px;
  background: var(--bg-alt);
  border-radius: 2px;
  text-align: center;
}
.article-cta h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
}
.article-cta p {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--text-mid);
  margin-bottom: 24px;
  line-height: 1.7;
}

/* ── Related Posts ─────────────────────────── */
.related-posts {
  border-top: 1px solid var(--border);
  margin-top: 80px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.related-card {
  display: block;
  transition: transform 0.3s var(--ease);
}
.related-card:hover {
  transform: translateY(-3px);
}
.related-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 16px;
}
.related-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.related-card:hover .related-card__image img {
  transform: scale(1.03);
}
.related-card__category {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 8px;
  display: block;
}
.related-card__title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 768px) {
  .article-image { padding: 0 24px; }
  .article-body { padding: 0 24px; }
  .author-box { padding: 24px; }
  .article-cta { padding: 32px 24px; margin-left: 24px; margin-right: 24px; }
  .related-grid { grid-template-columns: 1fr; gap: 24px; }
  .article-hero__meta { flex-direction: column; gap: 8px; }
}
