/* The blog. Built on site.css: same white page, bold Open Sans, the one green. */
.blog-head { padding-bottom: 8px; }
.blog-list { padding: 20px 0 40px; }
.blog-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-ink); margin: 0 0 10px; }

.post-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.post-card .post-thumb img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.post-card .post-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.post-card .post-title { font-size: 20px; }
.post-card .post-title a { text-decoration: none; }
.post-card .post-title a:hover { color: var(--green-ink); }
.post-card .post-desc { color: var(--muted); margin: 0; }
.post-card.featured { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; margin-bottom: 28px; }
.post-card.featured .post-thumb { display: flex; align-items: center; background: #20242d; }
.post-card.featured .post-body { justify-content: center; }
.post-card.featured .post-body { padding: 28px; gap: 12px; }
.post-card.featured .post-title { font-size: clamp(24px, 3vw, 32px); }
.post-card.featured .btn { align-self: flex-start; margin-top: 6px; }
@media (max-width: 760px) { .post-card.featured { grid-template-columns: 1fr; } }

.post-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--muted); margin: 0; }
.post-topic { font-weight: 700; color: var(--green-ink); }

.topic-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 18px; }
.chip { font: inherit; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.post-grid .post-card[hidden] { display: none; }

/* A post */
.wrap.narrow { max-width: 760px; }
.post-head { padding: 34px 0 10px; }
.post-head h1 { font-size: clamp(30px, 4.4vw, 44px); margin: 8px 0 12px; }
.crumbs { font-size: 13px; color: var(--muted); margin: 0; }
.crumbs a { color: var(--green-ink); text-decoration: none; }
.post-hero { width: 100%; border-radius: 12px; margin-top: 18px; aspect-ratio: 1200 / 630; object-fit: cover; }
.post-content { padding: 18px 24px 40px; font-size: 17px; line-height: 1.75; }
.post-content .lede { font-size: 19px; color: var(--ink); max-width: none; }
.post-content h2 { font-size: 26px; margin: 34px 0 12px; }
.post-content strong { color: var(--ink); }
.takeaways { background: var(--mint); border-radius: 12px; padding: 18px 22px; margin: 22px 0 10px; }
.takeaways h2 { font-size: 16px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px; color: var(--green-ink); }
.takeaways ul { margin: 0; padding-left: 20px; }
.takeaways li { margin: 4px 0; }
.post-faq { margin: 34px 0; padding: 0; }
.post-faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.post-faq summary { font-weight: 700; color: var(--ink); cursor: pointer; }
.post-faq details p { margin: 10px 0 0; }
.post-cta { background: var(--ink); color: #fff; border-radius: 12px; padding: 24px; margin: 34px 0 16px; text-align: center; }
.post-cta strong { color: #fff; font-size: 19px; }
.disclaimer { font-size: 13px; color: var(--muted); }
.related { padding: 10px 0 30px; }
.related h2 { font-size: 24px; margin-bottom: 16px; }

.author-box { background: var(--card); border-top: 1px solid var(--line); padding: 32px 0; }
.author-box .wrap { display: flex; gap: 22px; align-items: center; }
.author-box img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; }
.author-name { font-weight: 800; color: var(--ink); margin: 0 0 6px; }
.author-name span { display: block; font-weight: 600; font-size: 14px; color: var(--muted); }
@media (max-width: 600px) { .author-box .wrap { flex-direction: column; text-align: center; } }

/* Headlines in Didact Gothic, the closest open font to Instagram's "Deco" text
   style he uses on his videos (single-storey a, serifed I, hooked t). Sentence
   case as he types it; body text stays Open Sans. Kerning is off: the font's
   kerning tables widen the space after some letters ("You  Retire"). */
.blog-head h1, .post-head h1, .post-card .post-title, .post-content h2, .related h2, .post-cta strong {
  font-family: 'Didact Gothic', 'Open Sans', sans-serif; font-weight: 400; font-kerning: none; letter-spacing: -0.005em; line-height: 1.18;
}
.blog-head h1 .hl { font-weight: 400; }
.takeaways h2 { font-family: inherit; font-weight: 700; }
