/* ═══════════════════════════════════════════════════════════════
   CLARITY — blog.css
   Blog listing + single post
   ═══════════════════════════════════════════════════════════════ */

.blog-hero {
  background: var(--teal-deep);
  padding: 140px 0 72px;
  color: var(--pure-white);
  text-align: center;
}
.blog-hero h1 {
  color: var(--pure-white);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 12px;
}
.blog-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto;
}

.blog-grid-section { padding: 64px 0 96px; background: var(--warm-white); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--gap);
}
.blog-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--teal-pale);
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-card-meta {
  font-size: 0.8rem;
  color: var(--teal-mid);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.3;
}
.blog-card p { color: var(--slate); font-size: 0.93rem; line-height: 1.65; flex: 1; }
.blog-card .read-more {
  margin-top: 16px;
  color: var(--teal-deep);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 72px 20px;
  color: var(--slate);
}
.blog-empty i { font-size: 52px; color: var(--teal-soft); }
.blog-empty h3 { font-family: var(--font-display); font-size: 1.6rem; color: var(--charcoal); margin: 14px 0 6px; }

/* ─── Single post ─── */
.post-hero {
  background: var(--teal-deep);
  padding: 140px 0 64px;
  color: var(--pure-white);
  text-align: center;
}
.post-hero .post-meta {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.post-hero h1 {
  color: var(--pure-white);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.2;
}
.post-cover {
  max-width: 900px;
  margin: -40px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.post-cover img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.post-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}
.post-content p { color: var(--slate); line-height: 1.85; margin-bottom: 20px; font-size: 1.02rem; }
.post-content h2 {
  font-family: var(--font-display);
  color: var(--teal-deep);
  font-size: 1.6rem;
  margin: 40px 0 16px;
}
.post-content h3 { color: var(--charcoal); font-size: 1.2rem; margin: 32px 0 12px; }
.post-content ul, .post-content ol { padding-left: 26px; margin-bottom: 20px; }
.post-content li { color: var(--slate); line-height: 1.8; margin-bottom: 8px; }
.post-content img { max-width: 100%; border-radius: var(--radius); margin: 24px 0; }
.post-content blockquote {
  border-left: 4px solid var(--teal-mid);
  background: var(--teal-pale);
  padding: 20px 26px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--teal-deep);
}
.post-content a { color: var(--teal-mid); }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; }
.post-tag {
  background: var(--teal-pale);
  color: var(--teal-deep);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}
.post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  color: var(--teal-deep);
  font-weight: 600;
  text-decoration: none;
}
.post-back:hover { text-decoration: underline; }
