/* BioCure Health - Blog Post Styles */

/* ── Post Hero ──────────────────────────────────────────────────────────────── */
.post-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-3xl);
  padding-top: calc(var(--space-4xl) + 60px); /* account for fixed nav */
  overflow: hidden;
}

.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 29, 26, 0.35) 0%,
    rgba(26, 29, 26, 0.72) 100%
  );
  z-index: 1;
}

.post-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.post-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--cream);
  margin: var(--space-md) 0 var(--space-lg);
}

.post-hero-content .breadcrumb {
  margin-bottom: var(--space-md);
}

.post-hero-content .breadcrumb a,
.post-hero-content .breadcrumb span {
  color: rgba(250, 248, 245, 0.7);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(250, 248, 245, 0.75);
  font-size: 14px;
  margin-top: var(--space-md);
}

.post-meta-sep {
  opacity: 0.5;
}

/* ── Article Body ───────────────────────────────────────────────────────────── */
.post-article {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-xl);
}

.post-content {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-primary);
}

/* Headings inside article */
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.3;
  margin: var(--space-2xl) 0 var(--space-md);
  color: var(--charcoal);
}

.post-content h1 { font-size: 42px; }
.post-content h2 { font-size: 34px; }
.post-content h3 { font-size: 26px; }
.post-content h4 { font-size: 20px; }

/* First heading after opening paragraph — less top margin */
.post-content > p:first-child + h2,
.post-content > p:first-child + h3 {
  margin-top: var(--space-xl);
}

/* Paragraphs */
.post-content p {
  margin-bottom: var(--space-lg);
}

/* Lead / first paragraph */
.post-content > p:first-of-type {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* Emphasis & strong */
.post-content em {
  font-style: italic;
  color: var(--sage-dark);
}

.post-content strong {
  font-weight: 600;
  color: var(--charcoal);
}

/* Lists */
.post-content ul,
.post-content ol {
  margin: var(--space-md) 0 var(--space-lg) var(--space-xl);
  padding: 0;
}

.post-content li {
  margin-bottom: var(--space-sm);
  line-height: 1.75;
}

.post-content ul li::marker {
  color: var(--sage);
}

.post-content ol li::marker {
  color: var(--gold);
  font-weight: 600;
}

/* Blockquotes */
.post-content blockquote {
  border-left: 4px solid var(--gold);
  margin: var(--space-xl) 0;
  padding: var(--space-lg) var(--space-xl);
  background: var(--cream-dark);
  border-radius: 0 8px 8px 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  line-height: 1.6;
  color: var(--charcoal);
}

/* Horizontal rules */
.post-content hr {
  border: none;
  border-top: 1px solid rgba(143, 169, 138, 0.3);
  margin: var(--space-2xl) 0;
}

/* Inline code */
.post-content code {
  font-family: 'Courier New', monospace;
  background: var(--cream-dark);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

/* Images inside article */
.post-content img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: var(--space-xl) 0;
  box-shadow: 0 4px 24px rgba(26, 29, 26, 0.1);
}

/* Links */
.post-content a {
  color: var(--sage-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.post-content a:hover {
  color: var(--gold-dark);
}

/* ── Inline CTA ─────────────────────────────────────────────────────────────── */
.post-cta-inline {
  margin: var(--space-3xl) 0 var(--space-xl);
  padding: var(--space-xl) var(--space-2xl);
  background: linear-gradient(135deg, var(--sage) 0%, var(--charcoal) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.post-cta-inline p {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--cream);
  margin: 0;
  font-style: italic;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .post-hero {
    min-height: 380px;
    padding-bottom: var(--space-2xl);
  }

  .post-article {
    padding: var(--space-xl) var(--space-lg);
  }

  .post-content {
    font-size: 17px;
  }

  .post-content > p:first-of-type {
    font-size: 18px;
  }

  .post-content h2 { font-size: 28px; }
  .post-content h3 { font-size: 22px; }

  .post-cta-inline {
    flex-direction: column;
    text-align: center;
    padding: var(--space-lg);
  }
}
