/* ============================================================
   BLOG.HTML — Blog index page styles
   ============================================================ */

.blog-hero {
  padding: 130px 0 64px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--sage-pale) 100%);
}

.blog-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 16px;
  line-height: 1.15;
}
.blog-hero-title em { font-style: italic; color: var(--sage); }

.blog-hero-sub {
  font-size: 1rem;
  color: var(--warm-mid);
  line-height: 1.7;
  max-width: 540px;
}

/* ── Posts grid ── */
.blog-posts {
  padding: 72px 0 100px;
  background: var(--cream);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

/* ── Post card ── */
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(107,143,113,0.15);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
}
.post-card:hover {
  box-shadow: 0 8px 40px rgba(107,143,113,0.14);
  transform: translateY(-3px);
  border-color: var(--sage-light);
}

.post-card-image {
  height: 220px;
  overflow: hidden;
}
.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}
.post-card:hover .post-card-image img { transform: scale(1.03); }

.post-card-body {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
}

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

.post-card-excerpt {
  font-size: 0.85rem;
  color: var(--warm-mid);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.post-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(107,143,113,0.12);
}

.post-card-author {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--charcoal);
}

.post-card-read {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sage);
  letter-spacing: 0.04em;
}

@media (max-width: 640px) {
  .posts-grid { grid-template-columns: 1fr; }
  .blog-hero { padding: 110px 0 48px; }
}
