/* ══════════════════════════════════════════════
   Single Blog Post Styles
   ============================================== */

.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.post-meta__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Post Author Box ── */
.post-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: var(--bg-alt);
  border-radius: var(--r-xl);
  margin-top: 48px;
}

.post-author__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.post-author__name { font-weight: 700; font-size: 0.95rem; }
.post-author__bio { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }

/* ── Related Posts Grid ── */
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}

.related-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
  transition: all var(--t-base) var(--ease);
}

.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.related-card h3 { font-size: 1rem; margin-bottom: 8px; }
.related-card h3 a { color: var(--navy); text-decoration: none; }
.related-card h3 a:hover { color: var(--blue); }
.related-card__meta { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 8px; }
.related-card__excerpt { font-size: 0.85rem; color: var(--text-secondary); }

/* ── Hero Image ── */
.post-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--r-xl);
  margin-bottom: 32px;
}

/* ── Article Content ── */
.container--narrow { max-width: 780px; }
.container--article { max-width: 960px; }
.article-content { font-size: 1rem; line-height: 1.8; }
.article-content--wp { font-size: 1.05rem; line-height: 1.8; }

/* ── Dark Mode ── */
[data-theme="dark"] .post-author { background: var(--bg-alt); }
[data-theme="dark"] .related-card { background: var(--bg-white); border-color: var(--border); }
[data-theme="dark"] .related-card h3 a { color: var(--text); }
