/* ════════ single.css — Singolo post blog ════════ */

.post-hero { padding: 56px 0; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.post-cats { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.post-hero h1 { max-width: 720px; margin-bottom: 16px; }
.post-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--ink-light); flex-wrap: wrap; }
.post-meta-author { display: flex; align-items: center; gap: 8px; }
.post-meta-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.post-meta-name { font-weight: 600; color: var(--ink); text-decoration: none; }
.post-meta-name:hover { color: var(--teal); }
.post-featured-img { width: 100%; height: 480px; object-fit: cover; display: block; }

.post-body { padding: 56px 0; }
.post-content-col { max-width: 720px; }
.post-content p  { font-size: 17px; line-height: 1.85; color: var(--ink-mid); margin-bottom: 22px; }
.post-content h2 { font-size: 26px; margin-top: 48px; margin-bottom: 16px; }
.post-content h3 { font-size: 20px; margin-top: 32px; margin-bottom: 12px; }
.post-content ul, .post-content ol { padding-left: 20px; margin-bottom: 22px; }
.post-content li { font-size: 17px; line-height: 1.8; color: var(--ink-mid); margin-bottom: 8px; }
.post-content a { color: var(--teal); }
.post-content blockquote {
  border-left: 3px solid var(--teal);
  padding: 16px 22px;
  background: var(--bg-teal);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 28px 0;
  font-family: var(--ff-head);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
}
.post-content img { border-radius: var(--radius-md); margin: 28px 0; }

/* Sidebar */
.post-sidebar { padding-left: 20px; position: sticky; top: 88px; }
.post-sidebar-box { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 20px; }
.post-sidebar-title { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }

/* Author bio box */
.post-author-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 48px;
}
.post-author-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.post-author-name { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.post-author-role { font-size: 13px; color: var(--ink-light); margin-bottom: 10px; }
.post-author-bio { font-size: 14px; line-height: 1.7; color: var(--ink-mid); }

/* Related posts */
.post-related { padding: var(--section-py) 0; background: var(--bg-soft); border-top: 1px solid var(--border); }
.post-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

@media (max-width: 991px) {
  .post-sidebar { position: static; padding-left: 0; margin-top: 40px; }
  .post-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .post-featured-img { height: 280px; }
  .post-related-grid { grid-template-columns: 1fr; }
  .post-author-box { flex-direction: column; }
}
