/* heyfi.io/blog. Loaded only on the blog pages, after styles.css. */
.post-kicker { margin: 0 0 0.5rem; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; color: var(--signal); }
.post .page-title { margin-bottom: 1rem; }
.post .post-meta { margin-bottom: 0; }

/* The video. Wider than the text column, poster first, player on tap. */
.post-video { max-width: 60rem; margin: 2.5rem auto 2rem; padding: 0; }
.yt { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.yt img { display: block; width: 100%; height: 100%; object-fit: cover; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; }
.yt-play svg { display: block; width: 68px; height: 68px; }
.yt-play circle { fill: var(--ink); fill-opacity: 0.82; stroke: var(--paper); stroke-width: 1.5; }
.yt-play path { fill: var(--paper); }
.yt:hover .yt-play circle, .yt:focus-visible .yt-play circle { fill: var(--signal); fill-opacity: 1; }
.yt::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--signal); }
.post-video .caption { margin: 0.75rem var(--pad) 0; text-align: center; }

.post-listen { margin: 0 0 2.5rem; padding: 1rem 0; border-top: 1px solid var(--slate); border-bottom: 1px solid var(--slate); }
.post-listen .caption { margin: 0 0 0.5rem; }
.post-listen audio { width: 100%; margin: 0 0 0.5rem; }

.post-takeaways { margin: 0 0 2.75rem; padding: 1.5rem 1.5rem 0.75rem; background: #fff; border-top: 3px solid var(--signal); }
.post-takeaways .caption { margin: 0 0 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; color: var(--ink); }
.post-takeaways ul { padding-left: 1.1em; }

/* Pull quotes in the body read as cards. */
.post-body blockquote { margin: 2.25rem 0; padding: 1.75rem 1.75rem 1.4rem; border: 0; border-left: 3px solid var(--signal); background: var(--ink); color: var(--paper); font-size: 1.45rem; line-height: 1.35; }
.post-body blockquote .cite { color: var(--slate); }
.post-body blockquote p:last-child { margin-bottom: 0; }

.post-quote-card { margin: 3rem auto; max-width: 26rem; }
.post-quote-card img { display: block; width: 100%; height: auto; }

.post-chapters { margin: 3rem 0 0; }
.post-chapters ol { list-style: none; padding: 0; }
.post-chapters li { margin: 0; border-top: 1px solid rgba(142, 155, 179, 0.45); }
.post-chapters li:last-child { border-bottom: 1px solid rgba(142, 155, 179, 0.45); }
.post-chapters a { display: block; padding: 0.7rem 0; text-decoration: none; }
.post-chapter-t { display: inline-block; min-width: 3.5rem; font-variant-numeric: tabular-nums; color: var(--signal); font-size: 0.9rem; }

.post-faq { margin: 3rem 0 0; }
.post-faq details { border-top: 1px solid rgba(142, 155, 179, 0.45); padding: 0.9rem 0; }
.post-faq details:last-child { border-bottom: 1px solid rgba(142, 155, 179, 0.45); }
.post-faq summary { cursor: pointer; font-weight: 600; }
.post-faq details p { margin: 0.75rem 0 0.25rem; }

.post-guest { margin: 3.5rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--ink); }
.post-guest p { margin: 0 0 0.35rem; }
.post-guest-name { font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; }
.post-guest-title { margin-bottom: 0.75rem; }

.post-author { display: grid; grid-template-columns: 96px 1fr; gap: 1.25rem; align-items: start; margin: 2.5rem 0 0; padding: 1.5rem; background: #fff; }
.post-author img { display: block; width: 96px; height: auto; }
.post-author p { margin: 0 0 0.5rem; font-size: 0.95rem; line-height: 1.55; }
.post-author-name { font-family: var(--serif); font-size: 1.15rem; }

.post-related { margin: 3rem 0 0; }
.post-related > .caption { margin: 0 0 0.75rem; }
.post-related ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.post-related li { margin: 0; }
.post-related a { display: block; text-decoration: none; }
.post-related img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 0.5rem; }
.post-related .caption { display: block; margin: 0 0 0.2rem; font-size: 0.75rem; }
.post-related-title { display: block; font-family: var(--serif); font-size: 1.05rem; line-height: 1.3; }

.post-disclaimer { margin: 3rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--slate); font-size: 0.85rem; line-height: 1.55; color: var(--muted); }
.post-close { margin-top: 2rem; }

/* The index: cards with the video poster. */
.page-inner .post-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 2.5rem; }
.post-cards a.post-card-img { display: block; margin-bottom: 0.9rem; }
.post-cards img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.post-cards .caption { margin: 0 0 0.35rem; }

@media (max-width: 600px) {
  .post-video { margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); }
  .post-body blockquote { padding: 1.25rem 1.25rem 1rem; font-size: 1.25rem; }
  .post-author { grid-template-columns: 72px 1fr; padding: 1.1rem; }
  .post-author img { width: 72px; }
  .post-related ul { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
  .post-cards { grid-template-columns: 1fr 1fr; }
}
.page-wide { max-width: 60rem; }
.page-inner .post-cards li { margin: 0; }
.page-inner .post-cards .post-title { margin: 0 0 0.5rem; font-size: 1.5rem; }

/* v3: the blog's top padding matches the podcast page, not the long-form pages. */
.page.blog-page { padding-top: clamp(36px, 3vw, 44px); }
.blog-page .crumb { margin-bottom: 1rem; }

/* The four F's and topic tags. */
.blog-nav { margin: 0 0 2rem; }
.blog-nav .caption { margin: 1rem 0 0.5rem; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; }
.page-inner .blog-pills, .blog-pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.blog-pills li { margin: 0; }
.blog-pills a { display: inline-block; padding: 0.35rem 0.85rem; border: 1px solid var(--slate); border-radius: 999px; font-size: 0.875rem; text-decoration: none; color: var(--ink); }
.blog-pills a:hover, .blog-pills a:focus-visible, .blog-pills a[aria-current="page"] { border-color: var(--signal); color: var(--signal); }
.post-filed { margin: 2.5rem 0 0; }
.post-filed .caption { margin: 0 0 0.5rem; }

/* Search on the Insights index (Pagefind UI, styled to the site). */
.blog-search { margin: 0 0 1.5rem; --pagefind-ui-font: var(--sans, Inter, sans-serif); --pagefind-ui-primary: #3B7DD8; --pagefind-ui-text: #0B0F1A; --pagefind-ui-background: #F2F4F8; --pagefind-ui-border: #8E9BB3; --pagefind-ui-tag: #F2F4F8; --pagefind-ui-border-width: 1px; --pagefind-ui-border-radius: 0; --pagefind-ui-scale: 0.85; }
