/* ============================================================
   The public blog (templates/blog/*.html and the blog partials).
   The post body's blocks are styled by content_blocks.css; this file
   adds the listing, the post frame, the FAQ and callout blocks, the
   CTA, the creator box, the share links and related posts.
   ============================================================ */
.blog { max-width: 1080px; margin: 0 auto; padding: 32px 16px 64px; color: #2C2416; }
.blog-post { max-width: 760px; }

.blog-breadcrumb { font-size: .82rem; color: #8C7B6B; margin-bottom: 10px; }
.blog-breadcrumb a { color: #8C7B6B; text-decoration: none; }
.blog-breadcrumb a:hover { color: #2C2416; text-decoration: underline; }

.blog-title { font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1.2; margin: 0 0 8px; }
.blog-intro { font-size: 1.05rem; color: #6a5a48; margin: 0 0 22px; max-width: 640px; }

.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.blog-cat {
  padding: 6px 14px; border-radius: 999px; border: 1.5px solid #e0d8cc;
  color: #5a4a38; text-decoration: none; font-size: .88rem; background: #fff;
}
.blog-cat:hover, .blog-cat.is-current { border-color: #3D7A78; color: #2a5a58; background: #eef7f6; }

.blog-grid {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.blog-card { background: #fff; border: 1.5px solid #ece4d8; border-radius: 14px; overflow: hidden; }
.blog-card__link { display: block; color: inherit; text-decoration: none; height: 100%; }
.blog-card__link:hover .blog-card__title { color: #3D7A78; }
.blog-card__img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; background: #f4efe7; }
.blog-card__text { padding: 14px 16px 18px; }
.blog-card__title { font-size: 1.12rem; line-height: 1.35; margin: 8px 0 6px; }
.blog-card__excerpt { font-size: .93rem; color: #6a5a48; margin: 0 0 10px; line-height: 1.55; }
.blog-card__date { font-size: .8rem; color: #9a8a78; }
.blog-tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: #2a5a58; background: #e3f1ef; border-radius: 999px; padding: 2px 9px;
}
.blog-empty { color: #8a7a68; }
.blog-pages { display: flex; gap: 18px; justify-content: center; align-items: center; margin: 30px 0 0; font-size: .92rem; }
.blog-pages a { color: #3D7A78; font-weight: 600; }

.blog-draft-note { background: #fdf6ec; border: 1.5px solid #e8c98f; color: #7a5a24; padding: 10px 14px; border-radius: 8px; }
.blog-post__title { font-size: clamp(1.9rem, 4.5vw, 2.6rem); line-height: 1.2; margin: 0 0 10px; }
.blog-post__meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: .9rem; color: #8a7a68; margin: 0 0 18px; }
.blog-post__hero { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 14px; margin: 0 0 28px; }
.blog-post__body { margin-bottom: 12px; }

/* FAQ and callout blocks (templates/_content_blocks.html) */
.faq { margin: 28px 0 36px; border-top: 2px solid #e8e0d4; }
.faq-question { font-size: 1.1rem; font-weight: 700; color: #2a2018; margin: 20px 0 6px; }
.faq-answer { font-size: 1.02rem; line-height: 1.75; color: #3a3028; }
.faq-answer p { margin: 0 0 .8em; }
.faq-answer a, .callout-body a { color: #3D7A78; }
.callout { margin: 24px 0 32px; padding: 14px 18px; border-radius: 0 10px 10px 0; border-left: 4px solid #3D7A78; background: #eef7f6; }
.callout-tip { border-left-color: #6a8f3a; background: #f2f7ea; }
.callout-warn { border-left-color: #B5634A; background: #fdf0ec; }
.callout-title { display: block; margin-bottom: 4px; }
.callout-body { line-height: 1.7; color: #3a3028; }
.callout-body p { margin: 0 0 .6em; }
.callout-body p:last-child { margin-bottom: 0; }

/* "Try CYOM Free" (partials/blog_cta.html) */
.blog-cta {
  margin: 32px 0; padding: 26px 22px; border-radius: 16px; text-align: center;
  background: linear-gradient(135deg, #2D7A70, #3D7A78); color: #fff;
}
.blog-cta__title { font-size: 1.35rem; font-weight: 700; margin: 0 0 6px; }
.blog-cta__sub { margin: 0 0 16px; opacity: .92; }
.blog-cta__btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px; background: #fff;
  color: #2a5a58; font-weight: 700; text-decoration: none;
}
.blog-cta__btn:hover { background: #f4efe7; }

/* The Instant Meditation Creator panel (partials/blog_creator.html, where
   the post's Meditation Creator block is; the editor's preview tile uses it
   too). A warm terracotta panel that floats a little above the article,
   so the creator stands out from the cream page and sits well beside the
   teal "Try CYOM Free" box. Only the panel: the creator's own cream card,
   tabs, buttons and its heading inside keep their colours and type. The
   site has no dark theme. */
.blog-creator-panel {
  background: #C27660;
  border: 1px solid #AF6A56;
  border-radius: 16px;
  padding: 28px 32px;
  margin: 40px 0;
  box-shadow: 0 6px 20px rgba(80, 40, 20, 0.15);
}
.blog-creator-panel > h2,
.blog-creator-panel > h3 {
  color: #2F4A3F;
  margin-top: 0;
}
@media (max-width: 480px) {
  .blog-creator-panel { padding: 16px 12px; }
}

/* Share links (partials/blog_share.html) */
.blog-share { margin: 36px 0; }
.blog-share__title { font-size: 1.05rem; margin: 0 0 10px; }
.blog-share__links { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-share__btn {
  padding: 8px 14px; border-radius: 8px; border: 1.5px solid #e0d8cc; background: #fff;
  color: #2C2416; text-decoration: none; font-size: .88rem; font-weight: 600;
}
.blog-share__btn:hover { border-color: #3D7A78; color: #2a5a58; }
.blog-share__url { font-size: .8rem; color: #9a8a78; margin: 8px 0 0; word-break: break-all; }

.blog-related { margin: 40px 0 0; }
.blog-related__title { font-size: 1.3rem; margin: 0 0 14px; }
