/* ═══════ หน้าโพสเต็ม ═══════ */
.post-page .site-header { position: sticky; }
.post-wrap { max-width: 860px; margin: 0 auto; padding: 28px 20px 10px; }
.post { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.post-crumbs { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 18px 26px 0; font-size: 12.5px; color: var(--muted); }
.post-crumbs a { color: var(--muted); }
.post-crumbs a:hover { color: var(--green); }
.post-title { font-family: var(--font-head); font-size: clamp(24px, 3.4vw, 34px); line-height: 1.35; font-weight: 800; padding: 12px 26px 6px; }
.post-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 6px 26px 18px; font-size: 12.5px; color: var(--muted); }
.post-time { color: var(--muted); }
.post-cover { margin: 0 0 6px; }
.post-cover img { width: 100%; max-height: 460px; object-fit: cover; display: block; }
.post-standfirst { padding: 18px 26px 0; font-size: 16.5px; line-height: 1.8; color: var(--txt); font-weight: 500; }
.post-standfirst::before { content: ''; display: block; width: 46px; height: 4px; border-radius: 3px; background: var(--grad); margin-bottom: 12px; }
.post-body { padding: 16px 26px 8px; }
.post-body p { font-size: 16px; line-height: 1.95; color: #dbe4f5; margin-bottom: 18px; }
.post-points { margin: 8px 26px 20px; background: linear-gradient(160deg, rgba(14,43,30,.6), rgba(13,31,51,.45)); border: 1px solid rgba(46,226,122,.26); border-radius: 14px; padding: 16px 18px; }
.post-points h2 { font-family: var(--font-head); font-size: 15px; margin-bottom: 10px; color: var(--green); }
.post-points ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.post-points li { font-size: 14px; line-height: 1.7; padding-left: 22px; position: relative; color: var(--txt); }
.post-points li::before { content: '✔'; position: absolute; left: 0; color: var(--green); font-size: 12px; top: 3px; }
.post-footer { border-top: 1px solid var(--line); padding: 18px 26px 24px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: center; }
.post-credit p { font-size: 12.5px; color: var(--muted); max-width: 430px; margin-bottom: 10px; }
.post-share { display: flex; gap: 8px; }
.related { margin-top: 26px; }
.related h2 { font-family: var(--font-head); font-size: 18px; margin-bottom: 14px; padding-left: 12px; border-left: 4px solid var(--green); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rel-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: .2s; }
.rel-card:hover { transform: translateY(-2px); border-color: rgba(46,226,122,.4); }
.rel-thumb { aspect-ratio: 16/9; background: var(--bg-2); }
.rel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rel-card h3 { font-family: var(--font-head); font-size: 13.5px; line-height: 1.5; padding: 10px 12px 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rel-src { font-size: 11.5px; color: var(--muted); padding: 0 12px 12px; }
@media (max-width: 760px) {
  .post-wrap { padding: 14px 12px 8px; }
  .post-title, .post-meta, .post-crumbs { padding-left: 16px; padding-right: 16px; }
  .post-body { padding: 12px 16px 4px; }
  .post-body p { font-size: 15px; }
  .post-standfirst { padding-left: 16px; padding-right: 16px; font-size: 15.5px; }
  .post-points { margin-left: 16px; margin-right: 16px; }
  .post-footer { padding: 16px; }
  .related-grid { grid-template-columns: 1fr; }
}

/* ═══════ Related placeholder ═══════ */
.rel-thumb.rel-empty {
  background:
    radial-gradient(140px 80px at 70% 30%, rgba(46, 226, 122, 0.22), transparent 70%),
    linear-gradient(135deg, #0e2b1e, #0d1f33);
}
.rel-thumb.rel-empty::after {
  content: ''; display: block; width: 100%; height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='26' fill='none' stroke='%232ee27a' stroke-opacity='0.35' stroke-width='2'/%3E%3Cpath d='M32 22l7 5-2.5 8h-9L25 27z' fill='%232ee27a' fill-opacity='0.55'/%3E%3C/svg%3E") center/46px no-repeat;
}
