/* Case study hero stats and the Blog. */

/* ==========================================================================
   v26 — Casi studio (dati nell'hero) + Blog
   ========================================================================== */
section.case-hero {
  padding: 56px 0 80px;
}
.case-hero .case-stats {
  margin-top: 44px;
}
.case-stat {
  background: var(--panel-3);
  border-color: rgba(255, 255, 255, 0.12);
}
section.case-nav-section {
  padding: 56px 0 72px;
}
/* Blog */
section.blog-hero {
  padding: 72px 0 80px;
}
section.blog-section {
  padding: 56px 0 88px;
  scroll-margin-top: 80px;
}
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.post-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #1b2a7a 55%, #1f7e6b 100%);
  position: relative;
}
.post-img:after {
  content: "Kleecks Blog";
  position: absolute;
  left: 18px;
  bottom: 14px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  z-index: 0;
}
.post-img img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px 22px;
  flex: 1;
}
.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.post-cat {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-text-on-light);
}
.post-date {
  font-size: 13px;
  color: var(--ink-muted);
}
@media (max-width: 1000px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
}
