/* ============================================================
   BLOG-POST.HTML — Individual post styles
   ============================================================ */

/* ── Post Hero ── */
.post-hero {
  padding: 120px 0 64px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--sage-pale) 100%);
}

.post-hero-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: center;
}

.post-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--warm-mid);
  transition: color 0.2s ease, gap 0.2s ease;
}
.post-back-link:hover { color: var(--sage); gap: 10px; }

.post-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.post-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 540px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.post-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--sage-light);
}

.post-author-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.2;
}

.post-author-title {
  font-size: 0.72rem;
  color: var(--warm-mid);
  letter-spacing: 0.04em;
}

.post-hero-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(30,38,32,0.14);
  position: relative;
}
.post-hero-image::before {
  content: '';
  position: absolute;
  inset: -8px -8px 8px 8px;
  border: 1.5px solid var(--sage-light);
  border-radius: 8px;
  z-index: 0;
}
.post-hero-image img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  position: relative;
  z-index: 1;
}

/* ── Article body ── */
.post-body {
  padding: 80px 0 100px;
  background: var(--cream);
}

.post-content {
  max-width: 760px;
  margin: 0 auto;
}

/* ── Individual article ── */
.post-article {
  margin-bottom: 8px;
}

.post-article-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 12px;
}

.post-citation {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
  padding: 10px 16px;
  background: var(--sage-pale);
  border-left: 3px solid var(--sage-light);
  border-radius: 0 4px 4px 0;
  flex-wrap: wrap;
}

.post-citation-ref {
  font-size: 0.78rem;
  color: var(--warm-mid);
  line-height: 1.5;
  text-align: justify;
  flex: 1;
}

.post-citation-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sage);
  white-space: nowrap;
  transition: color 0.2s ease;
  letter-spacing: 0.02em;
}
.post-citation-link:hover { color: var(--sage-dark); }

.post-article p {
  font-size: 0.97rem;
  color: var(--warm-mid);
  line-height: 1.8;
  margin-bottom: 16px;
  text-align: justify;
}
.post-article p:last-child { margin-bottom: 0; }

/* ── Divider ── */
.post-divider {
  height: 1px;
  background: rgba(107,143,113,0.15);
  margin: 48px 0;
}

/* ── CTA ── */
.post-cta {
  margin-top: 64px;
  padding: 40px;
  background: var(--sage-pale);
  border-radius: 8px;
  border: 1px solid rgba(107,143,113,0.2);
  text-align: center;
}

.post-cta p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 24px;
}

.btn-red-cta {
  background: #C0392B !important;
  box-shadow: 0 4px 20px rgba(192,57,43,0.3) !important;
  letter-spacing: 0.1em;
}
.btn-red-cta:hover {
  background: #A93226 !important;
  box-shadow: 0 8px 28px rgba(192,57,43,0.4) !important;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .post-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .post-hero-image {
    max-width: 320px;
  }
  .post-hero-image::before { display: none; }
}

@media (max-width: 640px) {
  .post-hero { padding: 100px 0 48px; }
  .post-title { font-size: 2.2rem; }
  .post-article-title { font-size: 1.35rem; }
  .post-cta { padding: 28px 20px; }
}
