/* Blog post template ("/blog/*") — shared by every article.
   Measurements from the Framer desktop layout at 1440px. */

.learn-blog { background: var(--white); }

/* ---------- Article header (first block: starts at y=0 under the fixed header) ---------- */
.post-head { padding: 184px 50px 100px; text-align: center; }
.post-back { display: flex; align-items: center; gap: 10px; width: fit-content; font-family: var(--font-inter); font-weight: 500; font-size: 24px; line-height: 36px; letter-spacing: -0.48px; color: #333; transition: color .2s ease; }
.post-back svg { width: 24px; height: 24px; flex: none; color: #000; transition: transform .2s ease; }
.post-back:hover { color: #000; }
.post-back:hover svg { transform: translateX(-3px); }
.post-head h1 { max-width: 1000px; margin: 75px auto 0; font-family: var(--font-inter); font-weight: 600; font-size: 32px; line-height: 50px; letter-spacing: -0.6px; color: #000; }
.post-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 1000px; margin: 30px auto 0; font-family: var(--font-inter); font-weight: 500; font-size: 24px; line-height: 50px; letter-spacing: -0.72px; color: #999; }
.post-cover { max-width: 1000px; margin: 75px auto 0; }
.post-cover img { width: 100%; border-radius: 24px; }
/* placeholder boxes keep the original cover proportions (the real photos carry their own) */
.post-cover img[height="545"] { aspect-ratio: 1000 / 545; }
.post-cover img[height="651"] { aspect-ratio: 1000 / 651; }

/* ---------- Article body ---------- */
.post-body { max-width: 1100px; margin: 50px auto 0; padding: 0 50px 100px; font-family: var(--font-inter); color: #2e2e2e; }
.post-body > * + *, .post-faq > * + * { margin-top: 40px; }
.post-body h2 { font-weight: 600; font-size: 28px; line-height: 30px; letter-spacing: -0.6px; color: #000; }
.post-body p { font-weight: 400; font-size: 18px; line-height: 35px; letter-spacing: -0.6px; }
.post-body strong { font-weight: 700; }
.post-body .post-lede { font-weight: 700; font-size: 22px; line-height: 30.8px; letter-spacing: 0; color: #333; }
/* Sub-headings styled like a bold body line (as on the original article) */
.post-body .post-subhead { font-weight: 700; font-size: 18px; line-height: 35px; letter-spacing: -0.6px; color: #2e2e2e; }

/* ---------- Tablet + phone (Framer reference at 900px) ---------- */
@media (max-width: 1199px) {
  .post-head { padding: 184px 25px 50px; }
  .post-back { margin-left: 25px; }
  .post-head h1 { font-size: 28px; line-height: 40px; }
  .post-meta { font-size: 14px; line-height: 30px; letter-spacing: -0.6px; }
  .post-body { max-width: 1050px; margin-top: 0; padding: 0 25px 100px; }
  .post-body h2 { font-weight: 700; }
}

/* ---------- Phone (Framer reference at 390px) ---------- */
@media (max-width: 809px) {
  .post-head { padding: 184px 20px 70px; }
  .post-back { margin-left: 24px; font-size: 16px; line-height: 24px; letter-spacing: -0.32px; }
  .post-head h1 { margin-top: 49px; font-size: 20px; line-height: 30px; }
  .post-meta { font-size: 12px; line-height: 25px; letter-spacing: -0.36px; }
  .post-cover { margin-top: 49px; }
  .post-cover img { border-radius: 16px; }
  .post-body { padding: 0 20px 100px; }
}
