/* ===== Blog Styles — Cadence Health Media ===== */

/* ===== BLOG INDEX HERO ===== */
.blog-hero {
  padding: 140px 0 72px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.blog-hero h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.1;
}

.blog-hero p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 560px;
  line-height: 1.65;
}

/* ===== BLOG LISTING ===== */
.blog-listing {
  padding: 72px 0 100px;
  background: var(--paper);
}

.post-list {
  display: grid;
  gap: 20px;
  max-width: 800px;
}

.post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 36px;
  transition: box-shadow 0.2s, border-color 0.2s;
  display: block;
  color: var(--ink);
}

.post-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(26, 107, 90, 0.08);
}

.post-card-meta {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.post-card h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.25;
}

.post-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.post-card-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
}

/* ===== SINGLE POST HEADER ===== */
.post-header {
  padding: 140px 0 48px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.post-header .container {
  max-width: 760px;
}

.post-back {
  display: inline-block;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 28px;
  transition: opacity 0.2s;
}

.post-back:hover { opacity: 0.7; }

.post-meta {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.post-header h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
}

/* ===== SINGLE POST BODY ===== */
.post-body {
  padding: 56px 0 96px;
  background: var(--paper);
}

.post-body .container {
  max-width: 760px;
}

.post-content {
  color: var(--ink-light);
  font-size: 1.05rem;
  line-height: 1.85;
}

.post-content h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--ink);
  margin-top: 48px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.post-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 36px;
  margin-bottom: 12px;
}

.post-content p {
  margin-bottom: 22px;
  color: var(--ink-light);
}

.post-content ul,
.post-content ol {
  margin-bottom: 22px;
  padding-left: 24px;
  list-style: disc;
}

.post-content ol { list-style: decimal; }

.post-content li {
  color: var(--ink-light);
  margin-bottom: 10px;
  line-height: 1.7;
}

.post-content strong {
  color: var(--ink);
  font-weight: 700;
}

.post-content a {
  color: var(--accent);
  text-decoration: underline;
}

.post-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--accent-light);
  border-radius: 0 8px 8px 0;
}

.post-content blockquote p {
  color: var(--accent);
  font-style: italic;
  margin-bottom: 0;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.1rem;
}

/* ===== POST CTA BOX ===== */
.post-cta {
  text-align: center;
  background: var(--accent);
  border-radius: 12px;
  padding: 48px;
  margin-top: 56px;
}

.post-cta h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}

.post-cta p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
}

.post-cta .btn-primary {
  background: var(--white);
  color: var(--accent);
}

.post-cta .btn-primary:hover {
  background: var(--paper);
}
