/* BLOG POST — styles specific to individual blog post pages */

/* POST HERO */
.post-hero {
  width: 100%;
  height: clamp(220px, 38vw, 440px);
  background: linear-gradient(135deg, #111416 0%, #1a1c20 60%, #0d0f11 100%);
  overflow: hidden;
}
.post-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* POST WRAPPER */
.post-wrap { max-width: 760px; margin: 0 auto; padding: 3.5rem 2rem 6rem; }
.post-meta { font-size: 0.78rem; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 1rem; }
.post-title { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; color: var(--text); line-height: 1.2; margin-bottom: 2.5rem; }
.post-divider { border: none; border-top: 1px solid rgba(242,137,27,0.2); margin: 0 0 2.5rem; }

/* ARTICLE BODY */
.post-body > * + * { margin-top: 1.25rem; }
.post-body h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--text); padding-top: 1.25rem; border-top: 1px solid var(--border); margin-top: 2.5rem !important; line-height: 1.3; }
.post-body h3 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; color: var(--orange); margin-top: 2rem !important; line-height: 1.3; }
.post-body h4 { font-size: 0.8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.09em; margin-top: 1.5rem !important; }
.post-body p { color: var(--text-secondary); font-size: 1rem; line-height: 1.82; }
.post-body strong { color: var(--text); font-weight: 600; }
.post-body a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: var(--orange-light); }
.post-body ul, .post-body ol { padding-left: 1.4rem; color: var(--text-secondary); }
.post-body li { margin-bottom: 0.4rem; line-height: 1.75; }

/* CALLOUT */
.callout { background: var(--bg-card); border-left: 3px solid var(--orange); padding: 1.25rem 1.5rem; margin: 1.75rem 0; }
.callout p { color: var(--text-secondary); margin-top: 0 !important; }
.callout p:first-child { font-weight: 600; color: var(--text); font-style: italic; }

/* CODE / FORMULA */
.formula { background: var(--bg-card); border: 1px solid var(--border); padding: 1rem 1.5rem; margin: 1.5rem 0; font-family: 'Courier New', monospace; font-size: 0.9rem; color: var(--orange); }

/* CTA BOX */
.cta-box { background: var(--bg-card); border: 1px solid var(--border-orange); padding: 2rem; margin: 3rem 0; }
.cta-box h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; border: none !important; padding: 0 !important; margin-top: 0 !important; }
.cta-box .price { font-size: 1.5rem; font-weight: 700; color: var(--orange); font-family: var(--font-display); margin: 0.75rem 0; }
.cta-box ul { padding-left: 1.25rem; margin: 0.75rem 0 1.5rem; }
.cta-box li { font-size: 0.9rem; }
.btn { display: inline-block; background: var(--orange); color: #0A0C0E; font-weight: 700; font-size: 0.875rem; padding: 0.75rem 1.75rem; letter-spacing: 0.04em; text-decoration: none; transition: background 0.15s; margin-top: 0.25rem; }
.btn:hover { background: var(--orange-light); color: #0A0C0E; }
.btn-outline { background: transparent !important; border: 1px solid var(--border-orange); color: var(--orange) !important; margin-left: 0.75rem; }
.btn-outline:hover { background: rgba(242,137,27,0.08) !important; color: var(--orange-light) !important; }

/* AUTHOR BIO */
.post-author { border-top: 1px solid var(--border); padding-top: 2.5rem; margin-top: 3.5rem; display: flex; gap: 1.25rem; align-items: flex-start; }
.author-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border-orange); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--orange); }
.author-info h4 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 0.35rem; }
.author-info p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; margin: 0; }

/* MOBILE */
@media (max-width: 600px) {
  .post-wrap { padding: 2.5rem 1.25rem 4rem; }
  .post-title { font-size: 1.75rem; }
  .btn-outline { margin-left: 0; margin-top: 0.5rem; display: block; text-align: center; }
}
