/* Blog post (article) styles — layered on styles.css */

.post-hero {
  padding: clamp(80px, 11vw, 130px) 0 clamp(40px, 5vw, 56px);
  background:
    radial-gradient(circle at 20% 30%, rgba(252, 208, 216, 0.55), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(251, 227, 163, 0.4), transparent 50%),
    var(--ivory);
  border-bottom: 1px solid rgba(61, 31, 45, 0.06);
}
.post-hero-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.post-hero-breadcrumbs {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.post-hero-breadcrumbs a { color: var(--coral); }
.post-hero-breadcrumbs a:hover { color: var(--coral-deep); }
.post-hero-breadcrumbs .crumb-sep { color: var(--coral-soft); }

.post-hero-category {
  display: inline-block;
  padding: 6px 16px;
  background: var(--coral);
  color: var(--ivory);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.post-hero-title {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.post-hero-title em { font-style: italic; color: var(--coral); }

.post-hero-deck {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto 24px;
}

.post-hero-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-soft);
}
.post-meta-author {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500;
}
.post-author-dot {
  display: inline-block;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral) 0%, var(--gold) 100%);
  border: 2px solid var(--ivory);
  box-shadow: 0 2px 6px rgba(209, 77, 119, 0.3);
}
.post-meta-divider { color: var(--coral-soft); }

/* Hero image (between meta block and article body) */
.post-hero-image {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.post-hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgba(61, 31, 45, 0.18);
  display: block;
}

/* Article body */
.post-body {
  padding: clamp(40px, 6vw, 80px) 0;
  background: var(--ivory);
}

.post-body-grid {
  display: grid;
  grid-template-columns: 1fr 680px 1fr;
  gap: 40px;
}

.post-toc {
  position: sticky;
  top: 110px;
  align-self: start;
  padding: 24px 22px;
  background: var(--ivory-soft);
  border-radius: var(--radius);
  border: 1px solid rgba(61, 31, 45, 0.06);
  font-family: var(--font-body);
  font-size: 13px;
}
.post-toc h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}
.post-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-reset: toc;
}
.post-toc li {
  counter-increment: toc;
}
.post-toc a {
  color: var(--ink-soft);
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  line-height: 1.35;
  transition: color 0.2s;
}
.post-toc a:hover { color: var(--coral); }
.post-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-display);
  font-style: italic;
  color: var(--coral);
  font-weight: 500;
  font-size: 14px;
  min-width: 22px;
}

.post-content {
  max-width: 680px;
}

.post-content > * { margin-bottom: 24px; }

.post-content h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.15;
  margin-top: 56px;
  margin-bottom: 14px;
  scroll-margin-top: 100px;
}
.post-content h2:first-child { margin-top: 0; }
.post-content h2 em { font-style: italic; color: var(--coral); }

.post-content h3 {
  font-size: 24px;
  margin-top: 36px;
  margin-bottom: 12px;
}

.post-content p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
  font-family: 'DM Sans', system-ui, sans-serif;
}
.post-content p.post-lede {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.45;
  font-style: italic;
  color: var(--ink);
}

.post-content a {
  color: var(--coral);
  border-bottom: 1px solid var(--coral-soft);
  font-weight: 500;
}
.post-content a:hover { color: var(--coral-deep); border-color: var(--coral); }

.post-content strong { font-weight: 600; color: var(--ink); }
.post-content em { color: var(--coral); font-style: italic; }

.post-content ul,
.post-content ol {
  padding-left: 26px;
  margin-bottom: 24px;
}
.post-content ul li,
.post-content ol li {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 10px;
}
.post-content ul { list-style-type: none; padding-left: 0; }
.post-content ul li {
  position: relative;
  padding-left: 28px;
}
.post-content ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--coral);
  font-size: 14px;
}

/* Scripture pull-quote inside posts */
.scripture-pullquote {
  padding: 32px 36px;
  background: linear-gradient(135deg, var(--blush-soft) 0%, var(--ivory-soft) 100%);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 36px 0;
  position: relative;
}
.scripture-pullquote::before {
  content: '✦';
  position: absolute;
  top: -12px; left: 26px;
  background: var(--ivory);
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 16px;
}
.scripture-pullquote p {
  font-family: var(--font-display) !important;
  font-style: italic;
  font-size: 22px !important;
  line-height: 1.45 !important;
  color: var(--ink) !important;
  margin-bottom: 12px !important;
}
.scripture-pullquote cite {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  font-style: normal;
}

/* Inline CTA callout */
.post-callout {
  margin: 40px 0;
  padding: 32px 36px;
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-deep) 100%);
  color: var(--ivory);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px -8px rgba(209, 77, 119, 0.4);
  text-align: center;
}
.post-callout p {
  font-family: var(--font-display) !important;
  font-size: 22px !important;
  font-style: italic;
  color: var(--ivory) !important;
  line-height: 1.4 !important;
  margin-bottom: 16px !important;
}
.post-callout p em { color: var(--gold); }
.post-callout .btn {
  background: var(--gold);
  color: var(--ink);
}
.post-callout .btn:hover { background: var(--ivory); }

/* Journal prompts list — special styled */
.post-prompts {
  margin: 40px 0;
  padding: 32px 36px;
  background: var(--ivory-soft);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(209, 77, 119, 0.15);
}
.post-prompts h3 {
  font-size: 22px !important;
  margin-top: 0 !important;
  margin-bottom: 16px !important;
  color: var(--coral);
}
.post-prompts ol {
  padding-left: 0;
  list-style: none;
  counter-reset: prompts;
  margin-bottom: 0;
}
.post-prompts ol li {
  counter-increment: prompts;
  padding-left: 44px;
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px !important;
  line-height: 1.5 !important;
  color: var(--ink);
  margin-bottom: 16px;
}
.post-prompts ol li::before {
  content: counter(prompts);
  position: absolute;
  left: 0; top: 0;
  width: 30px; height: 30px;
  background: var(--coral);
  color: var(--ivory);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  font-style: italic;
}

/* Author bio card */
.post-author-card {
  margin: 64px 0 0;
  padding: 32px 36px;
  background: var(--blush-soft);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.author-card-mark {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral) 0%, var(--gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
}
.author-card-content p { margin-bottom: 8px; font-size: 15px !important; }
.author-card-content h4 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 4px;
}
.author-card-content a { font-weight: 600; }

/* Related posts */
.related-posts {
  padding: var(--space-2xl) 0;
  background: var(--ivory-soft);
  border-top: 1px solid rgba(61, 31, 45, 0.06);
}
.related-posts h2 {
  text-align: center;
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: var(--space-lg);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Inline editorial figure (used between body sections) */
.post-figure {
  margin: 44px 0;
}
.post-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px -18px rgba(61, 31, 45, 0.18), 0 4px 10px -4px rgba(61, 31, 45, 0.06);
  display: block;
}
.post-figure figcaption {
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  color: var(--taupe);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 1280px) {
  .post-body-grid { grid-template-columns: 220px 1fr; gap: 32px; padding: 0 24px; }
  .post-toc { font-size: 12px; padding: 20px 18px; }
}
@media (max-width: 900px) {
  .post-body-grid { grid-template-columns: 1fr; }
  .post-toc { position: static; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .post-content p { font-size: 17px; }
  .post-content ul li, .post-content ol li { font-size: 17px; }
}
