/* =========================================================
   post.css — فقط استایل‌های اختصاصی صفحه‌ی تک‌مقاله (Post Show)
   ========================================================= */

.post-hero{padding:150px 0 60px}
.post-hero h1{max-width:820px}

.post-article-wrap{max-width:820px;margin:0 auto}
.post-article{background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:40px;margin-bottom:50px}
.post-cover-image{width:100%;border-radius:16px;margin-bottom:28px;display:block}
.post-body{font-size:17px;line-height:2;color:#334155}
.post-body h2{font-size:26px;font-weight:900;color:var(--navy);margin:34px 0 14px;line-height:1.5}
.post-body h3{font-size:21px;font-weight:800;color:var(--navy);margin:28px 0 12px;line-height:1.5}
.post-body h4{font-size:18px;font-weight:800;color:var(--navy);margin:22px 0 10px}
.post-body p{margin-bottom:18px}
.post-body ul{margin:0 0 18px;padding-inline-start:26px;list-style:disc}
.post-body li{margin-bottom:8px}
.post-body a{color:var(--sky);font-weight:700;text-decoration:underline}
.post-body strong{color:var(--navy)}
.post-body-placeholder{font-size:17px;line-height:2;color:var(--gray);font-style:italic}

.related-posts{margin-bottom:50px}
.related-posts h2{font-size:22px;font-weight:800;margin-bottom:24px}
.related-posts .blog-grid{grid-template-columns:repeat(3,1fr)}

.back-to-blog{display:inline-flex;margin-bottom:60px}

@media(max-width:768px){
  .post-article{padding:26px}
  .related-posts .blog-grid{grid-template-columns:1fr}
}

/* محتوای تولیدشده با ادیتور TinyMCE */
.post-body img{max-width:100%;height:auto;border-radius:12px;margin:18px auto;display:block}
.post-body ol{margin:0 0 18px;padding-inline-start:26px;list-style:decimal}
.post-body blockquote{border-inline-start:4px solid var(--gold);background:var(--light);margin:20px 0;padding:10px 20px;border-radius:8px;color:#475569}
.post-body table{width:100%;border-collapse:collapse;margin:20px 0;font-size:15px}
.post-body th,.post-body td{border:1px solid #e2e8f0;padding:10px 12px;text-align:start}
.post-body th{background:var(--light);font-weight:800}
.post-body pre{background:#0f172a;color:#e2e8f0;padding:16px;border-radius:10px;overflow-x:auto;direction:ltr;margin:18px 0}
.post-body hr{border:none;border-top:1px solid #e2e8f0;margin:28px 0}
