/* Lorraine Grover: blog post typography.
   Shared by the blog editor preview and every exported post. Loads after css/styles.css. */

.post-page { background: var(--bg); color: var(--ink); min-height: 100vh; }

.post { max-width: 760px; margin: 0 auto; padding: 56px 24px 96px; }
.post__cat { font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 18px; }
.post__title { font-size: clamp(36px, 5.4vw, 60px); font-weight: 300; letter-spacing: -.02em; line-height: 1.06; margin: 0 0 22px; color: var(--ink); text-wrap: balance; }
.post__summary { font-size: clamp(18px, 2.1vw, 22px); line-height: 1.55; font-weight: 400; color: var(--ink-muted); margin: 0 0 30px; text-wrap: pretty; }
.post__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; padding: 18px 0; border-top: 1px solid var(--title); border-bottom: 1px solid var(--title); font-size: 15px; color: var(--ink-muted); }
.post__author { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.post__avatar { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; background: var(--plum); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; }
.post__meta-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }
.post__hero { margin: 32px 0 8px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 8; background: var(--tile); }
.post__hero image-slot, .post__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Body prose */
.post__body { font-size: 18px; line-height: 1.75; color: var(--ink); margin-top: 34px; }
.post__body > *:first-child { margin-top: 0; }
.post__body h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 300; letter-spacing: -.015em; line-height: 1.15; color: var(--ink); margin: 48px 0 16px; }
.post__body h2 .accent { color: var(--accent-text); }
.post__inline-img { margin: 36px 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--tile); }
.post__inline-img image-slot, .post__inline-img img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; }
.post__body h3 { font-size: 21px; font-weight: 500; color: var(--ink); margin: 32px 0 12px; }
.post__body p { margin: 0 0 20px; }
.post__body a { color: var(--accent-text); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.post__body a:hover { color: var(--ink); text-decoration-color: var(--orange); }
.post__body ul, .post__body ol { margin: 0 0 22px; padding-left: 24px; }
.post__body li { margin: 0 0 10px; }
.post__body li::marker { color: var(--orange); }
.post__body strong { font-weight: 600; color: var(--ink); }
.post__body blockquote { margin: 32px 0; padding: 0; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.45; font-weight: 300; color: var(--ink); }
.post__body blockquote::before { content: "\201C"; color: var(--orange); margin-right: .06em; }
.post__body blockquote::after { content: "\201D"; color: var(--orange); margin-left: .04em; }
.post__body img { border-radius: var(--radius-md); margin: 28px 0; }

/* In-article CTA */
.post__cta { margin: 48px 0 0; padding: 32px 34px; border-radius: var(--radius-lg); background: var(--plum); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.post__cta-text { font-size: 22px; font-weight: 300; margin: 0; max-width: 32ch; }
.post__cta .btn { flex-shrink: 0; }
.post__cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.post__back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 28px; font-size: 16px; font-weight: 500; color: var(--ink-muted); text-decoration: none; transition: color 200ms ease, gap 200ms ease; }
.post__back:hover { color: var(--accent-text); gap: 12px; }
.post__back .arrow { display: inline-block; transform: scaleX(-1); }
@media (max-width: 640px) {
  .post { padding: 40px 20px 72px; }
  .post__cta { flex-direction: column; align-items: flex-start; }
}
