/* ── POST HERO ───────────────────────────────────────────── */

.post-hero { grid-template-columns: 1fr; min-height: 75vh; }
.post-hero .hero-left { max-width: 800px; }
.post-hero .hero-title { font-size: 60px; word-spacing: normal; margin-bottom: 28px; }
.post-hero .hero-title-line { white-space: normal; }

/* Breadcrumb */
.post-hero .ph-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 24px;
}
.post-hero .ph-breadcrumb a { color: inherit; text-decoration: none; }
.post-hero .ph-breadcrumb a:hover { color: var(--white); }
.post-hero .ph-breadcrumb .material-icons { font-size: 14px; }

/* Post meta: date · author · reading time */
.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.post-meta-sep { opacity: 0.4; }


/* ── POST BODY ───────────────────────────────────────────── */

.post-body { background: var(--off-white); padding: 80px var(--page-px); }
.post-body-inner { max-width: 800px; margin: 0 auto; }


/* ── POST WYSIWYG ────────────────────────────────────────── */

.post-wysiwyg { font-size: 16px; font-weight: 400; color: var(--gray-80); line-height: 1.75; }
.post-wysiwyg p { margin-bottom: 24px; }
.post-wysiwyg p:last-child { margin-bottom: 0; }

.post-wysiwyg h2,
.post-wysiwyg h3 { font-family: 'Geist', sans-serif; color: var(--black); line-height: 1.2; }
.post-wysiwyg h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin: 48px 0 16px; }
.post-wysiwyg h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin: 36px 0 12px; line-height: 1.3; }
.post-wysiwyg h4 {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-40);
  margin: 28px 0 10px;
}

.post-wysiwyg ul,
.post-wysiwyg ol {
  padding-left: 24px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  line-height: 1.65;
}
.post-wysiwyg ul { list-style: none; padding-left: 18px; }
.post-wysiwyg ul li { position: relative; padding-left: 16px; }
.post-wysiwyg ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--yellow);
}
.post-wysiwyg ol { list-style: decimal; }

.post-wysiwyg blockquote {
  border-left: 3px solid var(--yellow);
  padding: 4px 0 4px 24px;
  margin: 40px 0;
  font-size: 18px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.55;
  color: var(--gray-80);
}
.post-wysiwyg blockquote p { margin-bottom: 0; }

.post-wysiwyg a {
  color: var(--black);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.post-wysiwyg a:hover { color: var(--gray-40); }
.post-wysiwyg strong { font-weight: 600; color: var(--black); }
.post-wysiwyg em { font-style: italic; color: var(--gray-60); }

.post-wysiwyg code {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  background: var(--gray-10);
  color: var(--black);
  padding: 2px 6px;
  border-radius: 3px;
}
.post-wysiwyg pre {
  background: var(--gray-90);
  color: var(--white);
  padding: 24px;
  border-radius: 4px;
  overflow-x: auto;
  margin: 32px 0;
}
.post-wysiwyg pre code { background: none; color: inherit; padding: 0; font-size: 13px; }

.post-wysiwyg img { width: 100%; height: auto; border-radius: 4px; margin: 32px 0; border: 1px solid var(--gray-10); }
.post-wysiwyg figure { margin: 32px 0; }
.post-wysiwyg figure img { margin: 0; }
.post-wysiwyg figcaption {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-20);
  text-align: center;
  margin-top: 10px;
}
.post-wysiwyg hr { border: none; border-top: 1px solid var(--gray-10); margin: 40px 0; }

.post-wysiwyg table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 24px; }
.post-wysiwyg th {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--black);
  padding: 0 12px 12px 0;
  border-bottom: 2px solid var(--black);
  text-align: left;
}
.post-wysiwyg td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--gray-10); color: var(--gray-80); vertical-align: top; }


/* ── POST FOOTER ─────────────────────────────────────────── */

.post-footer {
  background: var(--off-white);
  padding: 0 var(--page-px) 80px;
  border-top: 1px solid var(--gray-10);
}
.post-footer-inner {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.post-tag {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gray-10);
  padding: 5px 12px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.post-tag:hover { background: var(--black); color: var(--white); }

.post-share { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.post-share-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-40);
}
.post-share-btn {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  border: 1px solid var(--gray-10);
  padding: 6px 14px;
  border-radius: 100px;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.post-share-btn:hover { border-color: var(--black); background: var(--black); color: var(--white); }


/* ── AUTHOR BIO ──────────────────────────────────────────── */

.post-author-section {
  background: var(--off-white);
  padding: 56px var(--page-px);
  border-top: 1px solid var(--gray-10);
}
.post-author-inner { max-width: 800px; margin: 0 auto; display: flex; gap: 24px; align-items: flex-start; }
.post-author-avatar img { width: 72px; height: 72px; border-radius: 50%; display: block; flex-shrink: 0; }
.post-author-name { font-size: 16px; font-weight: 600; color: var(--black); margin-bottom: 4px; }
.post-author-role {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-40);
  margin-bottom: 12px;
}
.post-author-bio { font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--gray-80); }


/* ── RELATED POSTS ───────────────────────────────────────── */

.post-related .news-title { color: var(--white); text-decoration: none; display: block; }
.post-related .news-title:hover { color: var(--gray-10); }


/* ── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 1023px) {
  .post-body           { padding: 80px 40px; }
  .post-footer         { padding: 0 40px 80px; }
  .post-author-section { padding: 48px 40px; }
  .post-hero .hero-left { max-width: none; }
  .post-wysiwyg h2     { font-size: 24px; }
}

@media (max-width: 599px) {
  .post-hero .hero-title { font-size: 36px; }
  .post-body           { padding: 64px clamp(18px, 5vw, 32px); }
  .post-footer         { padding: 0 clamp(18px, 5vw, 32px) 64px; }
  .post-author-section { padding: 40px clamp(18px, 5vw, 32px); }
  .post-author-inner   { flex-direction: column; gap: 16px; }
  .post-wysiwyg h2     { font-size: 22px; }
  .post-wysiwyg blockquote { font-size: 16px; }
  .post-related .news-grid { grid-template-columns: 1fr; }
}
